Commit 01837eee authored by Michael Droettboom's avatar Michael Droettboom
Browse files

[ci skip] Update comments to reflect #2230

parent bb2a9933
......@@ -11,8 +11,7 @@ import mozilla.components.support.base.log.logger.Logger
/**
* This singleton handles the in-memory storage logic for booleans. It is meant to be used by
* the Specific Booleans API and the ping assembling objects. No validation on the stored data
* is performed at this point: validation must be performed by the Specific Booleans API.
* the Specific Booleans API and the ping assembling objects.
*
* This class contains a reference to the Android application Context. While the IDE warns
* us that this could leak, the application context lives as long as the application and this
......
......@@ -13,8 +13,7 @@ import mozilla.components.support.base.log.logger.Logger
/**
* This singleton handles the in-memory storage logic for counters. It is meant to be used by
* the Specific Counters API and the ping assembling objects. No validation on the stored data
* is performed at this point: validation must be performed by the Specific Counters API.
* the Specific Counters API and the ping assembling objects.
*
* This class contains a reference to the Android application Context. While the IDE warns
* us that this could leak, the application context lives as long as the application and this
......
......@@ -17,7 +17,7 @@ import java.util.Date
/**
* This singleton handles the in-memory storage logic for datetimes. It is meant to be used by
* the Specific Datetime API and the ping assembling objects.
*
* This stores dates both in-memory and on-disk as Strings, not Date objects. We do
* this because we need to preserve the timezone offset value at the time the value
* was set. The [Date]/[Calendar] API in pre-Java 8 unfortunately does not allow
......
......@@ -20,8 +20,7 @@ import org.json.JSONObject
/**
* This singleton handles the in-memory storage logic for events. It is meant to be used by
* the Specific Events API and the ping assembling objects. No validation on the stored data
* is performed at this point: validation must be performed by the Specific Events API.
* the Specific Events API and the ping assembling objects.
*
* This class contains a reference to the Android application Context. While the IDE warns
* us that this could leak, the application context lives as long as the application and this
......
......@@ -15,8 +15,7 @@ import org.json.JSONObject
/**
* This singleton handles the in-memory storage logic for keeping track of
* the active experiments. It is meant to be used by through the methods in
* the Glean class (General API). No validation on the stored data is
* performed at this point: validation must be performed by the General API.
* the Glean class (General API).
*/
@SuppressLint("StaticFieldLeak")
internal object ExperimentsStorageEngine : StorageEngine {
......
......@@ -15,8 +15,7 @@ import org.json.JSONArray
/**
* This singleton handles the in-memory storage logic for string lists. It is meant to be used by
* the Specific String List API and the ping assembling objects. No validation on the stored data
* is performed at this point: validation must be performed by the Specific String List API.
* the Specific String List API and the ping assembling objects.
*
* This class contains a reference to the Android application Context. While the IDE warns
* us that this could leak, the application context lives as long as the application and this
......
......@@ -13,8 +13,7 @@ import mozilla.components.support.base.log.logger.Logger
/**
* This singleton handles the in-memory storage logic for strings. It is meant to be used by
* the Specific Strings API and the ping assembling objects. No validation on the stored data
* is performed at this point: validation must be performed by the Specific Strings API.
* the Specific Strings API and the ping assembling objects.
*
* This class contains a reference to the Android application Context. While the IDE warns
* us that this could leak, the application context lives as long as the application and this
......
......@@ -20,8 +20,7 @@ import java.util.concurrent.TimeUnit as AndroidTimeUnit
/**
* This singleton handles the in-memory storage logic for timespans. It is meant to be used by
* the Specific Timespan API and the ping assembling objects. No validation on the stored data
* is performed at this point: validation must be performed by the Specific Timespan API.
* the Specific Timespan API and the ping assembling objects.
*
* This class contains a reference to the Android application Context. While the IDE warns
* us that this could leak, the application context lives as long as the application and this
......
......@@ -12,8 +12,7 @@ import java.util.UUID
/**
* This singleton handles the in-memory storage logic for uuids. It is meant to be used by
* the Specific UUID API and the ping assembling objects. No validation on the stored data
* is performed at this point: validation must be performed by the Specific Uuids API.
* the Specific UUID API and the ping assembling objects.
*
* This class contains a reference to the Android application Context. While the IDE warns
* us that this could leak, the application context lives as long as the application and this
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment