Changeset 16981 in josm


Ignore:
Timestamp:
2020-08-30T21:05:03+02:00 (3 weeks ago)
Author:
simon04
Message:

Fix typo in code comment

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java

    r16641 r16981  
    544544    /**
    545545     * Scans a key/value array for a given key.
    546      * @param keys The key array. It is not modified. It may be null to indicate an emtpy array.
     546     * @param keys The key array. It is not modified. It may be null to indicate an empty array.
    547547     * @param key The key to search for.
    548548     * @return The position of that key in the keys array - which is always a multiple of 2 - or -1 if it was not found.
  • trunk/test/unit/org/openstreetmap/josm/tools/ImageProviderTest.java

    r16838 r16981  
    237237        bufferedImage.getGraphics().drawImage(image, 0, 0, null);
    238238
    239         // check that the square of 1/4 size right lower to the center has some non-emtpy pixels
     239        // check that the square of 1/4 size right lower to the center has some non-empty pixels
    240240        boolean nonEmptyPixelExistsRightLowerToCenter = false;
    241241        for (int x = image.getWidth(null) / 2; x < image.getWidth(null) * 3 / 4; ++x) {
Note: See TracChangeset for help on using the changeset viewer.