Permalink
Browse files

Fixed javadoc errors

  • Loading branch information...
michel-kraemer committed Dec 2, 2011
1 parent d71779e commit 7e80466f5642bc07cea5869e5278b6ff79f61799
@@ -272,7 +272,7 @@ public JsonToken nextToken() throws IOException, JsonParseException {
/**
* Can be called when a new embedded document is found. Reads the
- * document's header and creates a new {@link Context} in the stack.
+ * document's header and creates a new context on the stack.
* @param array true if the document is an embedded array
* @return the json token read
* @throws IOException if an I/O error occurs
@@ -30,7 +30,7 @@
private int _pos;
/**
- * @see FilteredInputStream#FilteredInputStream(InputStream)
+ * @see FilterInputStream#FilterInputStream(InputStream)
*/
public CountingInputStream(InputStream in) {
super(in);
@@ -143,7 +143,7 @@
/**
* Creates a dynamic buffer with BIG_ENDIAN byte order and
- * a default initial buffer size of {@value #DEFAULT_BUFFER_SIZE} bytes.
+ * a default initial buffer size of {@link #DEFAULT_BUFFER_SIZE} bytes.
*/
public DynamicOutputBuffer() {
this(DEFAULT_BYTE_ORDER);
@@ -160,7 +160,7 @@ public DynamicOutputBuffer(int initialSize) {
/**
* Creates a dynamic buffer with the given byte order and
- * a default initial buffer size of {@value #DEFAULT_BUFFER_SIZE} bytes.
+ * a default initial buffer size of {@link #DEFAULT_BUFFER_SIZE} bytes.
* @param order the byte order
*/
public DynamicOutputBuffer(ByteOrder order) {
@@ -414,7 +414,7 @@ public void putInt(int pos, int i) {
/**
* Puts a 64-bit integer into the buffer at the current write position
* and increases the write position accordingly.
- * @param b the byte to put
+ * @param l the 64-bit integer to put
*/
public void putLong(long l) {
putLong(_position, l);
@@ -425,7 +425,7 @@ public void putLong(long l) {
* Puts a 64-bit integer into the buffer at the given position. Does
* not increase the write position.
* @param pos the position where to put the integer
- * @param i the integer to put
+ * @param l the 64-bit integer to put
*/
public void putLong(int pos, long l) {
adaptSize(pos + 8);
@@ -85,7 +85,7 @@ public static StaticBuffers getInstance() {
* this method multiple times with the same key will always return the
* same buffer, as long as it has the minimum size and is marked to be
* re-used. Buffers that are allowed to be re-used should be released using
- * {@link #releaseCharBuffer(int, CharBuffer)}.
+ * {@link #releaseCharBuffer(Key, CharBuffer)}.
* @param key the buffer's identifier
* @param minSize the minimum size
* @return the {@link CharBuffer} instance

0 comments on commit 7e80466

Please sign in to comment.