Commits

Sebastian Sdorra committed fc64046

fix enunciate warnings

Comments (0)

Files changed (2)

scm-webapp/src/main/java/sonia/scm/api/rest/resources/RepositoryRootResource.java

 import com.google.common.collect.Ordering;
 import com.google.inject.Inject;
 
+import org.codehaus.enunciate.modules.jersey.ExternallyManagedLifecycle;
+
 import sonia.scm.repository.Repository;
 import sonia.scm.repository.RepositoryManager;
 import sonia.scm.repository.RepositoryTypePredicate;
  *
  * @author Sebastian Sdorra
  */
+@ExternallyManagedLifecycle
 @Path("help/repository-root/{type}.html")
 public class RepositoryRootResource
 {

scm-webapp/src/main/java/sonia/scm/api/rest/resources/SupportResource.java

 import com.google.common.collect.Maps;
 import com.google.inject.Inject;
 
+import org.codehaus.enunciate.modules.jersey.ExternallyManagedLifecycle;
+
 import sonia.scm.SCMContextProvider;
 import sonia.scm.Type;
 import sonia.scm.config.ScmConfiguration;
 import com.sun.jersey.api.view.Viewable;
 
 import java.io.IOException;
+
 import java.util.List;
 import java.util.Locale;
 import java.util.Map;
  * @author Sebastian Sdorra
  */
 @Path("support")
+@ExternallyManagedLifecycle
 public class SupportResource
 {