[metacat-cvs] metacat/src/edu/ucsb/nceas/metacat DocumentImpl.java IndexingTimerTask.java

Saurabh Garg sgarg at ecoinformatics.org
Fri Nov 11 10:01:47 PST 2005


sgarg       05/11/11 10:01:47

  Modified:    src/edu/ucsb/nceas/metacat DocumentImpl.java
                        IndexingTimerTask.java
  Log:
  Changes in calls made to IndexingQueue class
  
  Revision  Changes    Path
  1.175     +3 -3      metacat/src/edu/ucsb/nceas/metacat/DocumentImpl.java
  
  Index: DocumentImpl.java
  ===================================================================
  RCS file: /cvs/metacat/src/edu/ucsb/nceas/metacat/DocumentImpl.java,v
  retrieving revision 1.174
  retrieving revision 1.175
  diff -u -r1.174 -r1.175
  --- DocumentImpl.java	10 Nov 2005 21:40:54 -0000	1.174
  +++ DocumentImpl.java	11 Nov 2005 18:01:47 -0000	1.175
  @@ -7,8 +7,8 @@
    *    Release: @release@
    *
    *   '$Author: sgarg $'
  - *     '$Date: 2005/11/10 21:40:54 $'
  - * '$Revision: 1.174 $'
  + *     '$Date: 2005/11/11 18:01:47 $'
  + * '$Revision: 1.175 $'
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
  @@ -2368,7 +2368,7 @@
           boolean useXMLIndex =
               (new Boolean(MetaCatUtil.getOption("usexmlindex"))).booleanValue();
           if (useXMLIndex) {
  -            	IndexingQueue.getInstance().add(docid + "." + rev);
  +            	IndexingQueue.getInstance().add(docid, rev);
           }
       }
   
  
  
  
  1.2       +4 -4      metacat/src/edu/ucsb/nceas/metacat/IndexingTimerTask.java
  
  Index: IndexingTimerTask.java
  ===================================================================
  RCS file: /cvs/metacat/src/edu/ucsb/nceas/metacat/IndexingTimerTask.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IndexingTimerTask.java	10 Nov 2005 22:13:04 -0000	1.1
  +++ IndexingTimerTask.java	11 Nov 2005 18:01:47 -0000	1.2
  @@ -7,8 +7,8 @@
    *    Release: @release@
    *
    *   '$Author: sgarg $'
  - *     '$Date: 2005/11/10 22:13:04 $'
  - * '$Revision: 1.1 $'
  + *     '$Date: 2005/11/11 18:01:47 $'
  + * '$Revision: 1.2 $'
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
  @@ -75,7 +75,7 @@
   	    			String docid = rs.getString(1);
   	    			String rev = rs.getString(2);
   	    			
  -	    			IndexingQueue.getInstance().add(docid + "." + rev);
  +	    			IndexingQueue.getInstance().add(docid, rev);
   
   	    			tableHasRows = rs.next();
   	            }
  
  
  


More information about the Metacat-cvs mailing list