X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fsrc%2Forg%2Fsimantics%2Fdataboard%2Futil%2Fbinary%2FNullBinaryWriteable.java;h=4387d22c87d4ff127a6557035d5d7d30dd87cd1a;hb=a7693ba6aaec35931c5448ef569046984e9f12f3;hp=b150ad1d76192b3fdeb618b1663255c0c6526ce0;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/src/org/simantics/databoard/util/binary/NullBinaryWriteable.java b/bundles/org.simantics.databoard/src/org/simantics/databoard/util/binary/NullBinaryWriteable.java index b150ad1d7..4387d22c8 100644 --- a/bundles/org.simantics.databoard/src/org/simantics/databoard/util/binary/NullBinaryWriteable.java +++ b/bundles/org.simantics.databoard/src/org/simantics/databoard/util/binary/NullBinaryWriteable.java @@ -1,91 +1,91 @@ -/******************************************************************************* - * Copyright (c) 2016 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Semantum Oy - initial API and implementation - *******************************************************************************/ -package org.simantics.databoard.util.binary; - -import java.io.IOException; -import java.nio.ByteBuffer; - -/** - * @author Tuukka Lehtonen - * @since 1.22.1 & 1.24.0 - */ -public class NullBinaryWriteable implements BinaryWriteable { - - @Override - public void writeFully(ByteBuffer src) throws IOException { - } - - @Override - public void writeFully(ByteBuffer src, int length) throws IOException { - } - - @Override - public void write(int b) throws IOException { - } - - @Override - public void write(byte[] b) throws IOException { - } - - @Override - public void write(byte[] b, int off, int len) throws IOException { - } - - @Override - public void writeBoolean(boolean v) throws IOException { - } - - @Override - public void writeByte(int v) throws IOException { - } - - @Override - public void writeShort(int v) throws IOException { - } - - @Override - public void writeChar(int v) throws IOException { - } - - @Override - public void writeInt(int v) throws IOException { - } - - @Override - public void writeLong(long v) throws IOException { - } - - @Override - public void writeFloat(float v) throws IOException { - } - - @Override - public void writeDouble(double v) throws IOException { - } - - @Override - public void writeBytes(String s) throws IOException { - } - - @Override - public void writeChars(String s) throws IOException { - } - - @Override - public void writeUTF(String s) throws IOException { - } - - @Override - public void flush() throws IOException { - } - -} +/******************************************************************************* + * Copyright (c) 2016 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Semantum Oy - initial API and implementation + *******************************************************************************/ +package org.simantics.databoard.util.binary; + +import java.io.IOException; +import java.nio.ByteBuffer; + +/** + * @author Tuukka Lehtonen + * @since 1.22.1 & 1.24.0 + */ +public class NullBinaryWriteable implements BinaryWriteable { + + @Override + public void writeFully(ByteBuffer src) throws IOException { + } + + @Override + public void writeFully(ByteBuffer src, int length) throws IOException { + } + + @Override + public void write(int b) throws IOException { + } + + @Override + public void write(byte[] b) throws IOException { + } + + @Override + public void write(byte[] b, int off, int len) throws IOException { + } + + @Override + public void writeBoolean(boolean v) throws IOException { + } + + @Override + public void writeByte(int v) throws IOException { + } + + @Override + public void writeShort(int v) throws IOException { + } + + @Override + public void writeChar(int v) throws IOException { + } + + @Override + public void writeInt(int v) throws IOException { + } + + @Override + public void writeLong(long v) throws IOException { + } + + @Override + public void writeFloat(float v) throws IOException { + } + + @Override + public void writeDouble(double v) throws IOException { + } + + @Override + public void writeBytes(String s) throws IOException { + } + + @Override + public void writeChars(String s) throws IOException { + } + + @Override + public void writeUTF(String s) throws IOException { + } + + @Override + public void flush() throws IOException { + } + +}