Browse files

Fixed a concurrency error, caused by the use of a static field which …

…was not supposed to be static, as the classes are instantiated just to allow customization

Signed-off-by: Rajarshi  Guha <>
  • Loading branch information...
1 parent 3ea9180 commit 9f54afcb976372e75634c766fa3df5e82a97afb5 @egonw egonw committed with rajarshi Mar 11, 2011
2 src/main/org/openscience/cdk/io/
@@ -124,7 +124,7 @@
private LoggingTool logger;
- private static List<ICMLCustomizer> customizers = null;
+ private List<ICMLCustomizer> customizers = null;
* Constructs a new CMLWriter class. Output will be stored in the Writer
2 src/main/org/openscience/cdk/libio/cml/
@@ -99,7 +99,7 @@
private LoggingTool logger;
private final static String CUSTOMIZERS_LIST = "libio-cml-customizers.set";
- private static Map<String, ICMLCustomizer> customizers = null;
+ private Map<String, ICMLCustomizer> customizers = null;
private boolean useCMLIDs;
/** specify if the IMolecule object need to put identify or reference definition*/

0 comments on commit 9f54afc

Please sign in to comment.