cstamas commented on code in PR #1568:
URL: https://github.com/apache/maven/pull/1568#discussion_r1631500181
##########
maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java:
##########
@@ -137,7 +137,7 @@ private static String toMessage(String modelId,
List<ModelProblem> problems) {
writer.print(problems.size());
writer.print((problems.size() == 1) ? " problem was " : " problems
were ");
writer.print("encountered while building the effective model");
- if (modelId != null && !modelId.isEmpty()) {
+ if (modelId != null && modelId.length() > 0) {
Review Comment:
I just rolled back unrelated change, this is how it is on `maven-3.9.x` to
make (now) unrelated change gone.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]