Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 460 → Rev 461

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