You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ji...@apache.org on 2023/05/11 12:15:18 UTC
[shardingsphere] branch master updated: Add the missing @deprecated Javadoc tag (#25583)
This is an automated email from the ASF dual-hosted git repository.
jianglongtao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new ba7126b7ecf Add the missing @deprecated Javadoc tag (#25583)
ba7126b7ecf is described below
commit ba7126b7ecfba22671088829fef82aba237c33c6
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Thu May 11 20:15:09 2023 +0800
Add the missing @deprecated Javadoc tag (#25583)
* Add the missing @deprecated Javadoc tag
* Rollback sonar cloud action
---
.github/workflows/check-sonarcloud.yml | 19 ++++---------------
.../shardingsphere/encrypt/rule/EncryptRule.java | 5 +++++
2 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/.github/workflows/check-sonarcloud.yml b/.github/workflows/check-sonarcloud.yml
index f15b776e3e6..c05f322fbb3 100644
--- a/.github/workflows/check-sonarcloud.yml
+++ b/.github/workflows/check-sonarcloud.yml
@@ -46,19 +46,16 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- - name: Set up JDK 11
- uses: actions/setup-java@v3
+ - uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
- - name: Cache SonarCloud packages
- uses: actions/cache@v3
+ - uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- - name: Cache Maven packages
- uses: actions/cache@v3
+ - uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ env.CACHE_PREFIX }}-maven-third-party-${{ hashFiles('**/pom.xml') }}
@@ -68,12 +65,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
- run: ./mvnw clean verify sonar:sonar \
- -Dsonar.organization=apache \
- -Dsonar.projectKey=apache_shardingsphere \
- -Dsonar.pullrequest.key=${{ github.event.pull_request.number }} \
- -Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }} \
- -Dsonar.pullrequest.github.repository=apache/shardingsphere \
- -Dsonar.pullrequest.provider=GitHub \
- -Dsonar.pullrequest.github.summary_comment=true \
- -Dmaven.javadoc.skip=true -Drat.skip=true -Djacoco.skip=true -DskipTests
+ run: ./mvnw -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apache_shardingsphere -Dmaven.javadoc.skip=true -Drat.skip=true -Djacoco.skip=true -DskipTests
diff --git a/features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/rule/EncryptRule.java b/features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/rule/EncryptRule.java
index a66bda24a2f..f4fc882569b 100644
--- a/features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/rule/EncryptRule.java
+++ b/features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/rule/EncryptRule.java
@@ -69,6 +69,11 @@ public final class EncryptRule implements DatabaseRule, TableContainedRule, Colu
ruleConfig.getTables().forEach(each -> tables.put(each.getName().toLowerCase(), new EncryptTable(each)));
}
+ /**
+ * Encrypt rule constructor.
+ *
+ * @deprecated deprecated by compatible encrypt rule configuration
+ */
@Deprecated
public EncryptRule(final CompatibleEncryptRuleConfiguration ruleConfig) {
configuration = ruleConfig;