parent
0c8fec38dc
commit
1e1c4f5526
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ public class FileChecker {
|
|||
private List<File> lsSWT(String swtDirPath) {
|
||||
File swtDir = new File(swtDirPath);
|
||||
File[] swtFiles = swtDir.listFiles((dir, name) -> {
|
||||
String offsetName = name.substring(0, 9);
|
||||
String offsetName = name.length() > 10 ? name.substring(0, 9) : "";
|
||||
return offsetName.equalsIgnoreCase("RDC_KS_DF");
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue