mbien commented on code in PR #5561:
URL: https://github.com/apache/netbeans/pull/5561#discussion_r1118825129
##########
ide/libs.git/src/org/netbeans/libs/git/GitClientCallback.java:
##########
@@ -54,7 +56,7 @@
* public Boolean askYesNoQuestion (String uri, String prompt);
* };
* client.{@link
GitClient#setCallback(org.netbeans.libs.git.GitClientCallback)
setCallback(myCallback)};
- * List<String> refspecs = Arrays.asList("refs/heads/*:refs/remotes/origin/*");
+ * List<String> refspecs =
Arrays.asList("refs/heads/*:refs/remotes/origin/*");
* client.fetch("http://myrepositoryhost/path", refspecs, pm);
* </pre>
Review Comment:
you should be able to use:
```
<pre>{@code
....new ArrayList<>()....
}</pre>
```
`@code` is there to escape everything, `pre` maintains the formatting.
##########
java/classfile/src/org/netbeans/modules/classfile/Parameter.java:
##########
@@ -75,7 +75,7 @@ private void loadParameterAnnotations(DataInputStream
visible, DataInputStream i
}
/**
- * Return a string in the form "<type> <name>". Class types
+ * Return a string in the form "<type> <name>". Class types
Review Comment:
could use `@code` too if you want
##########
webcommon/lib.v8debug/src/org/netbeans/lib/v8debug/connection/ClientConnection.java:
##########
@@ -53,7 +53,7 @@
* new Thread() {
* void run() {
* connection.runEventLoop(new ClientConnection.Listener() {
- * public void header(Map<String, String> properties) {
+ * public void header(Map<String, String> properties) {
Review Comment:
same here. Another candidate for `<pre>{@code`
--
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]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists