Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Fixed compilation error

  • Loading branch information...
commit f7104ca5b2fde2a8b75a24458e206d7e1441ec50 1 parent 50c6d28
@jlouvel jlouvel authored
View
9 modules/org.restlet/src/org/restlet/resource/ServerResource.java
@@ -731,8 +731,9 @@ private AnnotationInfo getAnnotation(Method method) {
private AnnotationInfo getAnnotation(Method method, Form query,
Representation entity) {
if (isAnnotated()) {
- return AnnotationUtils.getAnnotation(getAnnotations(), method,
- query, entity, getMetadataService(), getConverterService());
+ return AnnotationUtils.getInstance().getAnnotation(
+ getAnnotations(), method, query, entity,
+ getMetadataService(), getConverterService());
}
return null;
@@ -744,8 +745,8 @@ private AnnotationInfo getAnnotation(Method method, Form query,
* @return The annotation descriptors.
*/
private List<AnnotationInfo> getAnnotations() {
- return isAnnotated() ? AnnotationUtils.getAnnotations(getClass())
- : null;
+ return isAnnotated() ? AnnotationUtils.getInstance().getAnnotations(
+ getClass()) : null;
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.