Changeset 8514 in josm for trunk/test/unit


Ignore:
Timestamp:
2015-06-21T03:19:37+02:00 (8 years ago)
Author:
Don-vip
Message:

checkstyle: various checks

Location:
trunk/test/unit/org
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/CustomMatchers.java

    r7937 r8514  
    11// License: GPL. For details, see LICENSE file.
    22package org;
     3
     4import java.util.Collection;
    35
    46import org.hamcrest.Description;
     
    810import org.openstreetmap.josm.tools.Predicate;
    911
    10 import java.util.Collection;
     12@Ignore("no test")
     13public final class CustomMatchers {
    1114
    12 @Ignore("no test")
    13 public class CustomMatchers {
     15    private CustomMatchers() {
     16        // Hide constructor for utility classes
     17    }
    1418
    1519    public static <T> Matcher<? extends T> forPredicate(final Predicate<T> predicate) {
  • trunk/test/unit/org/openstreetmap/josm/TestUtils.java

    r8510 r8514  
    1010 * Various utils, useful for unit tests.
    1111 */
    12 public class TestUtils {
     12public final class TestUtils {
     13
     14    private TestUtils() {
     15        // Hide constructor for utility classes
     16    }
    1317
    1418    /**
  • trunk/test/unit/org/openstreetmap/josm/data/osm/history/HistoryNodeTest.java

    r8510 r8514  
    1818        Date d = new Date();
    1919        HistoryNode node = new HistoryNode(
    20                 1l,
    21                 2l,
     20                1L,
     21                2L,
    2222                true,
    2323                User.createOsmUser(3, "testuser"),
    24                 4l,
     24                4L,
    2525                d,
    2626                new LatLon(0, 0)
  • trunk/test/unit/org/openstreetmap/josm/gui/conflict/nodes/NodeListMergeModelTest.java

    r8513 r8514  
    6060            }
    6161            try {
    62                 int rows[] = (int[]) idx[i];
     62                int[] rows = (int[]) idx[i];
    6363                if (rows.length != 2) {
    6464                    fail("illegal selection range. Either null or not length 2: " + Arrays.toString(rows));
Note: See TracChangeset for help on using the changeset viewer.