Remove unused check

This commit is contained in:
jamesagnew 2015-10-23 07:22:15 -04:00
parent 7cfe6c1715
commit e93f7542a5
1 changed files with 0 additions and 8 deletions

View File

@ -116,10 +116,6 @@ public class SearchMethodBinding extends BaseResourceReturningMethodBinding {
}
public Class<? extends IBaseResource> getDeclaredResourceType() {
return myDeclaredResourceType;
}
public String getDescription() {
return myDescription;
}
@ -141,10 +137,6 @@ public class SearchMethodBinding extends BaseResourceReturningMethodBinding {
@Override
public boolean incomingServerRequestMatchesMethod(RequestDetails theRequest) {
if (!theRequest.getResourceName().equals(getResourceName())) {
ourLog.trace("Method {} doesn't match because resource name {} != {}", new Object[] { getMethod().getName(), theRequest.getResourceName(), getResourceName() } );
return false;
}
if (theRequest.getId() != null && myIdParamIndex == null) {
ourLog.trace("Method {} doesn't match because ID is not null: {}", theRequest.getId());
return false;