java: remove unused parameters

Change-Id: Ifc44c51ddbd21fabaad686bc3d38e2dab54d97aa
This commit is contained in:
Noel Grandin
2014-08-06 08:38:10 +02:00
parent 41709cc268
commit d5a31b2215
53 changed files with 91 additions and 135 deletions

View File

@@ -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);

View File

@@ -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;

View File

@@ -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()) {