no message
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
package SapforTestingSystem.Json;
|
||||
import Common.Global;
|
||||
import Common.Utils.Utils;
|
||||
import ProjectData.Files.DBProjectFile;
|
||||
import ProjectData.Files.FileType;
|
||||
import ProjectData.Files.ProjectFile;
|
||||
import com.google.gson.annotations.Expose;
|
||||
|
||||
import java.io.File;
|
||||
@@ -16,7 +16,7 @@ public class SapforVersion_json implements Serializable {
|
||||
public String description = "";
|
||||
//поля для отображения деревьев.
|
||||
public File Home = null;
|
||||
public Vector<DBProjectFile> files = null;
|
||||
public Vector<ProjectFile> files = null;
|
||||
//-
|
||||
public SapforVersion_json(String version_in, String description_in) {
|
||||
version = version_in;
|
||||
@@ -39,11 +39,9 @@ public class SapforVersion_json implements Serializable {
|
||||
if (files_ != null) {
|
||||
for (File file: files_){
|
||||
if (file.isFile()) {
|
||||
DBProjectFile dbProjectFile = new DBProjectFile();
|
||||
dbProjectFile.file = file;
|
||||
dbProjectFile.AutoDetectProperties();
|
||||
if (dbProjectFile.fileType.equals(FileType.forbidden)) {
|
||||
files.add(dbProjectFile);
|
||||
ProjectFile projectFile = new ProjectFile(file);
|
||||
if (!projectFile.fileType.equals(FileType.forbidden)) {
|
||||
files.add(projectFile);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user