Skip to content

Commit 21c3af9

Browse files
committed
fix CI
1 parent 7f4a546 commit 21c3af9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

polaris-core/src/main/java/org/apache/polaris/core/persistence/EntityAlreadyExistsException.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@
2525
* creation of a new entity; provides a member holding the conflicting entity.
2626
*/
2727
public class EntityAlreadyExistsException extends RuntimeException {
28-
private PolarisBaseEntity existingEntity;
28+
private final PolarisBaseEntity existingEntity;
2929

3030
/**
3131
* @param existingEntity The conflicting entity that caused creation to fail.
3232
*/
3333
public EntityAlreadyExistsException(PolarisBaseEntity existingEntity) {
3434
super(message(existingEntity));
35+
this.existingEntity = existingEntity;
3536
}
3637

3738
public EntityAlreadyExistsException(PolarisBaseEntity existingEntity, Throwable cause) {

0 commit comments

Comments
 (0)