jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [jmeter] FSchumacher commented on a change in pull request #613: Add documentation for Darklaf properties.
Date Thu, 20 Aug 2020 16:16:19 GMT

FSchumacher commented on a change in pull request #613:
URL: https://github.com/apache/jmeter/pull/613#discussion_r474103018



##########
File path: src/core/src/main/java/org/apache/jmeter/gui/action/LookAndFeelCommand.java
##########
@@ -95,10 +95,16 @@ private static MenuItem ofDarklafTheme(Theme theme) {
     static {
         if (System.getProperty("darklaf.decorations") == null) {
             System.setProperty("darklaf.decorations", "false");
+        } else if ("true".equals(System.getProperty("darklaf.allowNativeCode"))) {

Review comment:
       Have you had a look at `Boolean.getBoolean(name)`? It should do the same as the `"true".equals(System.getProperty(...)`.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message