You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Blake Eggleston (JIRA)" <ji...@apache.org> on 2017/02/07 18:26:41 UTC
[jira] [Updated] (CASSANDRA-13190) Fix eclipse-warnings from
CASSANDRA-9143
[ https://issues.apache.org/jira/browse/CASSANDRA-13190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Blake Eggleston updated CASSANDRA-13190:
----------------------------------------
Status: Patch Available (was: Open)
fixed here: https://github.com/bdeggleston/cassandra/tree/13190
> Fix eclipse-warnings from CASSANDRA-9143
> ----------------------------------------
>
> Key: CASSANDRA-13190
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13190
> Project: Cassandra
> Issue Type: Sub-task
> Components: Testing
> Reporter: Michael Shuler
> Assignee: Blake Eggleston
> Labels: test-failure
> Fix For: 4.x
>
>
> CASSANDRA-9143 introduced an error from eclipse-warnings:
> {noformat}
> # 2/7/17 5:50:30 AM UTC
> # Eclipse Compiler for Java(TM) v20150120-1634, 3.10.2, Copyright IBM Corp 2000, 2013. All rights reserved.
> ----------
> 1. ERROR in /var/lib/jenkins/jobs/trunk_eclipse-warnings/workspace/src/java/org/apache/cassandra/repair/consistent/PendingAntiCompaction.java (at line 103)
> return new AcquireResult(cfs, Refs.ref(sstables), txn);
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Potential resource leak: 'txn' may not be closed at this location
> ----------
> ----------
> 2. ERROR in /var/lib/jenkins/jobs/trunk_eclipse-warnings/workspace/src/java/org/apache/cassandra/db/compaction/PendingRepairManager.java (at line 236)
> return txn == null ? null : new RepairFinishedCompactionTask(cfs, txn, sessionID, repairedAt);
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Potential resource leak: 'txn' may not be closed at this location
> ----------
> 2 problems (2 errors)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)