]> git.mxchange.org Git - addressbook-war.git/blobdiff - src/java/org/mxchange/addressbook/beans/features/AddressbookFeatureWebApplicationBean.java
Updated copyright year
[addressbook-war.git] / src / java / org / mxchange / addressbook / beans / features / AddressbookFeatureWebApplicationBean.java
index a0212aa2e035ece23c6ff71d90048afdb4b1a313..60f0031a6948c65757fc49e3f6b8dd481629ac74 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 - 2022 Free Software Foundation
+ * Copyright (C) 2016 - 2024 Free Software Foundation
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as
@@ -57,7 +57,7 @@ public class AddressbookFeatureWebApplicationBean extends BaseAddressbookBean im
                final String contextParameter = this.getStringContextParameter(String.format("is_feature_%s_enabled", feature)); //NOI18N
 
                // Default is not enabled
-               final boolean isEnabled = (Boolean.parseBoolean(contextParameter) == Boolean.TRUE);
+               final boolean isEnabled = Boolean.parseBoolean(contextParameter);
 
                // Return status
                return isEnabled;