cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12583) Code Analysis got a problem
Date Wed, 31 Aug 2016 20:30:20 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-12583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15453268#comment-15453268
] 

Edward Capriolo commented on CASSANDRA-12583:
---------------------------------------------

https://github.com/edwardcapriolo/cassandra/tree/CASSANDRA-12583

> Code Analysis got a problem
> ---------------------------
>
>                 Key: CASSANDRA-12583
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12583
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
>            Priority: Minor
>
> {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