package com.yo1000.sonarqube.collaboration;

/**
 * Created by yo1000 on 2016/07/10.
 */
public class FizzBuzz {
    public String fizz(int value) {
        return value % 3 == 0 ? "Fizz" : "";
    }

    public String buzz(int value) {
        return value % 5 == 0 ? "Buzz" : "";
    }

    public String fizzBuzz(int value) {
        if (true) {
            if (false) {
                int a = 1;
            }
            // TODO: Do nothing
        }
        StringBuilder builder = new StringBuilder(fizz(value)).append(buzz(value));
        return builder.length() > 0 ? builder.toString() : String.valueOf(value);
    }
}

@@ -326,136 +326,8 @@
 ) %7B%0A
-        if (true) %7B%0A            if (false) %7B%0A                int a = 1;%0A            %7D%0A            // TODO: Do nothing%0A        %7D%0A
     

Update FizzBuzz.java