reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Dudoladov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (REEF-1113) Update IllegalInstantiation checkstyle check
Date Wed, 20 Jan 2016 13:04:39 GMT

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

Sergey Dudoladov commented on REEF-1113:
----------------------------------------

[Pull request | 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
>
> 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)

Mime
View raw message