Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 686cf75d authored by Cary Clark's avatar Cary Clark
Browse files

replace 'new String()' with ""

bug reported by findbugs
http://b/issue?id=1856909
parent 7d891333
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -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();