Merge change 20781

* changes:
  replace 'new String()' with ""
This commit is contained in:
Android (Google) Code Review
2009-08-11 13:14:16 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -685,7 +685,7 @@ class BrowserFrame extends Handler {
default:
Log.e(LOGTAG, "getRawResFilename got incompatible resource ID");
return new String();
return "";
}
TypedValue value = new TypedValue();
mContext.getResources().getValue(resid, value, true);

View File

@@ -429,7 +429,7 @@ public final class CacheManager {
if (checkCacheRedirect(cacheRet.httpStatusCode)) {
// location is in database, no need to keep the file
cacheRet.contentLength = 0;
cacheRet.localPath = new String();
cacheRet.localPath = "";
cacheRet.outFile.delete();
} else if (cacheRet.contentLength == 0) {
cacheRet.outFile.delete();