From 31fcf5321acd725a4feef75185bcf90f3f5ccf5d Mon Sep 17 00:00:00 2001 From: CaptainB Date: Wed, 18 Jan 2023 10:45:38 +0800 Subject: [PATCH] chore: javax change to jakarta --- .../java/io/metersphere/quota/controller/QuotaController.java | 2 +- .../java/io/metersphere/quota/service/BaseQuotaService.java | 2 +- .../io/metersphere/quota/service/QuotaManagementService.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/controller/QuotaController.java b/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/controller/QuotaController.java index ad8509459b..8933c23f5a 100644 --- a/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/controller/QuotaController.java +++ b/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/controller/QuotaController.java @@ -15,7 +15,7 @@ import io.metersphere.quota.service.QuotaManagementService; import org.apache.commons.lang3.StringUtils; import org.springframework.web.bind.annotation.*; -import javax.annotation.Resource; +import jakarta.annotation.Resource; import java.util.List; import java.util.Map; diff --git a/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/service/BaseQuotaService.java b/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/service/BaseQuotaService.java index 215b23b0d1..b7fe9fe1fe 100644 --- a/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/service/BaseQuotaService.java +++ b/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/service/BaseQuotaService.java @@ -22,7 +22,7 @@ import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; -import javax.annotation.Resource; +import jakarta.annotation.Resource; import java.math.BigDecimal; import java.text.DecimalFormat; import java.text.SimpleDateFormat; diff --git a/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/service/QuotaManagementService.java b/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/service/QuotaManagementService.java index 655b5ec619..903d85cfd6 100644 --- a/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/service/QuotaManagementService.java +++ b/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/service/QuotaManagementService.java @@ -21,7 +21,7 @@ import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; -import javax.annotation.Resource; +import jakarta.annotation.Resource; import java.math.BigDecimal; import java.util.List; import java.util.UUID;