package cn.cerc.mis.core;

import cn.cerc.db.core.IHandle;
import cn.cerc.db.core.IOption;

public class Options {

    public static final String ON = "on";
    public static final String OFF = "off";

    @Deprecated
    public static String getString(IHandle handle, Class<? extends IOption> clazz) {
        IOption option = Application.getContext().getBean(clazz);
        return option.getValue(handle);
    }

    @Deprecated
    public static boolean isOn(IHandle handle, Class<? extends IOption> clazz) {
        IOption option = Application.getContext().getBean(clazz);
        return Options.ON.equals(option.getValue(handle));
    }

}

@@ -113,95 +113,8 @@
  %7B%0A%0A
-    public static final String ON = %22on%22;%0A    public static final String OFF = %22off%22;%0A%0A
     
@@ -501,23 +501,23 @@
  return 
+I
 Option
-s
 .ON.equa

Update Options.java