commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1130726 - /commons/sandbox/digester3/trunk/src/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/Main.java
Date Thu, 02 Jun 2011 18:52:58 GMT
Author: simonetripodi
Date: Thu Jun  2 18:52:58 2011
New Revision: 1130726

URL: http://svn.apache.org/viewvc?rev=1130726&view=rev
Log:
organized imports

Modified:
    commons/sandbox/digester3/trunk/src/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/Main.java

Modified: commons/sandbox/digester3/trunk/src/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/Main.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/Main.java?rev=1130726&r1=1130725&r2=1130726&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/Main.java
(original)
+++ commons/sandbox/digester3/trunk/src/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/Main.java
Thu Jun  2 18:52:58 2011
@@ -17,6 +17,8 @@ package org.apache.commons.digester3.exa
  * limitations under the License.
  */ 
 
+import java.io.StringReader;
+
 /** 
  * A simple "test harness" which demonstrates how the MarkupDigester class
  * (plus the supporting interface/rule classes) can process "document-markup"
@@ -81,7 +83,7 @@ public class Main
         d.addCallMethod( "p/i", "addItalic", 0 );
         d.addCallMethod( "p/b", "addBold", 0 );
 
-        d.parse( new java.io.StringReader( in ) );
+        d.parse( new StringReader( in ) );
 
         System.out.println( "Finished." );
     }



Mime
View raw message