View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.coding.equalsavoidnull;
2   
3   public class InputEqualsAvoidNullOnTheSameLine {
4   
5       static {
6           String b = "onion";
7           String a=b;a.equals("ONION");
8       }
9   }