diff options
author | Robert Godfrey <rgodfrey@apache.org> | 2012-01-27 12:19:57 +0000 |
---|---|---|
committer | Robert Godfrey <rgodfrey@apache.org> | 2012-01-27 12:19:57 +0000 |
commit | fac38971d2943f7e7113ebaf1425ef731799d1f8 (patch) | |
tree | 80a2c48cb90eac58d86115b7ac8a8ac867510aca /java/broker-plugins | |
parent | adbaa8b9bb6629daecfdfb3efcaba24a485580ba (diff) | |
download | qpid-python-fac38971d2943f7e7113ebaf1425ef731799d1f8.tar.gz |
NO-JIRA: Ensure all control flow statements use braces (keeping CheckStyle happy)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236647 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/broker-plugins')
-rw-r--r-- | java/broker-plugins/experimental/info/src/main/java/org/apache/qpid/info/util/XMLWriter.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/broker-plugins/experimental/info/src/main/java/org/apache/qpid/info/util/XMLWriter.java b/java/broker-plugins/experimental/info/src/main/java/org/apache/qpid/info/util/XMLWriter.java index a266edae00..6bea9d2ac0 100644 --- a/java/broker-plugins/experimental/info/src/main/java/org/apache/qpid/info/util/XMLWriter.java +++ b/java/broker-plugins/experimental/info/src/main/java/org/apache/qpid/info/util/XMLWriter.java @@ -88,7 +88,9 @@ public class XMLWriter private String escapeXML(String xmlStr) { if (null == xmlStr) + { return null; + } xmlStr = xmlStr.replaceAll("&", "&"); xmlStr = xmlStr.replace("<", "<"); xmlStr = xmlStr.replace(">", ">"); |