xiaoxia 8 years ago
parent
commit
4b1bdbc97c
  1. 2
      designer/src/com/fr/design/mainframe/alphafine/AlphaFineHelper.java

2
designer/src/com/fr/design/mainframe/alphafine/AlphaFineHelper.java

@ -22,7 +22,7 @@ public class AlphaFineHelper {
} }
public static String findFolderName (String text) { public static String findFolderName (String text) {
String[] textArray = text.split("/"); String[] textArray = text.split(File.separator);
if (textArray != null && textArray.length > 1) { if (textArray != null && textArray.length > 1) {
return textArray[textArray.length - 2]; return textArray[textArray.length - 2];

Loading…
Cancel
Save