Fixing compile error in Java PositionAndSizeTest.java