Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
Description
Quick fix for these Java8 javac warnings:
[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)