Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Use tags like <pre> etc formatting instead of &nbsp, <br> etc.

      For example, WebSocketPathParam looks like this

      &nbsp@WebSocketEndpoint("/bookings/{guest-id}");<br>
       * public class BookingServer {<br><br>
       * <p/>
       * &nbsp&nbsp@WebSocketMessage<br>
       * &nbsppublic void processBookingRequest(@WebSocketPathParam("guest-id") String guestID, String message, Session session) {<br>
       * &nbsp&nbsp&nbsp// process booking from the given guest here<br>
       * &nbsp}<br>
       * }
      

      It can be better written as

      * <pre>
      * <code>
      * &#64;WebSocketEndpoint("/bookings/{guest-id}")
      * public class BookingServer {
      *     &#64;WebSocketMessage
      *     public void processBookingRequest(@WebSocketPathParam("guest-id") String guestID, String message, Session session) {
      *         // process booking from the given guest here
      *     }
      * }
      * </code>
      * </pre>
      

        Activity

        jitu created issue -
        dannycoward made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee dannycoward [ dannycoward ]
        Tags v011
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            dannycoward
            Reporter:
            jitu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: