diff -r 37fe99dfd9e9 -r f5a6e2ed8c7d jdk/src/share/classes/javax/swing/ButtonGroup.java
--- a/jdk/src/share/classes/javax/swing/ButtonGroup.java Wed Jun 18 17:31:01 2014 +0400
+++ b/jdk/src/share/classes/javax/swing/ButtonGroup.java Wed Jun 18 17:34:05 2014 +0400
@@ -167,9 +167,11 @@
}
/**
- * Returns whether a ButtonModel
is selected.
- * @return true
if the button is selected,
- * otherwise returns false
+ * Returns whether a {@code ButtonModel} is selected.
+ *
+ * @param m an isntance of {@code ButtonModel}
+ * @return {@code true} if the button is selected,
+ * otherwise returns {@code false}
*/
public boolean isSelected(ButtonModel m) {
return (m == selection);