You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2016/07/29 11:39:20 UTC
[jira] [Comment Edited] (SLING-5913) Clean-up the Distribution Core
source code
[ https://issues.apache.org/jira/browse/SLING-5913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399175#comment-15399175 ]
Simone Tripodi edited comment on SLING-5913 at 7/29/16 11:38 AM:
-----------------------------------------------------------------
hi again [~teofili],
sorry for bugging but I am providing a last patch which fixes also test cases best practices, dropping _foreach_ statements for multiple tests in favour of data providers, replacing
{noformat}
try {
...
} catch(MyException e) {
fail(e)
}
{noformat}
code blocks for the more canonical {{@Test(expected = MyException.class)}} declaration.
HTH!
was (Author: simone.tripodi):
hi again [~teofili],
sorry for bugging but I am providing a last patch which fixes also test cases best practices, dropping _foreach_ statements for multiple tests in favour of data providers, replacing {{try {} catch(MyException e) { fail(e) } }} code blocks for the more canonical {{@Test(expected = MyException.class)}} declaration.
HTH!
> Clean-up the Distribution Core source code
> ------------------------------------------
>
> Key: SLING-5913
> URL: https://issues.apache.org/jira/browse/SLING-5913
> Project: Sling
> Issue Type: Improvement
> Components: Distribution
> Affects Versions: Content Distribution Core 0.1.18
> Reporter: Simone Tripodi
> Assignee: Tommaso Teofili
> Priority: Minor
> Fix For: Content Distribution 0.2.0
>
> Attachments: SLING-5913.1.patch, SLING-5913.2.patch, SLING-5913.patch
>
>
> Current codebase is full of warnings due to unbound generics type, not used variables, ... that makes code reading less pleasant than expected
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)