Skip to content

Commit

Permalink
remove deprecated property
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <[email protected]>
  • Loading branch information
lukasj committed Jan 11, 2023
1 parent 9229956 commit caaa82d
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit caaa82d

Please sign in to comment.