Permalink
Browse files

AS7-5356 transformers should be final

  • Loading branch information...
1 parent 96697f8 commit c29fda9a7850f8d0c7ffd70e6633d7cbce5a5f80 @scottmarlow scottmarlow committed with bstansberry Aug 14, 2012
View
2 jpa/core/src/main/java/org/jboss/as/jpa/config/PersistenceUnitMetadataImpl.java
@@ -101,7 +101,7 @@
// transformers will be written to when the JPA persistence provider adds their transformer.
// there should be very few calls to add transformers but potentially many calls to get the
// transformer list (once per application class loaded).
- private volatile List<ClassTransformer> transformers = new CopyOnWriteArrayList<ClassTransformer>();
+ private final List<ClassTransformer> transformers = new CopyOnWriteArrayList<ClassTransformer>();
private volatile SharedCacheMode sharedCacheMode;

0 comments on commit c29fda9

Please sign in to comment.