mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
notnull, cleanup
GitOrigin-RevId: 09848bdf30bf47ff6d10e19550c8725c44e4e487
This commit is contained in:
committed by
intellij-monorepo-bot
parent
823769b29c
commit
6ca9261998
@@ -24,5 +24,6 @@ public abstract class FacetFinder {
|
||||
@NotNull
|
||||
public abstract <F extends Facet<?> & FacetRootsProvider> Collection<F> findFacets(VirtualFile file, FacetTypeId<F> type);
|
||||
|
||||
@NotNull
|
||||
public abstract <F extends Facet<?>> ModificationTracker getAllFacetsOfTypeModificationTracker(FacetTypeId<F> type);
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ public class FacetFinderImpl extends FacetFinder {
|
||||
}
|
||||
|
||||
@Override
|
||||
public <F extends Facet<?>> ModificationTracker getAllFacetsOfTypeModificationTracker(FacetTypeId<F> type) {
|
||||
public <F extends Facet<?>> @NotNull ModificationTracker getAllFacetsOfTypeModificationTracker(FacetTypeId<F> type) {
|
||||
AllFacetsOfTypeModificationTracker tracker = myAllFacetTrackers.get(type);
|
||||
if (tracker == null) {
|
||||
tracker = new AllFacetsOfTypeModificationTracker<>(myProject, type);
|
||||
|
||||
Reference in New Issue
Block a user