forked from amazingfate/loongoffice
java: remove various unused variables
Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
This commit is contained in:
@ -73,7 +73,6 @@ public class DeployedUnoPackagesDB {
|
||||
ArrayList<String> packageUrls = new ArrayList<String>(4);
|
||||
Element main = document.getDocumentElement();
|
||||
Element root = null;
|
||||
Element item;
|
||||
int len = 0;
|
||||
NodeList langNodes = null;
|
||||
|
||||
|
||||
@ -341,10 +341,8 @@ public class ScriptMetaData extends ScriptEntry implements Cloneable {
|
||||
}
|
||||
protected boolean writeSourceFile()
|
||||
{
|
||||
String parcelLocation = parent.getPathToParcel();
|
||||
String sourceFilePath = parent.getPathToParcel() + "/" + getLanguageName();
|
||||
boolean result = false;
|
||||
OutputStream os = null;
|
||||
try
|
||||
{
|
||||
XSimpleFileAccess2 xSFA2 = UnoRuntime.queryInterface( XSimpleFileAccess2.class,
|
||||
|
||||
@ -183,7 +183,6 @@ public class UnoPkgContainer extends ParcelContainer
|
||||
{
|
||||
ScriptMetaData scriptData = null;
|
||||
|
||||
String language = psu.language;
|
||||
String functionName = psu.function;
|
||||
String parcelName = psu.parcel;
|
||||
String location = psu.location;
|
||||
|
||||
@ -192,7 +192,6 @@ public class UCBStreamHandler extends URLStreamHandler {
|
||||
{
|
||||
ZipInputStream zis = null;
|
||||
ZipEntry entry = null;
|
||||
boolean found = false;
|
||||
|
||||
zis = new ZipInputStream(is);
|
||||
|
||||
|
||||
@ -184,8 +184,7 @@ public class XStorageHelper implements XEventListener
|
||||
if ( model != null )
|
||||
{
|
||||
LogUtils.DEBUG(" Disposing doc " + model.getURL() );
|
||||
Object result = modelMap.remove( model );
|
||||
result = null;
|
||||
modelMap.remove( model );
|
||||
}
|
||||
}
|
||||
public XStorage getStorage()
|
||||
|
||||
@ -549,7 +549,6 @@ public abstract class ScriptProvider
|
||||
public String[] getElementNames()
|
||||
{
|
||||
// TODO needs implementing?
|
||||
String[] result = new String[0];
|
||||
throw new com.sun.star.uno.RuntimeException(
|
||||
"getElementNames not implemented" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user