mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
minor, reformat
This commit is contained in:
+4
-4
@@ -42,10 +42,10 @@ public class WrapperTypeMayBePrimitiveInspection extends AbstractBaseJavaLocalIn
|
||||
static CallMatcher getValueOfMatcher() {
|
||||
CallMatcher[] matchers = JvmPrimitiveTypeKind.getBoxedFqns()
|
||||
.stream()
|
||||
.filter(fqn -> !fqn.equals(CommonClassNames.JAVA_LANG_CHARACTER))
|
||||
.map(fqn -> CallMatcher.staticCall(fqn, "valueOf")
|
||||
.parameterTypes(CommonClassNames.JAVA_LANG_STRING))
|
||||
.toArray(size -> new CallMatcher[size]);
|
||||
.filter(fqn -> !fqn.equals(CommonClassNames.JAVA_LANG_CHARACTER))
|
||||
.map(fqn -> CallMatcher.staticCall(fqn, "valueOf")
|
||||
.parameterTypes(CommonClassNames.JAVA_LANG_STRING))
|
||||
.toArray(size -> new CallMatcher[size]);
|
||||
return CallMatcher.anyOf(matchers);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user