]> source.dussan.org Git - aspectj.git/commit
Cleanup redundant boxing. 103/head
authorAndrey Turbanov <turbanoff@gmail.com>
Sat, 20 Nov 2021 17:37:02 +0000 (20:37 +0300)
committerAndrey Turbanov <turbanoff@gmail.com>
Sat, 20 Nov 2021 17:37:02 +0000 (20:37 +0300)
commitbfd6fee99d2685751a6d49eb29a0173c3f825c09
tree33383e16d3008206284965d88254f648d4f5668c
parent0f85ca109b9e6ab849e201e76f62d5023cbfcb98
Cleanup redundant boxing.

Methods Integer.parseInt/Boolean.parseBoolean should be preferred over Integer.valueOf/Boolean.valueOf/ if final result is primitive.
They are generally faster and generate less garbage.
asm/src/main/java/org/aspectj/asm/internal/JDTLikeHandleProvider.java
org.aspectj.ajdt.core/src/test/java/org/aspectj/ajdt/internal/compiler/batch/IncrementalCase.java
org.aspectj.ajdt.core/src/test/java/org/aspectj/tools/ajc/AjcTestCase.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/TraceFactory.java
testing/src/test/java/org/aspectj/testing/harness/bridge/FlatSuiteReader.java
testing/src/test/java/org/aspectj/testing/harness/bridge/ParseTestCase.java
testing/src/test/java/org/aspectj/testing/xml/SoftMessage.java
testing/src/test/java/org/aspectj/testing/xml/SoftSourceLocation.java
util/src/main/java/org/aspectj/util/LangUtil.java