git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3444 missed commit of removal of object creation test.
[jalview.git]
/
src
/
jalview
/
structure
/
StructureSelectionManager.java
diff --git
a/src/jalview/structure/StructureSelectionManager.java
b/src/jalview/structure/StructureSelectionManager.java
index
012dff3
..
82d66f2
100644
(file)
--- a/
src/jalview/structure/StructureSelectionManager.java
+++ b/
src/jalview/structure/StructureSelectionManager.java
@@
-86,7
+86,7
@@
public class StructureSelectionManager implements ApplicationSingletonI
/*
* instances of this class scoped by some context class
*/
/*
* 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
/**
* 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 getInstanceForContext(
StructureSelectionManagerProvider context)
{
- StructureSelectionManager instance = structureSelections.get(context);
+ StructureSelectionManager instance = selectionManagers.get(context);
if (instance == null)
{
instance = new StructureSelectionManager();
if (instance == null)
{
instance = new StructureSelectionManager();
- structureSelections.put(context, instance);
+ selectionManagers.put(context, instance);
}
return instance;
}
}
return instance;
}
@@
-142,7
+142,7
@@
public class StructureSelectionManager implements ApplicationSingletonI
public static void release(StructureSelectionManagerProvider provider)
{
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()
{
*/
private StructureSelectionManager()
{
- structureSelections = new IdentityHashMap<>();
+ selectionManagers = new IdentityHashMap<>();
}
/**
}
/**