No subject


Fri Aug 27 17:10:57 UTC 2010


[...]
compile:
    [javac] /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/build.xml:320: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 113 source files to /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/build/classes
    [javac] ----------
    [javac] 1. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/zookeeper/ClientCnxn.java (at line 893)
    [javac] 	synchronized private void disableRead() {
    [javac] 	                          ^^^^^^^^^^^^^
    [javac] The method disableRead() from the type ClientCnxn.SendThread is never used locally
    [javac] ----------
    [javac] ----------
    [javac] 2. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/
    [javac] org/apache/zookeeper/ServerAdminClient.java (at line 58)
    [javac] 	private static long getMasks(String masks) {
    [javac] 	                    ^^^^^^^^^^^^^^^^^^^^^^
    [javac] The method getMasks(String) from the type ServerAdminClient is never used locally
    [javac] ----------
    [javac] ----------
    [javac] 3. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/zookeeper/ZooKeeperMain.java (at line 167)
    [javac] 	public String getCmdArgument( int index ) {
    [javac] 	
    [javac]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The method getCmdArgument(int) from the type ZooKeeperMain.MyCommandOptions is never used locally
    [javac] ----------
    [javac] 4. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/zookeeper/ZooKeeperMain.java (at line 171)
    [javac] 	public int getNumArguments( ) {
    [javac] 	           ^^^^^^^^^^^^^^^^^^
    [javac] The method getNumArguments() from the type ZooKeeperMain.MyCommandOptions is never used locally
    [javac] ----------
    [javac] ----------
    [javac] 5. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/
    [javac] org/apache/zookeeper/jmx/ManagedUtil.java (at line 63)
    [javac] 	Enumeration enumer = r.getCurrentLoggers();
    [javac] 	^^^^^^^^^^^
    [javac] Enumeration is a raw type. References to generic type Enumeration<E> should be parameterized
    [javac] ----------
    [javac] ----------
    [javac] 6. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/zookeeper/server/DataTree.java (at line 163)
    [javac] 	private boolean listACLEquals(List<ACL> lis
    [javac] ta, List<ACL> listb) {
    [javac] 	                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The method listACLEquals(List<ACL>, List<ACL>) from the type DataTree is never used locally
    [javac] ----------
    [javac] 7. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/zookeeper/server/DataTree.java (at line 682)
    [javac] 	@SuppressWarnings("unchecked")
    [javac] 	                  ^^^^^^^^^^^
    [javac] Unnecessary @SuppressWarnings("unchecked")
    [javac] ----------
    [javac] ----------
    [javac] 8. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/
    [javac] org/apache/zookeeper/server/LogFormatter.java (at line 32)
    [javac] 	import org.apache.jute.Record;
    [javac] 	       ^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import org.apache.jute.Record is never used
    [javac] ----------
    [javac] ----------
    [javac] 9. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/zookeeper/server/PrepRequestProcessor.java (at line 201)
    [javac] 	@SuppressWarnings("unchecked")
    [javac] 	                  ^^^^^^^^^^^
    [javac] Unnecessary @SuppressWarnings("unchecked")
    [javac] ----------
    [javac] ----------
    [javac] 10. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main
    [javac] /org/apache/zookeeper/server/PurgeTxnLog.java (at line 44)
    [javac] 	private static final Logger LOG = Logger.getLogger(PurgeTxnLog.class);
    [javac] 	                            ^^^
    [javac] The field PurgeTxnLog.LOG is never read locally
    [javac] ----------
    [javac] ----------
    [javac] 11. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/zookeeper/server/Request.java (at line 37)
    [javac] 	private static final Logger LOG = Logger.get
    [javac] Logger(Request.class);
    [javac] 	                            ^^^
    [javac] The field Request.LOG is never read locally
    [javac] ----------
    [javac] ----------
    [javac] 12. ERROR in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/o
    [javac] rg/apache/zookeeper/server/persistence/FileSnap.java (at line 245)
    [javac] 	public synchronized void close() throws IOException {
    [javac] 	                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The method close() of type FileSnap must override a superclass method
    [javac] ----------
    [javac] ----------
    [javac] 13. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/zookeeper/server/quorum/AuthFastLeaderElection.java
    [javac]  (at line 692)
    [javac] 	public boolean queueEmpty() {
    [javac] 	               ^^^^^^^^^^^^
    [javac] The method queueEmpty() from the type AuthFastLeaderElection.Messenger is never used locally
    [javac] ----------
    [javac] ----------
    [javac] 14. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java (at line 361)
    [javac] 	public boolean queueEmpty() {
    [javac] 	               ^^^^^^^^^^^^
    [javac] The method queueEmpty() from the type FastLeaderElection.Messenger is never used locally
    [javac] ----------
    [javac] ----------
    [javac] 15. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main
    [javac] /org/apache/zookeeper/server/quorum/Leader.java (at line 430)
    [javac] 	boolean first = true;
    [javac] 	        ^^^^^
    [javac] The local variable first is never read
    [javac] ----------
    [javac] ----------
    [javac] 16. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/zookeeper/server/quorum/LearnerHandler.java (at line 160)
    [javac] 	String type = null;
    [javac] 	^^^^^^^^^^^^^^^^^^^
    [javac] Dead code
    [javac] ----------
    [javac] ----------
    [javac] 17. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java (at line 29)
    [javac] 	import java.util.Random;
    [javac] 	       ^^^^^^^^^^^^^^^^
    [javac] The import java.util.Random is never used
    [javac] ----------
    [javac] ----------
    [javac] 18. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/zookeeper/server/quorum/flexible/QuorumHierarchical.java
    [javac]  (at line 21)
    [javac] 	import java.io.BufferedReader;
    [javac] 	       ^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import java.io.BufferedReader is never used
    [javac] ----------
    [javac] 19. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main
    [javac] /org/apache/zookeeper/server/quorum/flexible/QuorumHierarchical.java (at line 24)
    [javac] 	import java.io.FileReader;
    [javac] 	       ^^^^^^^^^^^^^^^^^^
    [javac] The import java.io.FileReader is never used
    [javac] ----------
    [javac] ----------
    [javac] 20. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/zookeeper/server/upgrade/DataTreeV1.java (at line 330)
    [javac] 	@SuppressWarnings("unchecked")
    [javac] 	                  ^^^^^^^^^^^
    [javac] Unnecessary @SuppressWarnings("unchecked")
    [javac] ----------
    [javac] 21. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/zookeeper/server/upgrade/DataTreeV1.java
    [javac]  (at line 387)
    [javac] 	@SuppressWarnings("unchecked")
    [javac] 	                  ^^^^^^^^^^^
    [javac] Unnecessary @SuppressWarnings("unchecked")
    [javac] ----------
    [javac] ----------
    [javac] 22. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main
    [javac] /org/apache/jute/BinaryOutputArchive.java (at line 130)
    [javac] 	public void startVector(List v, String tag) throws IOException {
    [javac] 	                        ^^^^
    [javac] List is a raw type. References to generic type List<E> should be parameterized
    [javac] ----------
    [javac] 23. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/jute/BinaryOutputArchive.java (at line 138)
    [javac] 	public void endVector(List v, String tag) throws IOException {}
    [javac] 	                      ^^^^
    [javac] List is a raw type. References to generic type List<E> should be parameterized
    [javac] ----------
    [javac] 24. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main
    [javac] /org/apache/jute/BinaryOutputArchive.java (at line 140)
    [javac] 	public void startMap(TreeMap v, String tag) throws IOException {
    [javac] 	                     ^^^^^^^
    [javac] TreeMap is a raw type. References to generic type TreeMap<K,V> should be parameterized
    [javac] ----------
    [javac] 
    [javac] 25. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/jute/BinaryOutputArchive.java (at line 144)
    [javac] 	public void endMap(TreeMap v, String tag) throws IOException {}
    [javac] 	                   ^^^^^^^
    [javac] 
    [javac] TreeMap is a raw type. References to generic type TreeMap<K,V> should be parameterized
    [javac] ----------
    [javac] ----------
    [javac] 26. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main
    [javac] /org/apache/jute/OutputArchive.java (at line 42)
    [javac] 	public void startVector(List v, String tag) throws IOException;
    [javac] 	                        ^^^^
    [javac] List is a raw type. References to generic type List<E> should be parameterized
    [javac] ----------
    [javac] 27. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/jute/OutputArchive.java (at line 43)
    [javac] 	public void endVector(List v, String tag) throws IOException;
    [javac] 	                      ^^^^
    [javac] List is a raw type. References to generic type List<E> should be parameterized
    [javac] ----------
    [javac] 28. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main
    [javac] /org/apache/jute/OutputArchive.java (at line 44)
    [javac] 	public void startMap(TreeMap v, String tag) throws IOException;
    [javac] 	                     ^^^^^^^
    [javac] TreeMap is a raw type. References to generic type TreeMap<K,V> should be parameterized
    [javac] ----------
    [javac] 29. WARNING in /build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/src/java/main/org/apache/jute/OutputArchive.java (at line 45)
    [javac] 	public void endMap(TreeMap v, String tag) throws IOException;
    [javac] 	                   ^^^^^^^
    [javac] TreeMap is a raw type. References to generic type TreeMap<K,V> should be parameterized
    [javac] ----------
    [javac] 29 problems (1 error, 28 warnings)

BUILD FAILED
/build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1/build.xml:320: Compile failed; see the compiler error output for details.

Total time: 19 seconds
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/build/buildd-zookeeper_3.3.1+dfsg1-2-hppa-eCOqLE/zookeeper-3.3.1+dfsg1'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the pkg-java-maintainers mailing list