Java cleanup, access static methods using correct syntax
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
This commit is contained in:
@@ -48,7 +48,7 @@ public class UCBStreamHandler extends URLStreamHandler {
|
||||
{
|
||||
LogUtils.DEBUG( "UCBStreamHandler ctor, scheme = " + scheme );
|
||||
this.m_xContext = ctxt;
|
||||
this.m_ucbscheme = scheme;
|
||||
UCBStreamHandler.m_ucbscheme = scheme;
|
||||
this.m_xSimpleFileAccess = xSFA;
|
||||
}
|
||||
|
||||
|
@@ -278,7 +278,7 @@ class ScriptImpl implements XScript
|
||||
|
||||
result = ctxt.evaluateString(scope,
|
||||
source, "<stdin>", 1, null);
|
||||
result = ctxt.toString(result);
|
||||
result = Context.toString(result);
|
||||
return result;
|
||||
}
|
||||
catch (JavaScriptException jse) {
|
||||
|
@@ -28,14 +28,14 @@ public class ExceptParcelFilter implements FileFilter {
|
||||
|
||||
public void setParcelToRemove(String parcelName)
|
||||
{
|
||||
this.parcelName = parcelName;
|
||||
ExceptParcelFilter.parcelName = parcelName;
|
||||
}
|
||||
|
||||
public static ExceptParcelFilter getInstance() {
|
||||
return filter;
|
||||
}
|
||||
public boolean validate(String name) {
|
||||
if (name.startsWith(this.parcelName))
|
||||
if (name.startsWith(ExceptParcelFilter.parcelName))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
@@ -43,7 +43,7 @@ public class ExceptParcelFilter implements FileFilter {
|
||||
public String toString() {
|
||||
StringBuffer buf = new StringBuffer(DESCRIPTION + ": ");
|
||||
|
||||
buf.append("<" + this.parcelName + ">");
|
||||
buf.append("<" + ExceptParcelFilter.parcelName + ">");
|
||||
|
||||
return buf.toString();
|
||||
}
|
||||
|
Reference in New Issue
Block a user