This commit is contained in:
Roman Shevchenko
2012-03-07 12:32:21 +01:00
parent c7278268bd
commit d35ebde1f8
2 changed files with 3 additions and 3 deletions
@@ -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));
}