From 0e46049654aca3b26940945912791a4c075b6c11 Mon Sep 17 00:00:00 2001 From: Richard Newman Date: Sat, 22 Feb 2014 19:52:56 -0800 Subject: [PATCH] Bug 975774 - Part 10: clean up imports in BrowserHealthRecorder. r=trivial --- .../base/health/BrowserHealthRecorder.java | 52 ++++++++----------- 1 file changed, 23 insertions(+), 29 deletions(-) diff --git a/mobile/android/base/health/BrowserHealthRecorder.java b/mobile/android/base/health/BrowserHealthRecorder.java index bb85262aeae8..9e3ecf997eec 100644 --- a/mobile/android/base/health/BrowserHealthRecorder.java +++ b/mobile/android/base/health/BrowserHealthRecorder.java @@ -5,40 +5,12 @@ package org.mozilla.gecko.health; -import java.util.ArrayList; - -import android.content.Context; -import android.content.ContentProviderClient; -import android.content.SharedPreferences; -import android.util.Log; - -import org.mozilla.gecko.AppConstants; -import org.mozilla.gecko.Distribution; -import org.mozilla.gecko.Distribution.DistributionDescriptor; -import org.mozilla.gecko.GeckoApp; -import org.mozilla.gecko.GeckoAppShell; -import org.mozilla.gecko.GeckoEvent; - -import org.mozilla.gecko.background.healthreport.EnvironmentBuilder; -import org.mozilla.gecko.background.healthreport.HealthReportDatabaseStorage; -import org.mozilla.gecko.background.healthreport.HealthReportStorage.Field; -import org.mozilla.gecko.background.healthreport.HealthReportStorage.MeasurementFields; -import org.mozilla.gecko.background.healthreport.HealthReportStorage.MeasurementFields.FieldSpec; -import org.mozilla.gecko.background.healthreport.ProfileInformationCache; - -import org.mozilla.gecko.EventDispatcher; -import org.mozilla.gecko.util.GeckoEventListener; -import org.mozilla.gecko.util.ThreadUtils; - -import org.json.JSONException; -import org.json.JSONObject; - import java.io.File; import java.io.FileOutputStream; import java.io.OutputStreamWriter; import java.nio.charset.Charset; -import java.util.Arrays; import java.util.ArrayList; +import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.Iterator; @@ -46,6 +18,28 @@ import java.util.Scanner; import java.util.Set; import java.util.concurrent.atomic.AtomicBoolean; +import org.json.JSONException; +import org.json.JSONObject; +import org.mozilla.gecko.AppConstants; +import org.mozilla.gecko.Distribution; +import org.mozilla.gecko.Distribution.DistributionDescriptor; +import org.mozilla.gecko.EventDispatcher; +import org.mozilla.gecko.GeckoApp; +import org.mozilla.gecko.GeckoAppShell; +import org.mozilla.gecko.GeckoEvent; +import org.mozilla.gecko.background.healthreport.EnvironmentBuilder; +import org.mozilla.gecko.background.healthreport.HealthReportDatabaseStorage; +import org.mozilla.gecko.background.healthreport.HealthReportStorage.Field; +import org.mozilla.gecko.background.healthreport.HealthReportStorage.MeasurementFields; +import org.mozilla.gecko.background.healthreport.ProfileInformationCache; +import org.mozilla.gecko.util.GeckoEventListener; +import org.mozilla.gecko.util.ThreadUtils; + +import android.content.ContentProviderClient; +import android.content.Context; +import android.content.SharedPreferences; +import android.util.Log; + /** * BrowserHealthRecorder is the browser's interface to the Firefox Health * Report storage system. It manages environments (a collection of attributes