portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jf...@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/search/src/java/org/apache/jetspeed/search/lucene SearchEngineImpl.java
Date Wed, 06 Oct 2004 16:38:04 GMT
jford       2004/10/06 09:38:04

  Modified:    components/search/src/java/org/apache/jetspeed/search/lucene
                        SearchEngineImpl.java
  Log:
  Synchronized update methods
  
  Revision  Changes    Path
  1.2       +4 -4      jakarta-jetspeed-2/components/search/src/java/org/apache/jetspeed/search/lucene/SearchEngineImpl.java
  
  Index: SearchEngineImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/search/src/java/org/apache/jetspeed/search/lucene/SearchEngineImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SearchEngineImpl.java	28 Sep 2004 20:42:19 -0000	1.1
  +++ SearchEngineImpl.java	6 Oct 2004 16:38:04 -0000	1.2
  @@ -110,7 +110,7 @@
       /* (non-Javadoc)
        * @see org.apache.jetspeed.search.SearchEnging#add(java.util.Collection)
        */
  -    public boolean add(Collection objects)
  +    public synchronized boolean add(Collection objects)
       {
           boolean result = false;
           
  @@ -241,7 +241,7 @@
       /* (non-Javadoc)
        * @see org.apache.jetspeed.search.SearchEnging#remove(java.util.Collection)
        */
  -    public boolean remove(Collection objects)
  +    public synchronized boolean remove(Collection objects)
       {
           boolean result = false;
           
  @@ -304,7 +304,7 @@
       /* (non-Javadoc)
        * @see org.apache.jetspeed.search.SearchEnging#update(java.util.Collection)
        */
  -    public boolean update(Collection objects)
  +    public synchronized boolean update(Collection objects)
       {
           boolean result = false;
           
  @@ -339,7 +339,7 @@
       /* (non-Javadoc)
        * @see org.apache.jetspeed.search.SearchEnging#optimize()
        */
  -    public boolean optimize()
  +    public synchronized boolean optimize()
       {
           boolean result = false;
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message