diff --git a/pom_parent.xml b/pom_parent.xml index 8ea0d8a..6631ab0 100644 --- a/pom_parent.xml +++ b/pom_parent.xml @@ -1,265 +1,272 @@ + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - 4.0.0 - com.apicatalog - iridium - 0.2.0 - pom + 4.0.0 + com.apicatalog + iridium + 0.2.0 + pom - Iridium CBOR-LD (JRE17) + Iridium CBOR-LD (JRE17) - + A CBOR-based serialization for Linked Data - - - Apache License, Version 2.0 - http://apache.org/licenses/LICENSE-2.0 - - + + + Apache License, Version 2.0 + http://apache.org/licenses/LICENSE-2.0 + + - - github - https://github.com/filip26/iridium-cbor-ld/issues - + + github + https://github.com/filip26/iridium-cbor-ld/issues + - - - filip26 - Filip Kolarik - filip26@gmail.com - - author - - - + + + filip26 + Filip Kolarik + filip26@gmail.com + + author + + + - 2022 + 2022 - - UTF-8 - UTF-8 + + UTF-8 + UTF-8 - 2.0.1 - 1.4.1 - 0.6.0 + 2.0.1 + 1.4.1 + 0.6.0 - 1.0.0 - 0.5.0 + 1.0.0 + 0.5.0 - 0.9 + 0.9 - -Dfile.encoding=UTF-8 + -Dfile.encoding=UTF-8 - - 5.10.3 - 2.0.1 - - - - jakarta.json - jakarta.json-api - ${jakarta.json.version} - provided - + + 5.10.3 + 2.0.1 + + + + jakarta.json + jakarta.json-api + ${jakarta.json.version} + provided + - - co.nstant.in - cbor - ${cbor-java.version} - + + co.nstant.in + cbor + ${cbor-java.version} + - - com.apicatalog - copper-multibase - ${copper-multibase} - + + com.apicatalog + copper-multibase + ${copper-multibase} + - - com.apicatalog - carbon-did - ${carbon.version} - + + com.apicatalog + carbon-did + ${carbon.version} + - - - org.junit.jupiter - junit-jupiter - ${junit.version} - test - + + + org.junit.jupiter + junit-jupiter + ${junit.version} + test + - - org.glassfish - jakarta.json - ${jakarta.json.version} - test - + + org.glassfish + jakarta.json + ${jakarta.json.version} + test + - + - - - - maven-jar-plugin - 3.4.2 - - - org.codehaus.mojo - build-helper-maven-plugin - 3.6.0 - - - generate-sources - - add-source - - - - ${envSources} - - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.3.1 - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.8.0 - - - attach-javadocs - - jar - - - - - - org.jacoco - jacoco-maven-plugin - 0.8.12 - - - default-prepare-agent - - prepare-agent - - - - report - test - - report - - - - - - org.codehaus.mojo - flatten-maven-plugin - 1.6.0 - - oss - - - - - flatten - process-resources - - flatten - - - - - flatten.clean - clean - - clean - - - - - - maven-surefire-plugin - 3.3.1 - - - maven-failsafe-plugin - 3.3.1 - - - - - - maven-central - - false - - - - - org.apache.maven.plugins - maven-gpg-plugin - 3.2.4 - - - sign-artifacts - verify - - sign - - - - --pinentry-mode - loopback - - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.7.0 - true - - ossrh - https://oss.sonatype.org/ - true - - - - - - - ossrh - Central Repository OSSRH - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - - - + + + + maven-jar-plugin + 3.4.2 + + + org.codehaus.mojo + build-helper-maven-plugin + 3.6.0 + + + generate-sources + + add-source + + + + ${envSources} + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.3.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.8.0 + + + attach-javadocs + + jar + + + + + false + + -Xdoclint:none + + + + + + org.jacoco + jacoco-maven-plugin + 0.8.12 + + + default-prepare-agent + + prepare-agent + + + + report + test + + report + + + + + + org.codehaus.mojo + flatten-maven-plugin + 1.6.0 + + oss + + + + + flatten + process-resources + + flatten + + + + + flatten.clean + clean + + clean + + + + + + maven-surefire-plugin + 3.3.1 + + + maven-failsafe-plugin + 3.3.1 + + + + + + maven-central + + false + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.2.4 + + + sign-artifacts + verify + + sign + + + + --pinentry-mode + loopback + + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.7.0 + true + + ossrh + https://oss.sonatype.org/ + true + + + + + + + ossrh + Central Repository OSSRH + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + + diff --git a/src/main/java/com/apicatalog/cborld/dictionary/Dictionary.java b/src/main/java/com/apicatalog/cborld/dictionary/Dictionary.java index a6a34e8..48b28b9 100644 --- a/src/main/java/com/apicatalog/cborld/dictionary/Dictionary.java +++ b/src/main/java/com/apicatalog/cborld/dictionary/Dictionary.java @@ -2,16 +2,10 @@ import java.util.Map; -/** - * - * - * - */ public interface Dictionary extends Iterable> { Integer getCode(String value); String getValue(Integer code); - }