WALA/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt
Ben Liblit 5336a08af2 Avoid using deprecated boxing constructors
Boxing a primitive using the constructor ("new Integer(4)") always
creates a distinct new boxed instance.  That's rarely what you need,
and in fact all of those constructors have been deprecated in Java 9.
Using the static "valueOf" method instead ("Integer.valueOf(4)") can
give better performance by reusing existing instances.  You no longer
get a unique boxed object, but generally that's OK.
2018-06-05 14:44:59 -05:00
..
ecj Use modern for-each loops where possible 2017-11-28 14:44:53 -06:00
FakeExceptionTypeBinding.java Add a hashCode() method to a class that already has equals() 2017-06-30 10:24:36 -07:00
JDT2CAstUtils.java Avoid using deprecated boxing constructors 2018-06-05 14:44:59 -05:00
JDTIdentityMapper.java Fix 19 Eclipse warnings about unnecessary casts 2017-03-23 12:28:14 -05:00
JDTJava2CAstTranslator.java Avoid using deprecated boxing constructors 2018-06-05 14:44:59 -05:00
JDTTypeDictionary.java more refactoring for reuse 2018-01-30 14:08:25 -05:00