Skip to content

Commit 94575e8

Browse files
committed
Fix a comment
1 parent 21e1592 commit 94575e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/engineering/swat/watch/WatchEvent.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ public String toString() {
131131
* <p>
132132
* Tests the equivalence of two events. Two events are equivalent when they
133133
* have equal kinds, equal root paths, and equal relative paths.
134+
* </p>
134135
*
135136
* <p>
136137
* Note: This method applies different logic to compare events than (the
@@ -139,6 +140,7 @@ public String toString() {
139140
* compared in terms of their identities (e.g., two successive modifications
140141
* of the same file result in events that are equivalent, but not equal;
141142
* they need to be distinguishable in collections).
143+
* </p>
142144
*/
143145
public static boolean areEquivalent(WatchEvent e1, WatchEvent e2) {
144146
return Objects.equals(e1.getKind(), e2.getKind()) &&

0 commit comments

Comments
 (0)