fix issued from codacy

This commit is contained in:
Jacky 2017-11-03 20:12:57 -04:00
parent a204809f3d
commit d9995ba259
2 changed files with 2 additions and 3 deletions

View File

@ -44,7 +44,6 @@ import javax.servlet.http.HttpServletResponse;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONWriter;
import com.google.refine.ProjectManager;

View File

@ -80,6 +80,7 @@ EditMetadataDialog.prototype._createDialog = function() {
for (var k in flatMetaData) {
var tr = metadataTable.insertRow(metadataTable.rows.length);
var v;
if (typeof flatMetaData[k] === 'string') {
v = flatMetaData[k].replace(/\"/g, "");
@ -89,8 +90,7 @@ EditMetadataDialog.prototype._createDialog = function() {
this._metaDataUIs.push(new this._MetaDataUI(tr, k, v, flatMetaData.id));
}
}
};
EditMetadataDialog.prototype._dismiss = function() {
DialogSystem.dismissUntil(this._level - 1);