diff options
Diffstat (limited to 'component/src/main/java/com/yahoo/container/util/Util.java')
-rw-r--r-- | component/src/main/java/com/yahoo/container/util/Util.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/component/src/main/java/com/yahoo/container/util/Util.java b/component/src/main/java/com/yahoo/container/util/Util.java deleted file mode 100644 index 605ae75643b..00000000000 --- a/component/src/main/java/com/yahoo/container/util/Util.java +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.container.util; - -/** - * TODO: What is this? - * - * @author Tony Vaagenes - */ -// TODO: Move to a a more appropriate package in vespajlib -// TODO: Fix name -public class Util { - - // TODO: What is this? - @SafeVarargs - public static <T> T firstNonNull(T... args) { - for (T arg : args) { - if (arg != null) - return arg; - } - return null; - } - - // TODO: What is this? - public static String quote(Object object) { - return "'" + object + "'"; - } -} |