-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the sort option for lines between first and last lines. Remove th…
…e System.exit() because the maven plugin exec-maven-plugin will stop if present. Change version 1.1
- Loading branch information
DABURON Vincent
committed
Oct 17, 2022
1 parent
cae3e5a
commit 8afd3b5
Showing
4 changed files
with
91 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/main/java/io/github/vdaburon/jmeter/utils/CompareRecord.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package io.github.vdaburon.jmeter.utils; | ||
|
||
import org.apache.commons.csv.CSVRecord; | ||
import java.util.Comparator; | ||
|
||
public class CompareRecord implements Comparator<CSVRecord> { | ||
public int compare(CSVRecord a, CSVRecord b) { | ||
// sort by the first column : Label | ||
return a.get(0).compareTo(b.get(0)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters