You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by vs...@apache.org on 2008/12/08 12:47:36 UTC

svn commit: r724315 - /maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/TextSink.java

Author: vsiveton
Date: Mon Dec  8 03:47:36 2008
New Revision: 724315

URL: http://svn.apache.org/viewvc?rev=724315&view=rev
Log:
o removed unnecessary cast

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

Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/TextSink.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/TextSink.java?rev=724315&r1=724314&r2=724315&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/TextSink.java (original)
+++ maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/TextSink.java Mon Dec  8 03:47:36 2008
@@ -760,7 +760,7 @@
         if ( attributes != null && attributes.isDefined( SinkEventAttributes.DECORATION ) )
         {
             boxed = "boxed".equals(
-                (String) attributes.getAttribute( SinkEventAttributes.DECORATION ) );
+                attributes.getAttribute( SinkEventAttributes.DECORATION ).toString() );
         }
 
         verbatim( boxed );