summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-03 15:46:35 +0200
committerNoel Grandin <noel@peralex.com>2015-04-20 11:18:22 +0200
commit04cadb3191573dff59c79a7780a4139ed148f122 (patch)
tree036dabc9c084c2ee225aadaa2d82bad02a0c4278 /qadevOOo
parent14bc818895a5cc10054928b5cbb49eaff086e8f4 (diff)
java: remove some unused code
Change-Id: If1cdc67535b11d9309503b14ffad2aa3718661c6
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/runner/helper/ProcessHandler.java8
-rw-r--r--qadevOOo/runner/helper/StringHelper.java20
2 files changed, 0 insertions, 28 deletions
diff --git a/qadevOOo/runner/helper/ProcessHandler.java b/qadevOOo/runner/helper/ProcessHandler.java
index 8a25ab29954e..313a160554e0 100644
--- a/qadevOOo/runner/helper/ProcessHandler.java
+++ b/qadevOOo/runner/helper/ProcessHandler.java
@@ -151,14 +151,6 @@ public class ProcessHandler
}
/**
- * Creates instance with specified external command and set the time out for the command.
- */
- public ProcessHandler(String cmdLine, int timeOut)
- {
- this(cmdLine, null, null, null, timeOut);
- }
-
- /**
* Creates instance with specified external command which
* will be executed in the some work directory and
*
diff --git a/qadevOOo/runner/helper/StringHelper.java b/qadevOOo/runner/helper/StringHelper.java
index 7c4943c05ee9..7e265d62ff61 100644
--- a/qadevOOo/runner/helper/StringHelper.java
+++ b/qadevOOo/runner/helper/StringHelper.java
@@ -21,26 +21,6 @@ package helper;
public class StringHelper
{
- /**
- * removes quotes if both exists at start and at end
- */
- public static String removeSurroundQuoteIfExists(String _sPath)
- {
- String sNewPath = _sPath;
- if (
- (_sPath.startsWith("\"") && _sPath.endsWith("\"")) ||
- (_sPath.startsWith("'") && _sPath.endsWith("'"))
- )
- {
- // remove trailing quotes, if exists
- sNewPath = sNewPath.substring(1);
-
- // remove trailing quotes, if exists
- sNewPath = sNewPath.substring(0, sNewPath.length() - 1);
- }
- return sNewPath;
- }
-
public static String removeQuoteIfExists(String _sPath)
{
String sNewPath = _sPath;