++
убирание джсон запакованных полей у баг репортов
This commit is contained in:
@@ -6,6 +6,16 @@ public class BugReportSetting extends iDBObject {
|
||||
public String bugreport_id = "";
|
||||
public String name = "";
|
||||
public String value = "";
|
||||
public BugReportSetting() {
|
||||
}
|
||||
public BugReportSetting(BugReport bugReport, String name_in, Object value_in) {
|
||||
this(name_in, value_in);
|
||||
bugreport_id = bugReport.id;
|
||||
}
|
||||
public BugReportSetting(String name_in, Object value_in) {
|
||||
name = name_in;
|
||||
value = (value_in instanceof Boolean) ? ((boolean) value_in ? "1" : "0") : value_in.toString();
|
||||
}
|
||||
@Override
|
||||
public void SynchronizeFields(DBObject src) {
|
||||
super.SynchronizeFields(src);
|
||||
@@ -14,14 +24,4 @@ public class BugReportSetting extends iDBObject {
|
||||
name = src_.name;
|
||||
value = src_.value;
|
||||
}
|
||||
public BugReportSetting() {
|
||||
}
|
||||
public BugReportSetting(BugReport bugReport, String name_in, Object value_in) {
|
||||
this(name_in, value_in);
|
||||
bugreport_id = bugReport.id;
|
||||
}
|
||||
public BugReportSetting(String name_in, Object value_in){
|
||||
name = name_in;
|
||||
value = (value_in instanceof Boolean) ? ((boolean) value_in ? "1" : "0"): value_in.toString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user