[ https://issues.apache.org/jira/browse/CASSANDRA-11084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15144543#comment-15144543 ]
Sylvain Lebresne commented on CASSANDRA-11084: ---------------------------------------------- +1, but I'd move the comment in {{newSocket}} on the {{SuppressWarnings}} and add a similar comment on the other one. > cassandra-3.0 eclipse-warnings > ------------------------------ > > Key: CASSANDRA-11084 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11084 > Project: Cassandra > Issue Type: Bug > Components: Testing > Reporter: Michael Shuler > Assignee: Benjamin Lerer > Priority: Minor > Fix For: 3.0.x > > Attachments: 11084-3.0.txt > > > REF = origin/cassandra-3.0 > COMMIT = 414c1c5771ca05c23c8c1279dbdb90a673dda040 > {noformat} > # 1/27/16 10:00:17 PM UTC > # Eclipse Compiler for Java(TM) v20150120-1634, 3.10.2, Copyright IBM Corp > 2000, 2013. All rights reserved. > ---------- > 1. ERROR in > /mnt/data/jenkins/workspace/cassandra-3.0_eclipse-warnings/src/java/org/apache/cassandra/hints/CompressedChecksummedDataInput.java > (at line 156) > return builder.build(); > ^^^^^^^^^^^^^^^^^^^^^^^ > Potential resource leak: '<unassigned Closeable value from line 153>' may not > be closed at this location > ---------- > ---------- > 2. ERROR in > /mnt/data/jenkins/workspace/cassandra-3.0_eclipse-warnings/src/java/org/apache/cassandra/net/OutboundTcpConnectionPool.java > (at line 141) > return channel.socket(); > ^^^^^^^^^^^^^^^^^^^^^^^^ > Potential resource leak: 'channel' may not be closed at this location > ---------- > 2 problems (2 errors) > {noformat} > Check the latest job on > http://cassci.datastax.com/job/cassandra-3.0_eclipse-warnings/ for the most > recent warnings -- This message was sent by Atlassian JIRA (v6.3.4#6332)