(no commit message)
[utils] / support / general / src / test / java / org / wamblee / test / AssertionUtils.java
index b23eee933ecb6fbf3cc2878381a759e52c6797c8..bd55115b66a9778b6e5b0d6262f53bf6a733a9c0 100644 (file)
@@ -12,7 +12,7 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.wamblee.test;
 
 import java.util.Arrays;
@@ -29,7 +29,8 @@ import junit.framework.TestCase;
  * @author Erik Brakkee
  */
 public final class AssertionUtils {
-    private static final Logger LOG = Logger.getLogger(AssertionUtils.class.getName());
+    private static final Logger LOG = Logger.getLogger(AssertionUtils.class
+        .getName());
 
     /**
      * Disabled constructor.
@@ -110,9 +111,9 @@ public final class AssertionUtils {
         TestCase.assertEquals("Map sizes differ", aExpectedMap.size(), aActual
             .size());
 
-        Set<Entry<Key,Value>> expectedEntries = aExpectedMap.entrySet();
+        Set<Entry<Key, Value>> expectedEntries = aExpectedMap.entrySet();
 
-        for (Entry<Key,Value> entry: expectedEntries) {
+        for (Entry<Key, Value> entry : expectedEntries) {
             Key key = entry.getKey();
             TestCase.assertTrue("Map does not containg entry for key:" + key,
                 aActual.containsKey(key));
@@ -139,7 +140,7 @@ public final class AssertionUtils {
                 LOG.info("Expected exception occured " + t.getMessage());
 
                 return; // ok
-            } 
+            }
             throw new RuntimeException(t);
         }
     }