File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -201,8 +201,8 @@ public String getString(final Object key) {
201
201
* Gets the value of the given key as a Boolean.
202
202
*
203
203
* @param key the key
204
- * @return the value as a double , which may be null
205
- * @throws java.lang.ClassCastException if the value is not an double
204
+ * @return the value as a Boolean , which may be null
205
+ * @throws java.lang.ClassCastException if the value is not an boolean
206
206
*/
207
207
public Boolean getBoolean (final Object key ) {
208
208
return (Boolean ) get (key );
@@ -213,8 +213,8 @@ public Boolean getBoolean(final Object key) {
213
213
*
214
214
* @param key the key
215
215
* @param defaultValue what to return if the value is null
216
- * @return the value as a double, which may be null
217
- * @throws java.lang.ClassCastException if the value is not an double
216
+ * @return the value as a primitive boolean
217
+ * @throws java.lang.ClassCastException if the value is not a boolean
218
218
*/
219
219
public boolean getBoolean (final Object key , final boolean defaultValue ) {
220
220
Object value = get (key );
You can’t perform that action at this time.
0 commit comments