Skip to content

Commit

Permalink
Fix the bug that ReferenceBean refers service more than once when deb…
Browse files Browse the repository at this point in the history
…ugging. (apache#2754)

note:
please visit http://t.cn/EAhta27 for more detail.
  • Loading branch information
code4wt authored and CrazyHZM committed Dec 6, 2018
1 parent ebb3e4e commit d0ec11d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,8 @@ public String toString() {
try {
String name = method.getName();
if ((name.startsWith("get") || name.startsWith("is"))
&& !"getClass".equals(name) && !"get".equals(name) && !"is".equals(name)
&& !"get".equals(name) && !"is".equals(name)
&& !"getClass".equals(name) && !"getObject".equals(name)
&& Modifier.isPublic(method.getModifiers())
&& method.getParameterTypes().length == 0
&& isPrimitive(method.getReturnType())) {
Expand Down

0 comments on commit d0ec11d

Please sign in to comment.