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 beiwei30 committed Nov 8, 2018
1 parent b0107e7 commit aa9f16e
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 aa9f16e

Please sign in to comment.