From 8f9c61e90394b6f11b285a8023ade436c9fcedca Mon Sep 17 00:00:00 2001 From: Jerry Shao Date: Mon, 29 Jan 2024 10:43:49 +0800 Subject: [PATCH] Fix building issue --- .../gravitino/catalog/file/EntityCombinedFileset.java | 2 +- .../java/com/datastrato/gravitino/TestCatalogOperations.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/datastrato/gravitino/catalog/file/EntityCombinedFileset.java b/core/src/main/java/com/datastrato/gravitino/catalog/file/EntityCombinedFileset.java index 1c84cdef5dc..b627e55b1e4 100644 --- a/core/src/main/java/com/datastrato/gravitino/catalog/file/EntityCombinedFileset.java +++ b/core/src/main/java/com/datastrato/gravitino/catalog/file/EntityCombinedFileset.java @@ -69,7 +69,7 @@ public Map properties() { @Override public Audit auditInfo() { AuditInfo mergedAudit = - new AuditInfo.Builder() + AuditInfo.builder() .withCreator(fileset.auditInfo().creator()) .withCreateTime(fileset.auditInfo().createTime()) .withLastModifier(fileset.auditInfo().lastModifier()) diff --git a/core/src/test/java/com/datastrato/gravitino/TestCatalogOperations.java b/core/src/test/java/com/datastrato/gravitino/TestCatalogOperations.java index 1cdf60f26d3..2dbcd1c7958 100644 --- a/core/src/test/java/com/datastrato/gravitino/TestCatalogOperations.java +++ b/core/src/test/java/com/datastrato/gravitino/TestCatalogOperations.java @@ -411,7 +411,7 @@ public Fileset createFileset( Map properties) throws NoSuchSchemaException, FilesetAlreadyExistsException { AuditInfo auditInfo = - new AuditInfo.Builder().withCreator("test").withCreateTime(Instant.now()).build(); + AuditInfo.builder().withCreator("test").withCreateTime(Instant.now()).build(); TestFileset fileset = new TestFileset.Builder() .withName(ident.name()) @@ -439,7 +439,7 @@ public Fileset alterFileset(NameIdentifier ident, FilesetChange... changes) } AuditInfo updatedAuditInfo = - new AuditInfo.Builder() + AuditInfo.builder() .withCreator("test") .withCreateTime(Instant.now()) .withLastModifier("test")