no message
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package ProjectData.Files;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common_old.Constants;
|
||||
import Common.Database.Objects.DBObject;
|
||||
import Common_old.Utils.Utils;
|
||||
import ProjectData.LanguageName;
|
||||
|
||||
import javax.swing.*;
|
||||
@@ -48,7 +48,7 @@ public class ProjectFile extends DBObject {
|
||||
}
|
||||
}
|
||||
//-
|
||||
switch (Utils.getExtensionByName(name_in)) {
|
||||
switch (CommonUtils.getExtensionFromName(name_in)) {
|
||||
case "f":
|
||||
case "fdv":
|
||||
case "for":
|
||||
@@ -87,7 +87,7 @@ public class ProjectFile extends DBObject {
|
||||
fileType = FileType.forbidden;
|
||||
break;
|
||||
case "":
|
||||
if (Utils.isDigit(name_in)) {
|
||||
if (CommonUtils.isDigit(name_in)) {
|
||||
fileType = FileType.forbidden;
|
||||
} else {
|
||||
state = FileState.Excluded;
|
||||
@@ -130,14 +130,14 @@ public class ProjectFile extends DBObject {
|
||||
return new ImageIcon(imageUrl);
|
||||
}
|
||||
public String getUnixName() {
|
||||
return Utils.toU(file.getName());
|
||||
return CommonUtils.toU(file.getName());
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return file.getName();
|
||||
}
|
||||
public String getQSourceName() {
|
||||
return Utils.DQuotes(getUnixName());
|
||||
return CommonUtils.DQuotes(getUnixName());
|
||||
}
|
||||
public String getStyleOptions() {
|
||||
if (languageName == LanguageName.fortran) {
|
||||
|
||||
Reference in New Issue
Block a user