переименования в единый стиль полей массивов и регионов

This commit is contained in:
2025-05-17 18:07:07 +03:00
parent 0cb4022969
commit cba4425cd7
9 changed files with 31 additions and 32 deletions

View File

@@ -18,11 +18,11 @@ import java.util.Vector;
public class ParallelRegion extends DBObject {
//json
@Expose
public String packed_region_id;
public String packedRegionId;
@Expose
public String originalName;
@Expose
public List<ProjectArray> packed_arrays;
public List<ProjectArray> packedArrays;
@Expose
public List<FileRegionLinesJson> regionsLines;
@Expose
@@ -125,9 +125,9 @@ public class ParallelRegion extends DBObject {
lines = new LinkedHashMap<>();
fragments = new Vector<>();
//--
if (packed_region_id != null)
regionId = new BigInteger(packed_region_id);
for (ProjectArray array : packed_arrays) {
if (packedRegionId != null)
regionId = new BigInteger(packedRegionId);
for (ProjectArray array : packedArrays) {
array.Init();//имена и адреса.
arraysMap.put(array.address, array);
}
@@ -139,9 +139,9 @@ public class ParallelRegion extends DBObject {
}
}
//--
packed_region_id = null;
packed_arrays.clear();
packed_arrays = null;
packedRegionId = null;
packedArrays.clear();
packedArrays = null;
regionsLines.clear();
regionsLines = null;
//--