From fa39505f5afb6d5a96731f7b48e97733d229cbe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Fri, 20 Mar 2020 03:00:43 +0100 Subject: [PATCH] Checkstyle --- .../rule/performance/UnnecessaryWrapperObjectCreationRule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UnnecessaryWrapperObjectCreationRule.java b/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UnnecessaryWrapperObjectCreationRule.java index 0578c4ad17..c3131f7bd1 100644 --- a/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UnnecessaryWrapperObjectCreationRule.java +++ b/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UnnecessaryWrapperObjectCreationRule.java @@ -23,7 +23,7 @@ public class UnnecessaryWrapperObjectCreationRule extends AbstractJavaRule { private static final Set PREFIX_SET = setOf("Byte.valueOf", "Short.valueOf", "Integer.valueOf", "Long.valueOf", "Float.valueOf", "Double.valueOf", "Character.valueOf"); - private static final Set SUFFIX_SET = setOf( "toString", "byteValue", + private static final Set SUFFIX_SET = setOf("toString", "byteValue", "shortValue", "intValue", "longValue", "floatValue", "doubleValue", "charValue"); @Override