Affects Version/s: 1.13
Fix Version/s: 1.13
Consider the following snipped of code:
UriBuilder first = UriBuilder.fromUri("http://www.com/").replaceMatrixParam("example", "one", "two");
UriBuilder second = first.clone();
If you ran this code you would expect the following output:
But instead you get:
The problem is that the copy constructor doesn't copy the state of the matrixParams and queryParams, if you perform a build before the clone then the values are written throught to the path.