From 7cf36bfc3825735dfb659c8f9498764eeb18e673 Mon Sep 17 00:00:00 2001 From: yejunhao Date: Thu, 11 Apr 2024 14:13:27 +0800 Subject: [PATCH] fix comment --- .../java/org/apache/paimon/io/DataFilePathFactory.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/paimon-core/src/main/java/org/apache/paimon/io/DataFilePathFactory.java b/paimon-core/src/main/java/org/apache/paimon/io/DataFilePathFactory.java index 4b6082f31bf84..1bf5fc55b6496 100644 --- a/paimon-core/src/main/java/org/apache/paimon/io/DataFilePathFactory.java +++ b/paimon-core/src/main/java/org/apache/paimon/io/DataFilePathFactory.java @@ -60,13 +60,9 @@ public Path newChangelogPath() { return newPath(CHANGELOG_FILE_PREFIX); } - private Path newPath(String prefix, String subffix) { - String name = prefix + uuid + "-" + pathCount.getAndIncrement() + "." + subffix; - return new Path(parent, name); - } - private Path newPath(String prefix) { - return newPath(prefix, formatIdentifier); + String name = prefix + uuid + "-" + pathCount.getAndIncrement() + "." + formatIdentifier; + return new Path(parent, name); } public Path toPath(String fileName) {