summaryrefslogtreecommitdiffstats
path: root/application-model/src/main/scala/com/yahoo/vespa/applicationmodel/ApplicationInstanceReference.scala
diff options
context:
space:
mode:
Diffstat (limited to 'application-model/src/main/scala/com/yahoo/vespa/applicationmodel/ApplicationInstanceReference.scala')
-rw-r--r--application-model/src/main/scala/com/yahoo/vespa/applicationmodel/ApplicationInstanceReference.scala15
1 files changed, 0 insertions, 15 deletions
diff --git a/application-model/src/main/scala/com/yahoo/vespa/applicationmodel/ApplicationInstanceReference.scala b/application-model/src/main/scala/com/yahoo/vespa/applicationmodel/ApplicationInstanceReference.scala
deleted file mode 100644
index 35e00d31ba2..00000000000
--- a/application-model/src/main/scala/com/yahoo/vespa/applicationmodel/ApplicationInstanceReference.scala
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-package com.yahoo.vespa.applicationmodel
-
-import com.fasterxml.jackson.annotation.JsonValue
-
-/**
- * @author bakksjo
- */
- // TODO: Remove this and use ApplicationId instead (if you need it for the JSON stuff move it to that layer and don't let it leak)
-case class ApplicationInstanceReference(tenantId: TenantId, applicationInstanceId: ApplicationInstanceId) {
- // Jackson's StdKeySerializer uses toString() (and ignores annotations) for objects used as Map keys.
- // Therefore, we use toString() as the JSON-producing method, which is really sad.
- @JsonValue
- override def toString(): String = s"${tenantId.s}:${applicationInstanceId.s}"
-}