From 4aa0b93fe4d38b875cfd5d8fa67fb1fe1ca4122e Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Mon, 10 Oct 2016 11:56:19 +0200 Subject: [PATCH] make fields final --- .../codeInsight/ConcurrencyAnnotationsManager.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/java/java-psi-api/src/com/intellij/codeInsight/ConcurrencyAnnotationsManager.java b/java/java-psi-api/src/com/intellij/codeInsight/ConcurrencyAnnotationsManager.java index f48a9a0fca8a..9402ddd6d40f 100644 --- a/java/java-psi-api/src/com/intellij/codeInsight/ConcurrencyAnnotationsManager.java +++ b/java/java-psi-api/src/com/intellij/codeInsight/ConcurrencyAnnotationsManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2015 JetBrains s.r.o. + * Copyright 2000-2016 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. @@ -31,10 +31,10 @@ public class ConcurrencyAnnotationsManager { private static final String THREAD_SAFE = "ThreadSafe"; private static final String NOT_THREAD_SAFE = "NotThreadSafe"; - private List myImmutableList = new ArrayList(); - private List myGuardedByList = new ArrayList(); - private List myThreadSafeList = new ArrayList(); - private List myNotThreadSafeList = new ArrayList(); + private final List myImmutableList = new ArrayList(); + private final List myGuardedByList = new ArrayList(); + private final List myThreadSafeList = new ArrayList(); + private final List myNotThreadSafeList = new ArrayList(); public ConcurrencyAnnotationsManager() { fillDefaults(myImmutableList, IMMUTABLE);