Fix equals

This commit is contained in:
René Pfeuffer
2020-11-03 12:03:08 +01:00
parent e9b8ab5560
commit cc780eb737

View File

@@ -24,9 +24,6 @@
package sonia.scm.web;
//~--- non-JDK imports --------------------------------------------------------
import com.google.common.base.Charsets;
import com.google.common.base.MoreObjects;
import com.google.common.base.Objects;
@@ -34,8 +31,6 @@ import java.nio.charset.Charset;
import static com.google.common.base.Preconditions.checkNotNull;
//~--- JDK imports ------------------------------------------------------------
/**
* The software agent that is acting on behalf of a user. The user agent
* represents a browser or one of the repository client (svn, git or hg).
@@ -118,7 +113,7 @@ public final class UserAgent
return Objects.equal(name, other.name)
&& Objects.equal(browser, other.browser)
&& Objects.equal(basicAuthenticationCharset, basicAuthenticationCharset);
&& Objects.equal(basicAuthenticationCharset, other.basicAuthenticationCharset);
}
/**