Merge branch 'ja_20200524_npm_rework' of github.com:hapifhir/org.hl7.fhir.core into ja_20200524_npm_rework

This commit is contained in:
jamesagnew 2020-05-30 11:08:42 -04:00
commit 223ac04238
4 changed files with 4 additions and 4 deletions

View File

@ -70,7 +70,7 @@ public abstract class BasePackageCacheManager implements IPackageCacheManager {
return null;
}
protected abstract NpmPackage loadPackageFromCacheOnly(String id, @Nullable String version) throws IOException;
public abstract NpmPackage loadPackageFromCacheOnly(String id, @Nullable String version) throws IOException;
@Override
public String getPackageUrl(String packageId) throws IOException {

View File

@ -287,7 +287,7 @@ public class FilesystemPackageCacheManager extends BasePackageCacheManager imple
* @throws IOException
*/
@Override
protected NpmPackage loadPackageFromCacheOnly(String id, String version) throws IOException {
public NpmPackage loadPackageFromCacheOnly(String id, String version) throws IOException {
if (!Utilities.noString(version) && version.startsWith("file:")) {
return loadPackageFromFile(id, version.substring(5));
}

View File

@ -1,7 +1,7 @@
package org.hl7.fhir.utilities.tests;
import org.hl7.fhir.utilities.cache.CachingPackageClient;
import org.hl7.fhir.utilities.cache.CachingPackageClient.PackageInfo;
import org.hl7.fhir.utilities.cache.BasePackageClient.PackageInfo;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -10,7 +10,7 @@ import org.hl7.fhir.utilities.VersionUtilities;
import org.hl7.fhir.utilities.cache.NpmPackage;
import org.hl7.fhir.utilities.cache.FilesystemPackageCacheManager;
import org.hl7.fhir.utilities.cache.CachingPackageClient;
import org.hl7.fhir.utilities.cache.CachingPackageClient.PackageInfo;
import org.hl7.fhir.utilities.cache.BasePackageClient.PackageInfo;
import org.hl7.fhir.utilities.cache.ToolsVersion;
public class PackageValidator {