You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by rs...@apache.org on 2023/05/05 12:21:19 UTC
[avro] branch branch-1.11 updated: RecordWithTimestamps#equals should compare its own localDateTime with that.localDateTime (#2204)
This is an automated email from the ASF dual-hosted git repository.
rskraba pushed a commit to branch branch-1.11
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/branch-1.11 by this push:
new afce428e1 RecordWithTimestamps#equals should compare its own localDateTime with that.localDateTime (#2204)
afce428e1 is described below
commit afce428e10935700fb4dc18cbc8b6cb6e0070b7c
Author: Sergey Nuyanzin <se...@aiven.io>
AuthorDate: Fri May 5 14:19:43 2023 +0200
RecordWithTimestamps#equals should compare its own localDateTime with that.localDateTime (#2204)
---
.../src/test/java/org/apache/avro/reflect/TestReflectLogicalTypes.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lang/java/avro/src/test/java/org/apache/avro/reflect/TestReflectLogicalTypes.java b/lang/java/avro/src/test/java/org/apache/avro/reflect/TestReflectLogicalTypes.java
index c23a2f736..591c68fc0 100644
--- a/lang/java/avro/src/test/java/org/apache/avro/reflect/TestReflectLogicalTypes.java
+++ b/lang/java/avro/src/test/java/org/apache/avro/reflect/TestReflectLogicalTypes.java
@@ -764,6 +764,6 @@ class RecordWithTimestamps {
return false;
}
RecordWithTimestamps that = (RecordWithTimestamps) obj;
- return Objects.equals(that.localDateTime, that.localDateTime);
+ return Objects.equals(localDateTime, that.localDateTime);
}
}