diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-08-07 14:05:44 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-08-07 14:05:44 -0230 |
commit | e3a672a438635a1173388aea9d7a2d44de358945 (patch) | |
tree | 57113ece1dd013c9687468a8dd7cc62c80136b86 /java/src/IceInternal/OutputStreamWrapper.java | |
parent | ICE-5457 added ability to set source address for connections (diff) | |
download | ice-e3a672a438635a1173388aea9d7a2d44de358945.tar.bz2 ice-e3a672a438635a1173388aea9d7a2d44de358945.tar.xz ice-e3a672a438635a1173388aea9d7a2d44de358945.zip |
Add @Override where possible, and remove trailing white space.
Diffstat (limited to 'java/src/IceInternal/OutputStreamWrapper.java')
-rw-r--r-- | java/src/IceInternal/OutputStreamWrapper.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/src/IceInternal/OutputStreamWrapper.java b/java/src/IceInternal/OutputStreamWrapper.java index fb75fa65a70..722f420603a 100644 --- a/java/src/IceInternal/OutputStreamWrapper.java +++ b/java/src/IceInternal/OutputStreamWrapper.java @@ -38,6 +38,7 @@ public class OutputStreamWrapper extends java.io.OutputStream _pos = 0; } + @Override public void write(int b) throws IOException { @@ -81,12 +82,14 @@ public class OutputStreamWrapper extends java.io.OutputStream } } + @Override public void write(byte[] b) throws IOException { write(b, 0, b.length); } + @Override public void write(byte[] bytes, int offset, int count) throws IOException { @@ -131,6 +134,7 @@ public class OutputStreamWrapper extends java.io.OutputStream } } + @Override public void flush() throws IOException { @@ -138,6 +142,7 @@ public class OutputStreamWrapper extends java.io.OutputStream // and we cannot write to the BasicStream until we know whether the final size is < 255 or not. } + @Override public void close() throws IOException { |