Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
android-components
Commits
01837eee
Commit
01837eee
authored
Mar 12, 2019
by
Michael Droettboom
Browse files
[ci skip] Update comments to reflect #2230
parent
bb2a9933
Changes
9
Hide whitespace changes
Inline
Side-by-side
components/service/glean/src/main/java/mozilla/components/service/glean/storages/BooleansStorageEngine.kt
View file @
01837eee
...
...
@@ -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
...
...
components/service/glean/src/main/java/mozilla/components/service/glean/storages/CountersStorageEngine.kt
View file @
01837eee
...
...
@@ -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
...
...
components/service/glean/src/main/java/mozilla/components/service/glean/storages/DatetimesStorageEngine.kt
View file @
01837eee
...
...
@@ -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
...
...
components/service/glean/src/main/java/mozilla/components/service/glean/storages/EventsStorageEngine.kt
View file @
01837eee
...
...
@@ -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
...
...
components/service/glean/src/main/java/mozilla/components/service/glean/storages/ExperimentsStorageEngine.kt
View file @
01837eee
...
...
@@ -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
{
...
...
components/service/glean/src/main/java/mozilla/components/service/glean/storages/StringListsStorageEngine.kt
View file @
01837eee
...
...
@@ -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
...
...
components/service/glean/src/main/java/mozilla/components/service/glean/storages/StringsStorageEngine.kt
View file @
01837eee
...
...
@@ -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
...
...
components/service/glean/src/main/java/mozilla/components/service/glean/storages/TimespansStorageEngine.kt
View file @
01837eee
...
...
@@ -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
...
...
components/service/glean/src/main/java/mozilla/components/service/glean/storages/UuidsStorageEngine.kt
View file @
01837eee
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment