justahero/uri — pull request #33 by justahero (2012-09-21 23:15:26+00:00)
Title: Refactored port handling, code clean up

* port is reset in both `withPort` methods, fixed reassigning port value
* `parsePort` method gets port as `int` value
* added tests to check reassigning of port