flyrain commented on code in PR #899:
URL: https://github.com/apache/polaris/pull/899#discussion_r1932984307


##########
polaris-core/src/main/java/org/apache/polaris/core/context/Realm.java:
##########
@@ -29,16 +29,16 @@
  * isolated "universes".
  */
 @PolarisImmutable
-@JsonSerialize(as = ImmutableRealmId.class)
-@JsonDeserialize(as = ImmutableRealmId.class)
-public interface RealmId {
+@JsonSerialize(as = ImmutableRealm.class)
+@JsonDeserialize(as = ImmutableRealm.class)
+public interface Realm {
 
-  static RealmId newRealmId(String id) {
-    return ImmutableRealmId.of(id);
+  static Realm newRealm(String id) {

Review Comment:
   Good point. Resolved it by rename the method.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to