We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f6df6 commit 2945b3bCopy full SHA for 2945b3b
src/main/java/org/jabref/logic/search/PostgresMetadataWriter.java
@@ -25,12 +25,11 @@ public static Path getMetadataFilePath() {
25
26
public static void write(int port) {
27
try {
28
- Map<String, Object> meta = createMetadata(port);
29
Path path = getMetadataFilePath();
30
- OBJECT_MAPPER.writerWithDefaultPrettyPrinter().writeValue(path.toFile(), meta);
+ OBJECT_MAPPER.writerWithDefaultPrettyPrinter().writeValue(path.toFile(), createMetadata(port));
31
LOGGER.info("Postgres metadata file path: {}", path);
32
} catch (IOException e) {
33
- LOGGER.warn("Failed to write Postgres metadata file", e);
+ LOGGER.warn("Failed to write Postgres metadata file.", e);
34
}
35
36
0 commit comments