You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pe...@apache.org on 2006/11/11 23:40:54 UTC

svn commit: r473823 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/EchoProperties.java

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