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 org.json.simple.JSONObject;
import java.io.File;
class MCutResult class MCutResult
{ {
class Cut class Cut
{ {
public enum ContentType {FILENAME, BAD_REQUEST, SERVICE_ERROR}; public enum ContentType {FILENAME, BAD_REQUEST, SERVICE_ERROR};
public Inputs inputs; //public Inputs inputs;
public int index; public int index;
public ContentType contentType; public ContentType contentType;
public String content; public String content;
......
...@@ -153,7 +153,7 @@ public class JdlMCutout ...@@ -153,7 +153,7 @@ public class JdlMCutout
MCutResult mc = new MCutResult(); MCutResult mc = new MCutResult();
MCutResult.Cut cut = mc.new Cut(); 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"); String ctype = (String)jObj.get("type");
if(ctype.equals("FILENAME")) if(ctype.equals("FILENAME"))
cut.contentType = MCutResult.Cut.ContentType.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