mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix isJCiPAnnotation check
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ class JCiPUtil {
|
||||
private static final String GUARDED_BY = "net.jcip.annotations.GuardedBy";
|
||||
|
||||
static boolean isJCiPAnnotation(String ref) {
|
||||
return "Immutable".equals(ref) || "GuardedBy".equals(ref) || "ThreadSafe".equals("ref");
|
||||
return "Immutable".equals(ref) || "GuardedBy".equals(ref) || "ThreadSafe".equals(ref) || "NotThreadSafe".equals(ref);
|
||||
}
|
||||
|
||||
private JCiPUtil() {
|
||||
|
||||
Reference in New Issue
Block a user