code: protected void coalesceHostAuthorityStrings() {
          if (this.cachedAuthorityMinusUserinfo != null
                  && this.cachedHost != null
                  && this.cachedHost.length() ==
                      this.cachedAuthorityMinusUserinfo.length()) {
              // lengths can only be identical if contents
              // are identical; use only one instance
              this.cachedAuthorityMinusUserinfo = this.cachedHost;
          }
      }
docs: The two String fields cachedHost and cachedAuthorityMinusUserInfo are
  usually identical; if so, coalesce into a single instance.