This is an automated email from the ASF dual-hosted git repository.
tv pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git
The following commit(s) were added to refs/heads/master by this push:
new c272fdd JCS-213 - Redundant initialization.
new 67cecd0 Merge pull request #37 from arturobernalg/feature/JCS-213
c272fdd is described below
commit c272fdd25e4004d4e5af0f73cad1d2598eeba01b
Author: Arturo Bernal <[email protected]>
AuthorDate: Sun Mar 28 17:01:03 2021 +0200
JCS-213 - Redundant initialization.
---
.../org/apache/commons/jcs3/utils/discovery/UDPDiscoveryService.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoveryService.java
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoveryService.java
index bb7b9e5..fda1e2e 100644
---
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoveryService.java
+++
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoveryService.java
@@ -81,10 +81,10 @@ public class UDPDiscoveryService
private final Set<IDiscoveryListener> discoveryListeners = new
CopyOnWriteArraySet<>();
/** Handle to cancel the scheduled broadcast task */
- private ScheduledFuture<?> broadcastTaskFuture = null;
+ private ScheduledFuture<?> broadcastTaskFuture;
/** Handle to cancel the scheduled cleanup task */
- private ScheduledFuture<?> cleanupTaskFuture = null;
+ private ScheduledFuture<?> cleanupTaskFuture;
/**
* Constructor