cid#1327023 to cid#1327077 SIC: Inner class could be made static
Change-Id: I41f89c4feefe4e012d72c663ebb9bbcb4aa7f163
This commit is contained in:
parent
301764855e
commit
a1624a8ecd
@ -739,7 +739,7 @@ public class LocalOfficeConnection
|
||||
|
||||
|
||||
|
||||
private class StreamProcessor extends Thread
|
||||
private static class StreamProcessor extends Thread
|
||||
{
|
||||
private final java.io.InputStream m_in;
|
||||
private final java.io.PrintStream m_print;
|
||||
|
@ -66,7 +66,7 @@ public class StorageFileAccess implements org.hsqldb.lib.FileAccess{
|
||||
}
|
||||
}
|
||||
|
||||
private class FileSync implements FileAccess.FileSync
|
||||
private static class FileSync implements FileAccess.FileSync
|
||||
{
|
||||
private final NativeOutputStreamHelper os;
|
||||
private FileSync(NativeOutputStreamHelper _os)
|
||||
|
@ -590,7 +590,7 @@ public class ServiceManager implements XMultiServiceFactory,
|
||||
* @see com.sun.star.lang.XServiceInfo
|
||||
* @since UDK1.0
|
||||
*/
|
||||
class ServiceEnumerationImpl implements XEnumeration {
|
||||
static class ServiceEnumerationImpl implements XEnumeration {
|
||||
java.util.Iterator<Object> enumeration = null;
|
||||
|
||||
/**
|
||||
|
@ -60,7 +60,7 @@ public abstract class BaseEvolutionarySolver extends BaseNLPSolver {
|
||||
registerProperty(m_enhancedSolverStatus);
|
||||
}
|
||||
|
||||
private class Variable {
|
||||
private static class Variable {
|
||||
private final CellMap CellMap;
|
||||
private final int OriginalVariable;
|
||||
private double MinValue;
|
||||
|
@ -185,7 +185,7 @@ public abstract class BaseNLPSolver extends WeakBase
|
||||
}
|
||||
}
|
||||
|
||||
protected class CellMap {
|
||||
protected static class CellMap {
|
||||
protected int Range;
|
||||
protected int Col;
|
||||
protected int Row;
|
||||
|
@ -712,7 +712,7 @@ public class OfficeProvider implements AppProvider
|
||||
|
||||
}
|
||||
|
||||
private class OfficeWatcherPing extends Thread
|
||||
private static class OfficeWatcherPing extends Thread
|
||||
{
|
||||
|
||||
private final OfficeWatcher ow;
|
||||
|
@ -625,7 +625,7 @@ public class ProcessHandler
|
||||
bUseOutput = false;
|
||||
}
|
||||
|
||||
private class ProcessWatcher extends Thread
|
||||
private static class ProcessWatcher extends Thread
|
||||
{
|
||||
|
||||
private int m_nTimeoutInSec;
|
||||
|
@ -42,7 +42,7 @@ public class _XButton extends MultiMethodTest {
|
||||
/**
|
||||
* Listener implementation which sets flags on appropriate method calls
|
||||
*/
|
||||
protected class TestActionListener implements com.sun.star.awt.XActionListener {
|
||||
protected static class TestActionListener implements com.sun.star.awt.XActionListener {
|
||||
public boolean disposingCalled = false ;
|
||||
public boolean actionPerformedCalled = false ;
|
||||
|
||||
|
@ -44,7 +44,7 @@ public class _XCheckBox extends MultiMethodTest {
|
||||
/**
|
||||
* Listener implementation which sets flags on appropriate method calls
|
||||
*/
|
||||
protected class TestItemListener implements com.sun.star.awt.XItemListener {
|
||||
protected static class TestItemListener implements com.sun.star.awt.XItemListener {
|
||||
public boolean disposingCalled = false ;
|
||||
public boolean itemStateChangedCalled = false ;
|
||||
|
||||
|
@ -50,7 +50,7 @@ public class _XComboBox extends MultiMethodTest {
|
||||
/**
|
||||
* Listener implementation which sets flags on appropriate method calls
|
||||
*/
|
||||
protected class TestActionListener
|
||||
protected static class TestActionListener
|
||||
implements com.sun.star.awt.XActionListener {
|
||||
public boolean disposingCalled = false;
|
||||
public boolean actionPerformedCalled = false;
|
||||
@ -68,7 +68,7 @@ public class _XComboBox extends MultiMethodTest {
|
||||
/**
|
||||
* Listener implementation which sets flags on appropriate method calls
|
||||
*/
|
||||
protected class TestItemListener
|
||||
protected static class TestItemListener
|
||||
implements com.sun.star.awt.XItemListener {
|
||||
public boolean disposingCalled = false;
|
||||
public boolean itemStateChangedCalled = false;
|
||||
|
@ -45,7 +45,7 @@ public class _XImageProducer extends MultiMethodTest {
|
||||
* Consumer implementation which sets flags on appropriate
|
||||
* method calls.
|
||||
*/
|
||||
protected class TestImageConsumer implements XImageConsumer {
|
||||
protected static class TestImageConsumer implements XImageConsumer {
|
||||
PrintWriter log = null ;
|
||||
public boolean initCalled = false ;
|
||||
public boolean setColorModelCalled = false ;
|
||||
|
@ -61,7 +61,7 @@ public class _XListBox extends MultiMethodTest {
|
||||
/**
|
||||
* Listener implementation which sets flags on appropriate method calls
|
||||
*/
|
||||
protected class TestActionListener implements com.sun.star.awt.XActionListener {
|
||||
protected static class TestActionListener implements com.sun.star.awt.XActionListener {
|
||||
public boolean disposingCalled = false ;
|
||||
public boolean actionPerformedCalled = false ;
|
||||
|
||||
@ -80,7 +80,7 @@ public class _XListBox extends MultiMethodTest {
|
||||
/**
|
||||
* Listener implementation which sets flags on appropriate method calls
|
||||
*/
|
||||
protected class TestItemListener implements com.sun.star.awt.XItemListener {
|
||||
protected static class TestItemListener implements com.sun.star.awt.XItemListener {
|
||||
public boolean disposingCalled = false ;
|
||||
public boolean itemStateChangedCalled = false ;
|
||||
|
||||
|
@ -45,7 +45,7 @@ public class _XRadioButton extends MultiMethodTest {
|
||||
/**
|
||||
* Listener implementation which sets flags on appropriate method calls
|
||||
*/
|
||||
protected class TestItemListener implements com.sun.star.awt.XItemListener {
|
||||
protected static class TestItemListener implements com.sun.star.awt.XItemListener {
|
||||
public boolean disposingCalled = false ;
|
||||
public boolean itemStateChangedCalled = false ;
|
||||
private final java.io.PrintWriter log;
|
||||
|
@ -48,7 +48,7 @@ public class _XSpinField extends MultiMethodTest {
|
||||
* Listener implementation which set flags on appropriate
|
||||
* listener methods calls.
|
||||
*/
|
||||
protected class TestListener implements XSpinListener {
|
||||
protected static class TestListener implements XSpinListener {
|
||||
public boolean upFl = false ;
|
||||
public boolean downFl = false ;
|
||||
public boolean firstFl = false ;
|
||||
|
@ -50,7 +50,7 @@ public class _XTopWindow extends MultiMethodTest {
|
||||
* Listener implementation which sets flags on different
|
||||
* method calls.
|
||||
*/
|
||||
protected class TestListener implements XTopWindowListener {
|
||||
protected static class TestListener implements XTopWindowListener {
|
||||
private final PrintWriter log;
|
||||
public boolean activated = false ;
|
||||
public boolean deactivated = false ;
|
||||
|
@ -162,7 +162,7 @@ public class _XWindow extends MultiMethodTest {
|
||||
* A class we use to test addWindowListener() and
|
||||
* removeWindowListener()
|
||||
*/
|
||||
public class TestWindowListener implements XWindowListener {
|
||||
public static class TestWindowListener implements XWindowListener {
|
||||
public boolean resized = false ;
|
||||
public boolean moved = false ;
|
||||
public boolean hidden = false ;
|
||||
@ -323,7 +323,7 @@ public class _XWindow extends MultiMethodTest {
|
||||
* A class we use to test addFocusListener() and
|
||||
* removeFocusListener()
|
||||
*/
|
||||
public class TestFocusListener implements XFocusListener {
|
||||
public static class TestFocusListener implements XFocusListener {
|
||||
public boolean gained = false ;
|
||||
public boolean lost = false ;
|
||||
|
||||
@ -405,7 +405,7 @@ public class _XWindow extends MultiMethodTest {
|
||||
* A class we use to test addKeyListener() and
|
||||
* removeKeyListener()
|
||||
*/
|
||||
public class TestKeyListener implements XKeyListener {
|
||||
public static class TestKeyListener implements XKeyListener {
|
||||
public boolean pressed = false;
|
||||
public boolean released = false;
|
||||
public void keyPressed(KeyEvent e) { pressed = true; }
|
||||
@ -444,7 +444,7 @@ public class _XWindow extends MultiMethodTest {
|
||||
* A class we use to test addMouseListener() and
|
||||
* removeMouseListener()
|
||||
*/
|
||||
public class TestMouseListener implements XMouseListener {
|
||||
public static class TestMouseListener implements XMouseListener {
|
||||
public boolean pressed = false;
|
||||
public boolean released = false;
|
||||
public boolean entered = false;
|
||||
@ -507,7 +507,7 @@ public class _XWindow extends MultiMethodTest {
|
||||
* A class we use to test addMouseMotionListener() and
|
||||
* removeMouseMotionListener()
|
||||
*/
|
||||
public class TestMouseMotionListener implements XMouseMotionListener {
|
||||
public static class TestMouseMotionListener implements XMouseMotionListener {
|
||||
public boolean dragged = false;
|
||||
public boolean moved = false;
|
||||
|
||||
@ -558,7 +558,7 @@ public class _XWindow extends MultiMethodTest {
|
||||
* A class we use to test addPaintListener() and
|
||||
* removePaintListener()
|
||||
*/
|
||||
public class TestPaintListener implements XPaintListener {
|
||||
public static class TestPaintListener implements XPaintListener {
|
||||
public boolean paint = false;
|
||||
|
||||
public void windowPaint(PaintEvent e) {
|
||||
|
@ -95,7 +95,7 @@ public class _XPropertySet extends MultiMethodTest {
|
||||
* Structure that collects the properties of different types to test :
|
||||
* Constrained, Bound and Normal.
|
||||
*/
|
||||
private final class PropsToTest {
|
||||
private static final class PropsToTest {
|
||||
ArrayList< String > constrained = new ArrayList< String >();
|
||||
ArrayList< String > bound = new ArrayList< String >();
|
||||
ArrayList< String > normal = new ArrayList< String >();
|
||||
|
@ -55,7 +55,7 @@ public class _XUnoUrlResolver extends MultiMethodTest {
|
||||
*
|
||||
* @see com.sun.star.bridge.XInstanceProvider
|
||||
*/
|
||||
class MyInstanceProvider implements XInstanceProvider {
|
||||
static class MyInstanceProvider implements XInstanceProvider {
|
||||
/**
|
||||
* a MultiServiceFactory for creating instances
|
||||
*
|
||||
|
@ -50,7 +50,7 @@ public class _XClipboard extends MultiMethodTest {
|
||||
* <code>XClipboardOwner</code> interface implementation which
|
||||
* stores parameters passed to <code>lostOwnership</code> method.
|
||||
*/
|
||||
class MyOwner implements XClipboardOwner {
|
||||
static class MyOwner implements XClipboardOwner {
|
||||
XClipboard board;
|
||||
XTransferable contents;
|
||||
|
||||
@ -64,7 +64,7 @@ public class _XClipboard extends MultiMethodTest {
|
||||
/**
|
||||
* Simpliest <code>XTransferable</code> interface implementation.
|
||||
*/
|
||||
class MyTransferable implements XTransferable {
|
||||
static class MyTransferable implements XTransferable {
|
||||
public Object getTransferData(DataFlavor dataFlavor) {
|
||||
return "";
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ public class _XClipboardNotifier extends MultiMethodTest {
|
||||
* <code>XClipboardOwner</code> interface implementation which
|
||||
* stores parameters passed to <code>lostOwnership</code> method.
|
||||
*/
|
||||
class MyOwner implements XClipboardOwner {
|
||||
static class MyOwner implements XClipboardOwner {
|
||||
XClipboard board;
|
||||
XTransferable contents;
|
||||
|
||||
@ -67,7 +67,7 @@ public class _XClipboardNotifier extends MultiMethodTest {
|
||||
* Simpliest <code>XTransferable</code> interface implementation
|
||||
* which supports "text/html" data type.
|
||||
*/
|
||||
class MyTransferable implements XTransferable {
|
||||
static class MyTransferable implements XTransferable {
|
||||
DataFlavor[] supportedFlavors;
|
||||
|
||||
public MyTransferable() {
|
||||
|
@ -155,7 +155,7 @@ public class _XFilter extends MultiMethodTest {
|
||||
* Calls <code>filter()</code> method in a separate thread.
|
||||
* Necessary to check if the cancel method works
|
||||
*/
|
||||
protected class FilterThread extends Thread {
|
||||
protected static class FilterThread extends Thread {
|
||||
|
||||
public boolean filterRes = true;
|
||||
private final XFilter Filter;
|
||||
|
@ -53,7 +53,7 @@ public class _XFormController extends MultiMethodTest {
|
||||
/**
|
||||
* Listener which determines and stores events occurred.
|
||||
*/
|
||||
protected class MyListener implements XFormControllerListener {
|
||||
protected static class MyListener implements XFormControllerListener {
|
||||
public boolean activated = false ;
|
||||
public boolean deactivated = false ;
|
||||
public void disposing ( EventObject oEvent ) {}
|
||||
|
@ -44,7 +44,7 @@ public class _XLoadable extends MultiMethodTest {
|
||||
/**
|
||||
* Listener implementation which sets flags on appropriate method calls
|
||||
*/
|
||||
protected class TestLoadListener implements com.sun.star.form.XLoadListener {
|
||||
protected static class TestLoadListener implements com.sun.star.form.XLoadListener {
|
||||
public boolean disposingCalled = false ;
|
||||
public boolean loadedCalled = false ;
|
||||
public boolean reloadedCalled = false ;
|
||||
|
@ -61,7 +61,7 @@ public class _XSubmit extends MultiMethodTest {
|
||||
|
||||
public static XSubmit oObj = null;
|
||||
|
||||
public class MySubmitListener implements XSubmitListener {
|
||||
public static class MySubmitListener implements XSubmitListener {
|
||||
public int called = 0 ;
|
||||
public void disposing ( EventObject oEvent ) {
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ public class _XUpdateBroadcaster extends MultiMethodTest {
|
||||
* Listener implementation, which can accept or reject update
|
||||
* requests and store event calls.
|
||||
*/
|
||||
protected class TestListener implements XUpdateListener {
|
||||
protected static class TestListener implements XUpdateListener {
|
||||
/**
|
||||
* Indicates must listener approve update requests or not.
|
||||
*/
|
||||
|
@ -81,7 +81,7 @@ public class _XBindableValue extends MultiMethodTest {
|
||||
return res;
|
||||
}
|
||||
|
||||
class MyValueBinding implements XValueBinding {
|
||||
static class MyValueBinding implements XValueBinding {
|
||||
private final ArrayList<Type> types = new ArrayList<Type>();
|
||||
|
||||
public com.sun.star.uno.Type[] getSupportedValueTypes() {
|
||||
|
@ -56,7 +56,7 @@ public class _XValidatable extends MultiMethodTest {
|
||||
tRes.tested("setValidator()", res);
|
||||
}
|
||||
|
||||
public class MyValidator implements XValidator {
|
||||
public static class MyValidator implements XValidator {
|
||||
public void addValidityConstraintListener(com.sun.star.form.validation.XValidityConstraintListener xValidityConstraintListener)
|
||||
throws com.sun.star.lang.NullPointerException {
|
||||
}
|
||||
|
@ -55,7 +55,7 @@ public class _XDispatch extends MultiMethodTest {
|
||||
/**
|
||||
* Listener implementation which sets flags on appropriate method calls
|
||||
*/
|
||||
protected class TestStatusListener implements
|
||||
protected static class TestStatusListener implements
|
||||
com.sun.star.frame.XStatusListener {
|
||||
public boolean disposingCalled = false ;
|
||||
public boolean statusChangedCalled = false ;
|
||||
@ -85,7 +85,7 @@ public class _XDispatch extends MultiMethodTest {
|
||||
/**
|
||||
* Listener implementation which sets flags on appropriate method calls
|
||||
*/
|
||||
protected class TestNotificationListener implements
|
||||
protected static class TestNotificationListener implements
|
||||
com.sun.star.frame.XDispatchResultListener {
|
||||
public boolean disposingCalled = false ;
|
||||
public boolean finishedDispatch = false ;
|
||||
|
@ -48,7 +48,7 @@ public class _XDispatchProviderInterception extends MultiMethodTest {
|
||||
* slave interceptors, and redirect all dispatch queries to the master
|
||||
* provider.
|
||||
*/
|
||||
public class TestInterceptor implements XDispatchProviderInterceptor {
|
||||
public static class TestInterceptor implements XDispatchProviderInterceptor {
|
||||
private final PrintWriter log;
|
||||
public XDispatchProvider master = null, slave = null ;
|
||||
|
||||
|
@ -67,7 +67,7 @@ public class _XFrameLoader extends MultiMethodTest {
|
||||
/**
|
||||
* Implemetation of load listener which geristers all its calls.
|
||||
*/
|
||||
protected class TestListener implements XLoadEventListener {
|
||||
protected static class TestListener implements XLoadEventListener {
|
||||
public boolean finished = false ;
|
||||
public boolean cancelled = false ;
|
||||
|
||||
|
@ -53,7 +53,7 @@ public class _XNotifyingDispatch extends MultiMethodTest {
|
||||
/**
|
||||
* Listener implementation which sets flags on appropriate method calls
|
||||
*/
|
||||
protected class TestNotificationListener implements
|
||||
protected static class TestNotificationListener implements
|
||||
com.sun.star.frame.XDispatchResultListener {
|
||||
public boolean disposingCalled = false ;
|
||||
public boolean finishedDispatch = false ;
|
||||
|
@ -43,7 +43,7 @@ public class _XPopupMenuController extends MultiMethodTest {
|
||||
tRes.tested("updatePopupMenu()", true);
|
||||
}
|
||||
|
||||
private class PopupMenuImpl implements XPopupMenu {
|
||||
private static class PopupMenuImpl implements XPopupMenu {
|
||||
|
||||
public void addMenuListener(com.sun.star.awt.XMenuListener xMenuListener) {
|
||||
System.out.println("addMenuListener called.");
|
||||
|
@ -476,7 +476,7 @@ public class _XEventAttacherManager extends MultiMethodTest {
|
||||
* No functionality implemented.
|
||||
* @see com.sun.star.script.XScriptListener
|
||||
*/
|
||||
class MyScriptListener implements XScriptListener {
|
||||
static class MyScriptListener implements XScriptListener {
|
||||
public void firing(ScriptEvent evt) {
|
||||
}
|
||||
|
||||
|
@ -79,7 +79,7 @@ public class _XRowSetApproveBroadcaster extends MultiMethodTest {
|
||||
* which just detects and stores approve requipements. They are checked
|
||||
* later.
|
||||
*/
|
||||
private class TestListener implements XRowSetApproveListener {
|
||||
private static class TestListener implements XRowSetApproveListener {
|
||||
public boolean approveRequests = true ;
|
||||
public boolean approveCursorMoveCalled = false ;
|
||||
public boolean approveRowChangeCalled = false ;
|
||||
|
@ -55,7 +55,7 @@ public class _XRowSet extends MultiMethodTest {
|
||||
private _XRowSetApproveBroadcaster.RowSetApproveChecker checker = null ;
|
||||
private final TestListener listener = new TestListener() ;
|
||||
|
||||
private class TestListener implements XRowSetListener {
|
||||
private static class TestListener implements XRowSetListener {
|
||||
public boolean cursorMoved = false ;
|
||||
public boolean rowChanged = false ;
|
||||
public boolean rowSetChanged = false ;
|
||||
|
@ -109,7 +109,7 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
|
||||
* for russian locale.
|
||||
* @see com.sun.star.i18n.XForbiddenCharacters
|
||||
*/
|
||||
protected class ForbiddenChrTest implements XForbiddenCharacters {
|
||||
protected static class ForbiddenChrTest implements XForbiddenCharacters {
|
||||
protected Locale locale = new Locale("ru", "RU", "");
|
||||
protected ForbiddenCharacters chrs = new ForbiddenCharacters("q", "w");
|
||||
|
||||
|
@ -68,7 +68,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
|
||||
* exception to be thrown when obtaining a result data for a cell fails
|
||||
* (probably because the cell is not a result cell).
|
||||
*/
|
||||
private class ResultCellFailure extends com.sun.star.uno.Exception {}
|
||||
private static class ResultCellFailure extends com.sun.star.uno.Exception {}
|
||||
|
||||
@Override
|
||||
protected void before()
|
||||
|
@ -482,7 +482,7 @@ public class _CharacterProperties extends MultiPropertyTest {
|
||||
tRes.tested("TextUserDefinedAttributes", res);
|
||||
}
|
||||
|
||||
private class OwnUserDefinedAttributes implements XNameContainer{
|
||||
private static class OwnUserDefinedAttributes implements XNameContainer{
|
||||
HashMap<String, Object> members = null;
|
||||
|
||||
|
||||
|
@ -453,7 +453,7 @@ public class _ParagraphProperties extends MultiPropertyTest {
|
||||
tRes.tested("ParaUserDefinedAttributes", res);
|
||||
}
|
||||
|
||||
private class OwnUserDefinedAttributes implements XNameContainer{
|
||||
private static class OwnUserDefinedAttributes implements XNameContainer{
|
||||
HashMap<String, Object> members = null;
|
||||
|
||||
|
||||
|
@ -41,7 +41,7 @@ public class _XRemoteContentProviderAcceptor extends MultiMethodTest {
|
||||
* The simple <code>XRemoteContentProviderDoneListener</code>
|
||||
* implementation.
|
||||
*/
|
||||
public class DoneListener implements XRemoteContentProviderDoneListener {
|
||||
public static class DoneListener implements XRemoteContentProviderDoneListener {
|
||||
|
||||
public void doneWithRemoteContentProviders
|
||||
(XRemoteContentProviderAcceptor xRCPA) {
|
||||
|
@ -43,7 +43,7 @@ public class _XFlushable extends MultiMethodTest {
|
||||
* Simple <code>XFlushListener</code> implementation which
|
||||
* just registers if any calls to its methods were made.
|
||||
*/
|
||||
private class MyFlushListener implements XFlushListener{
|
||||
private static class MyFlushListener implements XFlushListener{
|
||||
boolean called = false ;
|
||||
public void flushed(com.sun.star.lang.EventObject e) {
|
||||
called = true ;
|
||||
|
@ -532,7 +532,7 @@ public class ORowSet extends TestCase {
|
||||
* for the XCompletedExecution test
|
||||
* @see ifc.sdb._XCompletedExecution
|
||||
*/
|
||||
private class InteractionHandlerImpl implements _XCompletedExecution.CheckInteractionHandler {
|
||||
private static class InteractionHandlerImpl implements _XCompletedExecution.CheckInteractionHandler {
|
||||
private boolean handlerWasUsed = false;
|
||||
private PrintWriter log = new PrintWriter(System.out);
|
||||
|
||||
|
@ -819,7 +819,7 @@ public class ODatabaseForm extends TestCase {
|
||||
* for the XCompletedExecution test
|
||||
* @see ifc.sdb._XCompletedExecution
|
||||
*/
|
||||
private class InteractionHandlerImpl implements _XCompletedExecution.CheckInteractionHandler {
|
||||
private static class InteractionHandlerImpl implements _XCompletedExecution.CheckInteractionHandler {
|
||||
private boolean handlerWasUsed = false;
|
||||
private PrintWriter log = new PrintWriter(System.out);
|
||||
|
||||
|
@ -80,7 +80,7 @@ public class various extends TestCase {
|
||||
*
|
||||
* @see com.sun.star.bridge.XInstanceProvider
|
||||
*/
|
||||
private class MyInstanceProvider implements XInstanceProvider {
|
||||
private static class MyInstanceProvider implements XInstanceProvider {
|
||||
/**
|
||||
* a MultiServiceFactory for creating instances
|
||||
*
|
||||
|
@ -248,7 +248,7 @@ public class UnoTreeControl extends TestCase {
|
||||
}
|
||||
}
|
||||
|
||||
private class execurteDialog extends Thread{
|
||||
private static class execurteDialog extends Thread{
|
||||
private final XDialog mXDialog;
|
||||
|
||||
public execurteDialog(XDialog xDialog){
|
||||
|
@ -130,7 +130,7 @@ public class SDBCReportDataFactory implements DataSourceFactory
|
||||
}
|
||||
}
|
||||
|
||||
private class ParameterDefinition
|
||||
private static class ParameterDefinition
|
||||
{
|
||||
private int parameterCount = 0;
|
||||
private final ArrayList<Integer> parameterIndex = new ArrayList<Integer>();
|
||||
|
@ -195,7 +195,7 @@ public class ScriptEditorForJavaScript implements ScriptEditor {
|
||||
private ScriptEditorForJavaScript(XScriptContext context, URL url) {
|
||||
initUI();
|
||||
Scriptable scope = getScope(context);
|
||||
rhinoWindow.openFile(url, scope, new closeHandler(url));
|
||||
rhinoWindow.openFile(url, scope, new CloseHandler(url));
|
||||
this.scriptURL = url;
|
||||
}
|
||||
|
||||
@ -294,11 +294,11 @@ public class ScriptEditorForJavaScript implements ScriptEditor {
|
||||
return scope;
|
||||
}
|
||||
|
||||
private class closeHandler implements Runnable {
|
||||
private static class CloseHandler implements Runnable {
|
||||
|
||||
private final URL url;
|
||||
|
||||
private closeHandler(URL url) {
|
||||
private CloseHandler(URL url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
|
@ -83,9 +83,8 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
|
||||
xWindow = _xWindow;
|
||||
}
|
||||
|
||||
private class ColumnDescriptor
|
||||
private static class ColumnDescriptor
|
||||
{
|
||||
|
||||
String Name;
|
||||
XPropertySet xColPropertySet;
|
||||
|
||||
|
@ -46,7 +46,7 @@ public class TypeInspector
|
||||
};
|
||||
static final int INVALID = 999999;
|
||||
|
||||
public class TypeInfo
|
||||
public static class TypeInfo
|
||||
{
|
||||
public boolean bisAutoIncrementable;
|
||||
|
||||
|
@ -411,7 +411,7 @@ class OfficeZip {
|
||||
*
|
||||
* <p>These are stored in {@code entryList}.</p>
|
||||
*/
|
||||
private class Entry {
|
||||
private static class Entry {
|
||||
|
||||
ZipEntry zipEntry = null;
|
||||
byte bytes[] = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user