legacy/src/main/java/thredds/catalog/InvAccessImpl.java
boolean check(StringBuilder out, boolean show) {
    boolean isValid = true;

    if (log.length() > 0) {
      isValid = false;
      out.append( log);
    }

    if (getService() == null) {
      out.append("**InvAccess in (").append(dataset.getFullName()).append("): with urlPath= (").append(urlPath).append(") has no valid service\n");
      isValid = false;
    }

    else if (getStandardUrlName() == null) {
      out.append("**InvAccess in (").append(dataset.getFullName()).append("): with urlPath= (").append(urlPath).append(") has invalid URL\n");
      isValid = false;
    }

    if (show) System.out.println("   access "+urlPath+" valid = "+isValid);

    return isValid;
  }
boolean check(StringBuilder out, boolean show) {
    boolean isValid = true;

    if (log.length() > 0) {
      isValid = false;
      out.append( log);
    }

    if (getService() == null) {
      out.append("**InvAccess in (").append(dataset.getFullName()).append("): with urlPath= (").append(urlPath).append(") has no valid service\n");
      isValid = false;
    }

    else if (getStandardUrlName() == null) {
      out.append("**InvAccess in (").append(dataset.getFullName()).append("): with urlPath= (").append(urlPath).append(") has invalid URL\n");
      isValid = false;
    }

    if (show) System.out.println("   access "+urlPath+" valid = "+isValid);

    return isValid;
  }
boolean check ( StringBuilder out , boolean show ) { boolean isValid = true ; if ( log . length ( ) > 0 ) { isValid = false ; out . append ( log ) ; } if ( getService ( ) == null ) { out . append ( "**InvAccess in (" ) . append ( dataset . getFullName ( ) ) . append ( "): with urlPath= (" ) . append ( urlPath ) . append ( ") has no valid service\n" ) ; isValid = false ; } else if ( getStandardUrlName ( ) == null ) { out . append ( "**InvAccess in (" ) . append ( dataset . getFullName ( ) ) . append ( "): with urlPath= (" ) . append ( urlPath ) . append ( ") has invalid URL\n" ) ; isValid = false ; } if ( show ) System . out . println ( "   access " + urlPath + " valid = " + isValid ) ; return isValid ; }
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////