diff options
Diffstat (limited to 'scripting')
14 files changed, 1 insertions, 25 deletions
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; |