ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r473823 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/EchoProperties.java
Date Sat, 11 Nov 2006 22:40:54 GMT
Author: peterreilly
Date: Sat Nov 11 14:40:53 2006
New Revision: 473823

URL: http://svn.apache.org/viewvc?view=rev&rev=473823
Log:
checkstyle

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/EchoProperties.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/EchoProperties.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/EchoProperties.java?view=diff&rev=473823&r1=473822&r2=473823
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/EchoProperties.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/EchoProperties.java Sat
Nov 11 14:40:53 2006
@@ -397,6 +397,9 @@
                         public boolean equals(Object o) {
                             return false;
                         }
+                        public int hashCode() {
+                            return 0;
+                        }
                         public int compare(Object o1, Object o2) {
                             String key1 = (String) ((Map.Entry) o1).getKey();
                             String key2 = (String) ((Map.Entry) o2).getKey();
@@ -425,8 +428,8 @@
      * a tuple for the sort list.
      */
     private static class Tuple implements Comparable {
-        public String key;
-        public String value;
+        private String key;
+        private String value;
 
         private Tuple(String key, String value) {
             this.key = key;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message