Skip to content

Commit

Permalink
Merge pull request google#25 from google/wikisyntax
Browse files Browse the repository at this point in the history
Remove triple curly braces.
  • Loading branch information
eaftan committed Oct 27, 2014
2 parents c360b57 + f409a0c commit 8aae5f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -68,9 +68,9 @@
summary = "Ordering.from(new Comparator<T>() { }) can be refactored to cleaner form",
explanation =
"Calls of the form\n" +
"{{{Ordering.from(new Comparator<T>() { ... })}}}\n" +
"`Ordering.from(new Comparator<T>() { ... })`\n" +
"can be unwrapped to a new anonymous subclass of Ordering\n" +
"{{{new Ordering<T>() { ... }}}}\n" +
"`new Ordering<T>() { ... }`\n" +
"which is shorter and cleaner (and potentially more efficient).",
category = GUAVA, severity = WARNING, maturity = EXPERIMENTAL)
public class OrderingFrom extends BugChecker implements MethodInvocationTreeMatcher {
Expand Down
Expand Up @@ -42,9 +42,9 @@
summary = "Suppressing \"deprecated\" is probably a typo for \"deprecation\"",
explanation =
"To suppress warnings to deprecated methods, you should add the annotation\n" +
"{{{@SuppressWarnings(\"deprecation\")}}}\n" +
"`@SuppressWarnings(\"deprecation\")`\n" +
"and not\n" +
"{{{@SuppressWarnings(\"deprecated\")}}}",
"`@SuppressWarnings(\"deprecated\")`",
category = JDK, severity = ERROR, maturity = MATURE)
public class SuppressWarningsDeprecated extends AbstractSuppressWarningsMatcher {

Expand Down

0 comments on commit 8aae5f8

Please sign in to comment.