From caaa82d942b4a9565953377a0e5da0840d4189f9 Mon Sep 17 00:00:00 2001 From: Lukas Jungmann Date: Wed, 11 Jan 2023 11:18:34 +0100 Subject: [PATCH] remove deprecated property Signed-off-by: Lukas Jungmann --- .../org/eclipse/angus/activation/MailcapFile.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/activation-registry/src/main/java/org/eclipse/angus/activation/MailcapFile.java b/activation-registry/src/main/java/org/eclipse/angus/activation/MailcapFile.java index 14f3fde..e97b796 100644 --- a/activation-registry/src/main/java/org/eclipse/angus/activation/MailcapFile.java +++ b/activation-registry/src/main/java/org/eclipse/angus/activation/MailcapFile.java @@ -55,17 +55,6 @@ public class MailcapFile implements MailcapRegistry { static { try { addReverse = Boolean.getBoolean("angus.activation.addreverse"); - // deprecated in 1.1.0: - String prop = System.getProperty("jakarta.activation.addreverse"); - if (prop != null) { - LogSupport.log("'jakarta.activation.addreverse' property is deprecated, use 'angus.activation.addreverse' instead"); - addReverse = Boolean.parseBoolean(prop); - } - prop = System.getProperty("javax.activation.addreverse"); - if (prop != null) { - LogSupport.log("'javax.activation.addreverse' property is deprecated, use 'angus.activation.addreverse' instead"); - addReverse = Boolean.parseBoolean(prop); - } } catch (Throwable t) { // ignore any errors }