Project

General

Profile

« Previous | Next » 

Revision 6257

Added by Chris Jones over 13 years ago

Make isScienceMetadata() protected for access from subclasses.

View differences:

src/edu/ucsb/nceas/metacat/dataone/D1NodeService.java
698 698
    return s;
699 699
  }
700 700

  
701
  /* 
701
  /** 
702 702
   * Determine if a given object should be treated as an XML science metadata
703 703
   * object. 
704 704
   * 
705 705
   * @param sysmeta - the SystemMetadata describing the object
706 706
   * @return true if the object should be treated as science metadata
707 707
   */
708
  private boolean isScienceMetadata(SystemMetadata sysmeta) {
708
  protected boolean isScienceMetadata(SystemMetadata sysmeta) {
709 709
    
710 710
    ObjectFormat objectFormat = null;
711 711
    boolean isScienceMetadata = false;

Also available in: Unified diff