[tomcat] branch master updated: SpotBugs: finalize() should be protected

2019-02-26 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new b01e525  SpotBugs: finalize() should be protected
b01e525 is described below

commit b01e5258ea92efadd3b9505fed31d8bce46c1a46
Author: Mark Thomas 
AuthorDate: Tue Feb 26 22:21:04 2019 +

SpotBugs: finalize() should be protected

Fix a minor SpotBugs issue to trigger a CI build as part of testing the
svn -> git migration
---
 java/org/apache/catalina/tribes/group/RpcChannel.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/tribes/group/RpcChannel.java 
b/java/org/apache/catalina/tribes/group/RpcChannel.java
index 79d2d5b..a6f1ba0 100644
--- a/java/org/apache/catalina/tribes/group/RpcChannel.java
+++ b/java/org/apache/catalina/tribes/group/RpcChannel.java
@@ -178,7 +178,7 @@ public class RpcChannel implements ChannelListener {
 }
 
 @Override
-public void finalize() throws Throwable {
+protected void finalize() throws Throwable {
 breakdown();
 super.finalize();
 }


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch master updated: SpotBugs: finalize() should be protected

2019-02-26 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new 245d5de  SpotBugs: finalize() should be protected
245d5de is described below

commit 245d5de49f3f9fb9c89d49da43b3f400f19a6934
Author: Mark Thomas 
AuthorDate: Tue Feb 26 21:12:33 2019 +

SpotBugs: finalize() should be protected

Fix a minor SpotBugs issue to trigger a CI build as part of testing the
svn -> git migration
---
 java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java 
b/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
index d45bb28..f2c799c 100644
--- a/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
+++ b/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
@@ -385,7 +385,7 @@ public abstract class AbstractReplicatedMap
 }
 
 @Override
-public void finalize() throws Throwable {
+protected void finalize() throws Throwable {
 try {
 breakdown();
 } finally {


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org