From 42e5ecfb382c9f4e71cd38883283cd4c2fc185c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Avic=20Simmons?= Date: Mon, 29 Jun 2026 11:10:10 -0400 Subject: [PATCH] docs: fix SharedPreferences typos in KDoc comments --- .../java/com/glassdoor/preferencex/annotations/Preference.kt | 2 +- .../com/glassdoor/preferencex/annotations/PreferenceFile.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/annotations/src/main/java/com/glassdoor/preferencex/annotations/Preference.kt b/annotations/src/main/java/com/glassdoor/preferencex/annotations/Preference.kt index 8f3d48a..abc263e 100644 --- a/annotations/src/main/java/com/glassdoor/preferencex/annotations/Preference.kt +++ b/annotations/src/main/java/com/glassdoor/preferencex/annotations/Preference.kt @@ -29,7 +29,7 @@ package com.glassdoor.preferencex.annotations annotation class Preference( /** * The default integer value that will be used - * when getting the value from the SharedPReferences. + * when getting the value from the SharedPreferences. * If no value is specified, it will default to `0` */ val defaultInt: Int = 0, diff --git a/annotations/src/main/java/com/glassdoor/preferencex/annotations/PreferenceFile.kt b/annotations/src/main/java/com/glassdoor/preferencex/annotations/PreferenceFile.kt index 6dd4c9c..6813afc 100644 --- a/annotations/src/main/java/com/glassdoor/preferencex/annotations/PreferenceFile.kt +++ b/annotations/src/main/java/com/glassdoor/preferencex/annotations/PreferenceFile.kt @@ -22,7 +22,7 @@ package com.glassdoor.preferencex.annotations * `SharedPreferences` which is passed around through Dependency * Injection. In these cases, it's more valuable to generate * extensions on the wrapper than `SharedPreferences` itself. - * You can do that by simply annotating your SharedPreference + * You can do that by simply annotating your SharedPreferences * instance with @PreferenceFile. For example: * ``` * class CustomWrapper(application: Application) { @@ -49,7 +49,7 @@ annotation class PreferenceFile( * of SharedPreferences (presumably for multiple files of * SharedPreferences), you should specify the `fileName` * so that PreferenceX can generate the appropriate - * extensions on the appropriate SharedPreference instance. + * extensions on the appropriate SharedPreferences instance. * For example: * ``` * @PreferenceFile(fileName = "startup")