diff options
Diffstat (limited to 'controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/maven/ArtifactId.java')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/maven/ArtifactId.java | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/maven/ArtifactId.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/maven/ArtifactId.java deleted file mode 100644 index 2436112a998..00000000000 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/maven/ArtifactId.java +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.vespa.hosted.controller.api.integration.maven; - -import static java.util.Objects.requireNonNull; - -/** - * Identifier for an artifact. - * - * @author jonmv - */ -public class ArtifactId { - - private final String groupId; - private final String artifactId; - - public ArtifactId(String groupId, String artifactId) { - this.groupId = requireNonNull(groupId); - this.artifactId = requireNonNull(artifactId); - } - - /** Group ID of this. */ - public String groupId() { return groupId; } - - /** Artifact ID of this. */ - public String artifactId() { return artifactId; } - - @Override - public String toString() { return groupId + "." + artifactId; } - -} |