JAL-3253 miscellaneous tidying up before merge to JS-develop
[jalview.git] / src / jalview / structure / StructureSelectionManager.java
index 012dff3..82d66f2 100644 (file)
@@ -86,7 +86,7 @@ public class StructureSelectionManager implements ApplicationSingletonI
   /*
    * instances of this class scoped by some context class
    */
-  private IdentityHashMap<StructureSelectionManagerProvider, StructureSelectionManager> structureSelections;
+  private IdentityHashMap<StructureSelectionManagerProvider, StructureSelectionManager> selectionManagers;
 
   /**
    * Answers an instance of this class for the current application (Java or JS
@@ -125,11 +125,11 @@ public class StructureSelectionManager implements ApplicationSingletonI
   StructureSelectionManager getInstanceForContext(
           StructureSelectionManagerProvider context)
   {
-    StructureSelectionManager instance = structureSelections.get(context);
+    StructureSelectionManager instance = selectionManagers.get(context);
     if (instance == null)
     {
       instance = new StructureSelectionManager();
-      structureSelections.put(context, instance);
+      selectionManagers.put(context, instance);
     }
     return instance;
   }
@@ -142,7 +142,7 @@ public class StructureSelectionManager implements ApplicationSingletonI
 
   public static void release(StructureSelectionManagerProvider provider)
   {
-    getInstance().structureSelections.remove(provider);
+    getInstance().selectionManagers.remove(provider);
   }
 
   /**
@@ -151,7 +151,7 @@ public class StructureSelectionManager implements ApplicationSingletonI
    */
   private StructureSelectionManager()
   {
-    structureSelections = new IdentityHashMap<>();
+    selectionManagers = new IdentityHashMap<>();
   }
 
   /**