commented console.log

This commit is contained in:
Francesco Mangiacrapa 2023-01-25 11:41:20 +01:00
parent 1844c32a4b
commit 3e01fba65a
3 changed files with 22 additions and 12 deletions

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
@ -78,7 +79,8 @@
<wb-module deploy-name="geoportal-data-entry-app-3.0.1">
@ -157,7 +159,8 @@
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
@ -236,7 +239,8 @@
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
@ -315,7 +319,8 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
@ -346,7 +351,8 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
@ -425,7 +431,8 @@
<property name="context-root" value="geoportal-data-entry-app"/>
@ -504,7 +511,8 @@
<property name="java-output-path" value="/geoportal-data-entry-app/target/geoportal-data-entry-app-2.0.0-SNAPSHOT/WEB-INF/classes"/>
@ -583,7 +591,8 @@
</wb-module>

View File

@ -35,7 +35,7 @@ public class JSONEditorWrapper extends JavaScriptObject {
console.log("JSONEditorWrapper error: " + error)
}
};
console.log("container is: " + container);
//console.log("container is: " + container);
return new $wnd.JSONEditor(container, options);
}-*/;
@ -47,7 +47,7 @@ public class JSONEditorWrapper extends JavaScriptObject {
public final native void set(String json) /*-{
var toJSONObject = JSON.parse(json);
// set json
console.log("displayng JSON: " + toJSONObject);
//console.log("displayng JSON: " + toJSONObject);
this.set(toJSONObject);
this.refresh();
}-*/;
@ -58,7 +58,7 @@ public class JSONEditorWrapper extends JavaScriptObject {
* @return the text
*/
public final native String getText() /*-{
console.log("this.get(): " +this.getText());
//console.log("this.get(): " +this.getText());
return this.getText();
}-*/;

View File

@ -71,6 +71,7 @@ public class MongoServiceUtil {
// Prepare request
RegisterFileSetRequest fsRequest = FileSets.prepareRequest(new StorageUtils(), parentPath, fieldName,
fieldDefinition, files);
project = client.registerFileSet(project.getId(), fsRequest);
LOG.trace("Resulting Project : " + project);
LOG.debug("Resulting Project as JSON: " + Serialization.write(project));