++
решение проблемы совместимости с java 1.8._4xx
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
package _VisualDVM;
|
||||
import Common.Passes.PassException;
|
||||
import Common.Utils.Index;
|
||||
import Common.Utils.StringTemplate;
|
||||
import Common.Utils.TextLog;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Utils.*;
|
||||
import Common.Visual.UI;
|
||||
import Common.Visual.Windows.Dialog.VFileChooser_;
|
||||
import _VisualDVM.GlobalData.Tasks.TaskState;
|
||||
import javafx.util.Pair;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
|
||||
import javax.swing.tree.DefaultMutableTreeNode;
|
||||
@@ -286,14 +282,14 @@ public class Utils {
|
||||
}
|
||||
//</editor-fold>
|
||||
public static String extractHeaderName(String line) {
|
||||
String res =null;
|
||||
String res = null;
|
||||
String tline = line.trim().toLowerCase();
|
||||
if (tline.startsWith("include")) {
|
||||
String[] data = tline.split("'");
|
||||
res = data.length > 1 ? Utils_.toW(data[1]) : null;
|
||||
if (res!=null){
|
||||
if (res.startsWith("\\")){
|
||||
res= res.substring(1);
|
||||
if (res != null) {
|
||||
if (res.startsWith("\\")) {
|
||||
res = res.substring(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user