You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Kai Zheng (JIRA)" <ji...@apache.org> on 2015/07/06 11:04:04 UTC
[jira] [Commented] (DIRKRB-335) Fix CheckStyle Problem for
kerb-crypto module
[ https://issues.apache.org/jira/browse/DIRKRB-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14614716#comment-14614716 ]
Kai Zheng commented on DIRKRB-335:
----------------------------------
For the case in {{DecryptionTest}}, there was some discussion in mailing list with [~elecharny]:
{noformat}
>> I think it's preferable to diasble the check here. The CIPHEr names
>>use '_'; it would be less readable to remove them
>>testDecryptDES_CBC_MD4_1 is way better than testDecryptDesCbcMD41
Good catch here! Just wonder if it's doable to only disable the check here like we can in PMD.
{noformat}
With some googling and having something like below, looks like it's doable.
http://www.rgagnon.com/javadetails/java-disable-checkstyle-from-code.html
> Fix CheckStyle Problem for kerb-crypto module
> ---------------------------------------------
>
> Key: DIRKRB-335
> URL: https://issues.apache.org/jira/browse/DIRKRB-335
> Project: Directory Kerberos
> Issue Type: Sub-task
> Reporter: Xu Yaning
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)