1 package com.puppycrawl.tools.checkstyle.checks.blocks; 20 21 import com.puppycrawl.tools.checkstyle.checks.AbstractOption; 22 import java.util.HashMap ; 23 import java.util.Map ; 24 25 31 public final class RightCurlyOption 32 extends AbstractOption 33 { 34 35 private static final Map STR_TO_OPT = new HashMap (); 36 37 48 public static final RightCurlyOption ALONE = new RightCurlyOption("alone"); 49 50 60 public static final RightCurlyOption SAME = new RightCurlyOption("same"); 61 62 66 private RightCurlyOption(String aStrRep) 67 { 68 super(aStrRep); 69 } 70 71 72 protected Map getStrToOpt() 73 { 74 return STR_TO_OPT; 75 } 76 } 77 | Popular Tags |