aboutsummaryrefslogtreecommitdiffstats
path: root/poi-examples/src/main/ruby/java/org/apache/poi/RubyOutputStream.java
diff options
context:
space:
mode:
Diffstat (limited to 'poi-examples/src/main/ruby/java/org/apache/poi/RubyOutputStream.java')
-rw-r--r--poi-examples/src/main/ruby/java/org/apache/poi/RubyOutputStream.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/poi-examples/src/main/ruby/java/org/apache/poi/RubyOutputStream.java b/poi-examples/src/main/ruby/java/org/apache/poi/RubyOutputStream.java
index 0c99f094a8..7daf88e65c 100644
--- a/poi-examples/src/main/ruby/java/org/apache/poi/RubyOutputStream.java
+++ b/poi-examples/src/main/ruby/java/org/apache/poi/RubyOutputStream.java
@@ -28,7 +28,7 @@ import java.io.IOException;
public class RubyOutputStream extends OutputStream {
- //pointer to native ruby VALUE
+ //pointer to native ruby VALUE
protected long rubyIO;
public RubyOutputStream (long rubyIO)
@@ -38,7 +38,7 @@ public class RubyOutputStream extends OutputStream {
}
@Override
- protected void finalize()
+ protected void finalize()
throws Throwable
{
// decRef();
@@ -48,14 +48,14 @@ public class RubyOutputStream extends OutputStream {
// protected native void decRef();
@Override
- public native void close()
+ public native void close()
throws IOException;
- /* (non-Javadoc)
- * @see java.io.OutputStream#write(int)
- */
- @Override
- public native void write(int arg0) throws IOException;
+ /* (non-Javadoc)
+ * @see java.io.OutputStream#write(int)
+ */
+ @Override
+ public native void write(int arg0) throws IOException;
}