Update Shape.java

Small ordinal fix in shape as per jniGetType(). 
Now Shape.Type.Polygon.ordinal()returns 2 as expected.
Merge pull request #449 from frustaci/patch-1

Update Shape.java