3

Possible Duplicate:
How to quote “*/” in JavaDocs

I want to put following doc to a method:

Route example:

<code>
get("/users/*/{id}") -> UsersController.show(id)
</code>

But since there is a */ in the code, the javadoc will be break on that position, the java code can't be compiled.

How to solve this?

Community
  • 1
  • 1
Freewind
  • 193,756
  • 157
  • 432
  • 708

1 Answers1

4

You can escape the * as &#42; or / as &#47;

Ted Hopp
  • 232,168
  • 48
  • 399
  • 521