"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "httpclient/src/main/java/org/apache/http/client/utils/URIBuilder.java" between
httpcomponents-client-4.5.8-src.tar.gz and httpcomponents-client-4.5.9-src.tar.gz

About: HttpComponents is an Apache project responsible for creating and maintaining a toolset of low level Java components focused on HTTP and associated protocols. Java sources.

URIBuilder.java  (httpcomponents-client-4.5.8-src):URIBuilder.java  (httpcomponents-client-4.5.9-src)
skipping to change at line 37 skipping to change at line 37
package org.apache.http.client.utils; package org.apache.http.client.utils;
import java.net.URI; import java.net.URI;
import java.net.URISyntaxException; import java.net.URISyntaxException;
import java.nio.charset.Charset; import java.nio.charset.Charset;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collections; import java.util.Collections;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.apache.http.Consts; import org.apache.http.Consts;
import org.apache.http.NameValuePair; import org.apache.http.NameValuePair;
import org.apache.http.conn.util.InetAddressUtils; import org.apache.http.conn.util.InetAddressUtils;
import org.apache.http.message.BasicNameValuePair; import org.apache.http.message.BasicNameValuePair;
import org.apache.http.util.TextUtils; import org.apache.http.util.TextUtils;
/** /**
* Builder for {@link URI} instances. * Builder for {@link URI} instances.
* *
* @since 4.2 * @since 4.2
skipping to change at line 524 skipping to change at line 523
} }
public int getPort() { public int getPort() {
return this.port; return this.port;
} }
/** /**
* @since 4.5.8 * @since 4.5.8
*/ */
public boolean isPathEmpty() { public boolean isPathEmpty() {
return (this.pathSegments == null || this.pathSegments.isEmpty()) && thi return (this.pathSegments == null || this.pathSegments.isEmpty()) &&
s.encodedPath == null; (this.encodedPath == null || this.encodedPath.isEmpty());
} }
/** /**
* @since 4.5.8 * @since 4.5.8
*/ */
public List<String> getPathSegments() { public List<String> getPathSegments() {
return this.pathSegments != null ? new ArrayList<String>(this.pathSegmen ts) : Collections.<String>emptyList(); return this.pathSegments != null ? new ArrayList<String>(this.pathSegmen ts) : Collections.<String>emptyList();
} }
public String getPath() { public String getPath() {
 End of changes. 2 change blocks. 
3 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)