Skip to content

Commit

Permalink
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -92,14 +92,14 @@ private Optional<Collection<AgreementToAccept>> agreements(
}

private void reportAssessment(Optional<ExaminationCertificate> certificate) {
interaction.head("license coverage assessment"); //$NON-NLS-1$
interaction.head("License coverage assessment"); //$NON-NLS-1$
if (certificate.isPresent()) {
if (new CertificateIsRestrictive().test(certificate)) {
interaction.prompt("License coverage for the product or its features is not sufficient"); //$NON-NLS-1$
} else if (new CertificateWorthAttention().test(certificate)) {
interaction.prompt("License coverage for the product or its features worth your attention"); //$NON-NLS-1$
} else {
interaction.prompt("License coverage for the product and all its feature is suffiient"); //$NON-NLS-1$
interaction.prompt("License coverage for the product and all its feature is sufficient"); //$NON-NLS-1$
}
interaction.prompt(String.format("\n%s", new RequirementsCoverageExplained(certificate.get()).get())); //$NON-NLS-1$
} else {
Original file line number Diff line number Diff line change
@@ -28,15 +28,15 @@ final class OptionImport extends BaseOption<CoverageCheckOptionDecision> {
OptionImport(Interaction.Smart interaction, LicensedProduct product) {
super('i', //
"Import", //$NON-NLS-1$
"Import a license for the application", //$NON-NLS-1$
"Import a license for this application", //$NON-NLS-1$
interaction);
this.product = product;
}

@Override
public CoverageCheckOptionDecision run() {
interaction.head("import license"); //$NON-NLS-1$
interaction.prompt("Please enter path the a license file"); //$NON-NLS-1$
interaction.prompt("Please enter the path to a license file"); //$NON-NLS-1$
readPath().ifPresent(this::install);
return CoverageCheckOptionDecision.reassess;
}

0 comments on commit a92861c

Please sign in to comment.