Skip to content

Commit

Permalink
Merge pull request #20960 from geoand/arc-minor-polish
Browse files Browse the repository at this point in the history
Apply minor polish to ArcContainerImpl
  • Loading branch information
geoand authored Oct 25, 2021
2 parents 242bb4a + 7e85f1e commit cb24295
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ public void setExecutor(ExecutorService executor) {
public String toString() {
return "ArcContainerImpl [id=" + id + ", running=" + running + ", beans=" + beans.size() + ", observers="
+ observers.size() + ", scopes="
+ getScopes() + "]";
+ contexts.size() + "]";
}

public synchronized void shutdown() {
Expand Down Expand Up @@ -829,7 +829,7 @@ private void requireRunning() {

private static final class Resolvable {

private static final Set<Type> BUILT_IN_TYPES = new HashSet<>(Arrays.asList(Event.class, Instance.class));
private static final Set<Type> BUILT_IN_TYPES = Set.of(Event.class, Instance.class);
private static final Annotation[] ANY_QUALIFIER = { Any.Literal.INSTANCE };

final Type requiredType;
Expand Down

0 comments on commit cb24295

Please sign in to comment.