Added @Deprecated annotations to router classes/methods

This commit is contained in:
z3r0fox
2016-02-06 20:39:58 +00:00
parent f9cf6bdc85
commit 79bb3f6cc4
48 changed files with 102 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ public abstract class FastI2NPMessageImpl extends I2NPMessageImpl {
* @deprecated unused
* @throws UnsupportedOperationException
*/
@Deprecated
@Override
public void readBytes(InputStream in) throws DataFormatException, IOException {
throw new UnsupportedOperationException();
@@ -62,6 +63,7 @@ public abstract class FastI2NPMessageImpl extends I2NPMessageImpl {
* @deprecated unused
* @throws UnsupportedOperationException
*/
@Deprecated
@Override
public int readBytes(InputStream in, int type, byte buffer[]) throws I2NPMessageException, IOException {
throw new UnsupportedOperationException();
@@ -118,6 +120,7 @@ public abstract class FastI2NPMessageImpl extends I2NPMessageImpl {
* @deprecated unused
* @throws UnsupportedOperationException
*/
@Deprecated
@Override
public void writeBytes(OutputStream out) throws DataFormatException, IOException {
throw new UnsupportedOperationException();