diff options
Diffstat (limited to 'qadevOOo/tests/java')
16 files changed, 44 insertions, 44 deletions
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java index 62e2aac1f3e6..e957cc3e6e76 100644 --- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java +++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java @@ -51,7 +51,7 @@ import com.sun.star.uno.UnoRuntime; */ public class _XAccessibleEventBroadcaster extends MultiMethodTest { - public static interface EventProducer { + public interface EventProducer { void fireEvent(); } diff --git a/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java b/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java index 7440670bf68e..ff0102a89ddf 100644 --- a/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java +++ b/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java @@ -518,10 +518,10 @@ public class _XUserInputInterception extends MultiMethodTest { private interface EventTriggerType{ /** klick the mouse into the scroll bar*/ - final public static int MOUSE_KLICK_INTO_DOC = 1; + int MOUSE_KLICK_INTO_DOC = 1; /** write some text into a spread sheet*/ - final public static int KEY_TEXT_INTO_DOC = 2; + int KEY_TEXT_INTO_DOC = 2; } } diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java b/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java index 1c8cd3c1be29..a231e7f224c7 100644 --- a/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java +++ b/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java @@ -47,8 +47,8 @@ public class _XMutableTreeNode extends MultiMethodTest { private XMutableTreeNodeCreator nodeCreator = null; - public static interface XMutableTreeNodeCreator{ - public XMutableTreeNode createNode(String name); + public interface XMutableTreeNodeCreator{ + XMutableTreeNode createNode(String name); } @Override diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java b/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java index ff19b9cac4f2..c6c4b59d88b4 100644 --- a/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java +++ b/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java @@ -87,8 +87,8 @@ public class _XTreeControl extends MultiMethodTest { boolean mTreeNodeEditing2 = false; boolean mTreeNodeEdit2 = false; - public static interface XTreeDataModelListenerEvent{ - public void fireEvent(); + public interface XTreeDataModelListenerEvent{ + void fireEvent(); } public class TreeExpansionListenerImpl1 implements XTreeExpansionListener{ diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XTreeDataModel.java b/qadevOOo/tests/java/ifc/awt/tree/_XTreeDataModel.java index 92e1d56714fc..3c544efd5405 100644 --- a/qadevOOo/tests/java/ifc/awt/tree/_XTreeDataModel.java +++ b/qadevOOo/tests/java/ifc/awt/tree/_XTreeDataModel.java @@ -51,8 +51,8 @@ public class _XTreeDataModel extends MultiMethodTest { boolean mTreeStructureChanged2 = false; - public static interface XTreeDataModelListenerEvent{ - public void fireEvent(); + public interface XTreeDataModelListenerEvent{ + void fireEvent(); } public class myEventListener1 implements XTreeDataModelListener{ diff --git a/qadevOOo/tests/java/ifc/document/_XFilter.java b/qadevOOo/tests/java/ifc/document/_XFilter.java index 9908c452cda3..991ef40b2af9 100644 --- a/qadevOOo/tests/java/ifc/document/_XFilter.java +++ b/qadevOOo/tests/java/ifc/document/_XFilter.java @@ -54,7 +54,7 @@ import com.sun.star.uno.UnoRuntime; */ public class _XFilter extends MultiMethodTest { - public static interface FilterChecker { + public interface FilterChecker { boolean checkFilter() ; } diff --git a/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java index 4bce8dcab931..70eccdc4f3a2 100644 --- a/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java +++ b/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java @@ -70,12 +70,12 @@ public class _XChangeBroadcaster extends MultiMethodTest { * in relation if it doesn't support <code>XTextComponent</code> * interface. It used to change the content of component. */ - public static interface Changer { + public interface Changer { /** * The method must change the component's content to * cause a listener call. */ - public void change() ; + void change() ; } /** diff --git a/qadevOOo/tests/java/ifc/form/_XDatabaseParameterBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XDatabaseParameterBroadcaster.java index 4a9a8524b2ad..384493d588ec 100644 --- a/qadevOOo/tests/java/ifc/form/_XDatabaseParameterBroadcaster.java +++ b/qadevOOo/tests/java/ifc/form/_XDatabaseParameterBroadcaster.java @@ -36,16 +36,16 @@ public class _XDatabaseParameterBroadcaster extends MultiMethodTest { /** * Interface to implement so the call of the listener can be checked. */ - public static interface CheckParameterListener extends XDatabaseParameterListener { + public interface CheckParameterListener extends XDatabaseParameterListener { /** * Set a log of the listener, so messages of the listener get printed * into the file of the interface */ - public void setLog(PrintWriter log); + void setLog(PrintWriter log); /** * Return True, when the listener was called correctly. */ - public boolean checkListener(); + boolean checkListener(); } /** diff --git a/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java index badab75a22f3..e8cd10a36c1e 100644 --- a/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java +++ b/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java @@ -51,21 +51,21 @@ public class _XUpdateBroadcaster extends MultiMethodTest { * Interface for relation. Updating, committing and checking * if data was committed is object dependent behaviour. */ - public static interface UpdateChecker { + public interface UpdateChecker { /** * Method must make some data update in the object tested. */ - public void update() throws com.sun.star.uno.Exception ; + void update() throws com.sun.star.uno.Exception ; /** * Method must commit data change made by method <code>update</code>. */ - public void commit() throws com.sun.star.uno.Exception ; + void commit() throws com.sun.star.uno.Exception ; /** * Checks if the data committed by <code>commit</code> method * became permanent in data source. * @return <code>true</code> if data was committed. */ - public boolean wasCommited() throws com.sun.star.uno.Exception ; + boolean wasCommited() throws com.sun.star.uno.Exception ; } /** diff --git a/qadevOOo/tests/java/ifc/io/_XOutputStream.java b/qadevOOo/tests/java/ifc/io/_XOutputStream.java index 5a3b90e7726b..01caa6f48d20 100644 --- a/qadevOOo/tests/java/ifc/io/_XOutputStream.java +++ b/qadevOOo/tests/java/ifc/io/_XOutputStream.java @@ -51,9 +51,9 @@ public class _XOutputStream extends MultiMethodTest { StreamChecker checker = null; byte[] data = null; - public static interface StreamChecker { - public XInputStream getInStream(); - public void resetStreams(); + public interface StreamChecker { + XInputStream getInStream(); + void resetStreams(); } @Override diff --git a/qadevOOo/tests/java/ifc/sdb/_XCompletedExecution.java b/qadevOOo/tests/java/ifc/sdb/_XCompletedExecution.java index 4ff9f65fb211..548b86c96b32 100644 --- a/qadevOOo/tests/java/ifc/sdb/_XCompletedExecution.java +++ b/qadevOOo/tests/java/ifc/sdb/_XCompletedExecution.java @@ -35,16 +35,16 @@ public class _XCompletedExecution extends MultiMethodTest { /** * Interface to implement so the call of the listener can be checked. */ - public static interface CheckInteractionHandler extends XInteractionHandler { + public interface CheckInteractionHandler extends XInteractionHandler { /** * Set a log of the listener, so messages of the listener get printed * into the file of the interface */ - public void setLog(PrintWriter log); + void setLog(PrintWriter log); /** * Return True, when the listener was called correctly. */ - public boolean checkInteractionHandler(); + boolean checkInteractionHandler(); } @Override diff --git a/qadevOOo/tests/java/ifc/sdb/_XRowSetApproveBroadcaster.java b/qadevOOo/tests/java/ifc/sdb/_XRowSetApproveBroadcaster.java index 8f525182a413..9ac091b607e1 100644 --- a/qadevOOo/tests/java/ifc/sdb/_XRowSetApproveBroadcaster.java +++ b/qadevOOo/tests/java/ifc/sdb/_XRowSetApproveBroadcaster.java @@ -53,12 +53,12 @@ public class _XRowSetApproveBroadcaster extends MultiMethodTest { * on which <code>XRowSetApproveListener</code>s can react. * @see com.sun.star.sdb.XRowSetApproveListener */ - public static interface RowSetApproveChecker { + public interface RowSetApproveChecker { /** * Moves cursor within row set. Method <code>approveCursorMove</code> * of <code>XRowSetApproveListener</code> must be called. */ - public void moveCursor() ; + void moveCursor() ; /** * Change rows in row set. Method <code>approveRowChange</code> * of <code>XRowSetApproveListener</code> must be called. @@ -66,12 +66,12 @@ public class _XRowSetApproveBroadcaster extends MultiMethodTest { * what type of change was made and how many rows it affected. * @see com.sun.star.sdb.RowChangeEvent */ - public RowChangeEvent changeRow() ; + RowChangeEvent changeRow() ; /** * Change the whole row set. Method <code>approveRowSetChange</code> * of <code>XRowSetApproveListener</code> must be called. */ - public void changeRowSet() ; + void changeRowSet() ; } /** diff --git a/qadevOOo/tests/java/ifc/sdbc/_XResultSetUpdate.java b/qadevOOo/tests/java/ifc/sdbc/_XResultSetUpdate.java index b32e93dbdf8c..3723739107dc 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XResultSetUpdate.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XResultSetUpdate.java @@ -61,26 +61,26 @@ public class _XResultSetUpdate extends MultiMethodTest { * test results. It's implementation must be passed * to this test. */ - public static interface UpdateTester { + public interface UpdateTester { /** * @return Current number of rows. */ - public int rowCount() throws SQLException ; + int rowCount() throws SQLException ; /** * Updates some data in the current row but doesn't commit * changes to the source. */ - public void update() throws SQLException ; + void update() throws SQLException ; /** * Checks if updates made by method <code>update</code> was * committed to the data source. */ - public boolean wasUpdated() throws SQLException ; + boolean wasUpdated() throws SQLException ; /** * Returns current row number. Really it must returns value * < 1 if the current position is on insert row. */ - public int currentRow() throws SQLException ; + int currentRow() throws SQLException ; } /** diff --git a/qadevOOo/tests/java/ifc/ui/_XUIConfiguration.java b/qadevOOo/tests/java/ifc/ui/_XUIConfiguration.java index 44682acf33ca..8b880e67cf7c 100644 --- a/qadevOOo/tests/java/ifc/ui/_XUIConfiguration.java +++ b/qadevOOo/tests/java/ifc/ui/_XUIConfiguration.java @@ -44,11 +44,11 @@ public class _XUIConfiguration extends MultiMethodTest { * <CODE>XUIConfiguration.XUIConfigurationListenerImpl</CODE> * @see com.sun.star.ui.XUIConfigurationListener */ - public static interface XUIConfigurationListenerImpl + public interface XUIConfigurationListenerImpl extends XUIConfigurationListener { - public void reset(); - public void fireEvent(); - public boolean actionWasTriggered(); + void reset(); + void fireEvent(); + boolean actionWasTriggered(); } diff --git a/qadevOOo/tests/java/ifc/util/_XSortable.java b/qadevOOo/tests/java/ifc/util/_XSortable.java index f6a60f740dab..e43c93c16ad9 100644 --- a/qadevOOo/tests/java/ifc/util/_XSortable.java +++ b/qadevOOo/tests/java/ifc/util/_XSortable.java @@ -211,13 +211,13 @@ public class _XSortable extends MultiMethodTest { /** * The interface for sort checking. */ - public static interface XSortChecker { - public void prepareToSort(); + public interface XSortChecker { + void prepareToSort(); - public boolean checkSort(boolean isSortNumbering, + boolean checkSort(boolean isSortNumbering, boolean isSortAscending); - public void setPrintWriter(PrintWriter log); + void setPrintWriter(PrintWriter log); } /** diff --git a/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java b/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java index fa1030a47f5c..177ca2fb5bd7 100644 --- a/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java +++ b/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java @@ -102,7 +102,7 @@ public class _XDocumentHandler extends MultiMethodTest { * This interface implementation must be passed by component test * for checking the whole import process. */ - public static interface ImportChecker { + public interface ImportChecker { /** * Returns <code>true</code> if the XML data was successfully * imported, <code>false</code> in other case. @@ -114,7 +114,7 @@ public class _XDocumentHandler extends MultiMethodTest { * This interface implementation must be passed by component test * for setting a target document to the import process */ - public static interface TargetDocumentSetter { + public interface TargetDocumentSetter { void setTargetDocument(); } |