diff options
author | Arne H Juul <arnej27959@users.noreply.github.com> | 2022-01-20 16:11:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 16:11:51 +0100 |
commit | 3096e5fcd8a3d2c1c507f445de75bf98b8228223 (patch) | |
tree | 5429f97f6609b5a3e224c5194b2fbead00598a04 /vespalog/src/test/java/com/yahoo/log/VespaLogHandlerTestCase.java | |
parent | f9ad84744b3aacbcc7c035a190d9099b2cf966c8 (diff) | |
parent | a0cbb172c62ce83058f8741f3947092a0faf1c3d (diff) |
Merge pull request #20883 from vespa-engine/arnej/deprecate-vespalog-internals
Arnej/deprecate vespalog internals
Diffstat (limited to 'vespalog/src/test/java/com/yahoo/log/VespaLogHandlerTestCase.java')
-rw-r--r-- | vespalog/src/test/java/com/yahoo/log/VespaLogHandlerTestCase.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vespalog/src/test/java/com/yahoo/log/VespaLogHandlerTestCase.java b/vespalog/src/test/java/com/yahoo/log/VespaLogHandlerTestCase.java index 9b2af866f65..77d7fa66bb6 100644 --- a/vespalog/src/test/java/com/yahoo/log/VespaLogHandlerTestCase.java +++ b/vespalog/src/test/java/com/yahoo/log/VespaLogHandlerTestCase.java @@ -1,6 +1,8 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.log; +import com.yahoo.log.impl.LogUtils; + import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -30,6 +32,7 @@ import static org.junit.Assert.fail; /** * @author Bjorn Borud */ +@SuppressWarnings("removal") public class VespaLogHandlerTestCase { private final static String hostname; private final static String pid; @@ -47,8 +50,8 @@ public class VespaLogHandlerTestCase { private static final String record4String; static { - hostname = Util.getHostName(); - pid = Util.getPID(); + hostname = LogUtils.getHostName(); + pid = LogUtils.getPID(); record1 = new LogRecord(Level.INFO, "This is a test"); record1.setInstant(ofEpochSecond(1100011348L, 29_123_543)); |