You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/04/11 11:50:02 UTC
(commons-cli) 13/15: Noralize formatting
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-cli.git
commit 13392fe92694a49997f09f2c5a81dbd82e855924
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Apr 11 07:14:58 2024 -0400
Noralize formatting
---
.../org/apache/commons/cli/HelpFormatterTest.java | 47 ++++++++++------------
1 file changed, 21 insertions(+), 26 deletions(-)
diff --git a/src/test/java/org/apache/commons/cli/HelpFormatterTest.java b/src/test/java/org/apache/commons/cli/HelpFormatterTest.java
index 70314ed..bf380ca 100644
--- a/src/test/java/org/apache/commons/cli/HelpFormatterTest.java
+++ b/src/test/java/org/apache/commons/cli/HelpFormatterTest.java
@@ -297,38 +297,33 @@ public class HelpFormatterTest {
final Option version = new Option("v", "version", false, "print version information");
final Option newRun = new Option("n", "new", false, "Create NLT cache entries only for new items");
final Option trackerRun = new Option("t", "tracker", false, "Create NLT cache entries only for tracker items");
-
//@formatter:off
final Option timeLimit = Option.builder("l")
- .longOpt("limit")
- .hasArg()
- .valueSeparator()
- .desc("Set time limit for execution, in mintues")
- .build();
-
+ .longOpt("limit")
+ .hasArg()
+ .valueSeparator()
+ .desc("Set time limit for execution, in mintues")
+ .build();
final Option age = Option.builder("a").longOpt("age")
- .hasArg()
- .valueSeparator()
- .desc("Age (in days) of cache item before being recomputed")
- .build();
-
+ .hasArg()
+ .valueSeparator()
+ .desc("Age (in days) of cache item before being recomputed")
+ .build();
final Option server = Option.builder("s").longOpt("server")
- .hasArg()
- .valueSeparator()
- .desc("The NLT server address")
- .build();
-
+ .hasArg()
+ .valueSeparator()
+ .desc("The NLT server address")
+ .build();
final Option numResults = Option.builder("r").longOpt("results")
- .hasArg()
- .valueSeparator()
- .desc("Number of results per item")
- .build();
-
+ .hasArg()
+ .valueSeparator()
+ .desc("Number of results per item")
+ .build();
final Option configFile = Option.builder().longOpt("config")
- .hasArg()
- .valueSeparator()
- .desc("Use the specified configuration file")
- .build();
+ .hasArg()
+ .valueSeparator()
+ .desc("Use the specified configuration file")
+ .build();
//@formatter:on
final Options mOptions = new Options();