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. (#2759)

note:
please visit http://t.cn/EAhta27 for more detail.
  • Loading branch information
code4wt authored and carryxyh committed Nov 8, 2018
1 parent d6aae07 commit a1b27ab
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,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 a1b27ab

Please sign in to comment.