~ubuntu-branches/ubuntu/vivid/httpcomponents-core/vivid-proposed

« back to all changes in this revision

Viewing changes to httpcore/src/main/java/org/apache/http/HttpHost.java

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2014-01-07 01:10:53 UTC
  • mfrom: (1.2.3)
  • Revision ID: package-import@ubuntu.com-20140107011053-eembrdf6yaoeleqg
Tags: 4.3.1-1
* New upstream release
  - Refreshed the patch
* Build with maven-debian-helper
* Removed the unused build dependencies on libmaven-assembly-plugin-java,
  libmaven-javadoc-plugin-java, libmaven-site-plugin-java
  and libsurefire-java
* Standards-Version updated to 3.9.5 (no changes)
* Switch to debhelper level 9

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
     */
79
79
    public HttpHost(final String hostname, final int port, final String scheme) {
80
80
        super();
81
 
        this.hostname   = Args.notNull(hostname, "Host name");
 
81
        this.hostname   = Args.notBlank(hostname, "Host name");
82
82
        this.lcHostname = hostname.toLowerCase(Locale.ENGLISH);
83
83
        if (scheme != null) {
84
84
            this.schemeName = scheme.toLowerCase(Locale.ENGLISH);