Browse Source

remove unnecessary comment

master
David 2 years ago
parent
commit
6de7a6ad35
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/ChainQueue.java

+ 1
- 1
src/ChainQueue.java View File

@@ -46,7 +46,7 @@ public class ChainQueue<E> implements Queue<E> {
}

@Override
public boolean add(E input) { // Übergeben der "Data"
public boolean add(E input) {
if (getFirst() == null) { // is the first empty?
setFirst(new Node(input)); // yes? -> insert the node here
return true;


Loading…
Cancel
Save