This is an automated email from the ASF dual-hosted git repository.
adutra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new cba706fb Remove redundant local variable (#574)
cba706fb is described below
commit cba706fbdbe2b28b714c62217a38fe0ddc6fdbe2
Author: chenjian2664 <[email protected]>
AuthorDate: Tue Dec 17 23:15:39 2024 +0800
Remove redundant local variable (#574)
---
.../apache/polaris/core/storage/cache/StorageCredentialCacheTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/polaris-core/src/test/java/org/apache/polaris/core/storage/cache/StorageCredentialCacheTest.java
b/polaris-core/src/test/java/org/apache/polaris/core/storage/cache/StorageCredentialCacheTest.java
index 5e276030..d19bc41c 100644
---
a/polaris-core/src/test/java/org/apache/polaris/core/storage/cache/StorageCredentialCacheTest.java
+++
b/polaris-core/src/test/java/org/apache/polaris/core/storage/cache/StorageCredentialCacheTest.java
@@ -431,7 +431,6 @@ public class StorageCredentialCacheTest {
new PolarisBaseEntity(
3, 2, PolarisEntityType.CATALOG, PolarisEntitySubType.TABLE,
0, "name"));
- List<PolarisEntity> entityList = Arrays.asList(polarisEntity1,
polarisEntity2, polarisEntity3);
- return entityList;
+ return Arrays.asList(polarisEntity1, polarisEntity2, polarisEntity3);
}
}