Skip to content

Commit 9ad3464

Browse files
committed
Reduce log statement for non-unique JavaBean property to debug level
Closes gh-27372 (cherry picked from commit 6c17e93)
1 parent 1954a22 commit 9ad3464

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-beans/src/main/java/org/springframework/beans/GenericTypeAwarePropertyDescriptor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -138,7 +138,7 @@ public Method getWriteMethodForActualAccess() {
138138
Set<Method> ambiguousCandidates = this.ambiguousWriteMethods;
139139
if (ambiguousCandidates != null) {
140140
this.ambiguousWriteMethods = null;
141-
LogFactory.getLog(GenericTypeAwarePropertyDescriptor.class).warn("Invalid JavaBean property '" +
141+
LogFactory.getLog(GenericTypeAwarePropertyDescriptor.class).debug("Non-unique JavaBean property '" +
142142
getName() + "' being accessed! Ambiguous write methods found next to actually used [" +
143143
this.writeMethod + "]: " + ambiguousCandidates);
144144
}

0 commit comments

Comments
 (0)