Commit d24f1167 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Updated #parseServer with latest Smack version which includes a fix.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@326 b35dd754-fafc-0310-a699-88a17e54d16e
parent ac7b8d13
...@@ -910,9 +910,6 @@ public class StringUtils { ...@@ -910,9 +910,6 @@ public class StringUtils {
if (atIndex + 1 > XMPPAddress.length()) { if (atIndex + 1 > XMPPAddress.length()) {
return ""; return "";
} }
if (atIndex < 0) {
atIndex = 0;
}
int slashIndex = XMPPAddress.indexOf("/"); int slashIndex = XMPPAddress.indexOf("/");
if (slashIndex > 0) { if (slashIndex > 0) {
return XMPPAddress.substring(atIndex + 1, slashIndex); return XMPPAddress.substring(atIndex + 1, slashIndex);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment