diff --git a/gui/src/main/java/org/verapdf/cli/commands/VeraCliArgParser.java b/gui/src/main/java/org/verapdf/cli/commands/VeraCliArgParser.java index c99d0e0b..696873b1 100644 --- a/gui/src/main/java/org/verapdf/cli/commands/VeraCliArgParser.java +++ b/gui/src/main/java/org/verapdf/cli/commands/VeraCliArgParser.java @@ -582,7 +582,7 @@ public FeatureExtractorConfig featureExtractorConfig() { } public MetadataFixerConfig fixerConfig() { - return FixerFactory.configFromValues(this.prefix, true); + return FixerFactory.configFromValues(this.prefix); } public VeraAppConfig appConfig(final VeraAppConfig base) { diff --git a/gui/src/main/java/org/verapdf/gui/PDFValidationApplication.java b/gui/src/main/java/org/verapdf/gui/PDFValidationApplication.java index 7fe8034b..3521ceb8 100644 --- a/gui/src/main/java/org/verapdf/gui/PDFValidationApplication.java +++ b/gui/src/main/java/org/verapdf/gui/PDFValidationApplication.java @@ -151,7 +151,7 @@ public void actionPerformed(ActionEvent e) { } MetadataFixerConfig fixConf = FixerFactory - .configFromValues(PDFValidationApplication.this.settingsPanel.getFixMetadataPrefix(), true); + .configFromValues(PDFValidationApplication.this.settingsPanel.getFixMetadataPrefix()); try { configManager.updateFixerConfig(fixConf); } catch (JAXBException | IOException excep) { diff --git a/gui/src/test/java/org/verapdf/apps/ConfigManagerTests.java b/gui/src/test/java/org/verapdf/apps/ConfigManagerTests.java index bba70b44..c31f87bb 100644 --- a/gui/src/test/java/org/verapdf/apps/ConfigManagerTests.java +++ b/gui/src/test/java/org/verapdf/apps/ConfigManagerTests.java @@ -149,7 +149,7 @@ public void testUpdateFixerConfig() throws JAXBException, IOException { ConfigManager newManager = Applications.createTmpConfigManager(); assertNotSame(defaultConfig, newManager.getFixerConfig()); assertEquals(defaultConfig, newManager.getFixerConfig()); - MetadataFixerConfig newConfig = FixerFactory.configFromValues("NOT_DEFAULT", !defaultConfig.isFixId()); + MetadataFixerConfig newConfig = FixerFactory.configFromValues("NOT_DEFAULT"); newManager.updateFixerConfig(newConfig); assertNotEquals(defaultConfig, newManager.getFixerConfig()); }