You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by al...@apache.org on 2007/03/27 16:22:04 UTC

svn commit: r522924 - /incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/util/collections/MiniMap.java

Author: almaw
Date: Tue Mar 27 07:22:04 2007
New Revision: 522924

URL: http://svn.apache.org/viewvc?view=rev&rev=522924
Log:
Formatting fix (sorry, old habits die hard).

Modified:
    incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/util/collections/MiniMap.java

Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/util/collections/MiniMap.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/util/collections/MiniMap.java?view=diff&rev=522924&r1=522923&r2=522924
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/util/collections/MiniMap.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/util/collections/MiniMap.java Tue Mar 27 07:22:04 2007
@@ -235,13 +235,14 @@
 					public Object next()
 					{
 						// Just in case... (WICKET-428)
-						if (!hasNext()) {
+						if (!hasNext())
+						{
 							throw new NoSuchElementException();
 						}
-						
+
 						// Find next key
 						i = nextKey(nextIndex(i));
-						
+
 						// Get key
 						return keys[i];
 					}
@@ -273,7 +274,8 @@
 		{
 			public Object get(final int index)
 			{
-				if (index > size - 1) {
+				if (index > size - 1)
+				{
 					throw new IndexOutOfBoundsException();
 				}
 				int keyIndex = nextKey(0);
@@ -311,12 +313,13 @@
 
 					public Object next()
 					{
-						if (!hasNext()) {
+						if (!hasNext())
+						{
 							throw new NoSuchElementException();
 						}
-						
+
 						keyIndex = nextKey(nextIndex(keyIndex));
-						
+
 						index++;
 
 						return new Map.Entry()