maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r712570 - /maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkTestDocument.java
Date Sun, 09 Nov 2008 21:59:38 GMT
Author: hboutemy
Date: Sun Nov  9 13:59:38 2008
New Revision: 712570

URL: http://svn.apache.org/viewvc?rev=712570&view=rev
Log:
added a COPYRIGHT constant for the Copyright character

Modified:
    maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkTestDocument.java

Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkTestDocument.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkTestDocument.java?rev=712570&r1=712569&r2=712570&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkTestDocument.java
(original)
+++ maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkTestDocument.java
Sun Nov  9 13:59:38 2008
@@ -596,9 +596,9 @@
         sink.paragraph_();
 
         sink.paragraph();
-        String copyright = String.valueOf( '\u00a9' );
-        sink.text( "Copyright symbol: " + copyright + ", "
-            + copyright + ", " + copyright + "." );
+        sink.text( "Copyright symbol: " + COPYRIGHT + ", " + COPYRIGHT + ", " + COPYRIGHT
+ "." );
         sink.paragraph_();
     }
+
+    private static final char COPYRIGHT = '\u00a9';
 }



Mime
View raw message