Skip to content

Commit

Permalink
Namespace service should not use static variable maps (apache#3888)
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat authored Mar 24, 2019
1 parent 3950459 commit e4fc42d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@ private boolean registerNamespace(String namespace, boolean ensureOwned) throws
}
}

static ConcurrentOpenHashMap<NamespaceBundle, CompletableFuture<Optional<LookupResult>>> findingBundlesAuthoritative
private final ConcurrentOpenHashMap<NamespaceBundle, CompletableFuture<Optional<LookupResult>>> findingBundlesAuthoritative
= new ConcurrentOpenHashMap<>();
static ConcurrentOpenHashMap<NamespaceBundle, CompletableFuture<Optional<LookupResult>>> findingBundlesNotAuthoritative
private final ConcurrentOpenHashMap<NamespaceBundle, CompletableFuture<Optional<LookupResult>>> findingBundlesNotAuthoritative
= new ConcurrentOpenHashMap<>();

/**
Expand Down

0 comments on commit e4fc42d

Please sign in to comment.