Skip to content

Commit

Permalink
No need to break string up
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jan 28, 2025
1 parent 8189cc4 commit 5ba7685
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ public static Field getField(final Class<?> cls, final String fieldName, final b
for (final Class<?> class1 : ClassUtils.getAllInterfaces(cls)) {
try {
final Field test = class1.getField(fieldName);
Validate.isTrue(match == null, "Reference to field %s is ambiguous relative to %s"
+ "; a matching field exists on two or more implemented interfaces.", fieldName, cls);
Validate.isTrue(match == null,
"Reference to field %s is ambiguous relative to %s; a matching field exists on two or more implemented interfaces.", fieldName, cls);
match = test;
} catch (final NoSuchFieldException ignored) {
// ignore
Expand Down

0 comments on commit 5ba7685

Please sign in to comment.