ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r391661 - /ant/core/trunk/src/main/org/apache/tools/ant/util/IdentityStack.java
Date Wed, 05 Apr 2006 16:07:10 GMT
Author: mbenson
Date: Wed Apr  5 09:07:07 2006
New Revision: 391661

URL: http://svn.apache.org/viewcvs?rev=391661&view=rev
Log:
formatting

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/util/IdentityStack.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/IdentityStack.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/util/IdentityStack.java?rev=391661&r1=391660&r2=391661&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/IdentityStack.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/IdentityStack.java Wed Apr  5 09:07:07
2006
@@ -70,8 +70,7 @@
      * @see java.util.Vector#indexOf(Object, int)
      */
     public synchronized int indexOf(Object o, int pos) {
-        for (int i = pos; i < size(); i++)
-        {
+        for (int i = pos; i < size(); i++) {
             if (get(i) == o) {
                 return i;
             }
@@ -86,8 +85,7 @@
      * @see java.util.Vector#indexOf(Object, int)
      */
     public synchronized int lastIndexOf(Object o, int pos) {
-        for (int i = pos; i >= 0; i--)
-        {
+        for (int i = pos; i >= 0; i--) {
             if (get(i) == o) {
                 return i;
             }



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


Mime
View raw message