/* 
 * Copyright (c) 2012, noxan
 * See LICENSE for details.
 */

package com.github.noxan.aves.protocol.string;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;


public class StringInputProtocol {
    private BufferedReader in;

    public StringInputProtocol(InputStream in) {
        this.in = new BufferedReader(new InputStreamReader(in));
    }

    public Object read() throws IOException {
        Object data = in.readLine();
        return data;
    }
}

@@ -476,21 +476,14 @@
     
-Object data =
+return
  in.
@@ -498,29 +498,8 @@
 ();%0A
-        return data;%0A
     

remove redundant local variable in stringinputprotocol