jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vladimirsitni...@apache.org
Subject [jmeter] 02/02: Used concat instead of String.format and removed extra space.
Date Thu, 26 Sep 2019 21:21:03 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 2d5706b734332fa5c2cca28fc670d68e71441b43
Author: Graham Russell <graham@ham1.co.uk>
AuthorDate: Mon Sep 23 14:30:02 2019 +0100

    Used concat instead of String.format and removed extra space.
---
 .../main/java/org/apache/commons/cli/avalon/CLOptionDescriptor.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/jorphan/src/main/java/org/apache/commons/cli/avalon/CLOptionDescriptor.java
b/src/jorphan/src/main/java/org/apache/commons/cli/avalon/CLOptionDescriptor.java
index 27c76d6..a03c5c2 100644
--- a/src/jorphan/src/main/java/org/apache/commons/cli/avalon/CLOptionDescriptor.java
+++ b/src/jorphan/src/main/java/org/apache/commons/cli/avalon/CLOptionDescriptor.java
@@ -170,7 +170,6 @@ public final class CLOptionDescriptor {
 
     @Override
     public final String toString() {
-        return String.format("[OptionDescriptor %s, %d, %d, %s ]",
-                this.name, this.id, this.flags, this.description);
+        return "[OptionDescriptor " + name + ", " + id + ", " + flags + ", " + description
+ "]";
     }
 }


Mime
View raw message