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 <[email protected]>
AuthorDate: Tue Feb 26 22:21:04 2019 +0000
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: [email protected]
For additional commands, e-mail: [email protected]