Project

General

Profile

« Previous | Next » 

Revision 4173

Added by daigle over 15 years ago

Use qualified properties

View differences:

DocumentImpl.java
2053 2053
                }
2054 2054
                logMetacat.info("final revsion is: " + thisrev);
2055 2055
                boolean useXMLIndex = (new Boolean(PropertyService
2056
                        .getProperty("usexmlindex"))).booleanValue();
2056
                        .getProperty("database.usexmlindex"))).booleanValue();
2057 2057
                if (useXMLIndex) {
2058 2058
                    logMetacat.info("before delete");
2059 2059
                    double start = System.currentTimeMillis()/1000;
......
2440 2440
    
2441 2441
    private static void addDocidToIndexingQueue(String docid, String rev) throws PropertyNotFoundException {
2442 2442
        boolean useXMLIndex =
2443
            (new Boolean(PropertyService.getProperty("usexmlindex"))).booleanValue();
2443
            (new Boolean(PropertyService.getProperty("database.usexmlindex"))).booleanValue();
2444 2444
        if (useXMLIndex) {
2445 2445
            	IndexingQueue.getInstance().add(docid, rev);
2446 2446
        }
......
2816 2816
            logMetacat.info("The time for archiveDocAndNodesRevision is "+(afterArchiveDocAndNode - start));
2817 2817
            // Now delete it from the xml_index table
2818 2818
            boolean useXMLIndex = (new Boolean(PropertyService
2819
                    .getProperty("usexmlindex"))).booleanValue();
2819
                    .getProperty("database.usexmlindex"))).booleanValue();
2820 2820

  
2821 2821

  
2822 2822

  

Also available in: Unified diff