Skip to content
Snippets Groups Projects
Commit 37373c72 authored by Christian Wulf's avatar Christian Wulf
Browse files

added // NOPMD

parent 6c6dbb8e
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ public abstract class AbstractInterThreadPipe extends AbstractPipe { ...@@ -32,7 +32,7 @@ public abstract class AbstractInterThreadPipe extends AbstractPipe {
} }
@Override @Override
public void reportNewElement() { public void reportNewElement() { // NOPMD
// do nothing // do nothing
} }
} }
...@@ -17,7 +17,7 @@ public class CommittableResizableArrayQueue<T> implements CommittableQueue<T> { ...@@ -17,7 +17,7 @@ public class CommittableResizableArrayQueue<T> implements CommittableQueue<T> {
this.elements = this.arrayPool.acquire(initialCapacity + 1); this.elements = this.arrayPool.acquire(initialCapacity + 1);
this.elements[0] = (T) emptyObject; // optimization: avoids the use of an index out-of-bounds check this.elements[0] = (T) emptyObject; // optimization: avoids the use of an index out-of-bounds check
this.clear(); this.clear(); // NOPMD
} }
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment