Ignore:
Timestamp:
2011-07-01T09:32:56+02:00 (15 years ago)
Author:
stoecker
Message:

remove old debug stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/PermissionPrefWithDefault.java

    r3707 r4191  
    33
    44/**
    5  * This class should replace PermissionPref because it allows explicit
    6  * specification of the permission's default value.
     5 * Contains a preference name to control permission for the operation
     6 * implemented by the RequestHandler, and an error message to be displayed
     7 * if not permitted.
    78 *
    89 * @author Bodo Meissner
    910 */
    10 @SuppressWarnings("deprecation")
    11 public class PermissionPrefWithDefault extends PermissionPref {
     11public class PermissionPrefWithDefault {
     12
     13    /** name of the preference setting to permit the remote operation */
     14    public String pref;
     15    /** message to be displayed if operation is not permitted */
     16    public String message;
    1217
    1318    public boolean defaultVal = true;
    1419
    1520    public PermissionPrefWithDefault(String pref, boolean defaultVal, String message) {
    16         super(pref, message);
     21        this.pref = pref;
     22        this.message = message;
    1723        this.defaultVal = defaultVal;
    1824    }
    19 
    20     public PermissionPrefWithDefault(PermissionPref prefWithoutDefault) {
    21         super(prefWithoutDefault.pref, prefWithoutDefault.message);
    22     }
    2325}
Note: See TracChangeset for help on using the changeset viewer.