Changeset 8997 in josm


Ignore:
Timestamp:
2015-11-07T22:34:27+01:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r8994 r8997  
    15031503     */
    15041504    private static class DirectionString {
    1505         public int direction;
    1506         public String str;
    1507 
    1508         public DirectionString(int direction, String str) {
     1505        public final int direction;
     1506        public final String str;
     1507
     1508        DirectionString(int direction, String str) {
    15091509            this.direction = direction;
    15101510            this.str = str;
  • trunk/test/unit/org/openstreetmap/josm/data/osm/WaySegmentTest.java

    r8990 r8997  
    4343            throw new IllegalStateException("Expecting IllegalArgumentException");
    4444        } catch (IllegalArgumentException expected) {
    45             // expected
     45            System.out.println("Expected exception: " + expected.getMessage());
    4646        }
    4747    }
Note: See TracChangeset for help on using the changeset viewer.