--- old/src/java.management/share/classes/sun/management/Sensor.java 2015-05-15 20:25:33.718444018 +0400 +++ new/src/java.management/share/classes/sun/management/Sensor.java 2015-05-15 20:25:33.562444018 +0400 @@ -34,12 +34,12 @@ * An abstract sensor. * *

- * A AbstractSensor object consists of two attributes: + * A {@code AbstractSensor} object consists of two attributes: *

* @@ -54,7 +54,7 @@ private boolean on; /** - * Constructs a Sensor object. + * Constructs a {@code Sensor} object. * * @param name The name of this sensor. */ @@ -88,8 +88,8 @@ /** * Tests if this sensor is currently on. * - * @return true if the sensor is currently on; - * false otherwise. + * @return {@code true} if the sensor is currently on; + * {@code false} otherwise. * */ public boolean isOn() { @@ -112,7 +112,7 @@ /** * Triggers this sensor. This method sets this sensor on - * and increments the count with the input increment. + * and increments the count with the input {@code increment}. */ public void trigger(int increment) { synchronized (lock) { @@ -126,7 +126,7 @@ /** * Triggers this sensor piggybacking a memory usage object. * This method sets this sensor on - * and increments the count with the input increment. + * and increments the count with the input {@code increment}. */ public void trigger(int increment, MemoryUsage usage) { synchronized (lock) { @@ -150,7 +150,7 @@ /** * Clears this sensor - * and increments the count with the input increment. + * and increments the count with the input {@code increment}. */ public void clear(int increment) { synchronized (lock) {