You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/31 22:16:04 UTC

[jira] [Commented] (KARAF-5169) Remove redundant type information

    [ https://issues.apache.org/jira/browse/KARAF-5169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16032097#comment-16032097 ] 

ASF GitHub Bot commented on KARAF-5169:
---------------------------------------

GitHub user skitt opened a pull request:

    https://github.com/apache/karaf/pull/307

    KARAF-5169: remove redundant type specifiers

    This patch removes redundant type specifiers:
    * generic specifiers with assignments;
    * useless casts;
    * inferable generics.
    
    Signed-off-by: Stephen Kitt <sk...@redhat.com>

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

    $ git pull https://github.com/skitt/karaf redundant-types

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

    https://github.com/apache/karaf/pull/307.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 #307
    
----
commit 77998d2ca6a5b25c62592cf28aff495660c8dbab
Author: Stephen Kitt <sk...@redhat.com>
Date:   2017-05-31T22:13:19Z

    KARAF-5169: remove redundant type specifiers
    
    This patch removes redundant type specifiers:
    * generic specifiers with assignments;
    * useless casts;
    * inferable generics.
    
    Signed-off-by: Stephen Kitt <sk...@redhat.com>

----


> Remove redundant type information
> ---------------------------------
>
>                 Key: KARAF-5169
>                 URL: https://issues.apache.org/jira/browse/KARAF-5169
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-core
>    Affects Versions: 4.2.0
>            Reporter: Stephen Kitt
>            Priority: Trivial
>
> Newer Java compilers can infer types in a number of situations.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)