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 2022/08/23 04:26:00 UTC

[directory-server] branch master updated: Fixed some checktyle violation

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 9a56ca652b Fixed some checktyle violation
9a56ca652b is described below

commit 9a56ca652b983a4e17d47f69a3d146011dd6047a
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Tue Aug 23 06:25:43 2022 +0200

    Fixed some checktyle violation
---
 .../apache/directory/server/dns/messages/ResourceRecordImpl.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/protocol-dns/src/main/java/org/apache/directory/server/dns/messages/ResourceRecordImpl.java b/protocol-dns/src/main/java/org/apache/directory/server/dns/messages/ResourceRecordImpl.java
index 96e441eafb..1795c63876 100644
--- a/protocol-dns/src/main/java/org/apache/directory/server/dns/messages/ResourceRecordImpl.java
+++ b/protocol-dns/src/main/java/org/apache/directory/server/dns/messages/ResourceRecordImpl.java
@@ -172,10 +172,10 @@ public class ResourceRecordImpl implements ResourceRecord
 
         ResourceRecordImpl that = ( ResourceRecordImpl ) o;
 
-        return (this.domainName.equalsIgnoreCase(that.domainName)) &&
-            (this.recordType == that.recordType)
-            && (this.recordClass == that.recordClass)
-            && this.attributes.equals(that.attributes);
+        return this.domainName.equalsIgnoreCase( that.domainName )
+            && ( this.recordType == that.recordType )
+            && ( this.recordClass == that.recordClass )
+            && this.attributes.equals( that.attributes );
     }