mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
notnull
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
* Copyright 2000-2015 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.
|
||||
@@ -44,30 +44,6 @@ public abstract class LocalFileSystem extends NewVirtualFileSystem {
|
||||
return LocalFileSystemHolder.ourInstance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether given file is a symbolic link.
|
||||
*
|
||||
* @param file a file to check.
|
||||
* @return <code>true</code> if the file is a symbolic link, <code>false</code> otherwise
|
||||
* @since 11.0
|
||||
*/
|
||||
@Override
|
||||
public boolean isSymLink(@NotNull final VirtualFile file) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether given file is a special file.
|
||||
*
|
||||
* @param file a file to check.
|
||||
* @return <code>true</code> if the file exists and is a special one, <code>false</code> otherwise
|
||||
* @since 11.0
|
||||
*/
|
||||
@Override
|
||||
public boolean isSpecialFile(@NotNull final VirtualFile file) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public abstract VirtualFile findFileByIoFile(@NotNull File file);
|
||||
|
||||
@@ -141,6 +117,7 @@ public abstract class LocalFileSystem extends NewVirtualFileSystem {
|
||||
return result.size() == 1 ? result.iterator().next() : null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public abstract Set<WatchRequest> replaceWatchedRoots(@NotNull final Collection<WatchRequest> watchRequests,
|
||||
@Nullable final Collection<String> recursiveRoots,
|
||||
@Nullable final Collection<String> flatRoots);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
* Copyright 2000-2015 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.
|
||||
@@ -378,6 +378,7 @@ public class TempFileSystem extends LocalFileSystemBase {
|
||||
throw new IncorrectOperationException();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public Set<WatchRequest> replaceWatchedRoots(@NotNull Collection<WatchRequest> watchRequests,
|
||||
@Nullable Collection<String> recursiveRoots,
|
||||
|
||||
+1
@@ -386,6 +386,7 @@ public final class LocalFileSystemImpl extends LocalFileSystemBase implements Ap
|
||||
});
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public Set<WatchRequest> replaceWatchedRoots(@NotNull final Collection<WatchRequest> watchRequests,
|
||||
@Nullable final Collection<String> _recursiveRoots,
|
||||
|
||||
+2
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2012 JetBrains s.r.o.
|
||||
* Copyright 2000-2015 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.
|
||||
@@ -73,6 +73,7 @@ public class Win32LocalFileSystem extends LocalFileSystemBase {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public Set<WatchRequest> replaceWatchedRoots(@NotNull Collection<WatchRequest> watchRequests,
|
||||
@Nullable Collection<String> recursiveRoots,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
* Copyright 2000-2015 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.
|
||||
@@ -92,6 +92,7 @@ public class MockLocalFileSystem extends LocalFileSystem {
|
||||
throw new UnsupportedOperationException("Not implemented in " + getClass().getName());
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public Set<WatchRequest> replaceWatchedRoots(@NotNull Collection<WatchRequest> watchRequests,
|
||||
@Nullable Collection<String> recursiveRoots,
|
||||
|
||||
Reference in New Issue
Block a user