diff options
author | Eugene Tarassov | 2013-10-29 09:07:02 +0000 |
---|---|---|
committer | Eugene Tarassov | 2013-10-29 09:07:02 +0000 |
commit | 31a78dccd1f0de6f35de1820a59c175ed8be28ca (patch) | |
tree | 7e5502957c707ebcc13c52241128e4392ad7e2bc /plugins/org.eclipse.tcf.debug | |
parent | 4b3cc04d0f50c64405fad6c7c5a0821941010c7e (diff) | |
download | org.eclipse.tcf-31a78dccd1f0de6f35de1820a59c175ed8be28ca.tar.gz org.eclipse.tcf-31a78dccd1f0de6f35de1820a59c175ed8be28ca.tar.xz org.eclipse.tcf-31a78dccd1f0de6f35de1820a59c175ed8be28ca.zip |
TCF Tests: fixed FindBugs warning: The code invokes toString on an array, which will generate a fairly useless result such as [C@16f0472
Diffstat (limited to 'plugins/org.eclipse.tcf.debug')
-rw-r--r-- | plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java index 5c6716eb8..6d4189bc5 100644 --- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java +++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java @@ -12,6 +12,7 @@ package org.eclipse.tcf.internal.debug.tests; import java.math.BigInteger; import java.util.ArrayList; +import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; @@ -831,7 +832,7 @@ class TestRCBP1 implements ITCFTest, RunControl.DiagnosticTestDone, IRunControl. HashSet<String> s = new HashSet<String>(); for (String id : ids) s.add(id); if (ids.length != s.size()) { - exit(new Exception("Invalis BP list: " + ids)); + exit(new Exception("Invalis BP list: " + Arrays.toString(ids))); return; } for (String id : bp_list.keySet()) { |