Details

    Description

      CASSANDRA-9143 introduced an error from eclipse-warnings:

      # 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)
      

      Attachments

        Activity

          People

            bdeggleston Blake Eggleston
            mshuler Michael Shuler
            Blake Eggleston
            Marcus Eriksson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: