Objectify generics compile time error with incompatible objects in Java 7 -
in java 6 following line compiles in java 7 incompatible type error (see below). ideas going on here?
player player = new fplayer(); player.setid("somestring"); player.setwid(123456, "somestring"); key<player> keyforplayer = ofy().save().entity(player).now();
gets compile time error
incompatible types required: com.googlecode.objectify.key<com.xx.xxxxxx.xxxxx.xxxxxx.player> found: com.googlecode.objectify.key<java.lang.object>
Comments
Post a Comment