java - Model.Finder<I, T> Deperecated Play! 2.4 -


i building application using latest version of play!. when defining finder( in model.finder) ide gives me warning finder deprecated. can't find information in documentation model.finder being deprecated of alternative using it. has experienced similar issue , know of alternative?

according github model.finder not deprecated, 1 of constructors:

/**  * @deprecated  */ public finder(class<i> idtype, class<t> type) {   super(null, type); } 

make sure use correct constructor, pointed out @biesior:

public static finder<long, foo> find = new finder<>(foo.class); 

Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -