Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6186

Public CommandAwareRpcDispatcher method signatures reference non-public classes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 8.2.0.Beta1, 8.1.1.Final
    • Core
    • None

    Description

      The public CommandAwareRpcDispatcher.invokeRemoteCommands(...) method returns a RspListFuture which is a package protected class. Likewise, the invokeRemoteCommand(...) method returns a SingleResponseFuture, which is also package protected. While this is legal, it is sloppy, as a non-package class can neither invoke these methods or override them.

      These methods should either be package protected - or the visibility of the return types be made public - otherwise, they cannot be overridden.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: