mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2014 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.
|
||||
@@ -32,8 +32,6 @@ public abstract class FileTypeManagerEx extends FileTypeManager{
|
||||
public abstract void registerFileType(FileType fileType);
|
||||
public abstract void unregisterFileType(FileType fileType);
|
||||
|
||||
// public abstract String getIgnoredFilesList();
|
||||
// public abstract void setIgnoredFilesList(String list);
|
||||
public abstract boolean isIgnoredFilesListEqualToCurrent(String list);
|
||||
|
||||
@NotNull public abstract String getExtension(String fileName);
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2010 JetBrains s.r.o.
|
||||
* Copyright 2000-2014 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.
|
||||
@@ -488,7 +488,7 @@ public class StripedLockIntObjectConcurrentHashMap<V> implements ConcurrentIntOb
|
||||
lock();
|
||||
try {
|
||||
IntHashEntry<V> e = getFirst(key);
|
||||
while (e != null && !(key == e.key)) {
|
||||
while (e != null && key != e.key) {
|
||||
e = e.next;
|
||||
}
|
||||
|
||||
@@ -613,7 +613,7 @@ public class StripedLockIntObjectConcurrentHashMap<V> implements ConcurrentIntOb
|
||||
int index = key & tab.length - 1;
|
||||
IntHashEntry<V> first = tab[index];
|
||||
IntHashEntry<V> e = first;
|
||||
while (e != null && !(key == e.key)) {
|
||||
while (e != null && key != e.key) {
|
||||
e = e.next;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user