# | Line 1174 | Line 1174 | public class LinkedTransferQueue<E> exte | |
---|---|---|
1174 | * the given predecessor. | |
1175 | * | |
1176 | * @param pred a node that was at one time known to be the | |
1177 | < | * predecessor of s, or null or s itself if s is/was at head |
1177 | > | * predecessor of s |
1178 | * @param s the node to be unspliced | |
1179 | */ | |
1180 | final void unsplice(Node pred, Node s) { | |
1181 | + | // assert pred != null; |
1182 | + | // assert s != null; |
1183 | + | // assert s.isMatched(); |
1184 | s.waiter = null; // disable signals | |
1185 | /* | |
1186 | * See above for rationale. Briefly: if pred still points to |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |