Fix Lint Issues #171: Remove unused imports (#2533)

* Fix Lint Issues #171: Remove unused imports

Removed unused Java imports

* Fix Lint Issues #171: Perfromance issue, close cursor

Cursor was not closed when no longer needed
This commit is contained in:
Ronan Brigdale 2019-03-02 15:00:50 +01:00 committed by Vivek Maskara
parent 1b86726364
commit de9a72d465
37 changed files with 1 additions and 81 deletions

View file

@ -5,7 +5,6 @@ import android.content.Context;
import javax.inject.Inject;
import javax.inject.Singleton;
import fr.free.nrw.commons.BuildConfig;
import fr.free.nrw.commons.auth.SessionManager;
import fr.free.nrw.commons.utils.ConfigUtils;
import fr.free.nrw.commons.utils.DeviceInfoUtil;

View file

@ -2,8 +2,6 @@ package fr.free.nrw.commons.logging;
import android.os.Environment;
import java.io.File;
import fr.free.nrw.commons.upload.FileUtils;
import fr.free.nrw.commons.utils.ConfigUtils;

View file

@ -10,7 +10,6 @@ import android.support.v4.content.FileProvider;
import org.acra.collector.CrashReportData;
import org.acra.sender.ReportSender;
import org.apache.commons.codec.Charsets;
import org.apache.http.protocol.HTTP;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
@ -23,7 +22,6 @@ import java.util.zip.ZipOutputStream;
import fr.free.nrw.commons.R;
import fr.free.nrw.commons.auth.SessionManager;
import fr.free.nrw.commons.utils.ConfigUtils;
import timber.log.Timber;
/**