Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3369

Update javadoc of ChannelManagerEvent class

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Low
    • Resolution: Fixed
    • 3.0.1
    • 3.2.0
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: