summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/complexlib/ComplexTestCase.java
diff options
context:
space:
mode:
authorrbuj <robert.buj@gmail.com>2014-09-09 23:48:11 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-09-10 08:17:39 +0000
commite8ac22f3aa98e16ae7e2b26ad9a99311ba42af4b (patch)
treea147c64f4fe87ebaf2e66a54e773f9a17823a924 /qadevOOo/runner/complexlib/ComplexTestCase.java
parent0f114c3d00f73441a405d25bc6d98be3a829cd8e (diff)
qadevOOo: use a character literal
Change-Id: I6d3e592de64c63e66bb788b112e188ef217e7bf7 Reviewed-on: https://gerrit.libreoffice.org/11367 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'qadevOOo/runner/complexlib/ComplexTestCase.java')
-rw-r--r--qadevOOo/runner/complexlib/ComplexTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/runner/complexlib/ComplexTestCase.java b/qadevOOo/runner/complexlib/ComplexTestCase.java
index 8d39b7c7a492..ff8b4fd7ad4d 100644
--- a/qadevOOo/runner/complexlib/ComplexTestCase.java
+++ b/qadevOOo/runner/complexlib/ComplexTestCase.java
@@ -119,10 +119,10 @@ public abstract class ComplexTestCase extends Assurance implements ComplexTest
String entryName = subEntry.entryName;
Object[] parameter = null;
- int posLeftParenthesis = entryName.indexOf("(");
+ int posLeftParenthesis = entryName.indexOf('(');
if (posLeftParenthesis != -1)
{
- String sParameter = (entryName.substring(posLeftParenthesis + 1, entryName.indexOf(")")));
+ String sParameter = (entryName.substring(posLeftParenthesis + 1, entryName.indexOf(')')));
mTestMethodName = entryName;
parameter = new String[] { sParameter };
entryName = entryName.substring(0, posLeftParenthesis);