Report abuse


			
diff --git a/src/org/jruby/RubyIO.java b/src/org/jruby/RubyIO.java
index 3dc27aa..4e6e4a0 100644
--- a/src/org/jruby/RubyIO.java
+++ b/src/org/jruby/RubyIO.java
@@ -900,18 +900,6 @@ public class RubyIO extends RubyObject {
             return this;
     }

-    protected void checkInitialized() {
-        if (openFile == null) {
-            throw getRuntime().newIOError("uninitialized stream");
-        }
-    }
-    
-    protected void checkClosed() {
-        if (openFile.getMainStream() == null && openFile.getPipeStream() == null) {
-            throw getRuntime().newIOError("closed stream");
-        }
-    }
-    
     @JRubyMethod(name = "syswrite", required = 1)
     public IRubyObject syswrite(IRubyObject obj) {
         try {