You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2014/06/30 15:38:38 UTC
svn commit: r1606728 -
/subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNRemoteTests.java
Author: brane
Date: Mon Jun 30 13:38:38 2014
New Revision: 1606728
URL: http://svn.apache.org/r1606728
Log:
Remove a compilation warning in JavaHL.
* subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNRemoteTests.java
(SVNRemoteTests.RemoteStatusReceiver.StatInfo.hashCode): Add mandatory overload.
(SVNRemoteTests.RemoteStatusReceiver.StatInfo.compareTo): Add decorator.
Modified:
subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNRemoteTests.java
Modified: subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNRemoteTests.java
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNRemoteTests.java?rev=1606728&r1=1606727&r2=1606728&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNRemoteTests.java (original)
+++ subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNRemoteTests.java Mon Jun 30 13:38:38 2014
@@ -1063,6 +1063,13 @@ public class SVNRemoteTests extends SVNT
return this.relpath.equals(that.relpath);
}
+ @Override
+ public int hashCode()
+ {
+ return this.relpath.hashCode();
+ }
+
+ @Override
public int compareTo(StatInfo that)
{
return this.relpath.compareTo(that.relpath);