Changeset 37204 for main


Ignore:
Timestamp:
2023-01-29T11:57:00+13:00 (15 months ago)
Author:
davidb
Message:

Copy tidy-up, mostly changing whitespace to tabs to improve indentation display

Location:
main/trunk/greenstone3/src/java/org/greenstone/gsdl3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/build/CollectionConstructor.java

    r31771 r37204  
    1616    /** the name of the site */
    1717    protected String site_name = null;
    18   /** the library (servlet) name of the site */
    19   protected String library_name = null;
     18    /** the library (servlet) name of the site */
     19    protected String library_name = null;
    2020    /** the name of the collection */
    2121    protected String collection_name = null;
     
    7575    }
    7676
    77   public void setLibraryName(String library_name) {
    78     this.library_name = library_name;
    79   }
     77    public void setLibraryName(String library_name) {
     78        this.library_name = library_name;
     79    }
    8080    public void setCollectionName(String coll_name)
    8181    {
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/build/GS2PerlConstructor.java

    r36794 r37204  
    313313
    314314        Vector<String> command = new Vector<String>();
    315 
     315               
    316316        String perlPath = GlobalProperties.getProperty("perl.path", "perl");
    317317        if (perlPath.charAt(perlPath.length() - 1) != File.separatorChar)
     
    320320        }
    321321
    322         String cgi_directory = GlobalProperties.getGSDL3Home() + File.separator + "WEB-INF" + File.separator + "cgi";
    323322        command.add(perlPath + "perl");
    324323        command.add("-S");
    325         //command.add(GlobalProperties.getGSDL3Home() + File.separator + "WEB-INF" + File.separator + "cgi" + File.separator + "metadata-server.pl");
     324
     325        String cgi_directory = GlobalProperties.getGSDL3Home() + File.separator + "WEB-INF" + File.separator + "cgi";
    326326        command.add(cgi_directory + File.separator + "metadata-server.pl");
    327327       
     
    349349        // setenv QUERY_STRING and REQUEST_METHOD = GET.
    350350        if (runPerlCommand(command_str, envvars, new File(cgi_directory)))
    351                    //new File(GlobalProperties.getGSDL3Home() + File.separator + "WEB-INF" + File.separator + "cgi")))
    352351        {
    353352            // success!! - need to send the final completed message
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GS2Construct.java

    r33773 r37204  
    869869            }
    870870           
    871             if(oid != null) { // if we have only one oid
     871            if (oid != null) { // if we have only one oid
    872872            markDocumentInFlatDatabase("R", coll_name, OID.getTop(oid));
    873873            } else if (docids != null) { // check if we are dealing with many doc ids, as cold in theory happen when set-metadata-array is called
Note: See TracChangeset for help on using the changeset viewer.