]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/migration/NullWriter.java
New implementation NearestOwnerFinder of CommonDBUtils.getNearestOwner
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / migration / NullWriter.java
1 package org.simantics.db.layer0.migration;
2
3 import java.io.PrintWriter;
4 import java.io.Writer;
5
6 /**
7  * @author Tuukka Lehtonen
8  */
9 public class NullWriter extends Writer {
10
11     public static final NullWriter INSTANCE = new NullWriter();
12     public static final PrintWriter PRINT_INSTANCE = new PrintWriter(INSTANCE);
13
14     public NullWriter() {
15     }
16
17     public void write(int idx) {
18     }
19
20     public void write(char[] chr) {
21     }
22
23     public void write(char[] chr, int st, int end) {
24     }
25
26     public void write(String str) {
27     }
28
29     public void write(String str, int st, int end) {
30     }
31
32     public void flush() {
33     }
34
35     public void close() {
36     }
37
38 }