java: remove unused parameters
Change-Id: Ifc44c51ddbd21fabaad686bc3d38e2dab54d97aa
This commit is contained in:
@@ -293,7 +293,7 @@ public class ScriptMetaData extends ScriptEntry {
|
||||
URL url = null;
|
||||
int indexOfColon = path.indexOf(":");
|
||||
String scheme = path.substring( 0, indexOfColon );
|
||||
UCBStreamHandler handler = new UCBStreamHandler( parent.parent.m_xCtx, scheme, parent.m_xSFA);
|
||||
UCBStreamHandler handler = new UCBStreamHandler( scheme, parent.m_xSFA);
|
||||
|
||||
path += UCBStreamHandler.separator;
|
||||
url = new URL(null, path, handler);
|
||||
|
@@ -23,13 +23,11 @@ import java.io.*;
|
||||
import java.util.*;
|
||||
import java.util.zip.*;
|
||||
|
||||
import com.sun.star.uno.XComponentContext;
|
||||
import com.sun.star.ucb.XSimpleFileAccess;
|
||||
import com.sun.star.uno.UnoRuntime;
|
||||
import com.sun.star.io.XInputStream;
|
||||
import com.sun.star.io.XOutputStream;
|
||||
import com.sun.star.io.XTruncate;
|
||||
|
||||
import com.sun.star.script.framework.log.LogUtils;
|
||||
import com.sun.star.script.framework.provider.PathUtils;
|
||||
|
||||
@@ -41,7 +39,7 @@ public class UCBStreamHandler extends URLStreamHandler {
|
||||
private HashMap<String,InputStream> m_jarStreamMap = new HashMap<String,InputStream>(12);
|
||||
public static String m_ucbscheme;
|
||||
|
||||
public UCBStreamHandler( XComponentContext ctxt, String scheme, XSimpleFileAccess xSFA )
|
||||
public UCBStreamHandler( String scheme, XSimpleFileAccess xSFA )
|
||||
{
|
||||
LogUtils.DEBUG( "UCBStreamHandler ctor, scheme = " + scheme );
|
||||
UCBStreamHandler.m_ucbscheme = scheme;
|
||||
|
@@ -109,20 +109,20 @@ public class PlainSourceView extends JScrollPane
|
||||
|
||||
/* Implementation of DocumentListener interface */
|
||||
public void insertUpdate(DocumentEvent e) {
|
||||
doChanged(e);
|
||||
doChanged();
|
||||
}
|
||||
|
||||
public void removeUpdate(DocumentEvent e) {
|
||||
doChanged(e);
|
||||
doChanged();
|
||||
}
|
||||
|
||||
public void changedUpdate(DocumentEvent e) {
|
||||
doChanged(e);
|
||||
doChanged();
|
||||
}
|
||||
|
||||
/* If the number of lines in the JTextArea has changed then update the
|
||||
GlyphGutter */
|
||||
public void doChanged(DocumentEvent e) {
|
||||
public void doChanged() {
|
||||
isModified = true;
|
||||
|
||||
if (linecount != ta.getLineCount()) {
|
||||
|
Reference in New Issue
Block a user