this.documents = loadDocuments(new File(file));
}
private String generateDocumentUri(String fileName) {
StringBuilder builder = new StringBuilder();
builder.append("http://");
<BUG>builder.append(name.replace(' ', '_'));
</BUG>
builder.append('/');
builder.append(fileName);
return builder.toString();

this.documents = loadDocuments(new File(file));
}
private String generateDocumentUri(String fileName) {
StringBuilder builder = new StringBuilder();
builder.append("http://");
builder.append(name.replace(" ", "_"));
builder.append('/');
builder.append(fileName);
return builder.toString();
