Skip to content

Commit 0f79f1f

Browse files
committed
#1571 more flexible message
1 parent d09d838 commit 0f79f1f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

value-processor/src/org/immutables/value/processor/meta/FromSupertypesModel.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,14 +229,14 @@ private boolean isEligibleFromType(TypeElement typeElement, ValueAttribute attr)
229229
} catch (Exception typeParseException) {
230230
if (typeParseExceptionReported.compareAndSet(false, true)) {
231231
reporter.warning("Type parsing problem in FromSupertypesModel: %s", typeParseException + "\n\tat " + typeParseException.getStackTrace()[0]);
232-
//Throwables.getStackTraceAsString(typeParseException)
233232
}
234233
}
235234

236235
reporter.warning(About.FROM,
237236
"Generated builder '.from' method will not copy from attribute '%s'"
238-
+ " because it has different return type in supertype"
239-
+ " (And we cannot handle generic specialization or covariant overrides yet)."
237+
+ " because it has some not-yet-generated type,"
238+
+ " or different return type in supertype "
239+
+ " (we cannot handle generic specialization or covariant overrides yet)."
240240
+ " Sometimes it is possible to avoid this by providing abstract override method in this value object",
241241
attr.name());
242242
return false;

0 commit comments

Comments
 (0)