java: remove various unused variables

Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
This commit is contained in:
Noel Grandin
2014-08-04 16:12:55 +02:00
parent 36a74fe54a
commit f124688cfd
57 changed files with 28 additions and 127 deletions

View File

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

View File

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

View File

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

View File

@ -192,7 +192,6 @@ public class UCBStreamHandler extends URLStreamHandler {
{
ZipInputStream zis = null;
ZipEntry entry = null;
boolean found = false;
zis = new ZipInputStream(is);

View File

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

View File

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