/*
 */
package org.datadryad.rest.providers;

import com.sun.jersey.spi.inject.SingletonTypeInjectableProvider;
import javax.ws.rs.core.Context;
import javax.ws.rs.ext.Provider;

/**
 *
 * @author Dan Leehr <dan.leehr@nescent.org>
 */
@Provider
public class ManuscriptHandlerGroupProvider  extends SingletonTypeInjectableProvider<Context, ManuscriptHandlerGroupProvider> {
    // May not need a resolver subclass just to instantiate a new class
    public ManuscriptHandlerGroupProvider() {
        super(ManuscriptHandlerGroupProvider.class, new ManuscriptHandlerGroupProvider());
    }
}

@@ -170,16 +170,74 @@
 rovider;
+%0Aimport org.datadryad.rest.handler.ManuscriptHandlerGroup;
 %0A%0A/**%0A *
@@ -412,24 +412,16 @@
 lerGroup
-Provider
 %3E %7B%0A    
@@ -570,24 +570,16 @@
 lerGroup
-Provider
 .class, 
@@ -604,24 +604,16 @@
 lerGroup
-Provider
 ());%0A   

Fix stack overflow