mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix investigation on breaking API change (remove final)
GitOrigin-RevId: 54a991b13ac4eeecab7c05bda05fa326a55ab4e4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0a98a2baa4
commit
f31a3ec5fd
@@ -79,8 +79,7 @@ public abstract class VirtualFileManager implements ModificationTracker {
|
||||
* @see VirtualFileLookup#newLookup()
|
||||
* @see VirtualFileLookup#fromUrl(String)
|
||||
*/
|
||||
@SuppressWarnings("MethodMayBeStatic")
|
||||
public final @Nullable VirtualFile findFileByUrl(@NonNls @NotNull String url) {
|
||||
public @Nullable VirtualFile findFileByUrl(@NonNls @NotNull String url) {
|
||||
return VirtualFileLookup.newLookup().fromUrl(url);
|
||||
}
|
||||
|
||||
@@ -101,8 +100,7 @@ public abstract class VirtualFileManager implements ModificationTracker {
|
||||
* @see VirtualFileLookup#withRefresh()
|
||||
* @see VirtualFileLookup#fromUrl(String)
|
||||
*/
|
||||
@SuppressWarnings("MethodMayBeStatic")
|
||||
public final @Nullable VirtualFile refreshAndFindFileByUrl(@NotNull String url) {
|
||||
public @Nullable VirtualFile refreshAndFindFileByUrl(@NotNull String url) {
|
||||
return VirtualFileLookup.newLookup().withRefresh().fromUrl(url);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user