diff options
author | rbuj <robert.buj@gmail.com> | 2014-09-09 23:48:11 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-09-10 08:17:39 +0000 |
commit | e8ac22f3aa98e16ae7e2b26ad9a99311ba42af4b (patch) | |
tree | a147c64f4fe87ebaf2e66a54e773f9a17823a924 /qadevOOo/runner/stats | |
parent | 0f114c3d00f73441a405d25bc6d98be3a829cd8e (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/stats')
-rw-r--r-- | qadevOOo/runner/stats/OutProducerFactory.java | 2 | ||||
-rw-r--r-- | qadevOOo/runner/stats/SimpleFileOutProducer.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/runner/stats/OutProducerFactory.java b/qadevOOo/runner/stats/OutProducerFactory.java index 3f60e73b53ca..cb907a4903c0 100644 --- a/qadevOOo/runner/stats/OutProducerFactory.java +++ b/qadevOOo/runner/stats/OutProducerFactory.java @@ -69,7 +69,7 @@ public class OutProducerFactory { String dataProducerName = (String)param.get("DataBaseOutProducer"); if (dataProducerName == null) { String testBaseName = (String)param.get("TestBase"); - dataProducerName = testBaseName.substring(testBaseName.indexOf("_")+1); + dataProducerName = testBaseName.substring(testBaseName.indexOf('_')+1); dataProducerName = "stats." + makeFirstCharUpperCase(dataProducerName) + "DataBaseOutProducer"; } diff --git a/qadevOOo/runner/stats/SimpleFileOutProducer.java b/qadevOOo/runner/stats/SimpleFileOutProducer.java index 0f7f96d978d4..2a0dbf6096e5 100644 --- a/qadevOOo/runner/stats/SimpleFileOutProducer.java +++ b/qadevOOo/runner/stats/SimpleFileOutProducer.java @@ -51,7 +51,7 @@ public class SimpleFileOutProducer implements LogWriter { String FileName = entry.longName + ".out"; if (!entry.EntryType.equals("component")) { FileName = entry.longName.substring(0, - entry.longName.indexOf(":")) + ".out"; + entry.longName.indexOf(':')) + ".out"; } util.utils.make_Directories("",outpath); File outputFile = new File(outpath, FileName); |