GitHub user grandinj opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1824

    fix some eclipse raw types warnings

    in the process improving the type signature of getPrincipalsInRole, which 
was returning a Set<RolePrincipal>, but was adding things from 
createGroupPrincipal to the set, and createGroupPrincipal can return an object 
that only implements Principal, not RolePrincipal.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/grandinj/activemq-artemis 
eclipse_raw_types_warning

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1824.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1824
    
----
commit 9c91f85e427d48d1ee32e454de2baa677aec8b4a
Author: Noel Grandin <noelgrandin@...>
Date:   2018-01-30T15:24:05Z

    fix some eclipse raw types warnings
    
    in the process improving the type signature of getPrincipalsInRole, which 
was returning a Set<RolePrincipal>, but was adding things from 
createGroupPrincipal to the set, and createGroupPrincipal can return an object 
that only implements Principal, not RolePrincipal.

----


---

Reply via email to