summaryrefslogtreecommitdiff
path: root/framework/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-05 12:29:43 +0200
committerNoel Grandin <noel@peralex.com>2015-11-05 13:43:01 +0200
commitff3b3bed94b809acbb5b4eb6e52f9b6d8b9398ee (patch)
tree6fc973228c66b8251ddb8dde3ba7003ebb8b3eb0 /framework/qa
parent9e8ff13eb2405f7e3dcb4f90cb38e9e4b1da2bd5 (diff)
java: make inner classes static where possible
Change-Id: Icc6444ad15d9f4b50858d8c1b1d3adeaeac40926
Diffstat (limited to 'framework/qa')
-rw-r--r--framework/qa/complex/XUserInputInterception/EventTest.java2
-rw-r--r--framework/qa/complex/framework/autosave/AutoSave.java2
-rw-r--r--framework/qa/complex/imageManager/CheckImageManager.java2
-rw-r--r--framework/qa/complex/path_substitution/PathSubstitutionTest.java2
4 files changed, 4 insertions, 4 deletions
diff --git a/framework/qa/complex/XUserInputInterception/EventTest.java b/framework/qa/complex/XUserInputInterception/EventTest.java
index 0bc8fcef483b..b2a6f06b425a 100644
--- a/framework/qa/complex/XUserInputInterception/EventTest.java
+++ b/framework/qa/complex/XUserInputInterception/EventTest.java
@@ -400,7 +400,7 @@ public class EventTest {
* press a key with the <CODE>Robot</CODE> class
* @see java.awt.Robot
*/
- private class EventTrigger implements Runnable {
+ private static class EventTrigger implements Runnable {
/**
* represents an <CODE>EventType</CODE>
diff --git a/framework/qa/complex/framework/autosave/AutoSave.java b/framework/qa/complex/framework/autosave/AutoSave.java
index 8f66ccdcc423..e27724e4dfa3 100644
--- a/framework/qa/complex/framework/autosave/AutoSave.java
+++ b/framework/qa/complex/framework/autosave/AutoSave.java
@@ -62,7 +62,7 @@ import static org.junit.Assert.*;
public class AutoSave
{
- private class AutoSaveListener implements XStatusListener
+ private static class AutoSaveListener implements XStatusListener
{
private XDispatch m_xAutoSave;
private URL m_aRegistration;
diff --git a/framework/qa/complex/imageManager/CheckImageManager.java b/framework/qa/complex/imageManager/CheckImageManager.java
index 21f24b634c22..a88a96d30c98 100644
--- a/framework/qa/complex/imageManager/CheckImageManager.java
+++ b/framework/qa/complex/imageManager/CheckImageManager.java
@@ -141,7 +141,7 @@ public class CheckImageManager {
}
- private class OXUIConfigurationListenerImpl implements _XUIConfiguration.XUIConfigurationListenerImpl {
+ private static class OXUIConfigurationListenerImpl implements _XUIConfiguration.XUIConfigurationListenerImpl {
private boolean triggered = false;
public boolean actionWasTriggered() {
diff --git a/framework/qa/complex/path_substitution/PathSubstitutionTest.java b/framework/qa/complex/path_substitution/PathSubstitutionTest.java
index 8615de6f4fe3..8d85ade376c0 100644
--- a/framework/qa/complex/path_substitution/PathSubstitutionTest.java
+++ b/framework/qa/complex/path_substitution/PathSubstitutionTest.java
@@ -214,7 +214,7 @@ public class PathSubstitutionTest
* Class for containing the substitution variables with their
* values and some information.
*/
- private class VariableContainer
+ private static class VariableContainer
{
public ArrayList<String> varName;