Fixed PMD warnings in Polygon and PolygonVertexRegionBuffer.