summaryrefslogtreecommitdiff
path: root/java/broker-plugins
diff options
context:
space:
mode:
authorRobert Godfrey <rgodfrey@apache.org>2012-01-27 12:19:57 +0000
committerRobert Godfrey <rgodfrey@apache.org>2012-01-27 12:19:57 +0000
commitfac38971d2943f7e7113ebaf1425ef731799d1f8 (patch)
tree80a2c48cb90eac58d86115b7ac8a8ac867510aca /java/broker-plugins
parentadbaa8b9bb6629daecfdfb3efcaba24a485580ba (diff)
downloadqpid-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.java2
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("&", "&amp;");
xmlStr = xmlStr.replace("<", "&lt;");
xmlStr = xmlStr.replace(">", "&gt;");