Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormegumi.telles2018-03-26 14:13:17 +0000
committermegumi.telles2018-03-26 14:13:17 +0000
commit95b3f59964657c4a300862ec11a58ad1376ea91a (patch)
tree73ec8698527f55289ea71ed478b77fc89cbe9848
parent6138da0210844b90176405090fa468549ff324e0 (diff)
downloadorg.eclipse.osee-95b3f59964657c4a300862ec11a58ad1376ea91a.tar.gz
org.eclipse.osee-95b3f59964657c4a300862ec11a58ad1376ea91a.tar.xz
org.eclipse.osee-95b3f59964657c4a300862ec11a58ad1376ea91a.zip
bug: Fix lis file check
-rw-r--r--plugins/org.eclipse.osee.vcast/src/org/eclipse/osee/vcast/VCastLisFileParser.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.vcast/src/org/eclipse/osee/vcast/VCastLisFileParser.java b/plugins/org.eclipse.osee.vcast/src/org/eclipse/osee/vcast/VCastLisFileParser.java
index b2771a91d3e..07f6aa38c9f 100644
--- a/plugins/org.eclipse.osee.vcast/src/org/eclipse/osee/vcast/VCastLisFileParser.java
+++ b/plugins/org.eclipse.osee.vcast/src/org/eclipse/osee/vcast/VCastLisFileParser.java
@@ -50,7 +50,7 @@ public class VCastLisFileParser implements ICoverageUnitFileContentsLoader {
try {
lisFile = new File(lisFilePathName);
if (!lisFile.exists()) {
- if (!doesFileExist(lisFilePathName, lisFile)) {
+ if (!doesFileExist(lisFileName, lisFile)) {
throw new OseeArgumentException(
String.format("VectorCast *.LIS file doesn't exist [%s]", lisFilePathName));
}
@@ -68,9 +68,9 @@ public class VCastLisFileParser implements ICoverageUnitFileContentsLoader {
}
}
- private boolean doesFileExist(String lisFilePathName, File lisFile) {
+ private boolean doesFileExist(String lisFileName, File lisFile) {
for (String file : lisFile.list()) {
- if (file.equalsIgnoreCase(lisFilePathName)) {
+ if (file.equalsIgnoreCase(lisFileName)) {
lisFile = new File(vCastDir + File.separator + file);
return true;
}

Back to the top