final IdentityImpl identity = new IdentityImpl(name, modification.getVersion()); if (patchType == Patch.PatchType.CUMULATIVE) { identity.setPatchType(Patch.PatchType.CUMULATIVE);
final IdentityImpl identity = new IdentityImpl(name, modification.getVersion()); if (patchType == Patch.PatchType.CUMULATIVE) { identity.setPatchType(Patch.PatchType.CUMULATIVE);
try { final Patch patch = patchResolver.resolvePatch(modification.getName(), modification.getVersion()); if (patch == null) { throw PatchLogger.ROOT_LOGGER.failedToResolvePatch(modification.getName(), modification.getVersion()); if (!appliesTo.equals(modification.getVersion())) { throw PatchLogger.ROOT_LOGGER.doesNotApply(appliesTo, modification.getVersion());
try { final Patch patch = patchResolver.resolvePatch(modification.getName(), modification.getVersion()); if (patch == null) { throw PatchLogger.ROOT_LOGGER.failedToResolvePatch(modification.getName(), modification.getVersion()); if (!appliesTo.equals(modification.getVersion())) { throw PatchLogger.ROOT_LOGGER.doesNotApply(appliesTo, modification.getVersion());
@Override protected String getResultingVersion() { return modification.getVersion(); }
@Override protected String getResultingVersion() { return modification.getVersion(); }