Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-12583

Code Analysis got a problem

    XMLWordPrintableJSON

Details

    Description

      eclipse-warnings:
          [mkdir] Created dir: /home/edward/Documents/java/cassandra/build/ecj
           [echo] Running Eclipse Code Analysis.  Output logged to /home/edward/Documents/java/cassandra/build/ecj/eclipse_compiler_checks.txt
           [java] ----------
           [java] 1. ERROR in /home/edward/Documents/java/cassandra/src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java (at line 211)
           [java] 	PrintStream ps = new PrintStream(baos);
           [java] 	            ^^
           [java] Resource 'ps' should be managed by try-with-resource
           [java] ----------
           [java] 1 problem (1 error)
      

      Yo, ill solve it. Check out my patch while my spinning disks revolve it.

      Attachments

        Issue Links

          Activity

            People

              appodictic Edward Capriolo
              appodictic Edward Capriolo
              Edward Capriolo
              Stefania Alborghetti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: