Skip to content

Commit bcc59c7

Browse files
FlorentinDtinwelint
andcommitted
Fix flipped idType to LongIdVisitor mapping
Co-authored-by: Mattias Finné <[email protected]>
1 parent 3596d11 commit bcc59c7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

compatibility/4.3/neo4j-kernel-adapter/src/main/java/org/neo4j/gds/compat/_43/Neo4jProxyImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ public Input batchInputFrom(CompatInput compatInput) {
404404
@Override
405405
public InputEntityIdVisitor.Long inputEntityLongIdVisitor(IdType idType) {
406406
switch (idType) {
407-
case INTEGER:
407+
case ACTUAL:
408408
return new InputEntityIdVisitor.Long() {
409409
@Override
410410
public void visitNodeId(InputEntityVisitor visitor, long id) {
@@ -421,7 +421,7 @@ public void visitTargetId(InputEntityVisitor visitor, long id) {
421421
visitor.endId(id);
422422
}
423423
};
424-
case ACTUAL:
424+
case INTEGER:
425425
return new InputEntityIdVisitor.Long() {
426426
@Override
427427
public void visitNodeId(InputEntityVisitor visitor, long id) {

compatibility/4.4/neo4j-kernel-adapter/src/main/java/org/neo4j/gds/compat/_44/Neo4jProxyImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ public Input batchInputFrom(CompatInput compatInput) {
410410
@Override
411411
public InputEntityIdVisitor.Long inputEntityLongIdVisitor(IdType idType) {
412412
switch (idType) {
413-
case INTEGER:
413+
case ACTUAL:
414414
return new InputEntityIdVisitor.Long() {
415415
@Override
416416
public void visitNodeId(InputEntityVisitor visitor, long id) {
@@ -427,7 +427,7 @@ public void visitTargetId(InputEntityVisitor visitor, long id) {
427427
visitor.endId(id);
428428
}
429429
};
430-
case ACTUAL:
430+
case INTEGER:
431431
return new InputEntityIdVisitor.Long() {
432432
@Override
433433
public void visitNodeId(InputEntityVisitor visitor, long id) {

compatibility/5.1/neo4j-kernel-adapter/src/main/java17/org/neo4j/gds/compat/_51/Neo4jProxyImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ public Input batchInputFrom(CompatInput compatInput) {
504504
@Override
505505
public InputEntityIdVisitor.Long inputEntityLongIdVisitor(IdType idType) {
506506
switch (idType) {
507-
case INTEGER -> {
507+
case ACTUAL -> {
508508
return new InputEntityIdVisitor.Long() {
509509
@Override
510510
public void visitNodeId(InputEntityVisitor visitor, long id) {
@@ -522,7 +522,7 @@ public void visitTargetId(InputEntityVisitor visitor, long id) {
522522
}
523523
};
524524
}
525-
case ACTUAL -> {
525+
case INTEGER -> {
526526
var globalGroup = new Group(0, null, null);
527527

528528
return new InputEntityIdVisitor.Long() {

0 commit comments

Comments
 (0)