diff options
59 files changed, 5 insertions, 153 deletions
diff --git a/bean/test/applet/oooapplet/OOoViewer.java b/bean/test/applet/oooapplet/OOoViewer.java index 2a14c79afb06..2395edf8c983 100644 --- a/bean/test/applet/oooapplet/OOoViewer.java +++ b/bean/test/applet/oooapplet/OOoViewer.java @@ -22,15 +22,12 @@ import java.lang.reflect.Array; import java.net.*; import java.io.*; import java.awt.*; -import com.sun.star.comp.beans.*; import java.applet.Applet; import java.awt.Graphics; import java.util.*; public class OOoViewer extends Applet { - private OOoBean oBean; - static private CustomURLClassLoader m_loader; Object m_objBean; diff --git a/bridges/test/lib/TestBed.java b/bridges/test/lib/TestBed.java index 6cf773db3fb8..17eb4751c836 100644 --- a/bridges/test/lib/TestBed.java +++ b/bridges/test/lib/TestBed.java @@ -207,10 +207,6 @@ public final class TestBed { private int state = INITIAL; } - private static final int TEST_SUCCEEDED = 0; - private static final int TEST_FAILED = 1; - private static final int TEST_ERROR = 2; - private static final int CLIENT_FAILED = 0; private static final int CLIENT_DONE = 123; diff --git a/extensions/qa/integration/extensions/MethodHandler.java b/extensions/qa/integration/extensions/MethodHandler.java index b6259e9b790e..56eda09b2912 100644 --- a/extensions/qa/integration/extensions/MethodHandler.java +++ b/extensions/qa/integration/extensions/MethodHandler.java @@ -29,7 +29,6 @@ public class MethodHandler implements XPropertyHandler private XComponentContext m_context; private XIntrospection m_introspection; private XIntrospectionAccess m_introspectionAccess; - private XIdlClass m_idlClass; private XIdlMethod[] m_methods; private java.util.HashMap<String,XIdlMethod> m_methodsHash; diff --git a/forms/qa/integration/forms/ImageComparison.java b/forms/qa/integration/forms/ImageComparison.java index f604fd3e7832..76784c36991c 100644 --- a/forms/qa/integration/forms/ImageComparison.java +++ b/forms/qa/integration/forms/ImageComparison.java @@ -29,7 +29,6 @@ public final class ImageComparison implements com.sun.star.awt.XImageConsumer private byte[] m_referenceBytes; private int m_referencePosition; - private java.io.FileOutputStream m_stream; private Object m_notifyDone; public boolean imagesEqual( ) diff --git a/forms/qa/integration/forms/SingleControlValidation.java b/forms/qa/integration/forms/SingleControlValidation.java index 235ef29eee87..c0e1508bf013 100644 --- a/forms/qa/integration/forms/SingleControlValidation.java +++ b/forms/qa/integration/forms/SingleControlValidation.java @@ -19,7 +19,6 @@ package integration.forms; import com.sun.star.uno.*; -import com.sun.star.lang.*; import com.sun.star.beans.*; import com.sun.star.form.validation.*; @@ -29,7 +28,6 @@ public class SingleControlValidation implements XFormComponentValidityListener { private DocumentHelper m_document; /// our current test document private FormLayer m_formLayer; /// quick access to the form layer - private XMultiServiceFactory m_orb; /// our service factory private XPropertySet m_inputField; private XPropertySet m_inputLabel; diff --git a/framework/qa/complex/XUserInputInterception/EventTest.java b/framework/qa/complex/XUserInputInterception/EventTest.java index 25fc274da239..1ce381454d58 100644 --- a/framework/qa/complex/XUserInputInterception/EventTest.java +++ b/framework/qa/complex/XUserInputInterception/EventTest.java @@ -452,10 +452,6 @@ public class EventTest { private class EventTrigger extends Thread{ /** - * represents a <CODE>AccessibilityTools</CODE> - */ - private final AccessibilityTools at = new AccessibilityTools(); - /** * represents an <CODE>EventType</CODE> * @see EventTest.EventTriggerType */ diff --git a/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java b/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java index 78879032058f..40c5548f04e0 100644 --- a/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java +++ b/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java @@ -72,7 +72,6 @@ public class CheckXComponentLoader // some const /** used to classify the result of a loadComponentFromURL() request. */ - private static final int RESULT_UNKNOWN = 0; private static final int RESULT_VALID_DOC = 1; private static final int RESULT_EMPTY_DOC = 2; private static final int RESULT_ILLEGALARGUMENTEXCEPTION = 3; @@ -80,10 +79,6 @@ public class CheckXComponentLoader private static final int RESULT_RUNTIMEEXCEPTION = 5; private static final int RESULT_EXCEPTION = 6; - /** File/URL separators. */ - private static final String fs_url = "/"; - // private static final String fs_sys = System.getProperty("file.separator"); - /** used for testing password protected files. */ private static final String SUFFIX_PASSWORD_TEMPFILE = "password_"; private static final String PREFIX_PASSWORD_TEMPFILE = ".sxw"; diff --git a/framework/qa/complex/loadAllDocuments/InteractionHandler.java b/framework/qa/complex/loadAllDocuments/InteractionHandler.java index ca0ec71bec7a..36790cb95ebb 100644 --- a/framework/qa/complex/loadAllDocuments/InteractionHandler.java +++ b/framework/qa/complex/loadAllDocuments/InteractionHandler.java @@ -39,8 +39,8 @@ public class InteractionHandler implements XInteractionHandler /** - * @member m_aRequest the origianl interaction request - * safed for later analyzing + * @member m_aRequest the original interaction request + * saved for later analyzing * @member m_bWasUsed true if the interaction handler was used * @member m_nTry count using of RETRY continuations */ diff --git a/javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java b/javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java index 057dc1fffc1f..060bbbcc3610 100644 --- a/javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java +++ b/javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java @@ -32,7 +32,6 @@ import java.util.LinkedList; */ public class WeakAdapter implements XAdapter { - private final boolean DEBUG= false; // references the XWeak implementation private WeakReference<Object> m_weakRef; // contains XReference objects registered by addReference diff --git a/javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java b/javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java index 827f15328acd..3ed65cdf30e0 100644 --- a/javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java +++ b/javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java @@ -32,8 +32,6 @@ import java.util.HashMap; */ public class WeakBase implements XWeak, XTypeProvider { - private final boolean DEBUG= false; - // Contains all WeakAdapter which have been created in this class // They have to be notified when this object dies private WeakAdapter m_adapter; diff --git a/jurt/com/sun/star/comp/urlresolver/UrlResolver.java b/jurt/com/sun/star/comp/urlresolver/UrlResolver.java index cb90e355202c..60cf351162b9 100644 --- a/jurt/com/sun/star/comp/urlresolver/UrlResolver.java +++ b/jurt/com/sun/star/comp/urlresolver/UrlResolver.java @@ -47,9 +47,6 @@ import com.sun.star.uno.UnoRuntime; * @since UDK1.0 */ public class UrlResolver { - static private final boolean DEBUG = false; - - static public class _UrlResolver implements XUnoUrlResolver { static private final String __serviceName = "com.sun.star.bridge.UnoUrlResolver"; diff --git a/jurt/com/sun/star/lib/connections/pipe/pipeAcceptor.java b/jurt/com/sun/star/lib/connections/pipe/pipeAcceptor.java index 5d2a7d5d0df0..cde06ab1f56c 100644 --- a/jurt/com/sun/star/lib/connections/pipe/pipeAcceptor.java +++ b/jurt/com/sun/star/lib/connections/pipe/pipeAcceptor.java @@ -120,6 +120,4 @@ public final class pipeAcceptor implements XAcceptor { */ public void stopAccepting() { } - - private static final boolean DEBUG = false; } diff --git a/jurt/com/sun/star/uno/WeakReference.java b/jurt/com/sun/star/uno/WeakReference.java index 5057f2a65d0c..3691c0fa0119 100644 --- a/jurt/com/sun/star/uno/WeakReference.java +++ b/jurt/com/sun/star/uno/WeakReference.java @@ -31,7 +31,6 @@ import com.sun.star.uno.XReference; */ public class WeakReference { - private final boolean DEBUG= false; private OWeakRefListener m_listener; // There is no default constructor. Every instance must register itself with the // XAdapter interface, which is done in the constructors. Assume we have this code @@ -103,7 +102,6 @@ public class WeakReference */ class OWeakRefListener implements XReference { - private final boolean DEBUG= false; private XAdapter m_adapter; /** diff --git a/odk/examples/DevelopersGuide/OfficeDev/Number_Formats.java b/odk/examples/DevelopersGuide/OfficeDev/Number_Formats.java index d620d8e431da..31643329ad5a 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Number_Formats.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Number_Formats.java @@ -206,7 +206,6 @@ public class Number_Formats // __________ private members and methods __________ - private final String msDataSheetName = "Data"; private XComponentContext maOfficeContext; private XMultiComponentFactory maServiceManager; diff --git a/qadevOOo/runner/util/UITools.java b/qadevOOo/runner/util/UITools.java index 84d7238046a1..db99c090b7ab 100644 --- a/qadevOOo/runner/util/UITools.java +++ b/qadevOOo/runner/util/UITools.java @@ -47,7 +47,6 @@ import com.sun.star.uno.XInterface; */ public class UITools { - private static final AccessibilityTools mAT = new AccessibilityTools(); private final XAccessible mXRoot; private final XMultiServiceFactory mMSF; diff --git a/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java b/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java index a42313880e2c..1209ac99af94 100644 --- a/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java +++ b/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java @@ -396,10 +396,6 @@ public class _XUserInputInterception extends MultiMethodTest { private class EventTrigger extends Thread{ /** - * represents a <CODE>AccessibilityTools</CODE> - */ - private final AccessibilityTools at = new AccessibilityTools(); - /** * represents an <CODE>EventType</CODE> * @see EventTest.EventTriggerType */ diff --git a/reportbuilder/java/org/libreoffice/report/SDBCReportDataFactory.java b/reportbuilder/java/org/libreoffice/report/SDBCReportDataFactory.java index 936c0db33c4b..4a08c4835939 100644 --- a/reportbuilder/java/org/libreoffice/report/SDBCReportDataFactory.java +++ b/reportbuilder/java/org/libreoffice/report/SDBCReportDataFactory.java @@ -147,18 +147,9 @@ public class SDBCReportDataFactory implements DataSourceFactory public static final String UNO_FILTER = "Filter"; private static final String APPLY_FILTER = "ApplyFilter"; private static final String UNO_COMMAND = "Command"; - private static final String UNO_ORDER = "Order"; - private static final String UNO_APPLY_FILTER = "ApplyFilter"; private static final String UNO_COMMAND_TYPE = "CommandType"; private final XConnection connection; private final XComponentContext m_cmpCtx; - private static final int FAILED = 0; - private static final int DONE = 1; - private static final int RETRIEVE_COLUMNS = 2; - private static final int RETRIEVE_OBJECT = 3; - private static final int HANDLE_QUERY = 4; - private static final int HANDLE_TABLE = 5; - private static final int HANDLE_SQL = 6; private final Map<RowSetProperties,XRowSet> rowSetProperties = new HashMap<RowSetProperties,XRowSet>(); private final Map<RowSetProperties,ParameterDefinition> parameterMap = new HashMap<RowSetProperties,ParameterDefinition>(); private boolean rowSetCreated = false; diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java index bf9d2ce83d58..e2434b7aeb6c 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java @@ -146,7 +146,6 @@ public class SpreadsheetRawReportTarget extends OfficeDocumentReportTarget } } private String tableBackgroundColor; // null means transparent ... - private static final ColumnBoundary[] EMPTY_COLBOUNDS = new ColumnBoundary[0]; private boolean elementBoundaryCollectionPass; private boolean oleHandled; private final List<ColumnBoundary> columnBoundaryList; diff --git a/sc/qa/complex/dataPilot/_XNamed.java b/sc/qa/complex/dataPilot/_XNamed.java index b7d9e8c3a33d..6ab9b9128aba 100644 --- a/sc/qa/complex/dataPilot/_XNamed.java +++ b/sc/qa/complex/dataPilot/_XNamed.java @@ -48,11 +48,6 @@ public class _XNamed { public XNamed oObj = null; /** - * The test parameters - */ - private TestParameters param = null; - - /** * The log writer */ // private LogWriter log = null; @@ -66,7 +61,6 @@ public class _XNamed { public _XNamed(XNamed xObj/*, LogWriter log*/, TestParameters param) { oObj = xObj; // this.log = log; - this.param = param; } /** diff --git a/scripting/java/com/sun/star/script/framework/browse/ParcelBrowseNode.java b/scripting/java/com/sun/star/script/framework/browse/ParcelBrowseNode.java index ceed8b6d4b24..7552d2d2e9d5 100644 --- a/scripting/java/com/sun/star/script/framework/browse/ParcelBrowseNode.java +++ b/scripting/java/com/sun/star/script/framework/browse/ParcelBrowseNode.java @@ -56,7 +56,6 @@ public class ParcelBrowseNode extends PropertySet private ScriptProvider provider; //private RootBrowseNode parent; private Collection<XBrowseNode> browsenodes; - private String name; private ParcelContainer container; private Parcel parcel; public boolean deletable = true; @@ -66,7 +65,6 @@ public class ParcelBrowseNode extends PropertySet public ParcelBrowseNode( ScriptProvider provider, ParcelContainer container, String parcelName ) { this.provider = provider; - this.name = parcelName; this.container = container; // TODO decide whether exception is propagated out or not diff --git a/scripting/java/com/sun/star/script/framework/container/DeployedUnoPackagesDB.java b/scripting/java/com/sun/star/script/framework/container/DeployedUnoPackagesDB.java index fa95d065d67a..8cafb62a0f51 100644 --- a/scripting/java/com/sun/star/script/framework/container/DeployedUnoPackagesDB.java +++ b/scripting/java/com/sun/star/script/framework/container/DeployedUnoPackagesDB.java @@ -34,10 +34,6 @@ import org.w3c.dom.*; public class DeployedUnoPackagesDB { - // File name to be used for parcel descriptor files - private static final String - PARCEL_DESCRIPTOR_NAME = "unopkg-desc.xml"; - // This is the default contents of a parcel descriptor to be used when // creating empty descriptors private static final byte[] EMPTY_DOCUMENT = @@ -45,7 +41,6 @@ public class DeployedUnoPackagesDB { "<unopackages xmlns:unopackages=\"unopackages.dtd\">\n" + "</unopackages>").getBytes(); - private File file = null; private Document document = null; public DeployedUnoPackagesDB() throws IOException { diff --git a/scripting/java/com/sun/star/script/framework/io/UCBStreamHandler.java b/scripting/java/com/sun/star/script/framework/io/UCBStreamHandler.java index 8b06fb84ed51..e657063ed808 100644 --- a/scripting/java/com/sun/star/script/framework/io/UCBStreamHandler.java +++ b/scripting/java/com/sun/star/script/framework/io/UCBStreamHandler.java @@ -38,8 +38,6 @@ public class UCBStreamHandler extends URLStreamHandler { public final static String separator = "/ucb/"; - private XComponentContext m_xContext = null; - private XMultiComponentFactory m_xMultiComponentFactory = null; private XSimpleFileAccess m_xSimpleFileAccess = null; private HashMap<String,InputStream> m_jarStreamMap = new HashMap<String,InputStream>(12); public static String m_ucbscheme; @@ -47,7 +45,6 @@ public class UCBStreamHandler extends URLStreamHandler { public UCBStreamHandler( XComponentContext ctxt, String scheme, XSimpleFileAccess xSFA ) { LogUtils.DEBUG( "UCBStreamHandler ctor, scheme = " + scheme ); - this.m_xContext = ctxt; UCBStreamHandler.m_ucbscheme = scheme; this.m_xSimpleFileAccess = xSFA; } diff --git a/scripting/java/com/sun/star/script/framework/provider/EditorScriptContext.java b/scripting/java/com/sun/star/script/framework/provider/EditorScriptContext.java index 426059172d95..95759365c845 100644 --- a/scripting/java/com/sun/star/script/framework/provider/EditorScriptContext.java +++ b/scripting/java/com/sun/star/script/framework/provider/EditorScriptContext.java @@ -29,7 +29,6 @@ public class EditorScriptContext implements XScriptContext { private XDesktop m_xDeskTop; private XComponentContext m_xComponentContext; - private XDesktop m_xCtx; public EditorScriptContext( XComponentContext xmComponentContext, XDesktop xDesktop ) { diff --git a/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java b/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java index 3684e0a301f0..3dd54d5a036e 100644 --- a/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java +++ b/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java @@ -37,7 +37,6 @@ public class ScriptContext extends PropertySet implements XScriptContext public final static String HM_DESKTOP = "Desktop"; public final static String HM_COMPONENT_CONTEXT = "ComponentContext"; - private final static String DOC_REF = "SCRIPTING_DOC_REF"; private final static String DOC_URI = "SCRIPTING_DOC_URI"; diff --git a/scripting/java/org/openoffice/idesupport/JavaFinder.java b/scripting/java/org/openoffice/idesupport/JavaFinder.java index 846481857848..7ef66c62dc9e 100644 --- a/scripting/java/org/openoffice/idesupport/JavaFinder.java +++ b/scripting/java/org/openoffice/idesupport/JavaFinder.java @@ -38,7 +38,6 @@ public class JavaFinder implements MethodFinder { private static JavaFinder finder; private static final String JAVA_SUFFIX = ".java"; private static final String CLASS_SUFFIX = ".class"; - private static final String LANGUAGE = "Java"; private static final String FIRST_PARAM = "drafts.com.sun.star.script.framework.runtime.XScriptContext"; diff --git a/scripting/java/org/openoffice/idesupport/OfficeInstallation.java b/scripting/java/org/openoffice/idesupport/OfficeInstallation.java index ce720e370e01..11d15fb99813 100644 --- a/scripting/java/org/openoffice/idesupport/OfficeInstallation.java +++ b/scripting/java/org/openoffice/idesupport/OfficeInstallation.java @@ -26,7 +26,6 @@ public class OfficeInstallation implements java.io.Serializable { private String path; private String url; private boolean hasFW = false; - private boolean supportsFW = false; public static final String FILE_URL_PREFIX = SVersionRCFile.FILE_URL_PREFIX; diff --git a/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java b/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java index 3a6d946b4c98..c94b3c29803c 100644 --- a/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java +++ b/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java @@ -49,7 +49,6 @@ public final class LocalOfficeImpl private transient String mOfficePath; private transient XMultiComponentFactory mComponentFactory; private transient XComponentContext mComponentContext; - private transient XMultiServiceFactory mServiceFactory; /** * Constructor. */ diff --git a/scripting/java/org/openoffice/idesupport/ui/MethodPanel.java b/scripting/java/org/openoffice/idesupport/ui/MethodPanel.java index 362948c3a82b..73f82226b228 100644 --- a/scripting/java/org/openoffice/idesupport/ui/MethodPanel.java +++ b/scripting/java/org/openoffice/idesupport/ui/MethodPanel.java @@ -37,8 +37,6 @@ public class MethodPanel extends JPanel { private File basedir; private ArrayList<String> classpath; - private final static String FIRST_PARAM = - "drafts.com.sun.star.script.framework.runtime.XScriptContext"; // private JTable table; // private MethodTableModel model; diff --git a/scripting/workben/ifc/scripting/SecurityDialogUtil.java b/scripting/workben/ifc/scripting/SecurityDialogUtil.java index 6fed23cd9933..7999bcef7e06 100644 --- a/scripting/workben/ifc/scripting/SecurityDialogUtil.java +++ b/scripting/workben/ifc/scripting/SecurityDialogUtil.java @@ -35,7 +35,6 @@ public class SecurityDialogUtil extends Thread { private XMultiServiceFactory xMSF = null; private String errorMsg; -private boolean errorHappened; private String btnName; private boolean checkBox; @@ -49,8 +48,7 @@ public SecurityDialogUtil(XMultiServiceFactory xMSF, String btnName, boolean che this.xMSF = xMSF; this.btnName = btnName; this.checkBox = checkBox; - errorMsg = ""; - errorHappened=false; + this.errorMsg = ""; } /** diff --git a/scripting/workben/installer/IdeUpdater.java b/scripting/workben/installer/IdeUpdater.java index a09d0657bf1e..e3100d8565d6 100644 --- a/scripting/workben/installer/IdeUpdater.java +++ b/scripting/workben/installer/IdeUpdater.java @@ -30,8 +30,6 @@ import javax.swing.*; */ public class IdeUpdater extends Thread { - private String classesPath = null; - private String jarfilename; private String installPath; private JLabel statusLabel; diff --git a/scripting/workben/installer/IdeVersion.java b/scripting/workben/installer/IdeVersion.java index 052e3f07811d..a90ccb13a73e 100644 --- a/scripting/workben/installer/IdeVersion.java +++ b/scripting/workben/installer/IdeVersion.java @@ -257,7 +257,6 @@ public class IdeVersion extends javax.swing.JPanel implements ActionListener, Ta } // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JTextField jTextField2; private InstallWizard wizard; private MyTableModelIDE tableModel; private NavPanel nav; diff --git a/scripting/workben/installer/InstUtil.java b/scripting/workben/installer/InstUtil.java index 0fb687c80f00..9d12e38d75ae 100644 --- a/scripting/workben/installer/InstUtil.java +++ b/scripting/workben/installer/InstUtil.java @@ -449,7 +449,6 @@ public class InstUtil { } public static final String [] versions = {"NetBeans 3.4", "jEdit 4.0.3", "jEdit 4.1pre5" }; - private static File tmpDir = null; } diff --git a/scripting/workben/installer/Version.java b/scripting/workben/installer/Version.java index ec3420b2bb18..35823163148e 100644 --- a/scripting/workben/installer/Version.java +++ b/scripting/workben/installer/Version.java @@ -230,7 +230,6 @@ public class Version extends javax.swing.JPanel implements ActionListener, Table } // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JTextField jTextField2; private InstallWizard wizard; private MyTableModel tableModel; private NavPanel nav; diff --git a/toolkit/test/accessibility/AccessibilityTree.java b/toolkit/test/accessibility/AccessibilityTree.java index 4d90adf1b2c2..36f24bff2ae0 100644 --- a/toolkit/test/accessibility/AccessibilityTree.java +++ b/toolkit/test/accessibility/AccessibilityTree.java @@ -392,8 +392,6 @@ public class AccessibilityTree maTree; private Canvas maCanvas; - private boolean - mbFirstShapeSeen; private int mnExpandLevel; } diff --git a/toolkit/test/accessibility/AccessibilityWorkBench.java b/toolkit/test/accessibility/AccessibilityWorkBench.java index 31ff92287fd4..55ef61094904 100644 --- a/toolkit/test/accessibility/AccessibilityWorkBench.java +++ b/toolkit/test/accessibility/AccessibilityWorkBench.java @@ -574,10 +574,7 @@ public class AccessibilityWorkBench protected InformationWriter info; - private XModel - mxModel; private JPanel - maMainPanel, maButtonBar; private Canvas maCanvas; @@ -585,8 +582,6 @@ public class AccessibilityWorkBench maAccessibilityTree; private ObjectViewContainer maObjectViewContainer; - private JScrollPane - maScrollPane; private MessageArea maMessageArea; private JButton @@ -597,8 +592,6 @@ public class AccessibilityWorkBench aShapesButton; private JMenuBar maMenuBar; - private String - msMessage; private boolean mbInitialized; private TopWindowListener diff --git a/toolkit/test/accessibility/Canvas.java b/toolkit/test/accessibility/Canvas.java index d584770d964b..876a713c14b7 100644 --- a/toolkit/test/accessibility/Canvas.java +++ b/toolkit/test/accessibility/Canvas.java @@ -447,10 +447,6 @@ class Canvas } } - private int - mnXAnchor, - mnYAnchor, - maResizeFlag; private double mnHOffset, mnVOffset, diff --git a/toolkit/test/accessibility/CanvasShape.java b/toolkit/test/accessibility/CanvasShape.java index 648ab7a38423..69e3dfba5bc1 100644 --- a/toolkit/test/accessibility/CanvasShape.java +++ b/toolkit/test/accessibility/CanvasShape.java @@ -324,7 +324,6 @@ class CanvasShape private Point maPosition; private Dimension - maTransformedSize, maSize; private Color maFgColor, diff --git a/toolkit/test/accessibility/NodeFactory.java b/toolkit/test/accessibility/NodeFactory.java index 7218c3545c1a..516ab25fb667 100644 --- a/toolkit/test/accessibility/NodeFactory.java +++ b/toolkit/test/accessibility/NodeFactory.java @@ -34,8 +34,6 @@ class NodeFactory private NodeFactory () { - mbVerbose = false; - maContextHandler = new AccessibleContextHandler(); maTextHandler = new AccessibleTextHandler(); maEditableTextHandler = new AccessibleEditableTextHandler(); @@ -140,8 +138,6 @@ class NodeFactory private static NodeFactory maInstance = null; - private boolean mbVerbose; - // default handlers private NodeHandler maContextHandler = new AccessibleContextHandler(); private NodeHandler maTextHandler = new AccessibleTextHandler(); diff --git a/toolkit/test/accessibility/TableEventHandler.java b/toolkit/test/accessibility/TableEventHandler.java index ba3de6aad2ef..c5f157cc950f 100644 --- a/toolkit/test/accessibility/TableEventHandler.java +++ b/toolkit/test/accessibility/TableEventHandler.java @@ -16,7 +16,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.AccessibleEventObject; import com.sun.star.accessibility.AccessibleEventId; import com.sun.star.accessibility.AccessibleTableModelChange; @@ -54,6 +53,4 @@ class TableEventHandler } - private XAccessible mxOldChild; - private XAccessible mxNewChild; } diff --git a/toolkit/test/accessibility/ov/ObjectViewContainer.java b/toolkit/test/accessibility/ov/ObjectViewContainer.java index e4e0d205e7ad..1e615199131e 100644 --- a/toolkit/test/accessibility/ov/ObjectViewContainer.java +++ b/toolkit/test/accessibility/ov/ObjectViewContainer.java @@ -167,9 +167,6 @@ public class ObjectViewContainer } } - /// Observe this tree for selection changes and notify them to all - /// children. - private JTree maTree; private Border maViewBorder; /// List of view templates which are instantiated when new object is set. private ArrayList<Class> maViewTemplates; diff --git a/ucb/qa/complex/tdoc/_XCommandInfoChangeNotifier.java b/ucb/qa/complex/tdoc/_XCommandInfoChangeNotifier.java index d5cac78161a4..b69066403768 100644 --- a/ucb/qa/complex/tdoc/_XCommandInfoChangeNotifier.java +++ b/ucb/qa/complex/tdoc/_XCommandInfoChangeNotifier.java @@ -40,15 +40,11 @@ public class _XCommandInfoChangeNotifier { } private class CommandInfoChangeListener implements XCommandInfoChangeListener { - boolean disposing = false; - boolean infoChanged = false; public void commandInfoChange(com.sun.star.ucb.CommandInfoChangeEvent commandInfoChangeEvent) { - infoChanged = true; } public void disposing(com.sun.star.lang.EventObject eventObject) { - disposing = true; } } diff --git a/ucb/qa/complex/tdoc/_XComponent.java b/ucb/qa/complex/tdoc/_XComponent.java index ad1cde8a087a..5f617008485e 100644 --- a/ucb/qa/complex/tdoc/_XComponent.java +++ b/ucb/qa/complex/tdoc/_XComponent.java @@ -39,8 +39,6 @@ import share.LogWriter; public class _XComponent { public static XComponent oObj = null; - private XNameContainer xContainer = null; - private XComponent altDispose = null; public LogWriter log = null; boolean listenerDisposed[] = new boolean[2]; diff --git a/ucb/qa/complex/tdoc/_XPropertiesChangeNotifier.java b/ucb/qa/complex/tdoc/_XPropertiesChangeNotifier.java index 4116721801f7..5c9dedb354de 100644 --- a/ucb/qa/complex/tdoc/_XPropertiesChangeNotifier.java +++ b/ucb/qa/complex/tdoc/_XPropertiesChangeNotifier.java @@ -43,15 +43,11 @@ public class _XPropertiesChangeNotifier { } private class PropertiesChangeListener implements XPropertiesChangeListener { - public boolean disposed = false; - public boolean propChanged = false; public void disposing(com.sun.star.lang.EventObject eventObject) { - disposed = true; } public void propertiesChange(com.sun.star.beans.PropertyChangeEvent[] propertyChangeEvent) { - propChanged = true; } } diff --git a/ucb/qa/complex/tdoc/_XPropertySetInfoChangeNotifier.java b/ucb/qa/complex/tdoc/_XPropertySetInfoChangeNotifier.java index e8b54130ef16..0b669f7eb21c 100644 --- a/ucb/qa/complex/tdoc/_XPropertySetInfoChangeNotifier.java +++ b/ucb/qa/complex/tdoc/_XPropertySetInfoChangeNotifier.java @@ -43,11 +43,8 @@ public class _XPropertySetInfoChangeNotifier { } private class PropertySetInfoChangeListener implements XPropertySetInfoChangeListener { - public boolean disposed = false; - public boolean propChanged = false; public void disposing(com.sun.star.lang.EventObject eventObject) { - disposed = true; } public void propertySetInfoChange(com.sun.star.beans.PropertySetInfoChangeEvent propertySetInfoChangeEvent) { diff --git a/ucb/test/com/sun/star/comp/ucb/GlobalTransfer_Test.java b/ucb/test/com/sun/star/comp/ucb/GlobalTransfer_Test.java index b353fbd1225e..6258301f35c5 100644 --- a/ucb/test/com/sun/star/comp/ucb/GlobalTransfer_Test.java +++ b/ucb/test/com/sun/star/comp/ucb/GlobalTransfer_Test.java @@ -43,10 +43,6 @@ public final class GlobalTransfer_Test extends ComplexTestCase { = "testcase-do-not-remove.sxw"; static private final String httpSourceDir = "http://so-berlin/~webdav/"; - static private final String httpTargetDir - = "http://so-berlin/~webdav/"; - static private final String fileSourceDir - = "file:///d:/temp/source/"; static private final String fileTargetDir = "file:///d:/temp/"; diff --git a/vcl/qa/complex/persistent_window_states/PersistentWindowTest.java b/vcl/qa/complex/persistent_window_states/PersistentWindowTest.java index 3dce47d3b7e8..3f0c52485000 100644 --- a/vcl/qa/complex/persistent_window_states/PersistentWindowTest.java +++ b/vcl/qa/complex/persistent_window_states/PersistentWindowTest.java @@ -50,7 +50,6 @@ public class PersistentWindowTest // private XMultiServiceFactory xMSF; // private OfficeProvider oProvider; - private int iOfficeCloseTime = 0; /** * A frunction to tell the framework, which test functions are available. diff --git a/wizards/com/sun/star/wizards/form/UIControlArranger.java b/wizards/com/sun/star/wizards/form/UIControlArranger.java index 6e48ab0d54ae..ff3a16859564 100644 --- a/wizards/com/sun/star/wizards/form/UIControlArranger.java +++ b/wizards/com/sun/star/wizards/form/UIControlArranger.java @@ -123,13 +123,10 @@ public class UIControlArranger private class LayoutRenderer implements ButtonList.IImageRenderer { - int Index = 1; - public Object[] getImageUrls(Object listitem) { int ResId = UIConsts.RID_IMG_FORM + (2 * ((Integer) listitem).intValue()); - Index++; return new Integer[] { new Integer(ResId), new Integer(ResId + 1) diff --git a/wizards/com/sun/star/wizards/report/GroupFieldHandler.java b/wizards/com/sun/star/wizards/report/GroupFieldHandler.java index b7e5ed359055..d6185880a9cd 100644 --- a/wizards/com/sun/star/wizards/report/GroupFieldHandler.java +++ b/wizards/com/sun/star/wizards/report/GroupFieldHandler.java @@ -33,7 +33,6 @@ public class GroupFieldHandler extends FieldSelection private IReportDocument CurReportDocument; private ArrayList<String> GroupFieldVector = new ArrayList<String>(); private QueryMetaData CurDBMetaData; - private WizardDialog oWizardDialog; private static final short MAXSELFIELDS = 4; public GroupFieldHandler(IReportDocument _CurReportDocument, WizardDialog _CurUnoDialog) @@ -44,7 +43,6 @@ public class GroupFieldHandler extends FieldSelection try { - this.oWizardDialog = _CurUnoDialog; this.CurReportDocument = _CurReportDocument; this.CurDBMetaData = CurReportDocument.getRecordParser(); CurUnoDialog.setControlProperty("lstFields_2", "MultiSelection", Boolean.FALSE); diff --git a/wizards/com/sun/star/wizards/report/ReportTextDocument.java b/wizards/com/sun/star/wizards/report/ReportTextDocument.java index 5204ab1d8178..2c3963b81177 100644 --- a/wizards/com/sun/star/wizards/report/ReportTextDocument.java +++ b/wizards/com/sun/star/wizards/report/ReportTextDocument.java @@ -56,8 +56,6 @@ class ReportTextDocument extends com.sun.star.wizards.text.TextDocument implemen // private XMultiServiceFactory xMSFDoc; private Object ReportPageStyle; private Object FirstPageStyle; - private int PageWidth; - private Rectangle PosSize; // private String ReportFolderName; public ArrayList<DBColumn> DBColumnsVector; private RecordTable CurRecordTable; diff --git a/wizards/com/sun/star/wizards/table/CGCategory.java b/wizards/com/sun/star/wizards/table/CGCategory.java index 13e4b843aab8..bdcad65db0f2 100644 --- a/wizards/com/sun/star/wizards/table/CGCategory.java +++ b/wizards/com/sun/star/wizards/table/CGCategory.java @@ -32,7 +32,6 @@ public class CGCategory public String Name; public int Index; - private String[] Tables; private final String CGROOTPATH = "/org.openoffice.Office.TableWizard/TableWizard/"; XMultiServiceFactory xMSF; XNameAccess xNameAccessTablesNode; diff --git a/wizards/com/sun/star/wizards/table/CGTable.java b/wizards/com/sun/star/wizards/table/CGTable.java index 6e10598076b7..21f8a9136666 100644 --- a/wizards/com/sun/star/wizards/table/CGTable.java +++ b/wizards/com/sun/star/wizards/table/CGTable.java @@ -31,8 +31,6 @@ public class CGTable XNameAccess xNameAccessTableNode; public String Index; public String Name; - private Object oconfigView; - private final String CGROOTPATH = "/org.openoffice.Office.TableWizard/TableWizard/"; public CGTable(XMultiServiceFactory _xMSF) { diff --git a/wizards/com/sun/star/wizards/table/FieldDescription.java b/wizards/com/sun/star/wizards/table/FieldDescription.java index 976a2585039c..a1b655b777b2 100644 --- a/wizards/com/sun/star/wizards/table/FieldDescription.java +++ b/wizards/com/sun/star/wizards/table/FieldDescription.java @@ -39,9 +39,6 @@ public class FieldDescription private ArrayList<PropertyValue> aPropertyValues; // PropertyValue[] aPropertyValues; private Integer Type; - private Integer Scale; - private Integer Precision; - private Boolean DefaultValue; private String Name; private XMultiServiceFactory xMSF; private Locale aLocale; diff --git a/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java b/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java index 83d33398aab9..7737c02026e7 100644 --- a/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java +++ b/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java @@ -40,12 +40,9 @@ public class PrimaryKeyHandler implements XFieldSelectionListener private TableWizard CurUnoDialog; private short curtabindex; private final static String SPRIMEKEYMODE = "togglePrimeKeyFields"; - private final static String SSINGLEKEYMODE = "toggleSinglePrimeKeyFields"; - private final static String SSEVERALKEYMODE = "toggleSeveralPrimeKeyFields"; private XRadioButton optAddAutomatically; private XRadioButton optUseExisting; private XRadioButton optUseSeveral; - private XCheckBox chkUsePrimaryKey; private XCheckBox chkcreatePrimaryKey; private XCheckBox chkApplyAutoValueExisting; private XCheckBox chkApplyAutoValueAutomatic; @@ -54,7 +51,6 @@ public class PrimaryKeyHandler implements XFieldSelectionListener private FieldSelection curPrimaryKeySelection; private String[] fieldnames; private TableDescriptor curTableDescriptor; - private int nAutoPrimeKeyDataType; private boolean bAutoPrimaryKeysupportsAutoIncrmentation; private final static String SAUTOMATICKEYFIELDNAME = "ID"; diff --git a/wizards/com/sun/star/wizards/table/ScenarioSelector.java b/wizards/com/sun/star/wizards/table/ScenarioSelector.java index 53a1346c18b9..f7a808812105 100644 --- a/wizards/com/sun/star/wizards/table/ScenarioSelector.java +++ b/wizards/com/sun/star/wizards/table/ScenarioSelector.java @@ -58,7 +58,6 @@ public class ScenarioSelector extends FieldSelection implements XItemListener, X private CGCategory oCGCategory; protected CGTable oCGTable; private String SELECTCATEGORY = "selectCategory"; - private int curcategory; protected boolean bcolumnnameislimited; private int imaxcolumnchars; private String smytable; diff --git a/wizards/com/sun/star/wizards/text/TextStyleHandler.java b/wizards/com/sun/star/wizards/text/TextStyleHandler.java index c9225dff8e6b..437b698f19b4 100644 --- a/wizards/com/sun/star/wizards/text/TextStyleHandler.java +++ b/wizards/com/sun/star/wizards/text/TextStyleHandler.java @@ -33,14 +33,10 @@ public class TextStyleHandler { public XStyleFamiliesSupplier xStyleFamiliesSupplier; - private XMultiServiceFactory xMSFDoc; - private XTextDocument xTextDocument; /** Creates a new instance of TextStyleHandler */ public TextStyleHandler(com.sun.star.lang.XMultiServiceFactory xMSF, XTextDocument xTextDocument) { - this.xMSFDoc = xMSF; - this.xTextDocument = xTextDocument; xStyleFamiliesSupplier = UnoRuntime.queryInterface(XStyleFamiliesSupplier.class, xTextDocument); } diff --git a/wizards/com/sun/star/wizards/text/ViewHandler.java b/wizards/com/sun/star/wizards/text/ViewHandler.java index 44f67a90a740..1d333bcccd40 100644 --- a/wizards/com/sun/star/wizards/text/ViewHandler.java +++ b/wizards/com/sun/star/wizards/text/ViewHandler.java @@ -40,16 +40,12 @@ public class ViewHandler { private XTextViewCursorSupplier xTextViewCursorSupplier; - private XMultiServiceFactory xMSFDoc; - private XTextDocument xTextDocument; private XStyleFamiliesSupplier xStyleFamiliesSupplier; private XViewSettingsSupplier xViewSettingsSupplier; /** Creates a new instance of View */ public ViewHandler(XMultiServiceFactory xMSF, XTextDocument xTextDocument) { - this.xMSFDoc = xMSF; - this.xTextDocument = xTextDocument; xTextViewCursorSupplier = UnoRuntime.queryInterface(XTextViewCursorSupplier.class, xTextDocument.getCurrentController()); xViewSettingsSupplier = UnoRuntime.queryInterface(XViewSettingsSupplier.class, xTextDocument.getCurrentController()); xStyleFamiliesSupplier = UnoRuntime.queryInterface(XStyleFamiliesSupplier.class, xTextDocument); diff --git a/wizards/com/sun/star/wizards/ui/DocumentPreview.java b/wizards/com/sun/star/wizards/ui/DocumentPreview.java index 553dde50cc15..2421245db16d 100644 --- a/wizards/com/sun/star/wizards/ui/DocumentPreview.java +++ b/wizards/com/sun/star/wizards/ui/DocumentPreview.java @@ -46,7 +46,6 @@ public class DocumentPreview */ private XComponent xComponent; private XControl xControl; - private int step; private PropertyValue[] loadArgs; private String url; public static final int PREVIEW_MODE = 1; diff --git a/wizards/com/sun/star/wizards/ui/PathSelection.java b/wizards/com/sun/star/wizards/ui/PathSelection.java index f8436f088818..4210383c064d 100644 --- a/wizards/com/sun/star/wizards/ui/PathSelection.java +++ b/wizards/com/sun/star/wizards/ui/PathSelection.java @@ -37,8 +37,6 @@ public class PathSelection public boolean usedPathPicker = false; public XPathSelectionListener xAction; public XTextComponent xSaveTextBox; - private final int CMDSELECTPATH = 1; - private final int TXTSAVEPATH = 1; public static class DialogTypes { diff --git a/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java b/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java index ceeb902790ac..5f696bade241 100644 --- a/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java +++ b/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java @@ -23,7 +23,7 @@ import com.sun.star.uno.Any; /** * This class is a factory for Value objects for different types of - * memebers. + * members. * Other than some Value implementations classes this class contains static * type conversion methods and factory methods. * @@ -33,7 +33,6 @@ public class DataAwareFields { private static final String TRUE = "true"; - private static final String FALSE = "false"; /** * returns a Value Object which sets and gets values @@ -82,7 +81,7 @@ public class DataAwareFields /** * an abstract implementation of DataAware.Value to access - * object memebers (fields) usign reflection. + * object members (fields) using reflection. */ private static abstract class FieldValue implements DataAware.Value { |