Changeset 4402
- Timestamp:
- 2003-05-29T15:17:57+12:00 (21 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/msm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/msm/GDMDocument.java
r4399 r4402 381 381 if(value.equals(metadata.getAbsoluteValue())) { 382 382 // Remove it 383 System.err.println("Remove " + element + "-" + value);383 ///ystem.err.println("Remove " + element + "-" + value); 384 384 description_element.removeChild(metadata_element); 385 385 found = true; 386 386 // If this was the first metadata with this element found, and it was set to overwrite, then we have to ensure that the next metadata with this element found (if any) is changed to be overwrite now. 387 387 if(first_metadata_element_found && !metadata.accumulates()) { 388 System.err.println("First of this element found!");388 ///ystem.err.println("First of this element found!"); 389 389 make_next_metadata_element_overwrite = true; 390 390 } … … 392 392 // If this was the first metadata we've found with the element of the one to be removed set first found to false. 393 393 else if(first_metadata_element_found) { 394 System.err.println("Found a matching element: " + element + "=" + value);394 ///ystem.err.println("Found a matching element: " + element + "=" + value); 395 395 first_metadata_element_found = false; 396 396 } 397 397 // Otherwise we should make this metadata overwrite as requested. 398 398 else if(make_next_metadata_element_overwrite) { 399 System.err.println("Changing to overwrite: " + element + "=" + value);399 ///ystem.err.println("Changing to overwrite: " + element + "=" + value); 400 400 metadata_element.setAttribute(MODE_ATTRIBUTE, ""); 401 401 } -
trunk/gli/src/org/greenstone/gatherer/msm/GDMManager.java
r4365 r4402 263 263 */ 264 264 public synchronized void metadataChanged(MSMEvent event) { 265 System.err.println("Recieved Event: " + event.toString());265 ///ystem.err.println("Recieved Event: " + event.toString()); 266 266 File file = event.getFile(); 267 267 if(file == null) {
Note:
See TracChangeset
for help on using the changeset viewer.