diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-13 17:05:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-20 11:45:28 +0200 |
commit | 8c9fdc4a963fd55da59a93c979071f53b84fbc24 (patch) | |
tree | e913f69cee6ec9e3e2072f73d58088ae74d2260d /qadevOOo/runner | |
parent | fix exception not caught (diff) | |
download | core-8c9fdc4a963fd55da59a93c979071f53b84fbc24.tar.gz core-8c9fdc4a963fd55da59a93c979071f53b84fbc24.zip |
java: remove modifiers implied by the context
found by PMD
Change-Id: I04cbf986ddbcffff987784f381b8a9f52f1b3f31
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r-- | qadevOOo/runner/base/TestBase.java | 2 | ||||
-rw-r--r-- | qadevOOo/runner/convwatch/FilenameHelper.java | 10 | ||||
-rw-r--r-- | qadevOOo/runner/convwatch/PropertyName.java | 62 | ||||
-rw-r--r-- | qadevOOo/runner/graphical/IDocument.java | 2 | ||||
-rw-r--r-- | qadevOOo/runner/graphical/IOffice.java | 8 | ||||
-rw-r--r-- | qadevOOo/runner/graphical/PropertyName.java | 22 | ||||
-rw-r--r-- | qadevOOo/runner/helper/AppProvider.java | 6 | ||||
-rw-r--r-- | qadevOOo/runner/share/ComplexTest.java | 4 | ||||
-rw-r--r-- | qadevOOo/runner/share/CwsDataExchange.java | 4 | ||||
-rw-r--r-- | qadevOOo/runner/share/LogWriter.java | 12 | ||||
-rw-r--r-- | qadevOOo/runner/share/Watcher.java | 4 | ||||
-rw-r--r-- | qadevOOo/runner/util/PropertyName.java | 62 | ||||
-rw-r--r-- | qadevOOo/runner/util/compare/DocComparator.java | 16 |
13 files changed, 101 insertions, 113 deletions
diff --git a/qadevOOo/runner/base/TestBase.java b/qadevOOo/runner/base/TestBase.java index c4bc02d01885..0e4d94710198 100644 --- a/qadevOOo/runner/base/TestBase.java +++ b/qadevOOo/runner/base/TestBase.java @@ -25,6 +25,6 @@ import lib.TestParameters; */ public interface TestBase { - public boolean executeTest(TestParameters param); + boolean executeTest(TestParameters param); } diff --git a/qadevOOo/runner/convwatch/FilenameHelper.java b/qadevOOo/runner/convwatch/FilenameHelper.java index 8d7fcb08c755..54a159155e1d 100644 --- a/qadevOOo/runner/convwatch/FilenameHelper.java +++ b/qadevOOo/runner/convwatch/FilenameHelper.java @@ -31,11 +31,11 @@ import helper.StringHelper; interface Filenamer { - public String getSuffix(); - public String getFileURL(); - public String getAbsoluteSystemFilename(); - public String getFilename(); - public String getSystemPath(); + String getSuffix(); + String getFileURL(); + String getAbsoluteSystemFilename(); + String getFilename(); + String getSystemPath(); } diff --git a/qadevOOo/runner/convwatch/PropertyName.java b/qadevOOo/runner/convwatch/PropertyName.java index 4752fb3ad6f2..88269954c977 100644 --- a/qadevOOo/runner/convwatch/PropertyName.java +++ b/qadevOOo/runner/convwatch/PropertyName.java @@ -20,39 +20,39 @@ package convwatch; public interface PropertyName { - final public static String DOC_COMPARATOR_INPUT_PATH = "DOC_COMPARATOR_INPUT_PATH"; - final public static String DOC_COMPARATOR_OUTPUT_PATH = "DOC_COMPARATOR_OUTPUT_PATH"; - final public static String DOC_COMPARATOR_DIFF_PATH = "DOC_COMPARATOR_DIFF_PATH"; - final public static String DOC_COMPARATOR_REFERENCE_PATH = "DOC_COMPARATOR_REFERENCE_PATH"; - final public static String DOC_COMPARATOR_REFERENCE_INPUT_PATH = "DOC_COMPARATOR_REFERENCE_INPUT_PATH"; - final public static String DOC_COMPARATOR_REFERENCE_TYPE = "DOC_COMPARATOR_REFERENCE_CREATOR_TYPE"; - final public static String DOC_COMPARATOR_PRINTER_NAME = "DOC_COMPARATOR_PRINTER_NAME"; - final public static String DOC_COMPARATOR_DEFAULT_XML_FORMAT_APP = "DOC_COMPARATOR_DEFAULT_XML_FORMAT_APP"; - final public static String DOC_COMPARATOR_INCLUDE_SUBDIRS = "DOC_COMPARATOR_INCLUDE_SUBDIRS"; - final public static String DOC_COMPARATOR_PRINT_MAX_PAGE = "DOC_COMPARATOR_PRINT_MAX_PAGE"; - final public static String DOC_COMPARATOR_PRINT_ONLY_PAGE = "DOC_COMPARATOR_PRINT_ONLY_PAGE"; - final public static String DOC_COMPARATOR_GFX_OUTPUT_DPI_RESOLUTION = "DOC_COMPARATOR_GFX_OUTPUT_DPI_RESOLUTION"; - final public static String DOC_COMPARATOR_OVERWRITE_REFERENCE = "DOC_COMPARATOR_OVERWRITE_REFERENCE"; - - final public static String DOC_COMPARATOR_HTML_OUTPUT_PREFIX = "DOC_COMPARATOR_HTML_OUTPUT_PREFIX"; - final public static String DOC_COMPARATOR_GFXCMP_WITH_BORDERMOVE = "DOC_COMPARATOR_GFXCMP_WITH_BORDERMOVE"; - - final public static String DOC_CONVERTER_IMPORT_FILTER_NAME = "DOC_CONVERTER_IMPORT_FILTER_NAME"; - final public static String DOC_CONVERTER_EXPORT_FILTER_NAME = "DOC_CONVERTER_EXPORT_FILTER_NAME"; - final public static String DOC_CONVERTER_OFFICE_PROGRAM = "DOC_CONVERTER_OFFICE_PROGRAM"; - final public static String DOC_CONVERTER_REUSE_OFFICE = "DOC_CONVERTER_REUSE_OFFICE"; - - final public static String DOC_COMPARATOR_LEAVE_OUT_FILES = "DOC_COMPARATOR_LEAVE_OUT_FILES"; - - final public static String DOC_COMPARATOR_DB_INFO_STRING = "DOC_COMPARATOR_DB_INFO_STRING"; - - final public static String TEMPPATH = "TEMPPATH"; + String DOC_COMPARATOR_INPUT_PATH = "DOC_COMPARATOR_INPUT_PATH"; + String DOC_COMPARATOR_OUTPUT_PATH = "DOC_COMPARATOR_OUTPUT_PATH"; + String DOC_COMPARATOR_DIFF_PATH = "DOC_COMPARATOR_DIFF_PATH"; + String DOC_COMPARATOR_REFERENCE_PATH = "DOC_COMPARATOR_REFERENCE_PATH"; + String DOC_COMPARATOR_REFERENCE_INPUT_PATH = "DOC_COMPARATOR_REFERENCE_INPUT_PATH"; + String DOC_COMPARATOR_REFERENCE_TYPE = "DOC_COMPARATOR_REFERENCE_CREATOR_TYPE"; + String DOC_COMPARATOR_PRINTER_NAME = "DOC_COMPARATOR_PRINTER_NAME"; + String DOC_COMPARATOR_DEFAULT_XML_FORMAT_APP = "DOC_COMPARATOR_DEFAULT_XML_FORMAT_APP"; + String DOC_COMPARATOR_INCLUDE_SUBDIRS = "DOC_COMPARATOR_INCLUDE_SUBDIRS"; + String DOC_COMPARATOR_PRINT_MAX_PAGE = "DOC_COMPARATOR_PRINT_MAX_PAGE"; + String DOC_COMPARATOR_PRINT_ONLY_PAGE = "DOC_COMPARATOR_PRINT_ONLY_PAGE"; + String DOC_COMPARATOR_GFX_OUTPUT_DPI_RESOLUTION = "DOC_COMPARATOR_GFX_OUTPUT_DPI_RESOLUTION"; + String DOC_COMPARATOR_OVERWRITE_REFERENCE = "DOC_COMPARATOR_OVERWRITE_REFERENCE"; + + String DOC_COMPARATOR_HTML_OUTPUT_PREFIX = "DOC_COMPARATOR_HTML_OUTPUT_PREFIX"; + String DOC_COMPARATOR_GFXCMP_WITH_BORDERMOVE = "DOC_COMPARATOR_GFXCMP_WITH_BORDERMOVE"; + + String DOC_CONVERTER_IMPORT_FILTER_NAME = "DOC_CONVERTER_IMPORT_FILTER_NAME"; + String DOC_CONVERTER_EXPORT_FILTER_NAME = "DOC_CONVERTER_EXPORT_FILTER_NAME"; + String DOC_CONVERTER_OFFICE_PROGRAM = "DOC_CONVERTER_OFFICE_PROGRAM"; + String DOC_CONVERTER_REUSE_OFFICE = "DOC_CONVERTER_REUSE_OFFICE"; + + String DOC_COMPARATOR_LEAVE_OUT_FILES = "DOC_COMPARATOR_LEAVE_OUT_FILES"; + + String DOC_COMPARATOR_DB_INFO_STRING = "DOC_COMPARATOR_DB_INFO_STRING"; + + String TEMPPATH = "TEMPPATH"; // set this variable to "true" or "yes" and loadComponentFromURL works with property Hidden=false - final public static String OFFICE_VIEWABLE = "OFFICE_VIEWABLE"; + String OFFICE_VIEWABLE = "OFFICE_VIEWABLE"; - final public static String DB_CONNECTION_STRING = "DB_CONNECTION_STRING"; - final public static String CHECK_NEED_TOOLS = "CHECK_NEED_TOOLS"; - final public static String CREATE_DEFAULT = "CREATE_DEFAULT_REFERENCE"; + String DB_CONNECTION_STRING = "DB_CONNECTION_STRING"; + String CHECK_NEED_TOOLS = "CHECK_NEED_TOOLS"; + String CREATE_DEFAULT = "CREATE_DEFAULT_REFERENCE"; } diff --git a/qadevOOo/runner/graphical/IDocument.java b/qadevOOo/runner/graphical/IDocument.java index ef07299d87d1..99105b3d0582 100644 --- a/qadevOOo/runner/graphical/IDocument.java +++ b/qadevOOo/runner/graphical/IDocument.java @@ -23,5 +23,5 @@ public interface IDocument /** * Call this for each document */ - public void checkOneFile(String _sDocument, String _sResult, ParameterHelper _aParams) throws OfficeException; + void checkOneFile(String _sDocument, String _sResult, ParameterHelper _aParams) throws OfficeException; } diff --git a/qadevOOo/runner/graphical/IOffice.java b/qadevOOo/runner/graphical/IOffice.java index 54d8cc24fea4..83094b8aa076 100644 --- a/qadevOOo/runner/graphical/IOffice.java +++ b/qadevOOo/runner/graphical/IOffice.java @@ -23,21 +23,21 @@ public interface IOffice /** * start an Office, if need */ - public void start() throws OfficeException; + void start() throws OfficeException; /** * Load a document by it's Name */ - public void load(String Name) throws OfficeException; + void load(String Name) throws OfficeException; /** * Create a postscript file in the DOC_COMPARATOR_OUTPUT_DIR directory from a loaded document */ - public void storeAsPostscript() throws OfficeException; + void storeAsPostscript() throws OfficeException; /** * Close the background office */ - public void close() throws OfficeException; + void close() throws OfficeException; } diff --git a/qadevOOo/runner/graphical/PropertyName.java b/qadevOOo/runner/graphical/PropertyName.java index 1c25b75003b2..bb71f95c8ed5 100644 --- a/qadevOOo/runner/graphical/PropertyName.java +++ b/qadevOOo/runner/graphical/PropertyName.java @@ -20,20 +20,20 @@ package graphical; public interface PropertyName { - final public static String DOC_COMPARATOR_INPUT_PATH = "DOC_COMPARATOR_INPUT_PATH"; - final public static String DOC_COMPARATOR_OUTPUT_PATH = "DOC_COMPARATOR_OUTPUT_PATH"; - final public static String DOC_COMPARATOR_REFERENCE_TYPE = "DOC_COMPARATOR_REFERENCE_CREATOR_TYPE"; - final public static String DOC_COMPARATOR_PRINTER_NAME = "DOC_COMPARATOR_PRINTER_NAME"; - final public static String DOC_COMPARATOR_INCLUDE_SUBDIRS = "DOC_COMPARATOR_INCLUDE_SUBDIRS"; - final public static String DOC_COMPARATOR_PRINT_MAX_PAGE = "DOC_COMPARATOR_PRINT_MAX_PAGE"; - final public static String DOC_COMPARATOR_PRINT_ONLY_PAGE = "DOC_COMPARATOR_PRINT_ONLY_PAGE"; + String DOC_COMPARATOR_INPUT_PATH = "DOC_COMPARATOR_INPUT_PATH"; + String DOC_COMPARATOR_OUTPUT_PATH = "DOC_COMPARATOR_OUTPUT_PATH"; + String DOC_COMPARATOR_REFERENCE_TYPE = "DOC_COMPARATOR_REFERENCE_CREATOR_TYPE"; + String DOC_COMPARATOR_PRINTER_NAME = "DOC_COMPARATOR_PRINTER_NAME"; + String DOC_COMPARATOR_INCLUDE_SUBDIRS = "DOC_COMPARATOR_INCLUDE_SUBDIRS"; + String DOC_COMPARATOR_PRINT_MAX_PAGE = "DOC_COMPARATOR_PRINT_MAX_PAGE"; + String DOC_COMPARATOR_PRINT_ONLY_PAGE = "DOC_COMPARATOR_PRINT_ONLY_PAGE"; - final public static String DOC_COMPARATOR_OVERWRITE_REFERENCE = "DOC_COMPARATOR_OVERWRITE_REFERENCE"; + String DOC_COMPARATOR_OVERWRITE_REFERENCE = "DOC_COMPARATOR_OVERWRITE_REFERENCE"; - final public static String DOC_COMPARATOR_HTML_OUTPUT_PREFIX = "DOC_COMPARATOR_HTML_OUTPUT_PREFIX"; + String DOC_COMPARATOR_HTML_OUTPUT_PREFIX = "DOC_COMPARATOR_HTML_OUTPUT_PREFIX"; - final public static String OFFICE_VIEWABLE = "OFFICE_VIEWABLE"; + String OFFICE_VIEWABLE = "OFFICE_VIEWABLE"; - final public static String NO_SMALL_PICTURES = "NoSmallPictures"; + String NO_SMALL_PICTURES = "NoSmallPictures"; } diff --git a/qadevOOo/runner/helper/AppProvider.java b/qadevOOo/runner/helper/AppProvider.java index 9e2a726e55c4..e8f77d1f059a 100644 --- a/qadevOOo/runner/helper/AppProvider.java +++ b/qadevOOo/runner/helper/AppProvider.java @@ -27,12 +27,12 @@ public interface AppProvider { /** * Method to get the desired Manager */ - public Object getManager(lib.TestParameters param); + Object getManager(lib.TestParameters param); /** * Method to dispose the desired Manager */ - public boolean disposeManager(lib.TestParameters param); + boolean disposeManager(lib.TestParameters param); /** * Close an office. @@ -41,6 +41,6 @@ public interface AppProvider { * it was running before the test * @return True, if close worked. */ - public boolean closeExistingOffice(lib.TestParameters param, + boolean closeExistingOffice(lib.TestParameters param, boolean closeIfPossible); } diff --git a/qadevOOo/runner/share/ComplexTest.java b/qadevOOo/runner/share/ComplexTest.java index 02abbe099f7e..a7b2412e5685 100644 --- a/qadevOOo/runner/share/ComplexTest.java +++ b/qadevOOo/runner/share/ComplexTest.java @@ -22,9 +22,9 @@ package share; */ public interface ComplexTest { - public String[] getTestMethodNames(); + String[] getTestMethodNames(); - public String getTestObjectName(); + String getTestObjectName(); } diff --git a/qadevOOo/runner/share/CwsDataExchange.java b/qadevOOo/runner/share/CwsDataExchange.java index 3b160a179a24..c59c54c87248 100644 --- a/qadevOOo/runner/share/CwsDataExchange.java +++ b/qadevOOo/runner/share/CwsDataExchange.java @@ -30,11 +30,11 @@ public interface CwsDataExchange { * Retunrs all module names which are added to the specified childworkspace * @return a String array of all added modules */ - public ArrayList<String> getModules(); + ArrayList<String> getModules(); /** * Set the test status of cws related UnoAPI tests to the EIS dabase * @param status the status of the UnoAPI test */ - public void setUnoApiCwsStatus(boolean status); + void setUnoApiCwsStatus(boolean status); } diff --git a/qadevOOo/runner/share/LogWriter.java b/qadevOOo/runner/share/LogWriter.java index 98e2fc11b71f..9edc95407318 100644 --- a/qadevOOo/runner/share/LogWriter.java +++ b/qadevOOo/runner/share/LogWriter.java @@ -23,21 +23,19 @@ public interface LogWriter { /** * Method to print */ - public void println(String msg); + void println(String msg); /** * initialization * */ - - public boolean initialize(share.DescEntry entry, boolean active); + boolean initialize(share.DescEntry entry, boolean active); /** * will mostly be used by outproducers to sum up * the information, maybe write them to a db */ - - public boolean summary(share.DescEntry entry); + boolean summary(share.DescEntry entry); /** @@ -45,7 +43,7 @@ public interface LogWriter { * @see share.Watcher * @return the associated <CODE>Watcher</CODE> */ - public Object getWatcher(); + Object getWatcher(); /** * Set a <CODE>Watcher</CODE> to the <CODE>LogWriter</CODE> @@ -54,6 +52,6 @@ public interface LogWriter { * @see share.Watcher * @param watcher the new <CODE>Watcher</CODE> */ - public void setWatcher(Object watcher); + void setWatcher(Object watcher); } diff --git a/qadevOOo/runner/share/Watcher.java b/qadevOOo/runner/share/Watcher.java index d5780b0e9f3e..07e8e6562404 100644 --- a/qadevOOo/runner/share/Watcher.java +++ b/qadevOOo/runner/share/Watcher.java @@ -23,11 +23,11 @@ public interface Watcher { /** * pings the watcher to check for changes */ - public void ping(); + void ping(); /** * returns the amount of pings */ - public int getPing(); + int getPing(); } diff --git a/qadevOOo/runner/util/PropertyName.java b/qadevOOo/runner/util/PropertyName.java index 4aa864dc4fcc..141fee9e305e 100644 --- a/qadevOOo/runner/util/PropertyName.java +++ b/qadevOOo/runner/util/PropertyName.java @@ -27,90 +27,90 @@ public interface PropertyName { * The AppExecutionCmd contains the full qualified<br> * command to an Application to be started. */ - final public static String APP_EXECUTION_COMMAND = "AppExecutionCommand"; + String APP_EXECUTION_COMMAND = "AppExecutionCommand"; /** * parameter name: "AppKillCommand" */ - final public static String APP_KILL_COMMAND = "AppKillCommand"; + String APP_KILL_COMMAND = "AppKillCommand"; /** * parameter name: "ConnectionString" */ - final public static String CONNECTION_STRING = "ConnectionString"; - final public static String PIPE_CONNECTION_STRING = "PipeConnectionString"; - final public static String USE_PIPE_CONNECTION = "UsePipeConnection"; + String CONNECTION_STRING = "ConnectionString"; + String PIPE_CONNECTION_STRING = "PipeConnectionString"; + String USE_PIPE_CONNECTION = "UsePipeConnection"; /** * parameter name: "TestBase" * The Testbase to be executed by the runner<br> * default is 'java_fat' */ - final public static String TEST_BASE = "TestBase"; + String TEST_BASE = "TestBase"; /** * parameter name: "TestDocumentPath" */ - final public static String TEST_DOCUMENT_PATH = "TestDocumentPath"; + String TEST_DOCUMENT_PATH = "TestDocumentPath"; /** * parameter name: "LoggingIsActive" * 'true' is a log should be written, 'false' elsewhere <br> * these will be provided by the testcases<br> * default is true */ - final public static String LOGGING_IS_ACTIVE = "LoggingIsActive"; + String LOGGING_IS_ACTIVE = "LoggingIsActive"; /** * parameter name: "DebugIsActive" */ - final public static String DEBUG_IS_ACTIVE = "DebugIsActive"; + String DEBUG_IS_ACTIVE = "DebugIsActive"; /** * parameter name: "OutProduceer" * This parameter contains the class used<br> * for Logging */ - final public static String OUT_PRODUCER = "OutProducer"; + String OUT_PRODUCER = "OutProducer"; /** * parameter name: "ShortWait" * Short wait time for the Office: default is 500 milliseconds */ - final public static String SHORT_WAIT= "ShortWait"; + String SHORT_WAIT= "ShortWait"; /** * internal only, no parameter * The OfficeProvider contains the full qualified * class that provides a connection to StarOffice<br> * default is helper.OfficeProvider */ - final public static String OFFICE_PROVIDER = "OfficeProvider"; + String OFFICE_PROVIDER = "OfficeProvider"; /** * internal only, no parameter */ - final public static String OFFICE_WATCHER = "Watcher"; + String OFFICE_WATCHER = "Watcher"; /** * internal only, no parameter * This parameter contains the class used<br> * for Logging */ - final public static String LOG_WRITER = "LogWriter"; + String LOG_WRITER = "LogWriter"; /** * parameter name: "TimeOut"<p> * time out given in milli seconds * This parameter contains the timeout used<br> * by the watcher */ - final public static String TIME_OUT = "TimeOut"; + String TIME_OUT = "TimeOut"; /** * parameter name: "ThreadTimeOut" * This parameter contains the timeout used<br> * by the complex tests */ - final public static String THREAD_TIME_OUT = "ThreadTimeOut"; + String THREAD_TIME_OUT = "ThreadTimeOut"; /** * parameter name: "OfficeCloseTimeOut" * This parameter contains the time which the office could use to close for * itself before it is destroyed. Default is 15000 ms */ - final public static String OFFICE_CLOSE_TIME_OUT = "OfficeCloseTimeOut"; + String OFFICE_CLOSE_TIME_OUT = "OfficeCloseTimeOut"; /** * parameter name: "OperatingSystem" */ - final public static String OPERATING_SYSTEM = "OperatingSystem"; + String OPERATING_SYSTEM = "OperatingSystem"; /** * parameter name: "AutoRestart" * If this parameter is <CODE>true</CODE> the <CODE>OfficeProvider</CODE> tries @@ -118,22 +118,22 @@ public interface PropertyName { * <CODE>AppExecutionCommand</CODE> with useful content if needed. * Default is false. */ - final public static String AUTO_RESTART = "AutoRestart"; + String AUTO_RESTART = "AutoRestart"; /** * parameter name: "NewOfficeInstance" */ - final public static String NEW_OFFICE_INSTANCE = "NewOfficeInstance"; + String NEW_OFFICE_INSTANCE = "NewOfficeInstance"; /** * parameter name: "SRC_ROOT"<p> * path to the source root of OpenOffice.org */ - final public static String SRC_ROOT = "SRC_ROOT"; + String SRC_ROOT = "SRC_ROOT"; /** * parameter name: "Version"<p> * the name of the version to test */ - final public static String VERSION = "Version"; + String VERSION = "Version"; /** * parameter name "Shell"<p> @@ -141,42 +141,42 @@ public interface PropertyName { * This shell is used to run some commands outside of Java * example: /bin/tcsh c:\\myShell\\myShell.exe */ - final public static String SHELL = "Shell"; + String SHELL = "Shell"; /** * parameter name "Cygwin"<p> * If Cygwin is set to TRUE it indicates if the runner runs in a Cygwin * environment */ - final public static String CYGWIN = "Cygwin"; + String CYGWIN = "Cygwin"; /** * parameter name: "NoCwsAttach"<p> * If this parameter is set to "true" , a status of CWS-UnoAPI-Tests was not attached to EIS<p> * @see complex.unoapi.CheckModuleAPI */ - final public static String NO_CWS_ATTACH = "NoCwsAttach"; + String NO_CWS_ATTACH = "NoCwsAttach"; /** * internal only, no parameter */ - final public static String WNTMSCI = "wntmsci"; + String WNTMSCI = "wntmsci"; /** * internal only, no parameter */ - final public static String UNXLNGI = "unxlngi"; + String UNXLNGI = "unxlngi"; /** * internal only, no parameter */ - final public static String UNXSOLS = "unxsols"; + String UNXSOLS = "unxsols"; /** * internal only, no parameter */ - final public static String UNXSOLI = "unxsoli"; + String UNXSOLI = "unxsoli"; /** * internal only, no parameter */ - final public static String UNXMACXI = "unxmacxi"; + String UNXMACXI = "unxmacxi"; /** * can be used to dont backup the user layer, faster office start/stop but less secure default is to backup the user layer */ - final public static String DONT_BACKUP_USERLAYER = "DontBackupUserLayer"; + String DONT_BACKUP_USERLAYER = "DontBackupUserLayer"; } diff --git a/qadevOOo/runner/util/compare/DocComparator.java b/qadevOOo/runner/util/compare/DocComparator.java index 8503fda8254a..f46e46a6012d 100644 --- a/qadevOOo/runner/util/compare/DocComparator.java +++ b/qadevOOo/runner/util/compare/DocComparator.java @@ -20,22 +20,12 @@ package util.compare; import java.io.IOException; -/** - * - * - */ - public interface DocComparator { - public boolean isReferenceExistent() throws IOException; - - - - - + boolean isReferenceExistent() throws IOException; - public boolean isDiffReferenceExistent() throws IOException; + boolean isDiffReferenceExistent() throws IOException; - public boolean compareDiff() throws IOException; + boolean compareDiff() throws IOException; } |