@@ -211,7 +211,7 @@ public byte[] getBytes(@NonNull final String key, final byte[] defaultValue) {
211
211
///////////////////////////////////////////////////////////////////////////
212
212
213
213
/**
214
- * Put string in cache.
214
+ * Put string value in cache.
215
215
*
216
216
* @param key The key of cache.
217
217
* @param value The value of cache.
@@ -221,7 +221,7 @@ public void put(@NonNull final String key, @NonNull final String value) {
221
221
}
222
222
223
223
/**
224
- * Put string in cache.
224
+ * Put string value in cache.
225
225
*
226
226
* @param key The key of cache.
227
227
* @param value The value of cache.
@@ -232,21 +232,21 @@ public void put(@NonNull final String key, @NonNull final String value, final in
232
232
}
233
233
234
234
/**
235
- * Return the string in cache.
235
+ * Return the string value in cache.
236
236
*
237
237
* @param key The key of cache.
238
- * @return the string if cache exists or null otherwise
238
+ * @return the string value if cache exists or null otherwise
239
239
*/
240
240
public String getString (@ NonNull final String key ) {
241
241
return getString (key , null );
242
242
}
243
243
244
244
/**
245
- * Return the string in cache.
245
+ * Return the string value in cache.
246
246
*
247
247
* @param key The key of cache.
248
248
* @param defaultValue The default value if the cache doesn't exist.
249
- * @return the string if cache exists or defaultValue otherwise
249
+ * @return the string value if cache exists or defaultValue otherwise
250
250
*/
251
251
public String getString (@ NonNull final String key , final String defaultValue ) {
252
252
byte [] bytes = getBytes (key );
0 commit comments