Using Long.valueOf() is generally preferred over the new Long(). http://findbugs.sourceforge.net/bugDescriptions.html#DM_NUMBER_CTOR