SpringSource/spring-framework — pull request #249 by olivergierke (2013-03-08 16:38:25+00:00)
Title: UriComponentsBuilder now parses empty fragment correctly.

Previously, UriComponentsBuilder.fromUriString(…) threw an exception in
case an empty fragment was provided (e.g. /example#). Added a check for
an empty fragment and prevent the invocation of fragment(…).

Issue: SPR-10363