protected String generateSamplesInfoText(String containerId) throws Exception {
  String url=getContainerServerDownloadUrl(containerId);
  if (url != null) {
    StringBuilder output=new StringBuilder();
    output.append("h3.Tested On");
    output.append(LINE_SEPARATOR);
    output.append("This container is automatically tested by the " + "[Continous Integration system|https://semaphoreci.com/codehaus-cargo/cargo] " + "every time there is a code change.");
    output.append(LINE_SEPARATOR);
    output.append("The server used for tests is downloaded from: ");
    output.append(url);
    output.append(LINE_SEPARATOR);
    output.append(LINE_SEPARATOR);
    return output.toString();
  }
 else {
    return "";
  }
}

protected String generateSamplesInfoText ( String containerId ) throws Exception { String url = getContainerServerDownloadUrl ( containerId ) ; if ( url != null ) { StringBuilder output = new StringBuilder ( ) ; output . append ( "h3.Tested On" ) ; output . append ( LINE_SEPARATOR ) ; output . append ( "This container is automatically tested by the " + "[Continous Integration system|https://semaphoreci.com/codehaus-cargo/cargo] " + "every time there is a code change." ) ; output . append ( LINE_SEPARATOR ) ; output . append ( "The server used for tests is downloaded from: " ) ; output . append ( url ) ; output . append ( LINE_SEPARATOR ) ; output . append ( LINE_SEPARATOR ) ; return output . toString ( ) ; } else { return "" ; } }
generate documentation for the samples of a given container .
