New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOXIA-670] Drop dead XdocSink#link(String, String) method #116
Conversation
22fdc61
to
0f10501
Compare
Note: This change requires to be dropped: maven-doxia/doxia-modules/doxia-module-xdoc/src/main/resources/xdoc-2.0.xsd Lines 2923 to 2935 in 3b1499d
<div class="source"><pre>...
|
doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java
Outdated
Show resolved
Hide resolved
66f4028
to
e6514f5
Compare
This is now a minimalist version. I will leave the table as is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's rename this issue into "drop dead link(String, String) code" and have VALIGN removal in a separate issue, with discussion on source also separate
|
||
writeStartTag( A, att ); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems that this link(String, String) method is more than "duplicate code": it's dead code that was introduced into Doxia 1.1 and was never called outside the unit test
then I'm all in to remove this dead code and update the associated unit test, with proper Jira issue renaming
on other changes like VALIGN, that are unrelated to this dead code removal, I'd prefer have a separate commit and review to better understand
and I don't understand why there is a discussion on "source", which seems to be completely an unrelated discussion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hboutemy Done, completely reduced. Attributes are in another ticket. As for the source
. HTML5 has now a source element which collides with Xdoc's source. That is why I decided not to fiddle with at the moment. Forget about it.
@hboutemy PR redone. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the hard work
https://issues.apache.org/jira/browse/DOXIA-670