You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2020/05/03 19:56:26 UTC
[jmeter] branch master updated: Fix style violations
This is an automated email from the ASF dual-hosted git repository.
pmouawad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new 92a31f9 Fix style violations
92a31f9 is described below
commit 92a31f91669b9d56ef19f1bcc80c4faeb6bf30d6
Author: pmouawad <p....@ubik-ingenierie.com>
AuthorDate: Sun May 3 21:56:13 2020 +0200
Fix style violations
---
.../main/java/org/apache/jmeter/functions/gui/FunctionHelper.java | 5 +++--
xdocs/changes.xml | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/core/src/main/java/org/apache/jmeter/functions/gui/FunctionHelper.java b/src/core/src/main/java/org/apache/jmeter/functions/gui/FunctionHelper.java
index 06bf4a4..fbe18de 100644
--- a/src/core/src/main/java/org/apache/jmeter/functions/gui/FunctionHelper.java
+++ b/src/core/src/main/java/org/apache/jmeter/functions/gui/FunctionHelper.java
@@ -175,8 +175,9 @@ public class FunctionHelper extends JDialog implements ActionListener, ChangeLis
private void initializeFunctionList() {
String[] functionNames = CompoundVariable.getFunctionNames();
Arrays.sort(functionNames, String::compareToIgnoreCase);
- functionList = new JLabeledChoice(JMeterUtils.getResString("choose_function"),
- Arrays.stream(functionNames).map(e -> e.substring(FUNCTION_PREFIX.length())).collect(Collectors.toList()).toArray(new String[0])); //$NON-NLS-1$
+ functionList = new JLabeledChoice(JMeterUtils.getResString("choose_function"), //$NON-NLS-1$
+ Arrays.stream(functionNames).map(
+ e -> e.substring(FUNCTION_PREFIX.length())).collect(Collectors.toList()).toArray(new String[0]));
functionList.addChangeListener(this);
}
diff --git a/xdocs/changes.xml b/xdocs/changes.xml
index c2c7c5f..919b118 100644
--- a/xdocs/changes.xml
+++ b/xdocs/changes.xml
@@ -110,8 +110,8 @@ invalidated when tree selection changes.</p>
<p>Mark the currently selected log level in the options menu.</p>
-<p>Rework of many Test Element UI (JUnit Request, ForEach Controller, If Controller, Throughput Controller, WhileController, Counter Config, XPath2 Extractor, Function Helper Dialog, Search popup,
-JMS Elements)</p>
+<p>Rework of many Test Element UI (JUnit Request, ForEach Controller, If Controller, Throughput Controller, WhileController,
+Counter Config, XPath2 Extractor, Function Helper Dialog, Search popup, JMS Elements)</p>
<!--
<ch_title>Functions</ch_title>
-->