Tweaked code to get rid of warning.

This commit is contained in:
PhotonQyv 2017-11-29 10:55:41 +00:00
parent a0542a39fb
commit 0c6f7f9a1b
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class RetrieveMetaDataAsyncTask extends AsyncTask<Void, Void, Void> {
@Override
protected Void doInBackground(Void... params) {
String userAgent = "Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1667.0 Safari/537.36";
String potentialUrl = new String();
String potentialUrl = "";
try {
Matcher matcher;
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.KITKAT)