summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/utils/CastorXMLUtility.java
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2014-09-26 11:06:51 +0200
committerAndrew Branson <andrew.branson@cern.ch>2014-09-26 11:06:51 +0200
commitbe6b4608bdea970657d0257460ab92874314ca9b (patch)
tree005aaee8a5c98eee2969e7f25a3d824e0ed9a725 /src/main/java/com/c2kernel/utils/CastorXMLUtility.java
parentd3de786f0e860f85ac1a00da0bc281aad14d953f (diff)
Various problems found by FindBugs
Diffstat (limited to 'src/main/java/com/c2kernel/utils/CastorXMLUtility.java')
-rw-r--r--src/main/java/com/c2kernel/utils/CastorXMLUtility.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/c2kernel/utils/CastorXMLUtility.java b/src/main/java/com/c2kernel/utils/CastorXMLUtility.java
index 497f934..e8e3ee4 100644
--- a/src/main/java/com/c2kernel/utils/CastorXMLUtility.java
+++ b/src/main/java/com/c2kernel/utils/CastorXMLUtility.java
@@ -99,7 +99,7 @@ public class CastorXMLUtility
mappingContext.setClassLoader(defaultClassLoader);
// if the aAppProperties contains castor properties then
- if (aAppProperties.containsKey(CASTOR_XML_SERIALIZER_FACTORY)) {
+ if (aAppProperties!= null && aAppProperties.containsKey(CASTOR_XML_SERIALIZER_FACTORY)) {
mappingContext.setProperty(CASTOR_XML_SERIALIZER_FACTORY,
aAppProperties