diff options
Diffstat (limited to 'jdisc_core/src/main/java/com/yahoo/jdisc/core/BsnVersion.java')
-rw-r--r-- | jdisc_core/src/main/java/com/yahoo/jdisc/core/BsnVersion.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/core/BsnVersion.java b/jdisc_core/src/main/java/com/yahoo/jdisc/core/BsnVersion.java deleted file mode 100644 index ee9ecc9fc3e..00000000000 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/core/BsnVersion.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.yahoo.jdisc.core; - -import org.osgi.framework.Bundle; -import org.osgi.framework.Version; - -/** - * A bundle's symbolic name and version. - * - * @author gjoranv - */ -public record BsnVersion(String symbolicName, Version version) { - - public BsnVersion(Bundle bundle) { - this(bundle.getSymbolicName(), bundle.getVersion()); - } - - public String toReadableString() { - return symbolicName + " version:" + version; - } - -} |