Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Nov 24, 2010
1 parent a72ab24 commit d2f00a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -77,7 +77,9 @@ public T getInstance()
Context context = container.deploymentManager().getContext(bean.getScope());

if(context.get(bean) != null)
{
return context.get(bean);
}

WeldCreationalContext<T> creationalContext;
WeldCreationalContext<?> previousCreationalContext = currentCreationalContext.get();
Expand Down
Expand Up @@ -627,9 +627,13 @@ public Context getContext(Class<? extends Annotation> scopeType)
if (context.isActive())
{
if(activeContexts == null)
{
activeContexts = context;
}
else
{
throw new IllegalStateException(DUPLICATE_ACTIVE_CONTEXTS, scopeType.getName());
}
}
}
if (activeContexts == null)
Expand Down

0 comments on commit d2f00a1

Please sign in to comment.