Issue 611:copy paste error in RestContextFactory.createContextSpec

This commit is contained in:
Adrian Cole 2011-07-01 16:29:25 -07:00
parent b1e5bb6ade
commit 521d3c3289
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ public class RestContextFactory {
contextBuilderClass = Providers.resolveContextBuilderClass(providerName, props); contextBuilderClass = Providers.resolveContextBuilderClass(providerName, props);
propertiesBuilderClass = Providers.resolvePropertiesBuilderClass(providerName, props); propertiesBuilderClass = Providers.resolvePropertiesBuilderClass(providerName, props);
sync = (Class<S>) (syncClassName != null ? Class.forName(syncClassName) : null); sync = (Class<S>) (syncClassName != null ? Class.forName(syncClassName) : null);
async = (Class<A>) (syncClassName != null ? Class.forName(asyncClassName) : null); async = (Class<A>) (asyncClassName != null ? Class.forName(asyncClassName) : null);
} catch (IllegalArgumentException e) { } catch (IllegalArgumentException e) {
throw new IllegalArgumentException( throw new IllegalArgumentException(
String.format( String.format(