Revision 2574
Added by Jing Tao about 19 years ago
src/edu/ucsb/nceas/metacat/MetaCatUtil.java | ||
---|---|---|
705 | 705 |
String serverHost = null; |
706 | 706 |
serverHost = getOption("server"); |
707 | 707 |
// append "context/servelet/replication" to the host name |
708 |
replicationServerName = serverHost + getOption("replicationpath");
|
|
708 |
replicationServerName = serverHost.trim() + getOption("replicationpath").trim();
|
|
709 | 709 |
return replicationServerName; |
710 | 710 |
|
711 | 711 |
} |
Also available in: Unified diff
Add code to trim white space in server name.