Skip to content

Commit

Permalink
Revert "add Deprecated annotation"
Browse files Browse the repository at this point in the history
This reverts commit 65af9e6
  • Loading branch information
xingfudeshi committed Feb 5, 2024
1 parent 034c45c commit c0c10e2
Show file tree
Hide file tree
Showing 42 changed files with 16 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

/**
* the interface configuration provider
*
*
*/
@Deprecated
public interface ConfigurationProvider extends org.apache.seata.config.ConfigurationProvider {
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
/**
* the interface ext configuration provider
*
*
*
*/
@Deprecated
public interface ExtConfigurationProvider extends org.apache.seata.config.ExtConfigurationProvider {
}
3 changes: 1 addition & 2 deletions compatible/src/main/java/io/seata/config/Processor.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@

/**
* The processing configuration.
*
*
*
*
*/
@Deprecated
public interface Processor extends org.apache.seata.config.processor.Processor {
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
/**
* The type AuthSigner
*/
@Deprecated
public interface AuthSigner extends org.apache.seata.core.auth.AuthSigner {

}
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@

/**
* The type Compressor
*
*
*/
@Deprecated
public interface Compressor extends org.apache.seata.core.compressor.Compressor {

}
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@


/**
*
*
*
* The interface Context core.
*
*/
@Deprecated
public interface ContextCore extends org.apache.seata.core.context.ContextCore {
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
/**
* The type Root context.
*/
@Deprecated
public class RootContext {

private static org.apache.seata.core.model.BranchType convertApacheSeata(BranchType branchType) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* Resource Manager: common behaviors.
*
*/
@Deprecated
public interface ResourceManager extends org.apache.seata.core.model.ResourceManager {

}
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@
package io.seata.core.model;

/**
*
*
*
* Transaction Manager.
*
* Define a global transaction and control it.
*
*/
@Deprecated
public interface TransactionManager extends org.apache.seata.core.model.TransactionManager {
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@
package io.seata.core.rpc;

/**
*
*
*
* The interface Register check auth handler.
*
*/
@Deprecated
public interface RegisterCheckAuthHandler extends org.apache.seata.core.rpc.RegisterCheckAuthHandler {
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@
/**
* The type RpcHook
*/
@Deprecated
public interface RpcHook extends org.apache.seata.core.rpc.hook.RpcHook {
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@
* The interface Codec.
*
*/
@Deprecated
public interface Serializer extends org.apache.seata.core.serializer.Serializer {
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*
* @since 1.2.0
*/
@Deprecated
public interface LockStoreSql extends org.apache.seata.core.store.db.sql.lock.LockStoreSql {

}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@
*/
package io.seata.core.store.db.sql.log;

@Deprecated
public interface LogStoreSqls extends org.apache.seata.core.store.db.sql.log.LogStoreSqls {
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@
* The interface Load balance.
*
*/
@Deprecated
public interface LoadBalance extends org.apache.seata.discovery.loadbalance.LoadBalance {
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@
/**
* the interface registry provider
*/
@Deprecated
public interface RegistryProvider extends org.apache.seata.discovery.registry.RegistryProvider {
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
*/
package io.seata.integration.tx.api.interceptor.parser;

@Deprecated

public interface InterfaceParser extends org.apache.seata.integration.tx.api.interceptor.parser.InterfaceParser {
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/
package io.seata.integration.tx.api.interceptor.parser;
@Deprecated

public interface RegisterResourceParser extends org.apache.seata.integration.tx.api.interceptor.parser.RegisterResourceParser {

}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
* limitations under the License.
*/
package io.seata.integration.tx.api.interceptor.parser;
@Deprecated

public interface TargetClassParser extends org.apache.seata.integration.tx.api.interceptor.parser.TargetClassParser {
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
package io.seata.integration.tx.api.json;


@Deprecated

public interface JsonParser extends org.apache.seata.integration.tx.api.json.JsonParser {
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@
* extract remoting bean info
*
*/
@Deprecated
public interface RemotingParser extends org.apache.seata.integration.tx.api.remoting.RemotingParser {
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@
* Exporter interface for metrics
*
*/
@Deprecated
public interface Exporter extends org.apache.seata.metrics.exporter.Exporter {
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@
* Registry interface for metrics
*
*/
@Deprecated
public interface Registry extends org.apache.seata.metrics.registry.Registry {
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@
* The Abstract RM event handler
*
*/
@Deprecated
public abstract class AbstractRMHandler extends org.apache.seata.rm.AbstractRMHandler {
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
*
* @param <T> the type parameter
*/
@Deprecated
public interface InsertExecutor<T> extends org.apache.seata.rm.datasource.exec.InsertExecutor<T> {

}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@
* The Type UndoExecutorHolder
*
*/
@Deprecated
public interface UndoExecutorHolder extends org.apache.seata.rm.datasource.undo.UndoExecutorHolder {
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@
* The type Undo log manager.
*
*/
@Deprecated
public interface UndoLogManager extends org.apache.seata.rm.datasource.undo.UndoLogManager {
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
*
* @param <T> the type parameter
*/
@Deprecated
public interface JacksonSerializer<T> extends org.apache.seata.rm.datasource.undo.parser.spi.JacksonSerializer<T> {

}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
*
* @param <T> the type parameter
*/
@Deprecated
public interface KryoTypeSerializer<T> extends org.apache.seata.rm.datasource.undo.parser.spi.KryoTypeSerializer<T> {

}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@
*
* @param <T> the type parameter
*/
@Deprecated
public interface ProtostuffDelegate<T> extends org.apache.seata.rm.datasource.undo.parser.spi.ProtostuffDelegate<T> {
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@
* StateHandler Interceptor
*
*/
@Deprecated
public interface StateHandlerInterceptor extends org.apache.seata.saga.engine.pcext.StateHandlerInterceptor {
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@
*
* @see StateRouter
*/
@Deprecated
public interface StateRouterInterceptor extends org.apache.seata.saga.engine.pcext.StateRouterInterceptor {
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* Json Parser
*
*/
@Deprecated
public interface JsonParser extends org.apache.seata.saga.statelang.parser.JsonParser {

}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@
*/
package io.seata.saga.statelang.validator;

@Deprecated
public interface Rule extends org.apache.seata.saga.statelang.validator.Rule {
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@
*
* @see GlobalTransactionScanner#wrapIfNecessary(Object, String, Object)
*/
@Deprecated
public interface ScannerChecker extends org.apache.seata.spring.annotation.ScannerChecker {
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@
* The interface Keyword checker.
*
*/
@Deprecated
public interface EscapeHandler extends org.apache.seata.sqlparser.EscapeHandler {
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
*/
package io.seata.sqlparser;

@Deprecated

public interface SQLRecognizerFactory extends org.apache.seata.sqlparser.SQLRecognizerFactory {
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* The interface SQLOperateRecognizerHolder
*
*/
@Deprecated
public interface SQLOperateRecognizerHolder extends org.apache.seata.sqlparser.druid.SQLOperateRecognizerHolder {

}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* The type Table meta cache.
*
*/
@Deprecated
public interface TableMetaCache extends org.apache.seata.sqlparser.struct.TableMetaCache {

}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
*/
package io.seata.sqlparser.util;

@Deprecated

public interface DbTypeParser extends org.apache.seata.sqlparser.util.DbTypeParser {
}
4 changes: 2 additions & 2 deletions integration/grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
<configuration>
<protocArtifact>com.google.protobuf:protoc:3.11.0:exe:${os.detected.classifier}</protocArtifact>
<protocArtifact>com.google.protobuf:protoc:3.11.0:exe:osx-x86_64</protocArtifact>
<pluginId>grpc-java</pluginId>
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.27.1:exe:${os.detected.classifier}</pluginArtifact>
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.27.1:exe:osx-x86_64</pluginArtifact>
</configuration>
<executions>
<execution>
Expand Down
2 changes: 1 addition & 1 deletion serializer/seata-serializer-protobuf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<configuration>
<protoSourceRoot>${project.basedir}/src/main/resources/protobuf/org/apache/seata/protocol/transcation/</protoSourceRoot>
<protocArtifact>
com.google.protobuf:protoc:3.11.0:exe:${os.detected.classifier}
com.google.protobuf:protoc:3.11.0:exe:osx-x86_64
</protocArtifact>
</configuration>
<executions>
Expand Down

0 comments on commit c0c10e2

Please sign in to comment.