Findbugs fix in GdxFactory