You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Mariia Mykhailova (JIRA)" <ji...@apache.org> on 2016/01/20 22:21:39 UTC

[jira] [Resolved] (REEF-1113) Update IllegalInstantiation checkstyle check

     [ https://issues.apache.org/jira/browse/REEF-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mariia Mykhailova resolved REEF-1113.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.14

Resolved via [PR 781|https://github.com/apache/reef/pull/781]

> Update IllegalInstantiation checkstyle check
> --------------------------------------------
>
>                 Key: REEF-1113
>                 URL: https://issues.apache.org/jira/browse/REEF-1113
>             Project: REEF
>          Issue Type: Sub-task
>          Components: Build infrastructure, Documentation
>            Reporter: Sergey Dudoladov
>            Assignee: Sergey Dudoladov
>             Fix For: 0.14
>
>
> Throwing exceptions of classes {{Throwable}} and {{Error}} should be prohibited. For this, we can use the [IllegalInstantiation| http://checkstyle.sourceforge.net/config_coding.html#IllegalInstantiation] check which can forbid instantiation of (almost) any classes.  
> Many thanks to the sevntu-checkstyle team for pointing this out.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)