directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [directory-ldap-api] 01/02: Checkstyle fix
Date Tue, 21 May 2019 13:39:18 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 5fb6aa145cb7b7ad586af13cbeb73861d4b7a229
Author: Colm O hEigeartaigh <coheigea@apache.org>
AuthorDate: Tue May 21 14:38:44 2019 +0100

    Checkstyle fix
---
 .../model/schema/syntaxCheckers/NisNetgroupTripleSyntaxChecker.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/NisNetgroupTripleSyntaxChecker.java
b/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/NisNetgroupTripleSyntaxChecker.java
index 76cc45c..710f128 100644
--- a/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/NisNetgroupTripleSyntaxChecker.java
+++ b/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/NisNetgroupTripleSyntaxChecker.java
@@ -117,10 +117,10 @@ public final class NisNetgroupTripleSyntaxChecker extends SyntaxChecker
         { 
             c = strValue.charAt( pos );
             
-            while ( ( c != ',') && ( c != ')' ) )
+            while ( ( c != ',' ) && ( c != ')' ) )
             {
-                if ( Character.isUpperCase( c ) || Character.isLowerCase( c ) || Character.isDigit(
c ) ||
-                    ( c == '-' ) || ( c == ';' ) || ( c == '_' ) )
+                if ( Character.isUpperCase( c ) || Character.isLowerCase( c ) || Character.isDigit(
c )
+                    || ( c == '-' ) || ( c == ';' ) || ( c == '_' ) )
                 {
                     pos++;
                 }


Mime
View raw message