Kaydet (Commit) 82257e90 authored tarafından Noel Grandin's avatar Noel Grandin

java: static fields that should be instance fields

found by FindBugs.

Change-Id: I4f457cd8f6f28f0429fc50529c8d38d80b80c560
üst 08e8bd4e
......@@ -40,7 +40,7 @@ import stats.Summarizer;
*/
public class java_fat_service implements TestBase {
static protected boolean debug = false;
protected boolean debug = false;
protected LogWriter log = null;
public boolean executeTest(lib.TestParameters param) {
......
......@@ -49,7 +49,7 @@ import util.utils;
public class OfficeProvider implements AppProvider
{
private static boolean debug = false;
private boolean debug = false;
/**
* copy the user layer to a safe place, usually to $TMP/user_backup$USER
......@@ -312,7 +312,7 @@ public class OfficeProvider implements AppProvider
* @throws com.sun.star.connection.NoConnectException
* @throws Exception
*/
private static XMultiServiceFactory connect(String connectStr)
private XMultiServiceFactory connect(String connectStr)
throws com.sun.star.uno.Exception,
com.sun.star.uno.RuntimeException,
com.sun.star.connection.NoConnectException,
......@@ -690,7 +690,7 @@ public class OfficeProvider implements AppProvider
* @param msf the <CODE>MultiServiceFactory</CODE>
* @param param the <CODE>TestParameters</CODE>
*/
private static void makeAppExecCommand(XMultiServiceFactory msf, TestParameters param)
private void makeAppExecCommand(XMultiServiceFactory msf, TestParameters param)
{
debug = param.getBool(PropertyName.DEBUG_IS_ACTIVE);
......@@ -733,7 +733,7 @@ public class OfficeProvider implements AppProvider
param.put(util.PropertyName.APP_EXECUTION_COMMAND, command);
}
private static void dbg(String message)
private void dbg(String message)
{
if (debug)
{
......
......@@ -41,7 +41,7 @@ public class Acceptor extends TestCase {
*/
protected static final int basePort = 10000;
private int curPort ;
private static String sOfficeHost = null ;
private String sOfficeHost = null ;
/**
* Retrieves host name where StarOffice is started from test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment