Skip to content

Commit 5ba7685

Browse files
committed
No need to break string up
1 parent 8189cc4 commit 5ba7685

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ public static Field getField(final Class<?> cls, final String fieldName, final b
217217
for (final Class<?> class1 : ClassUtils.getAllInterfaces(cls)) {
218218
try {
219219
final Field test = class1.getField(fieldName);
220-
Validate.isTrue(match == null, "Reference to field %s is ambiguous relative to %s"
221-
+ "; a matching field exists on two or more implemented interfaces.", fieldName, cls);
220+
Validate.isTrue(match == null,
221+
"Reference to field %s is ambiguous relative to %s; a matching field exists on two or more implemented interfaces.", fieldName, cls);
222222
match = test;
223223
} catch (final NoSuchFieldException ignored) {
224224
// ignore

0 commit comments

Comments
 (0)