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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -