Массивы в json
This commit is contained in:
@@ -62,7 +62,7 @@ public class MassSelectArrays extends SapforModification {
|
||||
for (ProjectArray array : arrays) {
|
||||
if (
|
||||
Global.mainModule.getProject().declaratedArrays.getUI().isObjectVisible(array) && array.isSelectionEnabled()) {
|
||||
array.State = new_state;
|
||||
array.setState(new_state);
|
||||
array.SaveUserState();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,8 +55,6 @@ public class SPF_GetGCovInfo extends SilentSapforPass {
|
||||
}
|
||||
protected void unpack(String packed) throws Exception {
|
||||
GCOVJson allJson = Utils_.gson.fromJson(packed, GCOVJson.class);
|
||||
// System.out.println("packed="+ Utils_.Brackets(packed));
|
||||
// System.out.println(allJson.allGCov.size());
|
||||
for (FileGCOVJson fileJson: allJson.allGCov){
|
||||
fileJson.file = Utils_.toW(fileJson.file);
|
||||
//--
|
||||
@@ -65,10 +63,9 @@ public class SPF_GetGCovInfo extends SilentSapforPass {
|
||||
if (lineJson.line > 0) {
|
||||
int v_line = lineJson.line - 1;
|
||||
long v_execution = (lineJson.execution >= 0) ? lineJson.execution : 0;
|
||||
// System.out.println("line="+v_line+"/"+v_execution);
|
||||
if (!projectFile.gcov_info.line_info.containsKey(v_line)) {
|
||||
projectFile.gcov_info.add_line(v_line, v_execution);
|
||||
// System.out.println("+");
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user