Adjust checkstyle rules. Make checkstyle fail the build when violations are found. Correct all current checkstyle violations.

This commit is contained in:
Ilkka Seppala
2015-12-25 23:49:28 +02:00
parent 9fbb085985
commit cec9a99410
167 changed files with 1242 additions and 969 deletions

View File

@ -20,10 +20,6 @@ public class RainbowFishSerializer {
/**
* Write V1 RainbowFish to file
*
* @param rainbowFish
* @param filename
* @throws IOException
*/
public static void writeV1(RainbowFish rainbowFish, String filename) throws IOException {
Map<String, String> map = new HashMap<>();
@ -40,10 +36,6 @@ public class RainbowFishSerializer {
/**
* Write V2 RainbowFish to file
*
* @param rainbowFish
* @param filename
* @throws IOException
*/
public static void writeV2(RainbowFishV2 rainbowFish, String filename) throws IOException {
Map<String, String> map = new HashMap<>();
@ -63,11 +55,6 @@ public class RainbowFishSerializer {
/**
* Read V1 RainbowFish from file
*
* @param filename
* @return
* @throws IOException
* @throws ClassNotFoundException
*/
public static RainbowFish readV1(String filename) throws IOException, ClassNotFoundException {
Map<String, String> map = null;