Skip to content

Commit 606d094

Browse files
committed
Update qldoc
1 parent b54e5b1 commit 606d094

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

java/ql/src/semmle/code/java/frameworks/android/SharedPreferences.qll

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/** Provides classes related to `android.content.SharedPreferences`. */
2+
13
import java
24

35
/** The interface `android.content.SharedPreferences`. */
@@ -20,7 +22,7 @@ class CreateEncryptedSharedPreferencesMethod extends Method {
2022
}
2123
}
2224

23-
/** Returns `android.content.SharedPreferences.Editor` from the `edit` call of `android.content.SharedPreferences`. */
25+
/** The method `android.content.SharedPreferences::edit`, which returns an `android.content.SharedPreferences.Editor`. */
2426
class GetSharedPreferencesEditorMethod extends Method {
2527
GetSharedPreferencesEditorMethod() {
2628
this.getDeclaringType() instanceof SharedPreferences and
@@ -34,7 +36,11 @@ class SharedPreferencesEditor extends Interface {
3436
SharedPreferencesEditor() { this.hasQualifiedName("android.content", "SharedPreferences$Editor") }
3537
}
3638

37-
/** A method that updates a key-value pair in a `android.content.SharedPreferences` through a `SharedPreferences.Editor`. The value is not written until a `StorePreferenceMethod` is called. */
39+
/**
40+
* A method that updates a key-value pair in a
41+
* `android.content.SharedPreferences` through a `SharedPreferences.Editor`. The
42+
* value is not written until a `StorePreferenceMethod` is called.
43+
*/
3844
class PutSharedPreferenceMethod extends Method {
3945
PutSharedPreferenceMethod() {
4046
this.getDeclaringType() instanceof SharedPreferencesEditor and

0 commit comments

Comments
 (0)