@@ -95,7 +95,7 @@ public long skip(final long length) throws IOException {
9595 * @deprecated use <code>getByteCount()</code> - see issue IO-84
9696 */
9797 public int getCount () {
98- return (int )getByteCount ();
98+ return (int ) getByteCount ();
9999 }
100100
101101 /**
@@ -109,17 +109,16 @@ public int getCount() {
109109 * @deprecated use <code>resetByteCount()</code> - see issue IO-84
110110 */
111111 public synchronized int resetCount () {
112- return (int )resetByteCount ();
112+ return (int ) resetByteCount ();
113113 }
114114
115115 /**
116116 * The number of bytes that have passed through this stream.
117117 * <p>
118- * <strong>N.B.</strong> This method was introduced as an
119- * alternative for the <code>getCount()</code> method
120- * because that method returns an integer which will result
121- * in incorrect count for files over 2GB being returned.
122- *
118+ * NOTE: This method is a replacement for <code>getCount()</code>
119+ * and was added because that method returns an integer which will
120+ * result in incorrect count for files over 2GB.
121+ *
123122 * @return the number of bytes accumulated
124123 */
125124 public long getByteCount () {
@@ -129,10 +128,9 @@ public long getByteCount() {
129128 /**
130129 * Set the count back to 0.
131130 * <p>
132- * <strong>N.B.</strong> This method was introduced as an
133- * alternative for the <code>resetCount()</code> method
134- * because that method returns an integer which will result
135- * in incorrect count for files over 2GB being returned.
131+ * NOTE: This method is a replacement for <code>resetCount()</code>
132+ * and was added because that method returns an integer which will
133+ * result in incorrect count for files over 2GB.
136134 *
137135 * @return the count previous to resetting.
138136 */
0 commit comments