/*
- * 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
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;