Commit 430cc36
committed
TINKERPOP-3140 Prevent NPE for repeat()
NPE raised during calls to hashcode() during strategy application if the repeat() child traversal was null, like if you did g.V().emit() by mistake. This change allows the existing error message we've long used to get raised. CTR1 parent d16f4b7 commit 430cc36
File tree
2 files changed
+8
-1
lines changed- gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/branch
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
183 | 189 | | |
184 | 190 | | |
185 | 191 | | |
| |||
0 commit comments