Fix another issue with resource method inheritance

The stored method should be the method with the
@GET,@POST,etc. instead of the implementation
method.

Thanks to Luciano Resende for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/incubator/wink/trunk@1023046 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/wink-common/src/main/java/org/apache/wink/common/internal/registry/metadata/ResourceMetadataCollector.java b/wink-common/src/main/java/org/apache/wink/common/internal/registry/metadata/ResourceMetadataCollector.java
index 6601700..1ebec48 100644
--- a/wink-common/src/main/java/org/apache/wink/common/internal/registry/metadata/ResourceMetadataCollector.java
+++ b/wink-common/src/main/java/org/apache/wink/common/internal/registry/metadata/ResourceMetadataCollector.java
@@ -314,7 +314,6 @@
                 MethodMetadata createdMetadata = createMethodMetadata(superclass, method);
                 // stop with if the method found
                 if (createdMetadata != null) {
-                    createdMetadata.setReflectionMethod(method);
                     mergeFormalParameterMetadata(createdMetadata, method);
                     return createdMetadata;
                 }
@@ -326,7 +325,6 @@
                 MethodMetadata createdMetadata = createMethodMetadata(interfaceClass, method);
                 // stop with the first method found
                 if (createdMetadata != null) {
-                    createdMetadata.setReflectionMethod(method);
                     mergeFormalParameterMetadata(createdMetadata, method);
                     return createdMetadata;
                 }