Skip to content
Permalink
Browse files
8263688: Coordinate equals, hashCode and compareTo of JavacFileManage…
…r.PathAndContainer

Reviewed-by: vromero
  • Loading branch information
pavelrappo committed Mar 17, 2021
1 parent d1baed6 commit 23fc2a4d97e17b16e785235a3a307ce8fe26d927
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -1106,7 +1106,7 @@ public boolean equals(Object o) {
PathAndContainer that = (PathAndContainer) o;
return path.equals(that.path)
&& container.equals(that.container)
&& index == this.index;
&& index == that.index;
}

@Override

1 comment on commit 23fc2a4

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 23fc2a4 Mar 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.