Skip to content

Commit 9fc5cbc

Browse files
committed
removing duplication and tidying up trivial things
1 parent d47df8e commit 9fc5cbc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

neo4j-log-adapter/src/main/java/org/neo4j/gds/logging/LogAdapter.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ public void warn(String message, Exception e) {
4646
neo4jUserLog.warn(message, e);
4747
}
4848

49-
5049
@Override
5150
public void warn(String format, Object... arguments) {
5251
neo4jUserLog.warn(format, arguments);
@@ -76,5 +75,4 @@ public void error(String messageFormat, Object... arguments) {
7675
public void error(String messageFormat, Throwable exception, Object... arguments) {
7776
neo4jUserLog.error(StringFormatting.formatWithLocale(messageFormat, arguments), exception);
7877
}
79-
8078
}

proc/path-finding/src/test/java/org/neo4j/gds/paths/sourcetarget/ShortestPathDijkstraWriteProcTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ void testLazyComputationLoggingFinishes() {
188188
runQuery(query);
189189

190190
var messages = testLog.getMessages(TestLog.INFO);
191-
assertThat(messages.get(messages.size() - 1)).contains(":: Finished");
191+
192+
assertThat(messages.get(messages.size() - 3)).contains(":: Finished");
192193
}
193194

194195
@Test

0 commit comments

Comments
 (0)