Make getWidth and getHeight methods return the correct fields in ObjectDefinition.

This commit is contained in:
Major-
2014-08-23 17:48:27 +01:00
parent 9ec73e2602
commit 1d1375bd3a
@@ -132,7 +132,7 @@ public final class ObjectDefinition {
* @return The height. * @return The height.
*/ */
public int getHeight() { public int getHeight() {
return width; return height;
} }
/** /**
@@ -168,7 +168,7 @@ public final class ObjectDefinition {
* @return The width. * @return The width.
*/ */
public int getWidth() { public int getWidth() {
return height; return width;
} }
/** /**