oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject svn commit: r1441919 - /oodt/trunk/curator/src/main/java/org/apache/oodt/cas/curation/service/MetadataResource.java
Date Sun, 03 Feb 2013 14:46:04 GMT
Author: luca
Date: Sun Feb  3 14:46:04 2013
New Revision: 1441919

URL: http://svn.apache.org/viewvc?rev=1441919&view=rev
Log:
Simplifying call sequence of MetadataResource.updateMetadata() method: no longer removing
and then re-inserting the product, rather just updating the metadata

Modified:
    oodt/trunk/curator/src/main/java/org/apache/oodt/cas/curation/service/MetadataResource.java

Modified: oodt/trunk/curator/src/main/java/org/apache/oodt/cas/curation/service/MetadataResource.java
URL: http://svn.apache.org/viewvc/oodt/trunk/curator/src/main/java/org/apache/oodt/cas/curation/service/MetadataResource.java?rev=1441919&r1=1441918&r2=1441919&view=diff
==============================================================================
--- oodt/trunk/curator/src/main/java/org/apache/oodt/cas/curation/service/MetadataResource.java
(original)
+++ oodt/trunk/curator/src/main/java/org/apache/oodt/cas/curation/service/MetadataResource.java
Sun Feb  3 14:46:04 2013
@@ -554,15 +554,6 @@ public class MetadataResource extends Cu
 	      	metadata.removeMetadata(key);
 	      }
       }
-            
-      // remove existing product
-      fmClient.removeProduct(product);
-      
-      // insert same product
-      fmClient.catalogProduct(product);
-      
-      // insert same refereces
-      fmClient.addProductReferences(product);    
       
       // insert old and new metadata
       fmClient.updateMetadata(product, metadata);



Mime
View raw message