Index: /trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java	(revision 16980)
+++ /trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java	(revision 16981)
@@ -544,5 +544,5 @@
     /**
      * Scans a key/value array for a given key.
-     * @param keys The key array. It is not modified. It may be null to indicate an emtpy array.
+     * @param keys The key array. It is not modified. It may be null to indicate an empty array.
      * @param key The key to search for.
      * @return The position of that key in the keys array - which is always a multiple of 2 - or -1 if it was not found.
Index: /trunk/test/unit/org/openstreetmap/josm/tools/ImageProviderTest.java
===================================================================
--- /trunk/test/unit/org/openstreetmap/josm/tools/ImageProviderTest.java	(revision 16980)
+++ /trunk/test/unit/org/openstreetmap/josm/tools/ImageProviderTest.java	(revision 16981)
@@ -237,5 +237,5 @@
         bufferedImage.getGraphics().drawImage(image, 0, 0, null);
 
-        // check that the square of 1/4 size right lower to the center has some non-emtpy pixels
+        // check that the square of 1/4 size right lower to the center has some non-empty pixels
         boolean nonEmptyPixelExistsRightLowerToCenter = false;
         for (int x = image.getWidth(null) / 2; x < image.getWidth(null) * 3 / 4; ++x) {
