You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Sergey Dudoladov (JIRA)" <ji...@apache.org> on 2016/01/20 14:04:39 UTC
[jira] [Commented] (REEF-1113) Update IllegalInstantiation
checkstyle check
[ 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)