]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.fastlz/testcases/org/simantics/fastlz/NullOutputStream.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.fastlz / testcases / org / simantics / fastlz / NullOutputStream.java
1 package org.simantics.fastlz;
2
3 import java.io.IOException;
4 import java.io.OutputStream;
5
6 /**
7  * @author Tuukka Lehtonen
8  */
9 public class NullOutputStream extends OutputStream {
10
11         public static final NullOutputStream INSTANCE = new NullOutputStream();
12         
13         @Override
14         public void write(int b) throws IOException {
15         }
16
17         @Override
18         public void write(byte[] b) throws IOException {
19         }
20
21         @Override
22         public void write(byte[] b, int off, int len) throws IOException {
23         }
24
25 }