summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/util/dbg.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/util/dbg.java')
-rw-r--r--qadevOOo/runner/util/dbg.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/qadevOOo/runner/util/dbg.java b/qadevOOo/runner/util/dbg.java
index 2d711a1235c9..d7f77c5250e9 100644
--- a/qadevOOo/runner/util/dbg.java
+++ b/qadevOOo/runner/util/dbg.java
@@ -208,18 +208,18 @@ public class dbg {
if (ps.Value instanceof String[] ){
String[] values = (String[]) ps.Value;
- String oneValue = "value is an empty String[]";
+ StringBuilder oneValue = new StringBuilder("value is an empty String[]");
if (values.length > 0){
- oneValue = "['";
+ oneValue.append("['");
for( int i=0; i < values.length; i++){
- oneValue += values[i];
- if (i+1 < values.length) oneValue += "';'";
+ oneValue.append(values[i]);
+ if (i+1 < values.length) oneValue.append("';'");
}
- oneValue += "']";
+ oneValue.append("']");
}
out.println("--------");
out.println(" Name: '" + ps.Name + "' contains String[]:");
- out.println(oneValue);
+ out.println(oneValue.toString());
out.println("--------");
} else if (ps.Value instanceof PropertyValue){