Fix ReferenceEquality Error Prone errors
The newer Error Prone shipped with rules_java 9.8.0 flags several
reference-equality comparisons. Fix them following the conventions
already used in this codebase, keeping the check at ERROR:
- JGit FileMode comparisons use value equality (FileMode.X.equals),
matching PathServlet/ReadmeHelper: ArchiveServlet, PathServlet,
ImageLoader.
- commonmark AST nodes are intentionally compared by identity, so
suppress the check on those methods (as Revision already does):
MarkdownToHtml, NamedAnchorExtension, SmartQuotedExtension.
Change-Id: Ie852ea8484717501e6b8302c71588a2bb45a230b
Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls, no write access, no fancy Javascript, etc.
Gitiles automatically renders *.md Markdown files into HTML for simplified documentation. Refer to the Markdown documentation for details.
Gitiles is configurable in a git-style configuration file named gitiles.config. Refer to the configuration documentation for details.
Use gerrit's issue tracker to file bugs.
Please refer to the Developer Guide.