You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2018/10/01 16:41:32 UTC

[directory-ldap-api] branch master updated: Fixed wrong access to Syntax member instead of getter

This is an automated email from the ASF dual-hosted git repository.

semancik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git


The following commit(s) were added to refs/heads/master by this push:
     new 22d9d13  Fixed wrong access to Syntax member instead of getter
22d9d13 is described below

commit 22d9d13ba155d6a615a8f0150a6c7134ecc1515b
Author: Radovan Semancik <ra...@evolveum.com>
AuthorDate: Mon Oct 1 18:40:54 2018 +0200

    Fixed wrong access to Syntax member instead of getter
---
 .../java/org/apache/directory/api/ldap/model/schema/AttributeType.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AttributeType.java b/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AttributeType.java
index 99b6e94..bd70e82 100644
--- a/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AttributeType.java
+++ b/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AttributeType.java
@@ -510,7 +510,7 @@ public class AttributeType extends AbstractSchemaObject implements Cloneable
      */
     public boolean isHR()
     {
-        return ( syntax != null ) && ( syntax.isHumanReadable );
+        return ( syntax != null ) && ( syntax.isHumanReadable() );
     }