summaryrefslogtreecommitdiffstats
path: root/logserver
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2017-04-19 13:00:52 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2017-04-19 13:00:52 +0200
commit43ccb0583cf52cfdc75df493bda4b60dd5263eed (patch)
tree05c9c77f55fd60be96bcb673e2c0fd7c25aeaa76 /logserver
parent16b11bcc414e23d1f901a98d712212f1c7c9d2df (diff)
Always pass wanted Vespa version
Diffstat (limited to 'logserver')
-rw-r--r--logserver/src/main/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolder.java1
-rw-r--r--logserver/src/test/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolderTestCase.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/logserver/src/main/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolder.java b/logserver/src/main/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolder.java
index 132c0074cb7..54d6e005a90 100644
--- a/logserver/src/main/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolder.java
+++ b/logserver/src/main/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolder.java
@@ -25,6 +25,7 @@ import java.util.logging.Logger;
* @author hmusum
*/
public class LastErrorsHolder extends AbstractLogHandler implements ConnectionFactory {
+
private static final Logger log = Logger.getLogger(LastErrorsHolder.class.getName());
private static final int maxNumErrors = 100;
private final Object lock = new Object();
diff --git a/logserver/src/test/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolderTestCase.java b/logserver/src/test/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolderTestCase.java
index 967441ce250..a0e97c28f76 100644
--- a/logserver/src/test/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolderTestCase.java
+++ b/logserver/src/test/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolderTestCase.java
@@ -23,6 +23,7 @@ import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
public class LastErrorsHolderTestCase {
+
private static final int serverPort = 18324;
private static final int lastErrorsHolderPort = 18326;
Server server;