Changeset 16981 in josm
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java
r16641 r16981 544 544 /** 545 545 * 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 em tpy array.546 * @param keys The key array. It is not modified. It may be null to indicate an empty array. 547 547 * @param key The key to search for. 548 548 * @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 237 237 bufferedImage.getGraphics().drawImage(image, 0, 0, null); 238 238 239 // check that the square of 1/4 size right lower to the center has some non-em tpy pixels239 // check that the square of 1/4 size right lower to the center has some non-empty pixels 240 240 boolean nonEmptyPixelExistsRightLowerToCenter = false; 241 241 for (int x = image.getWidth(null) / 2; x < image.getWidth(null) * 3 / 4; ++x) {
Note:
See TracChangeset
for help on using the changeset viewer.