Changeset 10559 in josm for trunk


Ignore:
Timestamp:
2016-07-18T08:38:56+02:00 (4 years ago)
Author:
Don-vip
Message:

checkstyle, javadoc

Location:
trunk/test/unit/org/openstreetmap/josm/data/cache
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCacheManagerTest.java

    r8991 r10559  
    22package org.openstreetmap.josm.data.cache;
    33
     4import java.io.IOException;
    45import java.util.logging.Logger;
    56
     
    89import org.openstreetmap.josm.JOSMFixture;
    910
     11/**
     12 * Unit tests for class {@link JCSCacheManager}.
     13 */
    1014public class JCSCacheManagerTest {
    1115
     
    1822    }
    1923
     24    /**
     25     * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/12054">Bug #12054</a>.
     26     * @throws IOException if any I/O error occurs
     27     */
    2028    @Test
    21     public void testLoggingAdaptor12054() throws Exception {
     29    public void testLoggingAdaptor12054() throws IOException {
    2230        JCSCacheManager.getCache("foobar", 1, 0, "foobar"); // cause logging adaptor to be initialized
    2331        Logger.getLogger("org.apache.commons.jcs").warning("{switch:0}");
  • trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJobTest.java

    r10558 r10559  
    116116
    117117        ICacheAccess<String, CacheEntry> cache = getCache();
    118         CacheEntry e = new CacheEntry(new byte[]{0,1,2,3});
     118        CacheEntry e = new CacheEntry(new byte[]{0, 1, 2, 3});
    119119        CacheEntryAttributes attributes = new CacheEntryAttributes();
    120120        attributes.setExpirationTime(2);
Note: See TracChangeset for help on using the changeset viewer.