Fix 1 coding violation
For beginners, we recommend starting with the task Setup development environment.
Prerequisite:
- You'll need to have an account on GitHub. You might also want to take a look at Git and GitHub interface documentations.
- You will need a least basic knowledge of Java programming language to understand what is asked
Task:
Go to http://sonar.xwiki.org/issues/search#resolved=false|severities=BLOCKER%2CCRITICAL%2CMAJOR|projectUuids=f3aae72a-d56b-42fe-b578-e229aac56491%2C897a7e96-6a12-4f35-8777-68cd5c9d5875%2C1c81cbae-4d41-47fc-bbe5-341da3345fd0 and fix coding violation listed there.
Modified code should follow the official XWiki codestyle and build fine with Maven: see http://dev.xwiki.org/xwiki/bin/view/Community/JavaCodeStyle and http://dev.xwiki.org/xwiki/bin/view/Community/Building.
Note that some of them actually are false positive so in case of doubt you should ask in the chat. This task is really not a blind replacement of some code by what Sonar suggest you really need to understand what you are doing so be careful.
Expected Outcome:
The student will create a pull request with the changes. The commit message must be of the following form [codestyle] (you can find the reason in sonar) as in:
[codestyle] Remove unnecessary constructors
All the repositories are located on https://github.com/xwiki/.
The student should comment in the GCI task with:
- the link to this pull request
- the link to the Sonar issue fixed