Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 459 → Rev 460

/impl/src/java/pt/estgp/estgweb/services/srusources/SruSourcesCommonServices.java
161,9 → 161,9
for(String item: pathItems)
{
if(item.trim().length() > 0)
pathBuidler.append("/").append(URLEncoder.encode(item,"ISO-8859-1"));
pathBuidler.append("/").append(URLEncoder.encode(item.replace(" ","%20"),"ISO-8859-1"));
}
urlStr = urlStr.substring(0,urlStr.length() - (relativePathStr.length() + 1)) + pathBuidler.toString();
urlStr = urlStr.substring(0,urlStr.length() - (relativePathStr.length())) + pathBuidler.toString();
 
 
defaultResult.setUrl(urlStr);