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
The following commit(s) were added to refs/heads/master by this push:
new 1054366 Remove useless returns.
1054366 is described below
commit 1054366885b79ef87a8168db7bcf73d8a7ac9409
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Nov 21 12:23:09 2020 -0500
Remove useless returns.
---
.../org/apache/commons/jcs3/utils/discovery/UDPDiscoveryReceiver.java | 1 -
.../apache/commons/jcs3/auxiliary/remote/MockRemoteCacheService.java | 2 --
.../java/org/apache/commons/jcs3/engine/MockCacheServiceNonLocal.java | 2 --
3 files changed, 5 deletions(-)
diff --git
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoveryReceiver.java
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoveryReceiver.java
index 95e3e9b..27f8b04 100644
---
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoveryReceiver.java
+++
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoveryReceiver.java
@@ -330,7 +330,6 @@ public class UDPDiscoveryReceiver
{
log.debug( "Message is a Request Broadcast, will have the
service handle it." );
service.serviceRequestBroadcast();
- return;
}
else if ( message.getMessageType() == BroadcastType.REMOVE )
{
diff --git
a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/remote/MockRemoteCacheService.java
b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/remote/MockRemoteCacheService.java
index 08b82d0..eba3912 100644
---
a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/remote/MockRemoteCacheService.java
+++
b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/remote/MockRemoteCacheService.java
@@ -128,7 +128,6 @@ public class MockRemoteCacheService<K, V>
@Override
public void dispose( final String cacheName )
{
- return;
}
/**
@@ -148,7 +147,6 @@ public class MockRemoteCacheService<K, V>
@Override
public void release()
{
- return;
}
/**
diff --git
a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/engine/MockCacheServiceNonLocal.java
b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/engine/MockCacheServiceNonLocal.java
index 495c40c..9f5c0b2 100644
---
a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/engine/MockCacheServiceNonLocal.java
+++
b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/engine/MockCacheServiceNonLocal.java
@@ -132,7 +132,6 @@ public class MockCacheServiceNonLocal<K, V>
@Override
public void dispose( final String cacheName )
{
- return;
}
/**
@@ -152,7 +151,6 @@ public class MockCacheServiceNonLocal<K, V>
@Override
public void release()
{
- return;
}
/**