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) {
201201 * Gets the value of the given key as a Boolean.
202202 *
203203 * @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
206206 */
207207 public Boolean getBoolean (final Object key ) {
208208 return (Boolean ) get (key );
@@ -213,8 +213,8 @@ public Boolean getBoolean(final Object key) {
213213 *
214214 * @param key the key
215215 * @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
218218 */
219219 public boolean getBoolean (final Object key , final boolean defaultValue ) {
220220 Object value = get (key );
You can’t perform that action at this time.
0 commit comments