diff options
author | Martin Polden <mpolden@mpolden.no> | 2018-06-14 10:51:49 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2018-06-14 10:51:49 +0200 |
commit | 3d55bdc984ad5c9bf030c319977e4700a003fe21 (patch) | |
tree | dd70f1e949ad1987fe12a197d00ec95a76d3a444 /controller-api | |
parent | 6aeac10206bba40f9f9cb1b313d392e8d2457760 (diff) |
Remove unused common package
Diffstat (limited to 'controller-api')
3 files changed, 0 insertions, 41 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/common/ContextAttributes.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/common/ContextAttributes.java deleted file mode 100644 index 1cdff0f920b..00000000000 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/common/ContextAttributes.java +++ /dev/null @@ -1,13 +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.vespa.hosted.controller.common; - -/** - * Constants for request context attributes used in our APIs. - * - * @author mpolden - */ -public interface ContextAttributes { - - String SECURITY_CONTEXT_ATTRIBUTE = "vespa.hosted.security_context"; - -} diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/common/NotFoundCheckedException.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/common/NotFoundCheckedException.java deleted file mode 100644 index a55a7e2bdfc..00000000000 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/common/NotFoundCheckedException.java +++ /dev/null @@ -1,23 +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.vespa.hosted.controller.common; - -/** - * We have tons of places where we throw exceptions when - * some hosted resource is not found. This is usually - * done with IllegalArgumentExceptions, java.ws.rs exceptions or - * the servermodel runtime exceptions in the controller-server module. - * - * This is a checked alternative to do the same thing. - * - * @author smorgrav - */ -public class NotFoundCheckedException extends Exception { - - public NotFoundCheckedException() { - super(); - } - - public NotFoundCheckedException(String msg) { - super(msg); - } -} diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/common/package-info.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/common/package-info.java deleted file mode 100644 index 95decd86e8b..00000000000 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/common/package-info.java +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -@ExportPackage -package com.yahoo.vespa.hosted.controller.common; - -import com.yahoo.osgi.annotation.ExportPackage; |