mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
@NotNull
This commit is contained in:
@@ -47,7 +47,7 @@ public class ContentEntryImpl extends RootModelComponentBase implements ContentE
|
||||
private final TreeSet<ExcludedOutputFolder> myExcludedOutputFolders = new TreeSet<ExcludedOutputFolder>(ContentFolderComparator.INSTANCE);
|
||||
@NonNls public static final String URL_ATTRIBUTE = "url";
|
||||
|
||||
ContentEntryImpl(VirtualFile file, RootModelImpl m) {
|
||||
ContentEntryImpl(@NotNull VirtualFile file, RootModelImpl m) {
|
||||
this(file.getUrl(), m);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2012 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -534,7 +534,7 @@ public class RootModelImpl implements ModifiableRootModel {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public ContentEntry addContentEntry(VirtualFile file) {
|
||||
public ContentEntry addContentEntry(@NotNull VirtualFile file) {
|
||||
return addContentEntry(new ContentEntryImpl(file, this));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user