cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-7675) Prevent javac warning '_' used as an identifier
Date Sun, 03 Aug 2014 19:49:13 GMT

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

Robert Stupp updated CASSANDRA-7675:
------------------------------------

    Attachment: 7675.txt

found two other occurences

updated patch attached

> Prevent javac warning '_' used as an identifier
> -----------------------------------------------
>
>                 Key: CASSANDRA-7675
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7675
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>            Priority: Trivial
>             Fix For: 3.0
>
>         Attachments: 7675.txt
>
>
> Quick fix for these Java8 javac warnings:
> {noformat}
>     [javac] /Users/snazy/devel/cassandra/trunk/tools/stress/src/org/apache/cassandra/stress/settings/OptionDistribution.java:192:
warning: '_' used as an identifier
>     [javac]             } catch (Exception _)
>     [javac]                                ^
>     [javac]   (use of '_' as an identifier might not be supported in releases after Java
SE 8)
>     [javac] /Users/snazy/devel/cassandra/trunk/tools/stress/src/org/apache/cassandra/stress/settings/OptionDistribution.java:216:
warning: '_' used as an identifier
>     [javac]             } catch (Exception _)
>     [javac]                                ^
>     [javac]   (use of '_' as an identifier might not be supported in releases after Java
SE 8)
>     [javac] /Users/snazy/devel/cassandra/trunk/tools/stress/src/org/apache/cassandra/stress/settings/OptionDistribution.java:241:
warning: '_' used as an identifier
>     [javac]             } catch (Exception _)
>     [javac]                                ^
>     [javac]   (use of '_' as an identifier might not be supported in releases after Java
SE 8)
>     [javac] /Users/snazy/devel/cassandra/trunk/tools/stress/src/org/apache/cassandra/stress/settings/OptionDistribution.java:262:
warning: '_' used as an identifier
>     [javac]             } catch (Exception _)
>     [javac]                                ^
>     [javac]   (use of '_' as an identifier might not be supported in releases after Java
SE 8)
>     [javac] /Users/snazy/devel/cassandra/trunk/tools/stress/src/org/apache/cassandra/stress/settings/OptionDistribution.java:281:
warning: '_' used as an identifier
>     [javac]             } catch (Exception _)
>     [javac]                                ^
>     [javac]   (use of '_' as an identifier might not be supported in releases after Java
SE 8)
>     [javac] /Users/snazy/devel/cassandra/trunk/tools/stress/src/org/apache/cassandra/stress/settings/OptionReplication.java:83:
warning: '_' used as an identifier
>     [javac]                 } catch (Exception _)
>     [javac]                                    ^
>     [javac]   (use of '_' as an identifier might not be supported in releases after Java
SE 8)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message