From 93f150b2f5a649d8eb8e122491571443dc4abd24 Mon Sep 17 00:00:00 2001 From: Love Leifland Date: Tue, 10 Dec 2024 09:48:12 +0100 Subject: [PATCH] Comments --- .../main/java/apoc/refactor/GraphRefactoring.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/src/main/java/apoc/refactor/GraphRefactoring.java b/core/src/main/java/apoc/refactor/GraphRefactoring.java index 1d1fe75f4..c387e8ebb 100644 --- a/core/src/main/java/apoc/refactor/GraphRefactoring.java +++ b/core/src/main/java/apoc/refactor/GraphRefactoring.java @@ -508,8 +508,8 @@ public Stream to( if (failOnErrors) { throw e; } else { - // Note! We might now have half applied the changes, not sure why we would want to do this instead of - // just failing. + // Note! We might now have half applied the changes, + // not sure why we would ever want to do this instead of just failing. // I guess it's up to the user to explicitly rollback at this point ¯\_(ツ)_/¯. return Stream.of(result.withError(e)); } @@ -553,8 +553,8 @@ public Stream invert( if (failOnErrors) { throw e; } else { - // Note! We might now have half applied the changes, not sure why we would want to do this instead of - // just failing. + // Note! We might now have half applied the changes, + // not sure why we would ever want to do this instead of just failing. // I guess it's up to the user to explicitly rollback at this point ¯\_(ツ)_/¯. return Stream.of(result.withError(e)); } @@ -601,8 +601,8 @@ public Stream from( if (failOnErrors) { throw e; } else { - // Note! We might now have half applied the changes, not sure why we would want to do this instead of - // just failing. + // Note! We might now have half applied the changes, + // not sure why we would ever want to do this instead of just failing. // I guess it's up to the user to explicitly rollback at this point ¯\_(ツ)_/¯. return Stream.of(result.withError(e)); }