You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by co...@apache.org on 2019/05/21 13:39:18 UTC
[directory-ldap-api] 01/02: Checkstyle fix
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 <co...@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++;
}