repo.or.cz
/
imageja.git
/
commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
patch
|
inline
|
side by side
(parent:
fb212b4
)
Fix for a ConcurrentModificationException in CommandFinder
author
Mark Longair
<mhl@pobox.com>
Sat, 26 Sep 2009 12:52:23 +0000
(26 13:52 +0100)
committer
Mark Longair
<mhl@pobox.com>
Sat, 26 Sep 2009 12:56:15 +0000
(26 13:56 +0100)
This should close bug 80:
http://pacific.mpi-cbg.de/cgi-bin/bugzilla/show_bug.cgi?id=80
ij/plugin/CommandFinder.java
patch
|
blob
|
blame
|
history
diff --git
a/ij/plugin/CommandFinder.java
b/ij/plugin/CommandFinder.java
index
19706c3
..
853ef02
100644
(file)
--- a/
ij/plugin/CommandFinder.java
+++ b/
ij/plugin/CommandFinder.java
@@
-322,7
+322,7
@@
public class CommandFinder implements PlugIn, TextListener, ActionListener, Wind
/* Find the "normal" commands; those which are
registered plugins: */
- Hashtable realCommandsHash =
ij.Menus.getCommands(
);
+ Hashtable realCommandsHash =
(Hashtable)(ij.Menus.getCommands().clone()
);
Set realCommandSet = realCommandsHash.keySet();