Ignore:
Timestamp:
2015-06-20T14:36:00+02:00 (9 years ago)
Author:
Don-vip
Message:

fix many checkstyle violations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/handler/RequestHandlerTest.java

    r8193 r8509  
     1// License: GPL. For details, see LICENSE file.
    12package org.openstreetmap.josm.io.remotecontrol.handler;
    23
    3 import org.junit.Test;
    4 import org.openstreetmap.josm.io.remotecontrol.PermissionPrefWithDefault;
     4import static org.hamcrest.CoreMatchers.is;
     5import static org.junit.Assert.assertThat;
    56
    67import java.util.Collections;
     
    89import java.util.Map;
    910
    10 import static org.hamcrest.CoreMatchers.is;
    11 import static org.junit.Assert.*;
     11import org.junit.Test;
     12import org.openstreetmap.josm.io.remotecontrol.PermissionPrefWithDefault;
    1213
    1314public class RequestHandlerTest {
     
    7071    @Test
    7172    public void testRequestParameter4() {
    72         assertThat(getRequestParameter("http://example.com/:@-._~!$&'()*+,=;:@-._~!$&'()*+,=:@-._~!$&'()*+,==?/?:@-._~!$'()*+,;=/?:@-._~!$'()*+,;==#/?:@-._~!$&'()*+,;="),
     73        assertThat(getRequestParameter(
     74                "http://example.com/:@-._~!$&'()*+,=;:@-._~!$&'()*+,=:@-._~!$&'()*+,==?/?:@-._~!$'()*+,;=/?:@-._~!$'()*+,;==#/?:@-._~!$&'()*+,;="),
    7375                is(Collections.singletonMap("/?:@-._~!$'()* ,;", "/?:@-._~!$'()* ,;==")));
    7476    }
     
    8284                is(expected));
    8385    }
    84 
    8586}
Note: See TracChangeset for help on using the changeset viewer.