Skip to content

Commit

Permalink
rename common package to constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Pil0tXia committed Oct 20, 2023
1 parent 62935c4 commit 1de66a0
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.eventmesh.admin.config;

import org.apache.eventmesh.admin.common.ConfigConst;
import org.apache.eventmesh.admin.constant.ConfigConst;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

package org.apache.eventmesh.admin.config;

import static org.apache.eventmesh.admin.common.ConfigConst.META_TYPE_ETCD;
import static org.apache.eventmesh.admin.common.ConfigConst.META_TYPE_NACOS;
import static org.apache.eventmesh.admin.constant.ConfigConst.META_TYPE_ETCD;
import static org.apache.eventmesh.admin.constant.ConfigConst.META_TYPE_NACOS;

import org.apache.eventmesh.admin.service.ConnectionService;
import org.apache.eventmesh.admin.service.SubscriptionService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package org.apache.eventmesh.admin.common;
package org.apache.eventmesh.admin.constant;

public class ConfigConst {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package org.apache.eventmesh.admin.common;
package org.apache.eventmesh.admin.constant;

public class NacosConst {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.eventmesh.admin.enums;

import static org.apache.eventmesh.admin.common.ConfigConst.COLON;
import static org.apache.eventmesh.admin.constant.ConfigConst.COLON;

import org.springframework.http.HttpStatus;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.eventmesh.admin.exception;

import static org.apache.eventmesh.admin.common.ConfigConst.COLON;
import static org.apache.eventmesh.admin.constant.ConfigConst.COLON;

import org.apache.eventmesh.admin.enums.Errors;
import org.apache.eventmesh.admin.utils.ExceptionUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
import static org.apache.eventmesh.admin.enums.Errors.NACOS_LOGIN_ERR;
import static org.apache.eventmesh.admin.enums.Errors.NACOS_SDK_CONFIG_ERR;

import org.apache.eventmesh.admin.common.ConfigConst;
import org.apache.eventmesh.admin.common.NacosConst;
import org.apache.eventmesh.admin.constant.ConfigConst;
import org.apache.eventmesh.admin.constant.NacosConst;
import org.apache.eventmesh.admin.config.AdminProperties;
import org.apache.eventmesh.admin.dto.Result;
import org.apache.eventmesh.admin.exception.EventMeshAdminException;
Expand Down

0 comments on commit 1de66a0

Please sign in to comment.