pjfanning commented on code in PR #1189:
URL: https://github.com/apache/poi/pull/1189#discussion_r3769244771
##########
poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFDataSource.java:
##########
@@ -56,6 +56,22 @@ default String getFormula() {
String getFormatCode();
+ /**
+ * Optional number format for a single data point in the numerical cache.
+ * <p>
+ * Return {@code null} when this point has no point-specific format and
should
+ * inherit the series format from {@link #getFormatCode()}.
Implementations that
+ * never use per-point formats can keep the default.
+ * </p>
+ *
+ * @param index zero-based point index
+ * @return the point's format code, or {@code null} to fall back to {@link
#getFormatCode()}
Review Comment:
Is there anywhere other than test code that overrides this default that
returns null? And if not, why not?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]