|
@@ -36,6 +36,12 @@ public class SyncableDataOutputStream extends DataOutputStream implements Syncab
|
|
super(out);
|
|
super(out);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ @Deprecated
|
|
|
|
+ public void sync() throws IOException {
|
|
|
|
+ hflush();
|
|
|
|
+ }
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
public void hflush() throws IOException {
|
|
public void hflush() throws IOException {
|
|
if (out instanceof Syncable) {
|
|
if (out instanceof Syncable) {
|