Changeset 25356

Show
Ignore:
Timestamp:
12.04.2012 14:14:04 (8 years ago)
Author:
sjm84
Message:

Some fixes to the file formatting

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSParams.java

    r25300 r25356  
    2525{ 
    2626 
    27   // cgi parameter names 
     27    // cgi parameter names 
    2828    public static final String ACTION = "a"; // the major type of action- eg query or browse or process 
    2929    public static final String SUBACTION = "sa"; // subtype of action if we want different processing than the default 
     
    4040    public static final String DOCUMENT = "d"; 
    4141    public static final String DOCUMENT_TYPE = "dt"; 
    42   public static final String HREF = "href"; // url. might be an external url, or a relative one that needs translating 
    43   public static final String RELATIVE_LINK = "rl"; // whether the href url is relative to the collection or not. 
    44   public static final String EXTERNAL_LINK_TYPE = "el"; // for an external link, go direct to the page or frame it in the collection 
     42    public static final String HREF = "href"; // url. might be an external url, or a relative one that needs translating 
     43    public static final String RELATIVE_LINK = "rl"; // whether the href url is relative to the collection or not. 
     44    public static final String EXTERNAL_LINK_TYPE = "el"; // for an external link, go direct to the page or frame it in the collection 
    4545    public static final String PROCESS_ID = "pid"; // if a request wasn't completed, this identifies the request - used when asking for a status update 
    4646 
    47      
    48   public static final String HTTPHEADERFIELDS = "hhf"; 
     47    public static final String HTTPHEADERFIELDS = "hhf"; 
    4948 
    5049    // internal configure args 
     
    6160    public static final String DISPLAY_METADATA = "dmd"; 
    6261    public static final String FILE_LOCATION = "fl"; 
    63      
     62 
    6463    //Administration 
    6564    public static final String PASSWORD = "password"; 
     
    6867    public static final String S_OLD_PASSWORD = "s1.oldPassword"; 
    6968 
    70   // some standard arg values 
    71   public static final String SYSTEM_ACTION = "s"; 
    72   
    73   public static final String EXTERNAL_LINK_TYPE_DIRECT = "direct"; 
    74   public static final String EXTERNAL_LINK_TYPE_FRAMED = "frame"; 
     69    // some standard arg values 
     70    public static final String SYSTEM_ACTION = "s"; 
     71 
     72    public static final String EXTERNAL_LINK_TYPE_DIRECT = "direct"; 
     73    public static final String EXTERNAL_LINK_TYPE_FRAMED = "frame"; 
    7574 
    7675    protected HashMap param_map = null; 
     
    106105        addParameter(S_OLD_PASSWORD, false); 
    107106 
    108         addParameter(COLLECTION_TYPE, true);  
     107        addParameter(COLLECTION_TYPE, true); 
    109108        addParameter(EXTERNAL_LINK_TYPE, false); 
    110109        // filtering args must be specified each time 
     
    141140    public boolean shouldSave(String name) 
    142141    { 
    143       // p. is used to store previous settings 
     142        // p. is used to store previous settings 
    144143        if (name.startsWith("p.")) 
    145144            return false;