Skip to content
Snippets Groups Projects
Commit cb3315d5 authored by Robert Butora's avatar Robert Butora
Browse files

mucutout: removes unused 'Inputs' from mcutout-result

parent ef84e619
No related branches found
No related tags found
No related merge requests found
import org.json.simple.JSONObject;
import java.io.File;
class MCutResult
{
class Cut
{
public enum ContentType {FILENAME, BAD_REQUEST, SERVICE_ERROR};
public Inputs inputs;
//public Inputs inputs;
public int index;
public ContentType contentType;
public String content;
......
......@@ -153,7 +153,7 @@ public class JdlMCutout
MCutResult mc = new MCutResult();
MCutResult.Cut cut = mc.new Cut();
cut.inputs = null;//(Inputs)jObj.get("input");
//cut.inputs = null;//(Inputs)jObj.get("input");
String ctype = (String)jObj.get("type");
if(ctype.equals("FILENAME"))
cut.contentType = MCutResult.Cut.ContentType.FILENAME;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment