diff options
author | Lars Grefer <eclipse@larsgrefer.de> | 2020-08-08 03:16:40 +0200 |
---|---|---|
committer | Lars Grefer <eclipse@larsgrefer.de> | 2020-08-08 03:16:40 +0200 |
commit | 93ce335dc0dad2f420d1b7b1d426ad7bfa3574ad (patch) | |
tree | e37a88693a2de065eb8c6c56f35b053bcf951c4a /tests/src/test/java/org/aspectj | |
parent | f33600d4d5507f3aa02d7cacfc34fe910d6b858f (diff) | |
download | aspectj-93ce335dc0dad2f420d1b7b1d426ad7bfa3574ad.tar.gz aspectj-93ce335dc0dad2f420d1b7b1d426ad7bfa3574ad.zip |
Unnecessary unboxing
Reports "unboxing", e.g. explicit unwrapping of wrapped primitive values. Unboxing is unnecessary under Java 5 and newer, and can be safely removed.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Diffstat (limited to 'tests/src/test/java/org/aspectj')
-rw-r--r-- | tests/src/test/java/org/aspectj/systemtest/ajc150/GenericsTests.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc150/GenericsTests.java b/tests/src/test/java/org/aspectj/systemtest/ajc150/GenericsTests.java index 847f67149..76c956965 100644 --- a/tests/src/test/java/org/aspectj/systemtest/ajc150/GenericsTests.java +++ b/tests/src/test/java/org/aspectj/systemtest/ajc150/GenericsTests.java @@ -930,7 +930,7 @@ public class GenericsTests extends XMLBasedAjcTestCase { java.lang.reflect.Method isBridge = java.lang.reflect.Method.class.getMethod("isBridge", noparms); Boolean result = (Boolean) isBridge.invoke(m, new Object[0]); - return result.booleanValue(); + return result; } catch (Throwable t) { return false; } |