From e568e0adf216569b5a0baed85d2d5e09b5d5d7f8 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Thu, 7 Jul 2022 15:22:24 +0200 Subject: deprecation cleanup --- .../src/main/java/at/asit/pdfover/gui/cliarguments/ArgumentHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments/ArgumentHandler.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments/ArgumentHandler.java index 42ddfec7..22fb3409 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments/ArgumentHandler.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments/ArgumentHandler.java @@ -70,7 +70,7 @@ public class ArgumentHandler { Argument arg; try { - arg = cliArgument.newInstance(); + arg = cliArgument.getDeclaredConstructor().newInstance(); arg.setStateMachine(this.stateMachine); -- cgit v1.2.3