File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/branch Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
115115* Deprecated `gremlin_python.process.__.has_key_` in favor of `gremlin_python.process.__.has_key`.
116116* Added `gremlin.spark.outputRepartition` configuration to customize the partitioning of HDFS files from `OutputRDD`.
117117* Allowed `mergeV()` and `mergeE()` to supply `null` in `Map` values.
118+ * Improved error message for when `emit()` is used without `repeat()`.
118119
119120[[release-3-7-3]]
120121=== TinkerPop 3.7.3 (October 23, 2024)
Original file line number Diff line number Diff line change @@ -182,6 +182,9 @@ public int hashCode() {
182182 int result = super .hashCode ();
183183 result ^= Boolean .hashCode (this .untilFirst );
184184 result ^= Boolean .hashCode (this .emitFirst ) << 1 ;
185+
186+ // not a normal state, but prevents NPE during strategy application allowing the better
187+ // user-friendly error message to show up at iteration
185188 if (this .repeatTraversal != null )
186189 result ^= this .repeatTraversal .hashCode ();
187190 if (this .loopName != null )
You can’t perform that action at this time.
0 commit comments