Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-3369

Update javadoc of ChannelManagerEvent class

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.2.0
    • Component/s: None
    • Labels:
    • Similar issues:

      Description

      http://www.onehippo.org/library/concepts/channels/channelmanagereventlistener.html

      Somewhere on that page is this bit of code:

      Channel channel = event.getChannel();
      if (channel != null)

      { ...snip... }

      The code checks for null, but it seems getChannel will never be null. The javadoc should say so, so developers can safely leave the null check out.

        Attachments

          Activity

            People

            • Assignee:
              adouma Ate Douma
              Reporter:
              bleunis Bert Leunis (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: