Index: /trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCacheManagerTest.java
===================================================================
--- /trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCacheManagerTest.java	(revision 10558)
+++ /trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCacheManagerTest.java	(revision 10559)
@@ -2,4 +2,5 @@
 package org.openstreetmap.josm.data.cache;
 
+import java.io.IOException;
 import java.util.logging.Logger;
 
@@ -8,4 +9,7 @@
 import org.openstreetmap.josm.JOSMFixture;
 
+/**
+ * Unit tests for class {@link JCSCacheManager}.
+ */
 public class JCSCacheManagerTest {
 
@@ -18,6 +22,10 @@
     }
 
+    /**
+     * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/12054">Bug #12054</a>.
+     * @throws IOException if any I/O error occurs
+     */
     @Test
-    public void testLoggingAdaptor12054() throws Exception {
+    public void testLoggingAdaptor12054() throws IOException {
         JCSCacheManager.getCache("foobar", 1, 0, "foobar"); // cause logging adaptor to be initialized
         Logger.getLogger("org.apache.commons.jcs").warning("{switch:0}");
Index: /trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJobTest.java
===================================================================
--- /trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJobTest.java	(revision 10558)
+++ /trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJobTest.java	(revision 10559)
@@ -116,5 +116,5 @@
 
         ICacheAccess<String, CacheEntry> cache = getCache();
-        CacheEntry e = new CacheEntry(new byte[]{0,1,2,3});
+        CacheEntry e = new CacheEntry(new byte[]{0, 1, 2, 3});
         CacheEntryAttributes attributes = new CacheEntryAttributes();
         attributes.setExpirationTime(2);
