Cleanup jetbrains annotations (#1090)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
This commit is contained in:
parent
21f2549ddb
commit
cca38587ce
|
@ -36,7 +36,7 @@ import org.hl7.fhir.utilities.json.parser.JsonParser;
|
||||||
import org.hl7.fhir.utilities.npm.NpmPackageIndexBuilder;
|
import org.hl7.fhir.utilities.npm.NpmPackageIndexBuilder;
|
||||||
|
|
||||||
import com.google.common.base.Charsets;
|
import com.google.common.base.Charsets;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
public class NpmPackageVersionConverter {
|
public class NpmPackageVersionConverter {
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ public class NpmPackageVersionConverter {
|
||||||
TextFile.bytesToFile(b, dest);
|
TextFile.bytesToFile(b, dest);
|
||||||
}
|
}
|
||||||
|
|
||||||
@NotNull
|
@Nonnull
|
||||||
protected Map<String, byte[]> loadContentMap(InputStream inputStream) throws IOException {
|
protected Map<String, byte[]> loadContentMap(InputStream inputStream) throws IOException {
|
||||||
GzipCompressorInputStream gzipIn;
|
GzipCompressorInputStream gzipIn;
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -14,7 +14,7 @@ import org.hl7.fhir.convertors.factory.VersionConvertorFactory_40_50;
|
||||||
import org.hl7.fhir.r5.test.utils.TestingUtilities;
|
import org.hl7.fhir.r5.test.utils.TestingUtilities;
|
||||||
import org.hl7.fhir.utilities.TextFile;
|
import org.hl7.fhir.utilities.TextFile;
|
||||||
import org.hl7.fhir.utilities.Utilities;
|
import org.hl7.fhir.utilities.Utilities;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import org.junit.jupiter.api.DisplayName;
|
import org.junit.jupiter.api.DisplayName;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ import org.hl7.fhir.utilities.json.model.JsonObject;
|
||||||
import org.hl7.fhir.utilities.json.model.JsonProperty;
|
import org.hl7.fhir.utilities.json.model.JsonProperty;
|
||||||
import org.hl7.fhir.utilities.json.parser.JsonParser;
|
import org.hl7.fhir.utilities.json.parser.JsonParser;
|
||||||
import org.hl7.fhir.utilities.npm.PackageGenerator.PackageType;
|
import org.hl7.fhir.utilities.npm.PackageGenerator.PackageType;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* info and loader for a package
|
* info and loader for a package
|
||||||
|
@ -378,7 +378,7 @@ public class NpmPackage {
|
||||||
|
|
||||||
private static final int BUFFER_SIZE = 1024;
|
private static final int BUFFER_SIZE = 1024;
|
||||||
|
|
||||||
public static @NotNull NpmPackage fromPackage(InputStream tgz) throws IOException {
|
public static @Nonnull NpmPackage fromPackage(InputStream tgz) throws IOException {
|
||||||
return fromPackage(tgz, null, false);
|
return fromPackage(tgz, null, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -576,7 +576,7 @@ public class NpmPackage {
|
||||||
/**
|
/**
|
||||||
* use the name from listResources()
|
* use the name from listResources()
|
||||||
*
|
*
|
||||||
* @param id
|
* @param file
|
||||||
* @return
|
* @return
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
|
@ -588,7 +588,7 @@ public class NpmPackage {
|
||||||
/**
|
/**
|
||||||
* get a stream that contains the contents of a resource in the base folder, by it's canonical URL
|
* get a stream that contains the contents of a resource in the base folder, by it's canonical URL
|
||||||
*
|
*
|
||||||
* @param url - the canonical URL of the resource (exact match only)
|
* @param canonical - the canonical URL of the resource (exact match only)
|
||||||
* @return null if it is not found
|
* @return null if it is not found
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
|
@ -600,7 +600,7 @@ public class NpmPackage {
|
||||||
* get a stream that contains the contents of a resource in the nominated folder, by it's canonical URL
|
* get a stream that contains the contents of a resource in the nominated folder, by it's canonical URL
|
||||||
*
|
*
|
||||||
* @param folder - one of the folders in the package (main folder is "package")
|
* @param folder - one of the folders in the package (main folder is "package")
|
||||||
* @param url - the canonical URL of the resource (exact match only)
|
* @param canonical - the canonical URL of the resource (exact match only)
|
||||||
* @return null if it is not found
|
* @return null if it is not found
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
|
@ -611,7 +611,7 @@ public class NpmPackage {
|
||||||
/**
|
/**
|
||||||
* get a stream that contains the contents of a resource in the base folder, by it's canonical URL
|
* get a stream that contains the contents of a resource in the base folder, by it's canonical URL
|
||||||
*
|
*
|
||||||
* @param url - the canonical URL of the resource (exact match only)
|
* @param canonical - the canonical URL of the resource (exact match only)
|
||||||
* @param version - the specified version (or null if the most recent)
|
* @param version - the specified version (or null if the most recent)
|
||||||
*
|
*
|
||||||
* @return null if it is not found
|
* @return null if it is not found
|
||||||
|
@ -625,7 +625,7 @@ public class NpmPackage {
|
||||||
* get a stream that contains the contents of a resource in the nominated folder, by it's canonical URL
|
* get a stream that contains the contents of a resource in the nominated folder, by it's canonical URL
|
||||||
*
|
*
|
||||||
* @param folder - one of the folders in the package (main folder is "package")
|
* @param folder - one of the folders in the package (main folder is "package")
|
||||||
* @param url - the canonical URL of the resource (exact match only)
|
* @param canonical - the canonical URL of the resource (exact match only)
|
||||||
* @param version - the specified version (or null if the most recent)
|
* @param version - the specified version (or null if the most recent)
|
||||||
*
|
*
|
||||||
* @return null if it is not found
|
* @return null if it is not found
|
||||||
|
|
Loading…
Reference in New Issue