Fix compiler (eclipse) warnings in (generated) jute code
--------------------------------------------------------
Key: ZOOKEEPER-1169
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1169
Project: ZooKeeper
Issue Type: Improvement
Reporter: Thomas Koch
Assignee: Thomas Koch
Priority: Minor
Fixes for compiled jute parser:
- missing generic types
- added @SuppressWarnings("unused") because javacc adds a dead throws clause at
the
end of functions.
Fixes for code compiled by jute compiler:
- remove import java.util.* and use full ref to java.util.Arrays
One warning fixed in non-compiled code:
src/java/main/org/apache/jute/compiler/JRecord.java
Rationale: The warnings in your IDE (eclipse) get useless if there are tons of
them. This patch reduces many of them. Another issue with patch will reduce
them to 8.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira