@ -183,7 +183,7 @@ public class UriComponentsBuilder implements Cloneable {
@@ -183,7 +183,7 @@ public class UriComponentsBuilder implements Cloneable {
@ -243,7 +243,7 @@ public class UriComponentsBuilder implements Cloneable {
@@ -243,7 +243,7 @@ public class UriComponentsBuilder implements Cloneable {
@ -429,7 +429,7 @@ public class UriComponentsBuilder implements Cloneable {
@@ -429,7 +429,7 @@ public class UriComponentsBuilder implements Cloneable {
*@returnthisUriComponentsBuilder
*/
publicUriComponentsBuilderuri(URIuri){
Assert.notNull(uri,"'uri' must not be null");
Assert.notNull(uri,"URI must not be null");
this.scheme=uri.getScheme();
if(uri.isOpaque()){
this.ssp=uri.getRawSchemeSpecificPart();
@ -489,7 +489,7 @@ public class UriComponentsBuilder implements Cloneable {
@@ -489,7 +489,7 @@ public class UriComponentsBuilder implements Cloneable {
Assert.notNull(uriComponents,"'uriComponents' must not be null");
Assert.notNull(uriComponents,"UriComponents must not be null");
uriComponents.copyToUriComponentsBuilder(this);
returnthis;
}
@ -538,7 +538,7 @@ public class UriComponentsBuilder implements Cloneable {
@@ -538,7 +538,7 @@ public class UriComponentsBuilder implements Cloneable {
*@returnthisUriComponentsBuilder
*/
publicUriComponentsBuilderport(intport){
Assert.isTrue(port>=-1,"'port' must not be < -1");
Assert.isTrue(port>=-1,"Port must be >= -1");
this.port=String.valueOf(port);
resetSchemeSpecificPart();
returnthis;
@ -587,7 +587,6 @@ public class UriComponentsBuilder implements Cloneable {
@@ -587,7 +587,6 @@ public class UriComponentsBuilder implements Cloneable {
Assert.notNull(pathSegments,"'segments' must not be null");
this.pathBuilder.addPathSegments(pathSegments);
resetSchemeSpecificPart();
returnthis;
@ -647,7 +646,7 @@ public class UriComponentsBuilder implements Cloneable {
@@ -647,7 +646,7 @@ public class UriComponentsBuilder implements Cloneable {
@ -667,8 +666,9 @@ public class UriComponentsBuilder implements Cloneable {
@@ -667,8 +666,9 @@ public class UriComponentsBuilder implements Cloneable {
Assert.notNull(params,"'params' must not be null");
this.queryParams.putAll(params);
if(params!=null){
this.queryParams.putAll(params);
}
returnthis;
}
@ -680,7 +680,7 @@ public class UriComponentsBuilder implements Cloneable {
@@ -680,7 +680,7 @@ public class UriComponentsBuilder implements Cloneable {
@ -695,9 +695,10 @@ public class UriComponentsBuilder implements Cloneable {
@@ -695,9 +695,10 @@ public class UriComponentsBuilder implements Cloneable {
Assert.notNull(params,"'params' must not be null");
this.queryParams.clear();
this.queryParams.putAll(params);
if(params!=null){
this.queryParams.putAll(params);
}
returnthis;
}
@ -709,7 +710,7 @@ public class UriComponentsBuilder implements Cloneable {
@@ -709,7 +710,7 @@ public class UriComponentsBuilder implements Cloneable {