Changeset 10079 in josm for trunk/src/org


Ignore:
Timestamp:
2016-03-29T23:07:24+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle, fix unit test

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MapScaler.java

    r10078 r10079  
    2626    private final NavigatableComponent mv;
    2727
    28     private final static int PADDING_LEFT = 5;
    29     private final static int PADDING_RIGHT = 50;
     28    private static final int PADDING_LEFT = 5;
     29    private static final int PADDING_RIGHT = 50;
    3030
    3131    /**
     
    121121         * @param width The width of the mark.
    122122         */
    123         public TickMarks(double dist100Pixel, int width) {
     123        TickMarks(double dist100Pixel, int width) {
    124124            this.dist100Pixel = dist100Pixel;
    125125            lineDistance = dist100Pixel * width / 100;
  • trunk/src/org/openstreetmap/josm/io/CertificateAmendment.java

    r10076 r10079  
    9696            byte[] sha = md.digest(certBytes);
    9797            if (!SHA_HASHES[i].equals(Utils.toHexString(sha)))
    98                 throw new RuntimeException(tr("Error adding certificate {0} - hash mismatch. Expected {1}, was {2}", CERT_AMEND[i], SHA_HASHES[i], Utils.toHexString(sha)));
     98                throw new RuntimeException(tr("Error adding certificate {0} - hash mismatch. Expected {1}, was {2}",
     99                        CERT_AMEND[i], SHA_HASHES[i], Utils.toHexString(sha)));
    99100
    100101            ByteArrayInputStream certIS = new ByteArrayInputStream(certBytes);
Note: See TracChangeset for help on using the changeset viewer.