mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-03 09:59:10 +00:00
Fix typo in validator
This commit is contained in:
parent
2176e7c64d
commit
3d366c2aa3
@ -2162,7 +2162,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
|
||||
long t = System.nanoTime();
|
||||
StructureDefinition sd = context.fetchResource(StructureDefinition.class, url);
|
||||
sdTime = sdTime + (System.nanoTime() - t);
|
||||
if (sd != null && (sd.getType().equals(type) || sd.getUrl().equals(type)) && sd.hasSnapshot())
|
||||
if (sd != null && (sd.getType().equals(type) || sd.getUrl().equals(url)) && sd.hasSnapshot())
|
||||
return sd;
|
||||
}
|
||||
return null;
|
||||
|
@ -2172,7 +2172,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
|
||||
long t = System.nanoTime();
|
||||
StructureDefinition sd = context.fetchResource(StructureDefinition.class, url);
|
||||
sdTime = sdTime + (System.nanoTime() - t);
|
||||
if (sd != null && (sd.getType().equals(type) || sd.getUrl().equals(type)) && sd.hasSnapshot())
|
||||
if (sd != null && (sd.getType().equals(type) || sd.getUrl().equals(url)) && sd.hasSnapshot())
|
||||
return sd;
|
||||
}
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user