FIx errorprone detected issues
This commit is contained in:
parent
8f8385627f
commit
39f2062802
|
@ -111,4 +111,9 @@ public abstract class AbstractJaxRsPageProvider extends AbstractJaxRsProvider im
|
|||
return BundleInclusionRule.BASED_ON_INCLUDES;
|
||||
}
|
||||
|
||||
@Override
|
||||
public PreferReturnEnum getDefaultPreferReturn() {
|
||||
return PreferReturnEnum.REPRESENTATION;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -340,7 +340,12 @@ implements IRestfulServer<JaxRsRequest>, IResourceProvider {
|
|||
return BundleInclusionRule.BASED_ON_INCLUDES;
|
||||
}
|
||||
|
||||
/**
|
||||
@Override
|
||||
public PreferReturnEnum getDefaultPreferReturn() {
|
||||
return PreferReturnEnum.REPRESENTATION;
|
||||
}
|
||||
|
||||
/**
|
||||
* The resource type should return conform to the generic resource included
|
||||
* in the topic
|
||||
*/
|
||||
|
|
|
@ -31,7 +31,6 @@ public interface IRestfulServer<T extends RequestDetails> extends IRestfulServer
|
|||
|
||||
BundleInclusionRule getBundleInclusionRule();
|
||||
|
||||
void setDefaultPreferReturn(PreferReturnEnum theDefaultPreferReturn);
|
||||
|
||||
PreferReturnEnum getDefaultPreferReturn();
|
||||
|
||||
}
|
||||
|
|
|
@ -1660,7 +1660,6 @@ public class RestfulServer extends HttpServlet implements IRestfulServer<Servlet
|
|||
*
|
||||
* @see <a href="http://hl7.org/fhir/http.html#ops">HL7 FHIR Specification</a> section on the Prefer header
|
||||
*/
|
||||
@Override
|
||||
public void setDefaultPreferReturn(PreferReturnEnum theDefaultPreferReturn) {
|
||||
Validate.notNull(theDefaultPreferReturn, "theDefaultPreferReturn must not be null");
|
||||
myDefaultPreferReturn = theDefaultPreferReturn;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue