-
Notifications
You must be signed in to change notification settings - Fork 780
always provide revision number for xrefs #1743
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
Conversation
I found out this does not work yet - clicking on line number erases the revision part of the URL. Needs a bit more work. Filed that as #1745 - this is pre-existing bug. |
* @return location to redirect to or null if failed | ||
*/ | ||
public String getLatestRevisionLocation() { | ||
return new String(req.getContextPath() + Prefix.XREF_P + |
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.
use StringBuilder and append please
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.
what's the advantage of StringBuilder
? Seems less readable to me.
please fix the commend and merge |
(and thank youuuuu sir! :) ) |
Still need to figure out the hash URL rewrite. I suspect there is some JS meddling with the URL. |
No description provided.