jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] 03/03: Add changelog entry and use Boolean#getBoolean
Date Thu, 20 Aug 2020 16:29:47 GMT
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit a146f6b2aebe015754e657493be2dd07433c4b53
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Thu Aug 20 18:24:55 2020 +0200

    Add changelog entry and use Boolean#getBoolean
    
    Closes #613
---
 .../src/main/java/org/apache/jmeter/gui/action/LookAndFeelCommand.java | 2 +-
 xdocs/changes.xml                                                      | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/core/src/main/java/org/apache/jmeter/gui/action/LookAndFeelCommand.java b/src/core/src/main/java/org/apache/jmeter/gui/action/LookAndFeelCommand.java
index 3a5b82c..007f976 100644
--- a/src/core/src/main/java/org/apache/jmeter/gui/action/LookAndFeelCommand.java
+++ b/src/core/src/main/java/org/apache/jmeter/gui/action/LookAndFeelCommand.java
@@ -95,7 +95,7 @@ public class LookAndFeelCommand extends AbstractAction {
     static {
         if (System.getProperty("darklaf.decorations") == null) {
             System.setProperty("darklaf.decorations", "false");
-        } else if ("true".equals(System.getProperty("darklaf.allowNativeCode"))) {
+        } else if (Boolean.getBoolean("darklaf.allowNativeCode")) {
             // darklaf.allowNativeCode=true is required for darklaf.decorations=true to work.
             System.setProperty("darklaf.decorations", "true");
         }
diff --git a/xdocs/changes.xml b/xdocs/changes.xml
index 0952945..0ea30f7 100644
--- a/xdocs/changes.xml
+++ b/xdocs/changes.xml
@@ -122,13 +122,14 @@ Summary
     <li><bug>64454</bug>More precise error message, when no datasource
value can be found in JDBC sampler</li>
     <li><bug>64440</bug>Log exeptions reported via <code>JMeterUtils#reportToUser</code>
even when in GUI mode</li>
     <li><pr>591</pr>Remove deprecated sudo flag from travis file. Deng
Liming (liming.d.pro at gmail.com)</li>
-    <li>Updated Darklaf to 2.4.4 (from 2.1.1)</li>
+    <li>Updated Darklaf to 2.4.5 (from 2.1.1)</li>
     <li>Updated Groovy to 3.0.5 (from 3.0.3)</li>
     <li><pr>596</pr>Use neutral words in documentation</li>
     <li><bug>63809</bug><pr>557</pr>Updated commons-collections
to 4.4 (from 3.2.2) while keeping the jars for the old commons-collections 3.x for compatibility</li>
     <li><pr>598</pr>Add another option for creating diffs to the building
page. Contributed by jmetertea (github.com/jmetertea)</li>
     <li><pr>609</pr>Make use of newer API for darklaf installation. Jannis
Weis</li>
     <li><pr>612</pr>Correct typos in <code>README.me</code>.
Based on patches by Pooja Chandak (poojachandak002 at gmail.com)</li>
+    <li><pr>613</pr>Add documentation for Darklaf properties. Jannis Weis</li>
 </ul>
 
  <!-- =================== Bug fixes =================== -->


Mime
View raw message