summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-04-23 16:46:26 +0200
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-04-23 16:46:26 +0200
commit73a33ff2e2c8d88b9e75bc584ef513b6420041d6 (patch)
treef42216f6e29ae8cdfc0ef8625b0390473a74cb0c
parent3fadbde9fc4c1b6000f8e592b07cc3bbc3d8319e (diff)
downloadsonarqube-73a33ff2e2c8d88b9e75bc584ef513b6420041d6.tar.gz
sonarqube-73a33ff2e2c8d88b9e75bc584ef513b6420041d6.zip
SONAR-4258 Added ampersand escaping in sonar-colorizer
-rw-r--r--sonar-colorizer/src/test/resources/org/sonar/colorizer/samples/SampleWithComments.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/sonar-colorizer/src/test/resources/org/sonar/colorizer/samples/SampleWithComments.java b/sonar-colorizer/src/test/resources/org/sonar/colorizer/samples/SampleWithComments.java
new file mode 100644
index 00000000000..d132e7597c6
--- /dev/null
+++ b/sonar-colorizer/src/test/resources/org/sonar/colorizer/samples/SampleWithComments.java
@@ -0,0 +1,14 @@
+package org.sonar.colorizer.samples;
+
+public class SampleWithComments {
+
+ /*
+ * This method does <b>something</b>
+ *
+ * &lt;p&gt;description&lt;/p&gt;
+ */
+
+ public void doSomething() {
+ }
+
+}