Commit 19b5a157 authored by Spiros Koulouzis's avatar Spiros Koulouzis

Forrmated code

parent 0ba94a06
......@@ -35,7 +35,5 @@ public class Main {
prevChar = (int) array[i];
}
System.err.println(tt);
System.err.println(sb.toString());
}
}
......@@ -175,7 +175,7 @@ Accept: application/json
}, {
"name" : "...",
"id" : "...",
"type" : "PUBLIC",
"type" : "PRIVATE",
"attributes" : {
"property1" : "...",
"property2" : "..."
......@@ -488,7 +488,7 @@ Content-Type: application/json
}, {
"name" : "...",
"id" : "...",
"type" : "PRIVATE",
"type" : "PUBLIC",
"attributes" : {
"property1" : "...",
"property2" : "..."
......
......@@ -138,7 +138,6 @@ public abstract class DRIPCaller implements AutoCloseable {
private Message unMarshallWithSimpleJson(String strResponse) throws JSONException {
strResponse = strResponse.replaceAll("'null'", "null").replaceAll("\'", "\"").replaceAll(" ", "");
// System.err.println(strResponse);
JSONObject jsonObj = new JSONObject(strResponse);
Message responseMessage = new Message();
responseMessage.setCreationDate((Long) jsonObj.get("creationDate"));
......
......@@ -136,7 +136,6 @@ public class ToscaService {
prevChar = (int) array[i];
}
toscaContents = sb.toString();
toscaContents = toscaContents.replaceAll("(?m)^[ \t]*\r?\n", "");
for (int i = 0; i < BAD_CHARS.length; i++) {
int hex = BAD_CHARS[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment