jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] branch master updated: spacepolice
Date Tue, 26 Jan 2021 18:41:21 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


The following commit(s) were added to refs/heads/master by this push:
     new c4cf4cf  spacepolice
c4cf4cf is described below

commit c4cf4cf87da1fcc3518eae6c85c5b61f0fad0206
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Tue Jan 26 19:41:03 2021 +0100

    spacepolice
---
 .../main/java/org/apache/jorphan/util/AlphaNumericComparator.java    | 1 +
 .../main/java/org/apache/jorphan/util/AlphaNumericKeyComparator.java | 5 +++--
 .../java/org/apache/jorphan/util/TestAlphaNumericKeyComparator.java  | 1 +
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/jorphan/src/main/java/org/apache/jorphan/util/AlphaNumericComparator.java
b/src/jorphan/src/main/java/org/apache/jorphan/util/AlphaNumericComparator.java
index 9c56ae2..07a0451 100644
--- a/src/jorphan/src/main/java/org/apache/jorphan/util/AlphaNumericComparator.java
+++ b/src/jorphan/src/main/java/org/apache/jorphan/util/AlphaNumericComparator.java
@@ -14,6 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 package org.apache.jorphan.util;
 
 import java.util.Comparator;
diff --git a/src/jorphan/src/main/java/org/apache/jorphan/util/AlphaNumericKeyComparator.java
b/src/jorphan/src/main/java/org/apache/jorphan/util/AlphaNumericKeyComparator.java
index 3ed5e54..6b47445 100644
--- a/src/jorphan/src/main/java/org/apache/jorphan/util/AlphaNumericKeyComparator.java
+++ b/src/jorphan/src/main/java/org/apache/jorphan/util/AlphaNumericKeyComparator.java
@@ -14,6 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 package org.apache.jorphan.util;
 
 import java.util.Comparator;
@@ -26,10 +27,10 @@ import java.util.Map;
  * Heavily influenced by https://codereview.stackexchange.com/questions/37192/number-aware-string-sorting-with-comparator
  */
 public class AlphaNumericKeyComparator implements Comparator<Map.Entry<Object, Object>>
{
-    
+
     public static final AlphaNumericKeyComparator INSTANCE = new AlphaNumericKeyComparator();
     private AlphaNumericComparator<Map.Entry<Object, Object>> comparator;
-    
+
     private AlphaNumericKeyComparator() {
         // don't instantiate this class on your own.
         this.comparator = new AlphaNumericComparator<Map.Entry<Object, Object>>(e
-> e.getKey().toString());
diff --git a/src/jorphan/src/test/java/org/apache/jorphan/util/TestAlphaNumericKeyComparator.java
b/src/jorphan/src/test/java/org/apache/jorphan/util/TestAlphaNumericKeyComparator.java
index fc0637e..0b77c75 100644
--- a/src/jorphan/src/test/java/org/apache/jorphan/util/TestAlphaNumericKeyComparator.java
+++ b/src/jorphan/src/test/java/org/apache/jorphan/util/TestAlphaNumericKeyComparator.java
@@ -14,6 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 package org.apache.jorphan.util;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;


Mime
View raw message