You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by GitBox <gi...@apache.org> on 2020/08/20 16:14:05 UTC

[GitHub] [jmeter] FSchumacher commented on a change in pull request #613: Add documentation for Darklaf properties.

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