Author: xcoulon
Date: 2012-10-12 09:19:09 -0400 (Fri, 12 Oct 2012)
New Revision: 44479
Modified:
trunk/ws/plugins/org.jboss.tools.ws.jaxrs.core/src/org/jboss/tools/ws/jaxrs/core/jdt/JavaMethodSignaturesVisitor.java
Log:
Fixed - JBIDE-12814 - "Could not resolve bindings form method" when editing REST
service
Keeping the message but downgrading to "DEBUG" level so that they are not seen
by the user.
Modified:
trunk/ws/plugins/org.jboss.tools.ws.jaxrs.core/src/org/jboss/tools/ws/jaxrs/core/jdt/JavaMethodSignaturesVisitor.java
===================================================================
---
trunk/ws/plugins/org.jboss.tools.ws.jaxrs.core/src/org/jboss/tools/ws/jaxrs/core/jdt/JavaMethodSignaturesVisitor.java 2012-10-12
12:54:59 UTC (rev 44478)
+++
trunk/ws/plugins/org.jboss.tools.ws.jaxrs.core/src/org/jboss/tools/ws/jaxrs/core/jdt/JavaMethodSignaturesVisitor.java 2012-10-12
13:19:09 UTC (rev 44479)
@@ -78,7 +78,7 @@
final IMethodBinding methodBinding = declaration.resolveBinding();
// sometimes, the binding cannot be resolved
if (methodBinding == null) {
- Logger.warn("Could not resolve bindings form method " +
method.getElementName());
+ Logger.debug("Could not resolve bindings form method " +
method.getElementName());
} else {
final IType returnedType = getReturnType(methodBinding);
//.getReturnType().getJavaElement() : null;
Show replies by date