This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-jcs.git
commit cf2bf74b0698d100dc037b941164220c1abf5795 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Jul 9 19:36:42 2024 -0400 Use final Remove redundant keywords --- .../org/apache/commons/jcs3/utils/discovery/DiscoveredService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/utils/discovery/DiscoveredService.java b/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/utils/discovery/DiscoveredService.java index 4fecb451..577f3105 100644 --- a/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/utils/discovery/DiscoveredService.java +++ b/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/utils/discovery/DiscoveredService.java @@ -59,7 +59,7 @@ public class DiscoveredService * @param message incoming message * @since 3.1 */ - public DiscoveredService(UDPDiscoveryMessage message) + public DiscoveredService(final UDPDiscoveryMessage message) { setServiceAddress( message.getHost() ); setCacheNames( message.getCacheNames() ); @@ -84,7 +84,7 @@ public class DiscoveredService { return true; } - if ((otherArg == null) || !(otherArg instanceof DiscoveredService)) + if (otherArg == null || !(otherArg instanceof DiscoveredService)) { return false; }