@Override
public String print()
{
+ String jsonOutput = null;
try
{
if (getJsonExportSettings() == null)
}
com.json.JSONObject generatedJSon = new com.json.JSONObject(
jsonAlignmentPojo);
- String jsonOutput = generatedJSon.toString();
+ jsonOutput = generatedJSon.toString();
return jsonOutput.replaceAll("xstart", "xStart").replaceAll("xend",
"xEnd");
} catch (Exception e)
{
e.printStackTrace();
- throw e;
}
+ return jsonOutput;
}
public static List<SequenceFeaturesPojo> sequenceFeatureToJsonPojo(