cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefania (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-12583) Code Analysis got a problem
Date Fri, 02 Sep 2016 01:35:20 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-12583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefania updated CASSANDRA-12583:
---------------------------------
    Component/s: Local Write-Read Paths

> Code Analysis got a problem
> ---------------------------
>
>                 Key: CASSANDRA-12583
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12583
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local Write-Read Paths
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
>            Priority: Minor
>             Fix For: 3.10
>
>
> {noformat}
> 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)
> {noformat}
> Yo, ill solve it. Check out my patch while my spinning disks revolve it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message