You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2020/03/20 03:15:06 UTC

[directory-server] branch master updated: Fixed chekstyle errors

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8e54140  Fixed chekstyle errors
8e54140 is described below

commit 8e54140095efdcf8a1d6aabccea3edaf7027e279
Author: emmanuel lecharny <em...@busit.com>
AuthorDate: Fri Mar 20 04:15:02 2020 +0100

    Fixed chekstyle errors
---
 .../apache/directory/server/core/factory/DSAnnotationProcessor.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java b/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
index bef9629..b5be49c 100644
--- a/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
+++ b/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
@@ -477,9 +477,9 @@ public final class DSAnnotationProcessor
             return false;
         }
         
-        return ( ( ( str.charAt( 0 ) == 'd' ) || ( str.charAt( 0 ) == 'D' ) ) &&
-            ( ( str.charAt( 1 ) == 'n' ) || ( str.charAt( 1 ) == 'N' ) ) &&
-            ( str.charAt( 2 ) == ':' ) );
+        return ( ( ( str.charAt( 0 ) == 'd' ) || ( str.charAt( 0 ) == 'D' ) ) 
+            && ( ( str.charAt( 1 ) == 'n' ) || ( str.charAt( 1 ) == 'N' ) ) 
+            && ( str.charAt( 2 ) == ':' ) );
     }