james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r572448 - /james/jspf/trunk/src/test/java/org/apache/james/jspf/AbstractYamlTest.java
Date Mon, 03 Sep 2007 23:34:21 GMT
Author: bago
Date: Mon Sep  3 16:34:21 2007
New Revision: 572448

URL: http://svn.apache.org/viewvc?rev=572448&view=rev
Log:
Remove redundant code from test class.

Modified:
    james/jspf/trunk/src/test/java/org/apache/james/jspf/AbstractYamlTest.java

Modified: james/jspf/trunk/src/test/java/org/apache/james/jspf/AbstractYamlTest.java
URL: http://svn.apache.org/viewvc/james/jspf/trunk/src/test/java/org/apache/james/jspf/AbstractYamlTest.java?rev=572448&r1=572447&r2=572448&view=diff
==============================================================================
--- james/jspf/trunk/src/test/java/org/apache/james/jspf/AbstractYamlTest.java (original)
+++ james/jspf/trunk/src/test/java/org/apache/james/jspf/AbstractYamlTest.java Mon Sep  3
16:34:21 2007
@@ -140,15 +140,7 @@
         InputStream is = SPFYamlTest.class.getResourceAsStream(filename);
         
         if (is != null) {
-            Reader br = new BufferedReader(new InputStreamReader(is)) {
-        
-                public int read(char[] arg0) throws IOException {
-                    int rl = super.read(arg0);
-                    return rl;
-                }
-                
-            };
-            
+            Reader br = new BufferedReader(new InputStreamReader(is));
             YAMLFactory fact = new DefaultYAMLFactory();
             
             Constructor ctor = fact.createConstructor(fact.createComposer(fact.createParser(fact.createScanner(br)),fact.createResolver()));



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message