--- a/jdk/src/share/classes/java/util/concurrent/atomic/AtomicInteger.java Mon Dec 05 12:24:17 2011 +0000
+++ b/jdk/src/share/classes/java/util/concurrent/atomic/AtomicInteger.java Mon Dec 05 13:58:44 2011 +0000
@@ -57,10 +57,10 @@
private static final long valueOffset;
static {
- try {
- valueOffset = unsafe.objectFieldOffset
- (AtomicInteger.class.getDeclaredField("value"));
- } catch (Exception ex) { throw new Error(ex); }
+ try {
+ valueOffset = unsafe.objectFieldOffset
+ (AtomicInteger.class.getDeclaredField("value"));
+ } catch (Exception ex) { throw new Error(ex); }
}
private volatile int value;
@@ -247,8 +247,7 @@
/**
- * Returns the value of this {@code AtomicInteger} as an
- * {@code int}.
+ * Returns the value of this {@code AtomicInteger} as an {@code int}.
*/
public int intValue() {
return get();