This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import static java.lang.Integer.parseInt; | |
import static java.util.Collections.reverse; | |
import static java.util.Collections.rotate; | |
import static java.util.Collections.swap; | |
import static org.jooq.lambda.Seq.seq; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.util.ArrayList; | |
import java.util.stream.Stream; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AdventOfCode7 | |
{ | |
static class Command | |
{ | |
enum CommandType | |
{ | |
and, | |
or, | |
rshift, | |
lshift, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/com/rabbitmq/client/impl/WorkPool.java b/src/com/rabbitmq/client/impl/WorkPool.java | |
index 1c8adc3..0377f52 100644 | |
--- a/src/com/rabbitmq/client/impl/WorkPool.java | |
+++ b/src/com/rabbitmq/client/impl/WorkPool.java | |
@@ -123,6 +123,7 @@ public class WorkPool<K, W> { | |
this.pool.remove(key); | |
this.ready.remove(key); | |
this.inProgress.remove(key); | |
+ this.unlimited.remove(key); | |
} |