mirror of
https://github.com/zxing/zxing.git
synced 2025-01-12 19:57:27 -08:00
One final simplification
git-svn-id: https://zxing.googlecode.com/svn/trunk@2323 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
f47ca41725
commit
5e9f84dea2
|
@ -75,9 +75,6 @@ public final class URIParsedResult extends ParsedResult {
|
|||
} else if (isColonFollowedByPortNumber(uri, protocolEnd)) {
|
||||
// Found a colon, but it looks like it is after the host, so the protocol is still missing
|
||||
uri = "http://" + uri;
|
||||
} else {
|
||||
// Lowercase protocol to avoid problems
|
||||
uri = uri.substring(0, protocolEnd) + uri.substring(protocolEnd);
|
||||
}
|
||||
return uri;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue