Skip to content

Commit f4c1423

Browse files
#1 Fixed setting of boolean flag that toggles whether a full feature model extraction is started. The flag is now determined based on the comparison to FullExtraction.class.getName() (instead of a String literal).
1 parent 6585005 commit f4c1423

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/org/variantsync/vevos/extraction/Extraction.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package org.variantsync.vevos.extraction;
22

3+
import org.variantsync.vevos.extraction.kh.FullExtraction;
34
import org.variantsync.vevos.extraction.util.ShellExecutor;
45
import org.variantsync.vevos.extraction.util.GitUtil;
56
import net.ssehub.kernel_haven.SetUpException;
@@ -106,7 +107,7 @@ public static void main(String... args) throws IOException, GitAPIException {
106107
// Create a task for each commit subset and submit it to the thread pool
107108
int count = 0;
108109
LOGGER.logStatus("Scheduling tasks...");
109-
boolean fullExtraction = config.getValue(ANALYSIS_CLASS).endsWith("FullAnalysis");
110+
boolean fullExtraction = config.getValue(ANALYSIS_CLASS).endsWith(FullExtraction.class.getName());
110111
for (List<RevCommit> commitSubset : commitSubsets) {
111112
count += commitSubset.size();
112113
threadPool.submit(new AnalysisTask(commitSubset, workingDirectory, propertiesFile, splDir.getName(), config.getValue(EXTRACTION_TIMEOUT), fullExtraction));

0 commit comments

Comments
 (0)