Observe exact wording for version validations

This commit is contained in:
aboyko
2024-03-04 16:25:41 -05:00
parent 387e8b1a9b
commit 1b148dec76

View File

@@ -83,7 +83,7 @@ public class GenerationsValidator extends AbstractDiagnosticValidator {
message.append(" not available!");
} else {
message.append(javaProjectGen.getName());
message.append(" no longer available, ended on: ");
message.append(" ended on ");
message.append(javaProjectGen.getOssSupportEndDate());
if (validCommercialSupport) {
message.append(", get commercial support until ");
@@ -118,7 +118,7 @@ public class GenerationsValidator extends AbstractDiagnosticValidator {
message.append(" not available!");
} else {
message.append(javaProjectGen.getName());
message.append(" no longer available, ended on: ");
message.append(" ended on ");
message.append(javaProjectGen.getCommercialSupportEndDate());
}
Diagnostic d = createDiagnostic(VersionValidationProblemType.UNSUPPORTED_COMMERCIAL_VERSION, message.toString());