legacy/src/main/java/thredds/catalog/InvAccessImpl.java
public boolean finish() {
    if (serviceName != null) {
      this.service = dataset.findService(serviceName);
      if (this.service == null)
        log.append("**InvAccess in (").append(dataset.getFullName()).append("): has unknown service named (").append(serviceName).append(")\n");
    }

      // check urlPath is ok
    try {
      new java.net.URI(urlPath);
    } catch (java.net.URISyntaxException e) {
      log.append("**InvAccess in (").append(dataset.getFullName()).append("):\n" + "   urlPath= ").append(urlPath).append(")\n  URISyntaxException=").append(e.getMessage());
    }

    return true;
  }
public boolean finish() {
    if (serviceName != null) {
      this.service = dataset.findService(serviceName);
      if (this.service == null)
        log.append("**InvAccess in (").append(dataset.getFullName()).append("): has unknown service named (").append(serviceName).append(")\n");
    }

      // check urlPath is ok
    try {
      new java.net.URI(urlPath);
    } catch (java.net.URISyntaxException e) {
      log.append("**InvAccess in (").append(dataset.getFullName()).append("):\n" + "   urlPath= ").append(urlPath).append(")\n  URISyntaxException=").append(e.getMessage());
    }

    return true;
  }
public boolean finish ( ) { if ( serviceName != null ) { this . service = dataset . findService ( serviceName ) ; if ( this . service == null ) log . append ( "**InvAccess in (" ) . append ( dataset . getFullName ( ) ) . append ( "): has unknown service named (" ) . append ( serviceName ) . append ( ")\n" ) ; } // check urlPath is ok try { new java . net . URI ( urlPath ) ; } catch ( java . net . URISyntaxException e ) { log . append ( "**InvAccess in (" ) . append ( dataset . getFullName ( ) ) . append ( "):\n" + "   urlPath= " ) . append ( urlPath ) . append ( ")\n  URISyntaxException=" ) . append ( e . getMessage ( ) ) ; } return true ; }
* Finish constructing after all elements have been added.
@return true if successful.
* Finish constructing after all elements have been added .