epugh commented on code in PR #1935:
URL: https://github.com/apache/solr/pull/1935#discussion_r1334271795
##########
solr/core/src/java/org/apache/solr/pkg/PackageAPI.java:
##########
@@ -58,7 +59,7 @@
/** This implements the public end points (/api/cluster/package) of package
API. */
public class PackageAPI {
public final boolean enablePackages =
- Boolean.parseBoolean(System.getProperty("enable.packages", "false"));
+ EnvUtils.getPropAsBool("enable.packages", false);
Review Comment:
So much more compact!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]