From ded33d1603495b5365b81494b2cc2a5465f17200 Mon Sep 17 00:00:00 2001 From: jimin Date: Tue, 21 Nov 2023 00:25:22 +0800 Subject: [PATCH 001/183] version: change version to 2.1.0-SNAPSHOT (#6066) Signed-off-by: slievrly --- README.md | 2 +- build/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cdda84c1f64..0b8d6bbc91d 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Build Status](https://github.com/seata/seata/workflows/build/badge.svg?branch=develop)](https://github.com/seata/seata/actions) [![codecov](https://codecov.io/gh/seata/seata/branch/develop/graph/badge.svg)](https://codecov.io/gh/seata/seata) [![license](https://img.shields.io/github/license/seata/seata.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) -[![maven](https://img.shields.io/maven-central/v/io.seata/seata-parent?versionSuffix=1.8.0)](https://search.maven.org/search?q=io.seata) +[![maven](https://img.shields.io/maven-central/v/io.seata/seata-parent?versionSuffix=2.0.0)](https://search.maven.org/search?q=io.seata) [![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/seata/seata.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/seata/seata/context:java) diff --git a/build/pom.xml b/build/pom.xml index ebbb35c5910..87db43f9677 100644 --- a/build/pom.xml +++ b/build/pom.xml @@ -63,7 +63,7 @@ - 2.0.0 + 2.1.0-SNAPSHOT 1.8 From 09097aaa0ac225d4b9221dbada336b4518668ebc Mon Sep 17 00:00:00 2001 From: cmai Date: Sat, 25 Nov 2023 23:35:27 +0800 Subject: [PATCH 002/183] security: upgrade com.google.guava:guava to 32.0.0-jre (#6069) --- changes/en-us/2.x.md | 4 ++-- changes/zh-cn/2.x.md | 3 ++- dependencies/pom.xml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index af9ed444f59..bd36a279c2b 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -12,7 +12,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] A brief and accurate description of PR ### security: -- [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] A brief and accurate description of PR +- [[#6069](https://github.com/seata/seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities ### test: - [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] A brief and accurate description of PR @@ -21,6 +21,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [slievrly](https://github.com/slievrly) - +- [imcmai](https://github.com/imcmai) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index dba99a3d98e..f155efa1195 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -12,7 +12,7 @@ - [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] 准确简要的PR描述 ### security: -- [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] 准确简要的PR描述 +- [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 ### test: - [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] 准确简要的PR描述 @@ -21,5 +21,6 @@ - [slievrly](https://github.com/slievrly) +- [imcmai](https://github.com/imcmai) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/dependencies/pom.xml b/dependencies/pom.xml index 8c557cc288d..d82345a1f4b 100644 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -56,7 +56,7 @@ 1.4.2 0.5.0 1.11.2 - 30.1-jre + 32.0.0-jre 1 1.3.2 4.0.1 From 960c298938a783404cb576e25cc7d177eaf6d46a Mon Sep 17 00:00:00 2001 From: laywin Date: Sun, 26 Nov 2023 23:00:41 +0800 Subject: [PATCH 003/183] optimize: undo_log table check optimize (#6031) --- changes/en-us/2.x.md | 4 +- changes/zh-cn/2.x.md | 3 +- .../io/seata/config/ConfigFutureTest.java | 4 +- .../java/io/seata/core/constants/DBType.java | 1 - dependencies/pom.xml | 7 ++- pom.xml | 5 ++ .../main/java/io/seata/rm/RMHandlerAT.java | 23 ------- .../seata/rm/datasource/DataSourceProxy.java | 34 ++++++++++ .../java/io/seata/rm/RMHandlerATTest.java | 30 +++++---- .../rm/datasource/DataSourceProxyTest.java | 62 ++++++++++++++++++- .../PreparedStatementProxyTest.java | 11 +++- .../rm/datasource/StatementProxyTest.java | 8 ++- .../datasource/exec/DeleteExecutorTest.java | 13 +++- .../rm/datasource/exec/MultiExecutorTest.java | 14 ++++- .../rm/datasource/exec/PlainExecutorTest.java | 4 +- .../exec/SelectForUpdateExecutorTest.java | 10 ++- .../datasource/exec/UpdateExecutorTest.java | 12 +++- .../exec/UpdateJoinExecutorTest.java | 9 ++- .../sql/struct/TableRecordsTest.java | 30 ++++----- .../struct/cache/DmTableMetaCacheTest.java | 3 +- .../cache/MariadbTableMetaCacheTest.java | 11 +++- .../struct/cache/MysqlTableMetaCacheTest.java | 14 ++++- .../cache/OracleTableMetaCacheTest.java | 9 ++- .../cache/PostgresqlTableMetaCacheTest.java | 11 +++- .../cache/SqlServerTableMetaCacheTest.java | 12 +++- .../seata/rm/datasource/undo/BaseH2Test.java | 8 ++- .../mariadb/MariadbUndoLogManagerTest.java | 17 +++-- .../undo/mysql/MySQLUndoLogManagerTest.java | 16 +++-- .../polardbx/PolarDBXUndoLogManagerTest.java | 16 +++-- 29 files changed, 306 insertions(+), 95 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index bd36a279c2b..13c6ed085d5 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -9,7 +9,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] A brief and accurate description of PR ### optimize: -- [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] A brief and accurate description of PR +- [[#6031](https://github.com/seata/seata/pull/6031)] add a check for the existence of the undolog table ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities @@ -21,6 +21,8 @@ Thanks to these contributors for their code commits. Please report an unintended - [slievrly](https://github.com/slievrly) +- [laywin](https://github.com/laywin) - [imcmai](https://github.com/imcmai) + Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index f155efa1195..749d418cf23 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -9,7 +9,7 @@ - [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] 准确简要的PR描述 ### optimize: -- [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] 准确简要的PR描述 +- [[#6031](https://github.com/seata/seata/pull/6031)] 添加undo_log表的存在性校验 ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 @@ -21,6 +21,7 @@ - [slievrly](https://github.com/slievrly) +- [laywin](https://github.com/laywin) - [imcmai](https://github.com/imcmai) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/config/seata-config-core/src/test/java/io/seata/config/ConfigFutureTest.java b/config/seata-config-core/src/test/java/io/seata/config/ConfigFutureTest.java index 60ffb299527..57daca70fb5 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/ConfigFutureTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/ConfigFutureTest.java @@ -21,7 +21,6 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.mockito.Mockito; -import org.mockito.internal.util.reflection.FieldSetter; import java.lang.reflect.Field; import java.util.concurrent.CompletableFuture; @@ -44,7 +43,8 @@ void testGet() throws NoSuchFieldException, IllegalAccessException, ExecutionExc // mock field origin = Mockito.spy(origin); // set mocked field to object - FieldSetter.setField(configFuture, originField, origin); + originField.setAccessible(true); + originField.set(configFuture, origin); Mockito.doThrow(ExecutionException.class).when(origin).get(Mockito.anyLong(), Mockito.any()); Assertions.assertThrows(ShouldNeverHappenException.class, configFuture::get); diff --git a/core/src/main/java/io/seata/core/constants/DBType.java b/core/src/main/java/io/seata/core/constants/DBType.java index 49063bb802e..a0171474033 100644 --- a/core/src/main/java/io/seata/core/constants/DBType.java +++ b/core/src/main/java/io/seata/core/constants/DBType.java @@ -208,5 +208,4 @@ public static DBType valueof(String dbType) { } throw new IllegalArgumentException("unknown dbtype:" + dbType); } - } diff --git a/dependencies/pom.xml b/dependencies/pom.xml index d82345a1f4b..166b1aa298d 100644 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -118,7 +118,7 @@ 1.4.3 - 2.23.4 + 4.5.1 3.12.2 9.4.38.v20210224 3.1.7 @@ -701,6 +701,11 @@ mockito-junit-jupiter ${mockito.version} + + org.mockito + mockito-inline + ${mockito.version} + org.assertj assertj-core diff --git a/pom.xml b/pom.xml index f2371a43ce7..4d7b21b35e8 100644 --- a/pom.xml +++ b/pom.xml @@ -92,6 +92,11 @@ mockito-junit-jupiter test + + org.mockito + mockito-inline + test + org.assertj assertj-core diff --git a/rm-datasource/src/main/java/io/seata/rm/RMHandlerAT.java b/rm-datasource/src/main/java/io/seata/rm/RMHandlerAT.java index 333a121a295..cc9d1971890 100644 --- a/rm-datasource/src/main/java/io/seata/rm/RMHandlerAT.java +++ b/rm-datasource/src/main/java/io/seata/rm/RMHandlerAT.java @@ -19,8 +19,6 @@ import java.sql.SQLException; import java.text.ParseException; import java.util.Date; -import java.util.Map; -import java.util.concurrent.ConcurrentHashMap; import io.seata.common.util.DateUtil; import io.seata.core.model.BranchType; @@ -44,8 +42,6 @@ public class RMHandlerAT extends AbstractRMHandler { private static final int LIMIT_ROWS = 3000; - private final Map undoLogTableExistRecord = new ConcurrentHashMap<>(); - @Override public void handle(UndoLogDeleteRequest request) { String resourceId = request.getResourceId(); @@ -56,12 +52,6 @@ public void handle(UndoLogDeleteRequest request) { return; } - boolean hasUndoLogTable = undoLogTableExistRecord.computeIfAbsent(resourceId, id -> checkUndoLogTableExist(dataSourceProxy)); - if (!hasUndoLogTable) { - LOGGER.debug("resource({}) has no undo_log table, UndoLogDeleteRequest will be ignored", resourceId); - return; - } - Date division = getLogCreated(request.getSaveDays()); UndoLogManager manager = getUndoLogManager(dataSourceProxy); @@ -80,19 +70,6 @@ public void handle(UndoLogDeleteRequest request) { } } - boolean checkUndoLogTableExist(DataSourceProxy dataSourceProxy) { - UndoLogManager manager = getUndoLogManager(dataSourceProxy); - try (Connection connection = getConnection(dataSourceProxy)) { - if (connection == null) { - return false; - } - return manager.hasUndoLogTable(connection); - } catch (Exception e) { - // should never happen, hasUndoLogTable method had catch all Exception - return false; - } - } - Connection getConnection(DataSourceProxy dataSourceProxy) { try { return dataSourceProxy.getPlainConnection(); diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceProxy.java index 6d930ea4009..295a22e77b5 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceProxy.java @@ -22,18 +22,25 @@ import javax.sql.DataSource; +import io.seata.common.ConfigurationKeys; import io.seata.common.Constants; +import io.seata.common.loader.EnhancedServiceNotFoundException; +import io.seata.config.ConfigurationFactory; import io.seata.core.context.RootContext; import io.seata.core.model.BranchType; import io.seata.core.model.Resource; import io.seata.rm.DefaultResourceManager; import io.seata.rm.datasource.sql.struct.TableMetaCacheFactory; +import io.seata.rm.datasource.undo.UndoLogManager; +import io.seata.rm.datasource.undo.UndoLogManagerFactory; import io.seata.rm.datasource.util.JdbcUtils; import io.seata.sqlparser.util.JdbcConstants; import org.apache.commons.lang.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import static io.seata.common.DefaultValues.DEFAULT_TRANSACTION_UNDO_LOG_TABLE; + /** * The type Data source proxy. * @@ -101,6 +108,8 @@ private void init(DataSource dataSource, String resourceGroupId) { validMySQLVersion(connection); checkDerivativeProduct(); } + checkUndoLogTableExist(connection); + } catch (SQLException e) { throw new IllegalStateException("can not init dataSource", e); } @@ -143,6 +152,31 @@ private boolean isPolardbXProduct() { return false; } + /** + * check existence of undolog table + * + * if the table not exist fast fail, or else keep silence + * + * @param conn db connection + */ + private void checkUndoLogTableExist(Connection conn) { + UndoLogManager undoLogManager; + try { + undoLogManager = UndoLogManagerFactory.getUndoLogManager(dbType); + } catch (EnhancedServiceNotFoundException e) { + String errMsg = String.format("AT mode don't support the the dbtype: %s", dbType); + throw new IllegalStateException(errMsg, e); + } + + boolean undoLogTableExist = undoLogManager.hasUndoLogTable(conn); + if (!undoLogTableExist) { + String undoLogTableName = ConfigurationFactory.getInstance() + .getConfig(ConfigurationKeys.TRANSACTION_UNDO_LOG_TABLE, DEFAULT_TRANSACTION_UNDO_LOG_TABLE); + String errMsg = String.format("in AT mode, %s table not exist", undoLogTableName); + throw new IllegalStateException(errMsg); + } + } + /** * publish tableMeta refresh event */ diff --git a/rm-datasource/src/test/java/io/seata/rm/RMHandlerATTest.java b/rm-datasource/src/test/java/io/seata/rm/RMHandlerATTest.java index 3ae96f51d0d..f3d34f25c22 100644 --- a/rm-datasource/src/test/java/io/seata/rm/RMHandlerATTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/RMHandlerATTest.java @@ -22,7 +22,10 @@ import org.junit.jupiter.api.Test; import java.sql.Connection; +import java.sql.SQLException; +import java.util.Date; +import static org.mockito.ArgumentMatchers.anyInt; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.times; @@ -41,30 +44,26 @@ class RMHandlerATTest { @Test - void hasUndoLogTableTest() { - RMHandlerAT handler = buildHandler(true); + void testNormalDeleteUndoLogTable() throws SQLException { + RMHandlerAT handler = buildHandler(false); UndoLogDeleteRequest request = buildRequest(); int testTimes = 5; for (int i = 0; i < testTimes; i++) { handler.handle(request); } - verify(handler, times(1)).checkUndoLogTableExist(any()); verify(handler, times(testTimes)).deleteUndoLog(any(), any(), any()); } @Test - void noUndoLogTableTest() { - RMHandlerAT handler = buildHandler(false); + void testErrorDeleteUndoLogTable() throws SQLException { + RMHandlerAT handler = buildHandler(true); UndoLogDeleteRequest request = buildRequest(); - int testTimes = 5; - for (int i = 0; i < testTimes; i++) { - handler.handle(request); - } - verify(handler, times(1)).checkUndoLogTableExist(any()); - verify(handler, never()).deleteUndoLog(any(), any(), any()); + request.setSaveDays((short) -1); + handler.handle(request); + verify(handler, times(1)).deleteUndoLog(any(), any(), any()); } - private RMHandlerAT buildHandler(boolean hasUndoLogTable) { + private RMHandlerAT buildHandler(boolean errorDeleteUndologTable) throws SQLException { RMHandlerAT handler = spy(new RMHandlerAT()); DataSourceManager dataSourceManager = mock(DataSourceManager.class); doReturn(dataSourceManager).when(handler).getResourceManager(); @@ -78,9 +77,14 @@ private RMHandlerAT buildHandler(boolean hasUndoLogTable) { }); UndoLogManager manager = mock(UndoLogManager.class); - when(manager.hasUndoLogTable(any())).thenReturn(hasUndoLogTable); + when(manager.hasUndoLogTable(any())).thenReturn(true); doReturn(manager).when(handler).getUndoLogManager(any()); + if (errorDeleteUndologTable) { + when(manager.deleteUndoLogByLogCreated(any(Date.class), anyInt(), any(Connection.class))) + .thenThrow(new SQLException()); + } + return handler; } diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java index d8da5d26acf..e351f674bee 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java @@ -16,6 +16,7 @@ package io.seata.rm.datasource; import java.lang.reflect.Field; +import java.sql.Connection; import java.sql.SQLException; import javax.sql.DataSource; @@ -23,8 +24,17 @@ import io.seata.rm.datasource.mock.MockDataSource; import io.seata.rm.datasource.mock.MockDriver; import io.seata.rm.datasource.sql.struct.TableMetaCacheFactory; +import io.seata.rm.datasource.undo.UndoLogManagerFactory; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.Mockito.*; /** * @author ph3636 @@ -34,7 +44,6 @@ public class DataSourceProxyTest { @Test public void test_constructor() { DataSource dataSource = new MockDataSource(); - DataSourceProxy dataSourceProxy = new DataSourceProxy(dataSource); Assertions.assertEquals(dataSourceProxy.getTargetDataSource(), dataSource); @@ -42,6 +51,42 @@ public void test_constructor() { Assertions.assertEquals(dataSourceProxy2.getTargetDataSource(), dataSource); } + @Test + public void testNotSupportDb() { + final MockDriver mockDriver = new MockDriver(); + final String username = "username"; + final String jdbcUrl = "jdbc:mock:xxx"; + + // create data source + final DruidDataSource dataSource = new DruidDataSource(); + dataSource.setUrl(jdbcUrl); + dataSource.setDriver(mockDriver); + dataSource.setUsername(username); + dataSource.setPassword("password"); + + Throwable throwable = Assertions.assertThrows(IllegalStateException.class, () -> new DataSourceProxy(dataSource)); + assertThat(throwable).hasMessageContaining("AT mode don't support the the dbtype"); + } + + + @Test + public void testUndologTableNotExist() { + DataSource dataSource = new MockDataSource(); + + MockedStatic undoLogManagerFactoryMockedStatic = Mockito.mockStatic(UndoLogManagerFactory.class); + + MySQLUndoLogManager mysqlUndoLogManager = mock(MySQLUndoLogManager.class); + undoLogManagerFactoryMockedStatic.when(()->UndoLogManagerFactory.getUndoLogManager(anyString())) + .thenReturn(mysqlUndoLogManager); + + doReturn(false).when(mysqlUndoLogManager).hasUndoLogTable(any(Connection.class)); + + Throwable throwable = Assertions.assertThrows(IllegalStateException.class, () -> new DataSourceProxy(dataSource)); + undoLogManagerFactoryMockedStatic.close(); + + assertThat(throwable).hasMessageContaining("table not exist"); + } + @Test public void getResourceIdTest() throws SQLException, NoSuchFieldException, IllegalAccessException { // Disable 'DataSourceProxy.tableMetaExecutor' to prevent unit tests from being affected @@ -62,7 +107,7 @@ public void getResourceIdTest() throws SQLException, NoSuchFieldException, Illeg dataSource.setPassword("password"); // create data source proxy - final DataSourceProxy proxy = new DataSourceProxy(dataSource); + final DataSourceProxy proxy = getDataSourceProxy(dataSource); // get fields Field resourceIdField = proxy.getClass().getDeclaredField("resourceId"); @@ -124,4 +169,17 @@ public void getResourceIdTest() throws SQLException, NoSuchFieldException, Illeg jdbcUrlField.set(proxy, jdbcUrl); } } + + // to skip the db & undolog table check + public static DataSourceProxy getDataSourceProxy(DataSource dataSource) { + try (MockedStatic undoLogManagerFactoryMockedStatic = Mockito.mockStatic(UndoLogManagerFactory.class)) { + MySQLUndoLogManager mysqlUndoLogManager = mock(MySQLUndoLogManager.class); + undoLogManagerFactoryMockedStatic.when(() -> UndoLogManagerFactory.getUndoLogManager(anyString())).thenReturn(mysqlUndoLogManager); + + doReturn(true).when(mysqlUndoLogManager).hasUndoLogTable(any(Connection.class)); + + // create data source proxy + return new DataSourceProxy(dataSource); + } + } } diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/PreparedStatementProxyTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/PreparedStatementProxyTest.java index cd7c58cb9df..3ef88b2e1c8 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/PreparedStatementProxyTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/PreparedStatementProxyTest.java @@ -44,6 +44,8 @@ import io.seata.rm.datasource.mock.MockClob; import io.seata.rm.datasource.mock.MockConnection; import io.seata.rm.datasource.mock.MockDriver; +import io.seata.rm.datasource.undo.UndoLogManagerFactory; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import io.seata.sqlparser.SQLRecognizerFactory; import io.seata.sqlparser.SqlParserType; import io.seata.sqlparser.druid.DruidDelegatingSQLRecognizerFactory; @@ -54,6 +56,12 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import javax.sql.DataSource; + +import static org.mockito.ArgumentMatchers.anyString; /** * @author will @@ -86,8 +94,7 @@ public static void init() throws SQLException { DruidDataSource dataSource = new DruidDataSource(); dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - - DataSourceProxy dataSourceProxy = new DataSourceProxy(dataSource); + DataSourceProxy dataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); ConnectionProxy connectionProxy = new ConnectionProxy(dataSourceProxy, dataSource.getConnection().getConnection()); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/StatementProxyTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/StatementProxyTest.java index 8260ef81e7e..54646a9ddc3 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/StatementProxyTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/StatementProxyTest.java @@ -31,6 +31,8 @@ import io.seata.rm.datasource.mock.MockConnection; import io.seata.rm.datasource.mock.MockDriver; +import io.seata.rm.datasource.undo.UndoLogManagerFactory; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import io.seata.sqlparser.SQLRecognizerFactory; import io.seata.sqlparser.SqlParserType; import io.seata.sqlparser.druid.DruidDelegatingSQLRecognizerFactory; @@ -44,6 +46,10 @@ import org.junit.jupiter.api.MethodOrderer; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestMethodOrder; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import static org.mockito.ArgumentMatchers.anyString; /** * @author will @@ -78,7 +84,7 @@ public static void init() throws SQLException { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - DataSourceProxy dataSourceProxy = new DataSourceProxy(dataSource); + DataSourceProxy dataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); ConnectionProxy connectionProxy = new ConnectionProxy(dataSourceProxy, dataSource.getConnection().getConnection()); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java index 838e73a3448..b3b5ed10554 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java @@ -29,13 +29,23 @@ import com.google.common.collect.Lists; import io.seata.rm.datasource.ConnectionProxy; import io.seata.rm.datasource.DataSourceProxy; +import io.seata.rm.datasource.DataSourceProxyTest; import io.seata.rm.datasource.StatementProxy; import io.seata.rm.datasource.mock.MockDriver; import io.seata.rm.datasource.sql.struct.TableRecords; +import io.seata.rm.datasource.undo.UndoLogManagerFactory; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import io.seata.sqlparser.druid.mysql.MySQLDeleteRecognizer; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import javax.sql.DataSource; + +import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.Mockito.when; /** * @author will @@ -66,7 +76,7 @@ public static void init() { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - DataSourceProxy dataSourceProxy = new DataSourceProxy(dataSource); + DataSourceProxy dataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); try { Field field = dataSourceProxy.getClass().getDeclaredField("dbType"); field.setAccessible(true); @@ -101,4 +111,5 @@ public void testAfterImage() throws SQLException { TableRecords tableRecords = deleteExecutor.beforeImage(); Assertions.assertEquals(0, deleteExecutor.afterImage(tableRecords).size()); } + } diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MultiExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MultiExecutorTest.java index 332bde4985d..980aee46f69 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MultiExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MultiExecutorTest.java @@ -24,6 +24,9 @@ import java.util.Set; import java.util.stream.Collectors; +import io.seata.rm.datasource.DataSourceProxyTest; +import io.seata.rm.datasource.undo.UndoLogManagerFactory; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; @@ -44,6 +47,14 @@ import io.seata.sqlparser.SQLRecognizer; import io.seata.sqlparser.SQLType; import io.seata.sqlparser.util.JdbcConstants; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import javax.sql.DataSource; + +import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; public class MultiExecutorTest { @@ -73,7 +84,8 @@ public static void init() throws Throwable { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - DataSourceProxy dataSourceProxy = new DataSourceProxy(dataSource); + DataSourceProxy dataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); + try { Field field = dataSourceProxy.getClass().getDeclaredField("dbType"); field.setAccessible(true); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PlainExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PlainExecutorTest.java index 7a2e545b65c..22b18549ca5 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PlainExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PlainExecutorTest.java @@ -24,6 +24,7 @@ import com.google.common.collect.Lists; import io.seata.rm.datasource.ConnectionProxy; import io.seata.rm.datasource.DataSourceProxy; +import io.seata.rm.datasource.DataSourceProxyTest; import io.seata.rm.datasource.StatementProxy; import io.seata.rm.datasource.mock.MockDriver; import org.junit.jupiter.api.BeforeEach; @@ -56,7 +57,8 @@ public void init() throws SQLException { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - DataSourceProxy dataSourceProxy = new DataSourceProxy(dataSource); + DataSourceProxy dataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); + ConnectionProxy connectionProxy = new ConnectionProxy(dataSourceProxy, dataSource.getConnection().getConnection()); MockStatementBase mockStatement = new MockStatement(dataSource.getConnection().getConnection()); StatementProxy statementProxy = new StatementProxy(connectionProxy, mockStatement); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SelectForUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SelectForUpdateExecutorTest.java index 46d4ca0f75a..c53d382f1dd 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SelectForUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SelectForUpdateExecutorTest.java @@ -28,14 +28,21 @@ import io.seata.core.context.RootContext; import io.seata.rm.datasource.ConnectionProxy; import io.seata.rm.datasource.DataSourceProxy; +import io.seata.rm.datasource.DataSourceProxyTest; import io.seata.rm.datasource.StatementProxy; import io.seata.rm.datasource.mock.MockConnectionProxy; import io.seata.rm.datasource.mock.MockDriver; import io.seata.rm.datasource.mock.MockLockConflictConnectionProxy; +import io.seata.rm.datasource.undo.UndoLogManagerFactory; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import io.seata.sqlparser.druid.mysql.MySQLSelectForUpdateRecognizer; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import static org.mockito.ArgumentMatchers.anyString; /** * @author will @@ -69,7 +76,8 @@ public static void init() { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - DataSourceProxy dataSourceProxy = new DataSourceProxy(dataSource); + DataSourceProxy dataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); + try { Field field = dataSourceProxy.getClass().getDeclaredField("dbType"); field.setAccessible(true); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java index c25df6f4e37..973ae530ad1 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java @@ -30,13 +30,22 @@ import com.google.common.collect.Lists; import io.seata.rm.datasource.ConnectionProxy; import io.seata.rm.datasource.DataSourceProxy; +import io.seata.rm.datasource.DataSourceProxyTest; import io.seata.rm.datasource.StatementProxy; import io.seata.rm.datasource.mock.MockDriver; import io.seata.rm.datasource.sql.struct.TableRecords; +import io.seata.rm.datasource.undo.UndoLogManagerFactory; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import io.seata.sqlparser.druid.mysql.MySQLUpdateRecognizer; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import javax.sql.DataSource; + +import static org.mockito.ArgumentMatchers.anyString; /** * @author will @@ -68,7 +77,8 @@ public static void init() { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - DataSourceProxy dataSourceProxy = new DataSourceProxy(dataSource); + DataSourceProxy dataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); + try { Field field = dataSourceProxy.getClass().getDeclaredField("dbType"); field.setAccessible(true); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateJoinExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateJoinExecutorTest.java index 971dfd03373..fbde0a4bd96 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateJoinExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateJoinExecutorTest.java @@ -29,13 +29,20 @@ import com.google.common.collect.Lists; import io.seata.rm.datasource.ConnectionProxy; import io.seata.rm.datasource.DataSourceProxy; +import io.seata.rm.datasource.DataSourceProxyTest; import io.seata.rm.datasource.StatementProxy; import io.seata.rm.datasource.exec.mysql.MySQLUpdateJoinExecutor; import io.seata.rm.datasource.mock.MockDriver; import io.seata.rm.datasource.sql.struct.TableRecords; +import io.seata.rm.datasource.undo.UndoLogManagerFactory; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import io.seata.sqlparser.druid.mysql.MySQLUpdateRecognizer; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import static org.mockito.ArgumentMatchers.anyString; /** * @author renliangyu857 @@ -81,7 +88,7 @@ private StatementProxy mockStatementProxy(List returnValueColumnLabels, dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - DataSourceProxy dataSourceProxy = new DataSourceProxy(dataSource); + DataSourceProxy dataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); try { Field field = dataSourceProxy.getClass().getDeclaredField("dbType"); field.setAccessible(true); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableRecordsTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableRecordsTest.java index 61714ca7778..bc02c64016a 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableRecordsTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableRecordsTest.java @@ -15,26 +15,25 @@ */ package io.seata.rm.datasource.sql.struct; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Types; -import java.util.List; - -import io.seata.rm.datasource.exception.TableMetaException; -import io.seata.sqlparser.struct.TableMeta; -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; - import com.alibaba.druid.mock.MockStatement; import com.alibaba.druid.mock.MockStatementBase; import com.alibaba.druid.pool.DruidDataSource; import com.google.common.collect.Lists; - import io.seata.common.exception.ShouldNeverHappenException; import io.seata.rm.datasource.DataSourceProxy; +import io.seata.rm.datasource.DataSourceProxyTest; +import io.seata.rm.datasource.exception.TableMetaException; import io.seata.rm.datasource.mock.MockDriver; +import io.seata.sqlparser.struct.TableMeta; import io.seata.sqlparser.util.JdbcConstants; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Types; +import java.util.List; /** * the table records test @@ -102,8 +101,9 @@ public void testPkRow() throws SQLException { DruidDataSource dataSource = new DruidDataSource(); dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); + MockStatementBase mockStatement = new MockStatement(dataSource.getConnection().getConnection()); - DataSourceProxy proxy = new DataSourceProxy(dataSource); + DataSourceProxy proxy = DataSourceProxyTest.getDataSourceProxy(dataSource); TableMeta tableMeta = TableMetaCacheFactory.getTableMetaCache(JdbcConstants.MYSQL).getTableMeta(proxy.getPlainConnection(), "table_records_test", proxy.getResourceId()); @@ -122,7 +122,7 @@ public void testBuildRecords() throws SQLException { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); MockStatementBase mockStatement = new MockStatement(dataSource.getConnection().getConnection()); - DataSourceProxy proxy = new DataSourceProxy(dataSource); + DataSourceProxy proxy = DataSourceProxyTest.getDataSourceProxy(dataSource); TableMeta tableMeta = TableMetaCacheFactory.getTableMetaCache(JdbcConstants.MYSQL).getTableMeta(proxy.getPlainConnection(), "table_records_test", proxy.getResourceId()); @@ -141,7 +141,7 @@ public void testBuildRecordsNewFeild() throws SQLException { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); MockStatementBase mockStatement = new MockStatement(dataSource.getConnection().getConnection()); - DataSourceProxy proxy = new DataSourceProxy(dataSource); + DataSourceProxy proxy = DataSourceProxyTest.getDataSourceProxy(dataSource); TableMeta tableMeta = TableMetaCacheFactory.getTableMetaCache(JdbcConstants.MYSQL).getTableMeta(proxy.getPlainConnection(), "table_records_test", proxy.getResourceId()); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCacheTest.java index e4319ea5b3f..8973b130516 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCacheTest.java @@ -17,6 +17,7 @@ import com.alibaba.druid.pool.DruidDataSource; import io.seata.rm.datasource.DataSourceProxy; +import io.seata.rm.datasource.DataSourceProxyTest; import io.seata.rm.datasource.mock.MockDriver; import io.seata.rm.datasource.sql.struct.TableMetaCacheFactory; import io.seata.sqlparser.struct.TableMeta; @@ -65,7 +66,7 @@ public void getTableMetaTest() throws SQLException { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - DataSourceProxy proxy = new DataSourceProxy(dataSource); + DataSourceProxy proxy = DataSourceProxyTest.getDataSourceProxy(dataSource); TableMetaCache tableMetaCache = TableMetaCacheFactory.getTableMetaCache(JdbcConstants.DM); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCacheTest.java index a13c9991c8c..01144502bc9 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCacheTest.java @@ -19,6 +19,9 @@ import java.sql.Types; import java.util.Collections; +import io.seata.rm.datasource.DataSourceProxyTest; +import io.seata.rm.datasource.undo.UndoLogManagerFactory; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import io.seata.sqlparser.struct.ColumnMeta; import io.seata.sqlparser.struct.IndexMeta; import io.seata.sqlparser.struct.IndexType; @@ -34,6 +37,10 @@ import io.seata.rm.datasource.mock.MockDriver; import io.seata.rm.datasource.sql.struct.TableMetaCacheFactory; import io.seata.sqlparser.util.JdbcConstants; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import static org.mockito.ArgumentMatchers.anyString; /** * The table meta fetch test. @@ -84,7 +91,7 @@ public void getTableMetaTest_0() throws SQLException { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - DataSourceProxy proxy = new DataSourceProxy(dataSource); + DataSourceProxy proxy = DataSourceProxyTest.getDataSourceProxy(dataSource); TableMeta tableMeta = getTableMetaCache().getTableMeta(proxy.getPlainConnection(), "mt1", proxy.getResourceId()); @@ -133,7 +140,7 @@ public void refreshTest_0() throws SQLException { druidDataSource.setUrl("jdbc:mock:xxx"); druidDataSource.setDriver(mockDriver); - DataSourceProxy dataSourceProxy = new DataSourceProxy(druidDataSource); + DataSourceProxy dataSourceProxy = DataSourceProxyTest.getDataSourceProxy(druidDataSource); TableMeta tableMeta = getTableMetaCache().getTableMeta(dataSourceProxy.getPlainConnection(), "t1", dataSourceProxy.getResourceId()); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCacheTest.java index 56928aa6d70..0dbe2400ef7 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCacheTest.java @@ -19,6 +19,9 @@ import java.sql.Types; import java.util.Collections; +import io.seata.rm.datasource.DataSourceProxyTest; +import io.seata.rm.datasource.undo.UndoLogManagerFactory; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; @@ -34,6 +37,13 @@ import io.seata.sqlparser.struct.TableMetaCache; import io.seata.rm.datasource.sql.struct.TableMetaCacheFactory; import io.seata.sqlparser.util.JdbcConstants; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import javax.sql.DataSource; + +import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.Mockito.mock; /** * The table meta fetch test. @@ -84,7 +94,7 @@ public void getTableMetaTest_0() throws SQLException { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - DataSourceProxy proxy = new DataSourceProxy(dataSource); + DataSourceProxy proxy = DataSourceProxyTest.getDataSourceProxy(dataSource); TableMeta tableMeta = getTableMetaCache().getTableMeta(proxy.getPlainConnection(), "mt1", proxy.getResourceId()); @@ -133,7 +143,7 @@ public void refreshTest_0() throws SQLException { druidDataSource.setUrl("jdbc:mock:xxx"); druidDataSource.setDriver(mockDriver); - DataSourceProxy dataSourceProxy = new DataSourceProxy(druidDataSource); + DataSourceProxy dataSourceProxy = DataSourceProxyTest.getDataSourceProxy(druidDataSource); TableMeta tableMeta = getTableMetaCache().getTableMeta(dataSourceProxy.getPlainConnection(), "t1", dataSourceProxy.getResourceId()); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCacheTest.java index 8d3aa2abccd..fd7877acac9 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCacheTest.java @@ -18,6 +18,9 @@ import java.sql.SQLException; import java.sql.Types; +import io.seata.rm.datasource.DataSourceProxyTest; +import io.seata.rm.datasource.undo.UndoLogManagerFactory; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; @@ -29,6 +32,10 @@ import io.seata.sqlparser.struct.TableMetaCache; import io.seata.rm.datasource.sql.struct.TableMetaCacheFactory; import io.seata.sqlparser.util.JdbcConstants; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import static org.mockito.ArgumentMatchers.anyString; /** * @author will.zjw @@ -65,7 +72,7 @@ public void getTableMetaTest() throws SQLException { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - DataSourceProxy proxy = new DataSourceProxy(dataSource); + DataSourceProxy proxy = DataSourceProxyTest.getDataSourceProxy(dataSource); TableMetaCache tableMetaCache = TableMetaCacheFactory.getTableMetaCache(JdbcConstants.ORACLE); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCacheTest.java index 2098629e824..bf1a116c47f 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCacheTest.java @@ -18,6 +18,9 @@ import java.sql.SQLException; import java.sql.Types; +import io.seata.rm.datasource.DataSourceProxyTest; +import io.seata.rm.datasource.undo.UndoLogManagerFactory; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; @@ -29,6 +32,12 @@ import io.seata.sqlparser.struct.TableMetaCache; import io.seata.rm.datasource.sql.struct.TableMetaCacheFactory; import io.seata.sqlparser.util.JdbcConstants; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import javax.sql.DataSource; + +import static org.mockito.ArgumentMatchers.anyString; /** * @author will.zjw @@ -65,7 +74,7 @@ public void getTableMetaTest() throws SQLException { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - DataSourceProxy proxy = new DataSourceProxy(dataSource); + DataSourceProxy proxy = DataSourceProxyTest.getDataSourceProxy(dataSource); TableMetaCache tableMetaCache = TableMetaCacheFactory.getTableMetaCache(JdbcConstants.POSTGRESQL); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCacheTest.java index cb0b49e2f79..4cb0f26d85c 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCacheTest.java @@ -22,7 +22,10 @@ import com.alibaba.druid.pool.DruidDataSource; import io.seata.common.exception.ShouldNeverHappenException; import io.seata.rm.datasource.DataSourceProxy; +import io.seata.rm.datasource.DataSourceProxyTest; import io.seata.rm.datasource.mock.MockDriver; +import io.seata.rm.datasource.undo.UndoLogManagerFactory; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import io.seata.sqlparser.struct.ColumnMeta; import io.seata.sqlparser.struct.IndexMeta; import io.seata.sqlparser.struct.IndexType; @@ -32,6 +35,13 @@ import io.seata.sqlparser.util.JdbcConstants; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import javax.sql.DataSource; + +import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.Mockito.mock; /** * @author GoodBoyCoder @@ -82,7 +92,7 @@ public void getTableMetaTest_0() throws SQLException { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - DataSourceProxy proxy = new DataSourceProxy(dataSource); + DataSourceProxy proxy = DataSourceProxyTest.getDataSourceProxy(dataSource); TableMeta tableMeta = getTableMetaCache().getTableMeta(proxy.getPlainConnection(), "m.mt1", proxy.getResourceId()); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseH2Test.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseH2Test.java index 9a84c5e08e5..412cc06bbbb 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseH2Test.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseH2Test.java @@ -18,6 +18,8 @@ import io.seata.common.util.IOUtil; import io.seata.rm.datasource.ConnectionProxy; import io.seata.rm.datasource.DataSourceProxy; +import io.seata.rm.datasource.DataSourceProxyTest; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import io.seata.sqlparser.struct.ColumnMeta; import io.seata.rm.datasource.sql.struct.Field; import io.seata.rm.datasource.sql.struct.KeyType; @@ -29,14 +31,17 @@ import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; +import org.mockito.MockedStatic; import org.mockito.Mockito; +import javax.sql.DataSource; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.sql.Types; import java.util.Arrays; +import static org.mockito.ArgumentMatchers.anyString; /** * @author Geng Zhang @@ -58,7 +63,8 @@ public static void start() throws SQLException { dataSource.setUrl("jdbc:h2:./db_store/test_undo"); dataSource.setUsername("sa"); dataSource.setPassword(""); - dataSourceProxy = new DataSourceProxy(dataSource); + dataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); + connection = dataSourceProxy.getConnection(); tableMeta = mockTableMeta(); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManagerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManagerTest.java index 9af77f5eb63..a80799cdbe6 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManagerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManagerTest.java @@ -25,6 +25,8 @@ import java.util.Date; import java.util.List; +import io.seata.rm.datasource.DataSourceProxyTest; +import io.seata.rm.datasource.undo.*; import io.seata.sqlparser.struct.TableMeta; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; @@ -42,11 +44,6 @@ import io.seata.rm.datasource.mock.MockDriver; import io.seata.rm.datasource.sql.struct.Row; import io.seata.rm.datasource.sql.struct.TableRecords; -import io.seata.rm.datasource.undo.AbstractUndoLogManager; -import io.seata.rm.datasource.undo.BranchUndoLog; -import io.seata.rm.datasource.undo.SQLUndoLog; -import io.seata.rm.datasource.undo.UndoLogParser; -import io.seata.rm.datasource.undo.UndoLogParserFactory; import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import io.seata.rm.datasource.undo.parser.JacksonUndoLogParser; import io.seata.sqlparser.SQLRecognizerFactory; @@ -56,6 +53,13 @@ import io.seata.sqlparser.druid.SQLOperateRecognizerHolder; import io.seata.sqlparser.druid.SQLOperateRecognizerHolderFactory; import io.seata.sqlparser.util.JdbcConstants; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import javax.sql.DataSource; + +import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.Mockito.when; /** * @author funkye @@ -100,7 +104,8 @@ public void init() throws SQLException { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - dataSourceProxy = new DataSourceProxy(dataSource); + dataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); + connectionProxy = new ConnectionProxy(dataSourceProxy, dataSource.getConnection().getConnection()); undoLogManager = new MariadbUndoLogManager(); tableMeta = new TableMeta(); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManagerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManagerTest.java index 367dc94a82e..aa6ceeb168a 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManagerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManagerTest.java @@ -33,15 +33,12 @@ import io.seata.rm.datasource.ConnectionContext; import io.seata.rm.datasource.ConnectionProxy; import io.seata.rm.datasource.DataSourceProxy; +import io.seata.rm.datasource.DataSourceProxyTest; import io.seata.rm.datasource.mock.MockDriver; import io.seata.rm.datasource.sql.struct.Row; +import io.seata.rm.datasource.undo.*; import io.seata.sqlparser.struct.TableMeta; import io.seata.rm.datasource.sql.struct.TableRecords; -import io.seata.rm.datasource.undo.AbstractUndoLogManager; -import io.seata.rm.datasource.undo.BranchUndoLog; -import io.seata.rm.datasource.undo.SQLUndoLog; -import io.seata.rm.datasource.undo.UndoLogParser; -import io.seata.rm.datasource.undo.UndoLogParserFactory; import io.seata.rm.datasource.undo.parser.JacksonUndoLogParser; import io.seata.sqlparser.SQLRecognizerFactory; import io.seata.sqlparser.SQLType; @@ -54,6 +51,12 @@ import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import javax.sql.DataSource; + +import static org.mockito.ArgumentMatchers.anyString; /** * @author will @@ -98,7 +101,8 @@ public void init() throws SQLException { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - dataSourceProxy = new DataSourceProxy(dataSource); + dataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); + connectionProxy = new ConnectionProxy(dataSourceProxy, dataSource.getConnection().getConnection()); undoLogManager = new MySQLUndoLogManager(); tableMeta = new TableMeta(); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManagerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManagerTest.java index e80575b7e09..cb8b2a41a76 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManagerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManagerTest.java @@ -32,15 +32,13 @@ import io.seata.rm.datasource.ConnectionContext; import io.seata.rm.datasource.ConnectionProxy; import io.seata.rm.datasource.DataSourceProxy; +import io.seata.rm.datasource.DataSourceProxyTest; import io.seata.rm.datasource.mock.MockDriver; import io.seata.rm.datasource.sql.struct.Row; import io.seata.rm.datasource.sql.struct.TableRecords; -import io.seata.rm.datasource.undo.AbstractUndoLogManager; -import io.seata.rm.datasource.undo.BranchUndoLog; -import io.seata.rm.datasource.undo.SQLUndoLog; -import io.seata.rm.datasource.undo.UndoLogParser; -import io.seata.rm.datasource.undo.UndoLogParserFactory; +import io.seata.rm.datasource.undo.*; +import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import io.seata.rm.datasource.undo.parser.JacksonUndoLogParser; import io.seata.sqlparser.SQLType; import io.seata.sqlparser.druid.SQLOperateRecognizerHolder; @@ -51,6 +49,12 @@ import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import javax.sql.DataSource; + +import static org.mockito.ArgumentMatchers.anyString; /** * Undo log manager test for PolarDB-X @@ -95,7 +99,7 @@ public void init() throws SQLException { dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); - dataSourceProxy = new DataSourceProxy(dataSource); + dataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); connectionProxy = new ConnectionProxy(dataSourceProxy, dataSource.getConnection().getConnection()); undoLogManager = new PolarDBXUndoLogManager(); tableMeta = new TableMeta(); From 7894473dcf8e53bdb3f685295fee8a313679d0e8 Mon Sep 17 00:00:00 2001 From: Xiangkun Yin <32592585+ptyin@users.noreply.github.com> Date: Sun, 26 Nov 2023 23:33:44 +0800 Subject: [PATCH 004/183] bugfix: fix missing table alias for on update column of image SQL (#6075) --- changes/en-us/2.x.md | 4 +-- changes/zh-cn/2.x.md | 4 ++- .../exec/BaseTransactionalExecutor.java | 14 +++++++++-- .../datasource/exec/UpdateExecutorTest.java | 25 ++++++++++++++++--- 4 files changed, 38 insertions(+), 9 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 13c6ed085d5..6c62b0e123c 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -6,7 +6,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] A brief and accurate description of PR ### bugfix: -- [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] A brief and accurate description of PR +- [[#6075](https://github.com/seata/seata/pull/6075)] fix missing table alias for on update column of image SQL ### optimize: - [[#6031](https://github.com/seata/seata/pull/6031)] add a check for the existence of the undolog table @@ -21,8 +21,8 @@ Thanks to these contributors for their code commits. Please report an unintended - [slievrly](https://github.com/slievrly) +- [ptyin](https://github.com/ptyin) - [laywin](https://github.com/laywin) - [imcmai](https://github.com/imcmai) - Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 749d418cf23..45a59e183fd 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -6,7 +6,7 @@ - [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] 准确简要的PR描述 ### bugfix: -- [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] 准确简要的PR描述 +- [[#6075](https://github.com/seata/seata/pull/6075)] 修复镜像SQL对于on update列没有添加表别名的问题 ### optimize: - [[#6031](https://github.com/seata/seata/pull/6031)] 添加undo_log表的存在性校验 @@ -21,7 +21,9 @@ - [slievrly](https://github.com/slievrly) +- [ptyin](https://github.com/ptyin) - [laywin](https://github.com/laywin) - [imcmai](https://github.com/imcmai) + 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java index 303cff94146..ffd809dcf56 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java @@ -24,6 +24,7 @@ import java.util.Map; import java.util.StringJoiner; import java.util.stream.Collectors; +import java.util.stream.Stream; import io.seata.common.DefaultValues; import io.seata.common.exception.ShouldNeverHappenException; @@ -535,13 +536,22 @@ protected List getNeedColumns(String table, String tableAlias, List onUpdateColumns = tableMeta.getOnUpdateColumnsOnlyName(); + if (StringUtils.isNotBlank(tableAlias)) { + onUpdateColumns = onUpdateColumns.stream() + .map(onUpdateColumn -> getColumnNameWithTablePrefix(table, tableAlias, onUpdateColumn)) + .collect(Collectors.toList()); + } onUpdateColumns.removeAll(unescapeColumns); needUpdateColumns.addAll(onUpdateColumns.stream() .map(onUpdateColumn -> ColumnUtils.addEscape(onUpdateColumn, getDbType(), tableMeta)) .collect(Collectors.toList())); } else { - needUpdateColumns.addAll(tableMeta.getAllColumns().keySet().stream() - .map(columnName -> ColumnUtils.addEscape(columnName, getDbType(), tableMeta)).collect(Collectors.toList())); + Stream allColumns = tableMeta.getAllColumns().keySet().stream(); + if (StringUtils.isNotBlank(tableAlias)) { + allColumns = allColumns.map(columnName -> getColumnNameWithTablePrefix(table, tableAlias, columnName)); + } + allColumns = allColumns.map(columnName -> ColumnUtils.addEscape(columnName, getDbType(), tableMeta)); + allColumns.forEach(needUpdateColumns::add); } return needUpdateColumns; } diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java index 973ae530ad1..a25fdfa7fa1 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java @@ -18,6 +18,7 @@ import java.lang.reflect.Field; import java.sql.SQLException; import java.sql.Types; +import java.util.ArrayList; import java.util.List; import com.alibaba.druid.mock.MockStatement; @@ -58,21 +59,25 @@ public class UpdateExecutorTest { @BeforeAll public static void init() { - List returnValueColumnLabels = Lists.newArrayList("id", "name", "all"); + List returnValueColumnLabels = Lists.newArrayList("id", "name", "all", "updated"); Object[][] returnValue = new Object[][] { - new Object[] {1, "Tom", "keyword"}, - new Object[] {2, "Jack", "keyword"}, + new Object[] {1, "Tom", "keyword", 0}, + new Object[] {2, "Jack", "keyword", 0}, }; Object[][] columnMetas = new Object[][] { new Object[] {"", "", "table_update_executor_test", "id", Types.INTEGER, "INTEGER", 64, 0, 10, 1, "", "", 0, 0, 64, 1, "NO", "YES"}, new Object[] {"", "", "table_update_executor_test", "name", Types.VARCHAR, "VARCHAR", 64, 0, 10, 0, "", "", 0, 0, 64, 2, "YES", "NO"}, new Object[] {"", "", "table_update_executor_test", "ALL", Types.VARCHAR, "VARCHAR", 64, 0, 10, 0, "", "", 0, 0, 64, 2, "YES", "NO"}, + new Object[] {"", "", "table_update_executor_test", "updated", Types.INTEGER, "INTEGER", 64, 0, 10, 0, "", "", 0, 0, 64, 2, "YES", "NO"}, }; Object[][] indexMetas = new Object[][] { new Object[] {"PRIMARY", "id", false, "", 3, 1, "A", 34}, }; + Object[][] onUpdateColumnsReturnValue = new Object[][] { + new Object[]{0, "updated", Types.INTEGER, "INTEGER", 64, 10, 0, 0} + }; - MockDriver mockDriver = new MockDriver(returnValueColumnLabels, returnValue, columnMetas, indexMetas); + MockDriver mockDriver = new MockDriver(returnValueColumnLabels, returnValue, columnMetas, indexMetas, null, onUpdateColumnsReturnValue); DruidDataSource dataSource = new DruidDataSource(); dataSource.setUrl("jdbc:mock:xxx"); dataSource.setDriver(mockDriver); @@ -108,6 +113,18 @@ public void testBeforeImage() throws SQLException { Assertions.assertNotNull(updateExecutor.beforeImage()); } + @Test + public void testBeforeImageWithTableAlias() throws SQLException { + Assertions.assertNotNull(updateExecutor.beforeImage()); + + String sql = "update table_update_executor_test t set t.name = 'WILL' where t.id = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLUpdateRecognizer recognizer = new MySQLUpdateRecognizer(sql, asts.get(0)); + updateExecutor = new UpdateExecutor(statementProxy, (statement, args) -> null, recognizer); + String builtSql = updateExecutor.buildBeforeImageSQL(updateExecutor.getTableMeta(), new ArrayList<>()); + Assertions.assertTrue(builtSql.contains("t.updated")); + } + @Test public void testKeyword() throws SQLException { String sql = "update table_update_executor_test set `all` = '1234' where id = 1"; From e32cb1c3a85d34a891aa01a9daf946916d666d5d Mon Sep 17 00:00:00 2001 From: yiqi <77573225+PleaseGiveMeTheCoke@users.noreply.github.com> Date: Mon, 27 Nov 2023 13:41:15 +0800 Subject: [PATCH 005/183] optimize: the high CPU usage issue of the rpcMergeMessageSend thread (#6061) --- changes/en-us/2.x.md | 2 + changes/zh-cn/2.x.md | 3 + .../core/rpc/netty/AbstractNettyRemoting.java | 2 +- .../netty/AbstractNettyRemotingClient.java | 96 ++++++++++++------- 4 files changed, 67 insertions(+), 36 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 6c62b0e123c..d3a3565f340 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -9,6 +9,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6075](https://github.com/seata/seata/pull/6075)] fix missing table alias for on update column of image SQL ### optimize: +- [[#6061](https://github.com/seata/seata/pull/6061)] merge the rpcMergeMessageSend threads of rm and tm and increase the thread hibernation duration - [[#6031](https://github.com/seata/seata/pull/6031)] add a check for the existence of the undolog table ### security: @@ -21,6 +22,7 @@ Thanks to these contributors for their code commits. Please report an unintended - [slievrly](https://github.com/slievrly) +- [yiqi](https://github.com/PleaseGiveMeTheCoke) - [ptyin](https://github.com/ptyin) - [laywin](https://github.com/laywin) - [imcmai](https://github.com/imcmai) diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 45a59e183fd..32dcc3dce6c 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -9,8 +9,10 @@ - [[#6075](https://github.com/seata/seata/pull/6075)] 修复镜像SQL对于on update列没有添加表别名的问题 ### optimize: +- [[#6061](https://github.com/seata/seata/pull/6061)] 合并rm和tm的rpcMergeMessageSend线程,增加线程休眠时长 - [[#6031](https://github.com/seata/seata/pull/6031)] 添加undo_log表的存在性校验 + ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 @@ -21,6 +23,7 @@ - [slievrly](https://github.com/slievrly) +- [yiqi](https://github.com/PleaseGiveMeTheCoke) - [ptyin](https://github.com/ptyin) - [laywin](https://github.com/laywin) - [imcmai](https://github.com/imcmai) diff --git a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java index a4bb348aae1..ca7576e0f0e 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java +++ b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java @@ -92,7 +92,7 @@ public abstract class AbstractNettyRemoting implements Disposable { /** * The Is sending. */ - protected volatile boolean isSending = false; + protected static volatile boolean isSending = false; private String group = "DEFAULT"; /** diff --git a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java index 9ef4925cd1a..1e052d27af8 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java +++ b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java @@ -17,6 +17,8 @@ import java.lang.reflect.Field; import java.net.InetSocketAddress; +import java.util.Collection; +import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.BlockingQueue; @@ -77,14 +79,13 @@ public abstract class AbstractNettyRemotingClient extends AbstractNettyRemoting private static final String MSG_ID_PREFIX = "msgId:"; private static final String FUTURES_PREFIX = "futures:"; private static final String SINGLE_LOG_POSTFIX = ";"; - private static final int MAX_MERGE_SEND_MILLS = 1; - private static final String THREAD_PREFIX_SPLIT_CHAR = "_"; + private static final int MAX_MERGE_SEND_MILLS = 10; private static final int MAX_MERGE_SEND_THREAD = 1; private static final long KEEP_ALIVE_TIME = Integer.MAX_VALUE; private static final long SCHEDULE_DELAY_MILLS = 60 * 1000L; private static final long SCHEDULE_INTERVAL_MILLS = 10 * 1000L; - private static final String MERGE_THREAD_PREFIX = "rpcMergeMessageSend"; - protected final Object mergeLock = new Object(); + private static final String MERGE_THREAD_NAME = "rpcMergeMessageSend"; + protected static final Object MERGE_LOCK = new Object(); /** * When sending message type is {@link MergeMessage}, will be stored to mergeMsgMap. @@ -96,11 +97,11 @@ public abstract class AbstractNettyRemotingClient extends AbstractNettyRemoting * Send via asynchronous thread {@link io.seata.core.rpc.netty.AbstractNettyRemotingClient.MergedSendRunnable} * {@link AbstractNettyRemotingClient#isEnableClientBatchSendRequest()} */ - protected final ConcurrentHashMap> basketMap = new ConcurrentHashMap<>(); + protected static final ConcurrentHashMap>> BASKET_MAP = new ConcurrentHashMap<>(); private final NettyClientBootstrap clientBootstrap; private final NettyClientChannelManager clientChannelManager; private final NettyPoolKey.TransactionRole transactionRole; - private ExecutorService mergeSendExecutorService; + private static volatile ExecutorService mergeSendExecutorService; private TransactionMessageHandler transactionMessageHandler; protected volatile boolean enableClientBatchSendRequest; @@ -108,17 +109,27 @@ public abstract class AbstractNettyRemotingClient extends AbstractNettyRemoting public void init() { timerExecutor.scheduleAtFixedRate(() -> clientChannelManager.reconnect(getTransactionServiceGroup()), SCHEDULE_DELAY_MILLS, SCHEDULE_INTERVAL_MILLS, TimeUnit.MILLISECONDS); if (this.isEnableClientBatchSendRequest()) { - mergeSendExecutorService = new ThreadPoolExecutor(MAX_MERGE_SEND_THREAD, - MAX_MERGE_SEND_THREAD, - KEEP_ALIVE_TIME, TimeUnit.MILLISECONDS, - new LinkedBlockingQueue<>(), - new NamedThreadFactory(getThreadPrefix(), MAX_MERGE_SEND_THREAD)); - mergeSendExecutorService.submit(new MergedSendRunnable()); + startMergeSendThread(); } super.init(); clientBootstrap.start(); } + private void startMergeSendThread() { + if (mergeSendExecutorService == null) { + synchronized (AbstractNettyRemoting.class) { + if (mergeSendExecutorService == null) { + mergeSendExecutorService = new ThreadPoolExecutor(MAX_MERGE_SEND_THREAD, + MAX_MERGE_SEND_THREAD, + KEEP_ALIVE_TIME, TimeUnit.MILLISECONDS, + new LinkedBlockingQueue<>(), + new NamedThreadFactory(MERGE_THREAD_NAME, MAX_MERGE_SEND_THREAD)); + mergeSendExecutorService.submit(new MergedSendRunnable()); + } + } + } + } + public AbstractNettyRemotingClient(NettyClientConfig nettyClientConfig, EventExecutorGroup eventExecutorGroup, ThreadPoolExecutor messageExecutor, NettyPoolKey.TransactionRole transactionRole) { super(messageExecutor); @@ -146,8 +157,14 @@ public Object sendSyncRequest(Object msg) throws TimeoutException { futures.put(rpcMessage.getId(), messageFuture); // put message into basketMap - BlockingQueue basket = CollectionUtils.computeIfAbsent(basketMap, serverAddress, - key -> new LinkedBlockingQueue<>()); + Map> roleMessage = CollectionUtils.computeIfAbsent(BASKET_MAP, serverAddress, + key -> { + Map> map = new HashMap<>(2); + map.put(NettyPoolKey.TransactionRole.TMROLE, new LinkedBlockingQueue<>()); + map.put(NettyPoolKey.TransactionRole.RMROLE, new LinkedBlockingQueue<>()); + return map; + }); + BlockingQueue basket = roleMessage.get(transactionRole); if (!basket.offer(rpcMessage)) { LOGGER.error("put message into basketMap offer failed, serverAddress:{},rpcMessage:{}", serverAddress, rpcMessage); @@ -157,8 +174,8 @@ public Object sendSyncRequest(Object msg) throws TimeoutException { LOGGER.debug("offer message: {}", rpcMessage.getBody()); } if (!isSending) { - synchronized (mergeLock) { - mergeLock.notifyAll(); + synchronized (MERGE_LOCK) { + MERGE_LOCK.notifyAll(); } } @@ -291,10 +308,6 @@ protected String getXid(Object msg) { return StringUtils.isBlank(xid) ? String.valueOf(ThreadLocalRandom.current().nextLong(Long.MAX_VALUE)) : xid; } - private String getThreadPrefix() { - return AbstractNettyRemotingClient.MERGE_THREAD_PREFIX + THREAD_PREFIX_SPLIT_CHAR + transactionRole.name(); - } - /** * Get pool key function. * @@ -326,23 +339,36 @@ private String getThreadPrefix() { /** * The type Merged send runnable. */ - private class MergedSendRunnable implements Runnable { + private static class MergedSendRunnable implements Runnable { @Override public void run() { while (true) { - synchronized (mergeLock) { - try { - mergeLock.wait(MAX_MERGE_SEND_MILLS); - } catch (InterruptedException e) { + if (BASKET_MAP.values().stream().allMatch(map -> map.values().stream().allMatch(Collection::isEmpty))) { + synchronized (MERGE_LOCK) { + if (BASKET_MAP.values().stream().allMatch(map -> map.values().stream().allMatch(Collection::isEmpty))) { + try { + MERGE_LOCK.wait(MAX_MERGE_SEND_MILLS); + } catch (InterruptedException e) { + } + } } } isSending = true; - basketMap.forEach((address, basket) -> { + BASKET_MAP.forEach((address, roleMessage) -> roleMessage.forEach((role, basket) -> { if (basket.isEmpty()) { return; } + AbstractNettyRemotingClient client; + if (role.equals(NettyPoolKey.TransactionRole.RMROLE)) { + client = RmNettyRemotingClient.getInstance(); + } else { + client = TmNettyRemotingClient.getInstance(); + } + + ConcurrentHashMap clientFutures = client.getFutures(); + MergedWarpMessage mergeMessage = new MergedWarpMessage(); while (!basket.isEmpty()) { RpcMessage msg = basket.poll(); @@ -350,35 +376,35 @@ public void run() { mergeMessage.msgIds.add(msg.getId()); } if (mergeMessage.msgIds.size() > 1) { - printMergeMessageLog(mergeMessage); + printMergeMessageLog(clientFutures, mergeMessage); } Channel sendChannel = null; try { // send batch message is sync request, but there is no need to get the return value. // Since the messageFuture has been created before the message is placed in basketMap, // the return value will be obtained in ClientOnResponseProcessor. - sendChannel = clientChannelManager.acquireChannel(address); - AbstractNettyRemotingClient.this.sendAsyncRequest(sendChannel, mergeMessage); + sendChannel = client.getClientChannelManager().acquireChannel(address); + client.sendAsyncRequest(sendChannel, mergeMessage); } catch (FrameworkException e) { if (e.getErrcode() == FrameworkErrorCode.ChannelIsNotWritable && sendChannel != null) { - destroyChannel(address, sendChannel); + client.destroyChannel(address, sendChannel); } // fast fail for (Integer msgId : mergeMessage.msgIds) { - MessageFuture messageFuture = futures.remove(msgId); + MessageFuture messageFuture = clientFutures.remove(msgId); if (messageFuture != null) { messageFuture.setResultMessage( - new RuntimeException(String.format("%s is unreachable", address), e)); + new RuntimeException(String.format("%s is unreachable", address), e)); } } LOGGER.error("client merge call failed: {}", e.getMessage(), e); } - }); + })); isSending = false; } } - private void printMergeMessageLog(MergedWarpMessage mergeMessage) { + private void printMergeMessageLog(ConcurrentHashMap clientFutures, MergedWarpMessage mergeMessage) { if (LOGGER.isDebugEnabled()) { LOGGER.debug("merge msg size:{}", mergeMessage.msgIds.size()); for (AbstractMessage cm : mergeMessage.msgs) { @@ -389,7 +415,7 @@ private void printMergeMessageLog(MergedWarpMessage mergeMessage) { sb.append(MSG_ID_PREFIX).append(l).append(SINGLE_LOG_POSTFIX); } sb.append("\n"); - for (long l : futures.keySet()) { + for (long l : clientFutures.keySet()) { sb.append(FUTURES_PREFIX).append(l).append(SINGLE_LOG_POSTFIX); } LOGGER.debug(sb.toString()); From 3702ff8c074725ce48844e06b8c3f01385af21b0 Mon Sep 17 00:00:00 2001 From: funkye Date: Mon, 27 Nov 2023 14:39:38 +0800 Subject: [PATCH 006/183] bugfix: support jdk9+ compile code (#6085) --- .../io/seata/common/util/BufferUtils.java | 93 +++++++++++++++++++ .../io/seata/integration/http/HttpTest.java | 17 ++-- .../undo/parser/ProtostuffUndoLogParser.java | 10 +- .../protobuf/ProtobufSerializer.java | 12 ++- .../serializer/seata/SeataSerializer.java | 7 +- .../seata/server/session/BranchSession.java | 4 +- .../seata/server/session/GlobalSession.java | 3 +- .../store/FileTransactionStoreManager.java | 11 ++- .../file/FileTransactionStoreManagerTest.java | 18 ++-- 9 files changed, 141 insertions(+), 34 deletions(-) create mode 100644 common/src/main/java/io/seata/common/util/BufferUtils.java diff --git a/common/src/main/java/io/seata/common/util/BufferUtils.java b/common/src/main/java/io/seata/common/util/BufferUtils.java new file mode 100644 index 00000000000..5b69ecf7a0d --- /dev/null +++ b/common/src/main/java/io/seata/common/util/BufferUtils.java @@ -0,0 +1,93 @@ +/* + * Copyright 1999-2019 Seata.io Group. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on + * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.seata.common.util; + +import java.nio.Buffer; + +/** + * Explicit cast to {@link Buffer} parent buffer type. It resolves issues with covariant return types in Java 9+ for + * {@link java.nio.ByteBuffer} and {@link java.nio.CharBuffer}. Explicit casting resolves the NoSuchMethodErrors (e.g + * java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip(I)Ljava/nio/ByteBuffer) when the project is compiled with + * newer Java version and run on Java 8. + *

+ * Java 8 doesn't provide override the + * following Buffer methods in subclasses: + * + *

+ * Buffer clear()
+ * Buffer flip()
+ * Buffer limit(int newLimit)
+ * Buffer mark()
+ * Buffer position(int newPosition)
+ * Buffer reset()
+ * Buffer rewind()
+ * 
+ * + * Java 9 introduces the overrides in + * child classes (e.g the ByteBuffer), but the return type is the specialized one and not the abstract {@link Buffer}. + * So the code compiled with newer Java is not working on Java 8 unless a workaround with explicit casting is used. + * + * @author funkye + */ +public class BufferUtils { + + /** + * @param buffer byteBuffer + */ + public static void flip(Buffer buffer) { + buffer.flip(); + } + + /** + * @param buffer byteBuffer + */ + public static void clear(Buffer buffer) { + buffer.clear(); + } + + /** + * @param buffer byteBuffer + */ + public static void limit(Buffer buffer, int newLimit) { + buffer.limit(newLimit); + } + + /** + * @param buffer byteBuffer + */ + public static void mark(Buffer buffer) { + buffer.mark(); + } + + /** + * @param buffer byteBuffer + */ + public static void position(Buffer buffer, int newPosition) { + buffer.position(newPosition); + } + + /** + * @param buffer byteBuffer + */ + public static void rewind(Buffer buffer) { + buffer.rewind(); + } + + /** + * @param buffer byteBuffer + */ + public static void reset(Buffer buffer) { + buffer.reset(); + } + +} diff --git a/integration/http/src/test/java/io/seata/integration/http/HttpTest.java b/integration/http/src/test/java/io/seata/integration/http/HttpTest.java index 8b20b5269aa..5ff8cc23f8c 100644 --- a/integration/http/src/test/java/io/seata/integration/http/HttpTest.java +++ b/integration/http/src/test/java/io/seata/integration/http/HttpTest.java @@ -15,13 +15,6 @@ */ package io.seata.integration.http; -import com.alibaba.fastjson.JSON; -import com.alibaba.fastjson.JSONObject; -import io.seata.core.context.RootContext; -import org.apache.http.HttpResponse; -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; @@ -31,6 +24,14 @@ import java.nio.channels.WritableByteChannel; import java.util.HashMap; import java.util.Map; +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONObject; +import io.seata.common.util.BufferUtils; +import io.seata.core.context.RootContext; +import org.apache.http.HttpResponse; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + import static io.seata.integration.http.AbstractHttpExecutor.convertParamOfBean; import static io.seata.integration.http.AbstractHttpExecutor.convertParamOfJsonString; @@ -205,7 +206,7 @@ public static String readStreamAsStr(InputStream is) throws IOException { ByteBuffer bb = ByteBuffer.allocate(4096); while (src.read(bb) != -1) { - bb.flip(); + BufferUtils.flip(bb); dest.write(bb); bb.clear(); } diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParser.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParser.java index 6df392f6711..608722cb1c0 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParser.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParser.java @@ -20,6 +20,9 @@ import java.sql.Timestamp; import java.util.List; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + import io.protostuff.Input; import io.protostuff.LinkedBuffer; import io.protostuff.Output; @@ -36,11 +39,10 @@ import io.seata.common.loader.EnhancedServiceNotFoundException; import io.seata.common.loader.LoadLevel; import io.seata.common.util.CollectionUtils; +import io.seata.common.util.BufferUtils; import io.seata.rm.datasource.undo.BranchUndoLog; import io.seata.rm.datasource.undo.UndoLogParser; import io.seata.rm.datasource.undo.parser.spi.ProtostuffDelegate; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; /** * The type protostuff based undo log parser. @@ -132,7 +134,7 @@ public java.sql.Timestamp readFrom(Input input) throws IOException { ByteBuffer buffer = input.readByteBuffer(); long time = buffer.getLong(); int nanos = buffer.getInt(); - buffer.flip(); + BufferUtils.flip(buffer); java.sql.Timestamp timestamp = new Timestamp(time); timestamp.setNanos(nanos); return timestamp; @@ -143,7 +145,7 @@ public void writeTo(Output output, int number, java.sql.Timestamp value, boolean ByteBuffer buffer = ByteBuffer.allocate(12); buffer.putLong(value.getTime()); buffer.putInt(value.getNanos()); - buffer.flip(); + BufferUtils.flip(buffer); output.writeBytes(number, buffer, repeated); } diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufSerializer.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufSerializer.java index 378245cb1e8..a81ce621c92 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufSerializer.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufSerializer.java @@ -15,16 +15,18 @@ */ package io.seata.serializer.protobuf; +import java.nio.ByteBuffer; +import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; + import com.google.protobuf.GeneratedMessageV3; + import io.seata.common.loader.LoadLevel; +import io.seata.common.util.BufferUtils; import io.seata.core.serializer.Serializer; import io.seata.serializer.protobuf.convertor.PbConvertor; import io.seata.serializer.protobuf.manager.ProtobufConvertManager; -import java.nio.ByteBuffer; -import java.nio.charset.Charset; -import java.nio.charset.StandardCharsets; - /** * The type Protobuf codec. * @@ -53,7 +55,7 @@ public byte[] serialize(T t) { byteBuffer.putInt(nameBytes.length); byteBuffer.put(nameBytes); byteBuffer.put(body); - byteBuffer.flip(); + BufferUtils.flip(byteBuffer); byte[] content = new byte[byteBuffer.limit()]; byteBuffer.get(content); return content; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/SeataSerializer.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/SeataSerializer.java index c1a96e611a4..b3d81d6c163 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/SeataSerializer.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/SeataSerializer.java @@ -15,14 +15,15 @@ */ package io.seata.serializer.seata; +import java.nio.ByteBuffer; + import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.seata.common.loader.LoadLevel; +import io.seata.common.util.BufferUtils; import io.seata.core.protocol.AbstractMessage; import io.seata.core.serializer.Serializer; -import java.nio.ByteBuffer; - /** * The Seata codec. * @@ -53,7 +54,7 @@ public byte[] serialize(T t) { byteBuffer.putShort(typecode); byteBuffer.put(body); - byteBuffer.flip(); + BufferUtils.flip(byteBuffer); byte[] content = new byte[byteBuffer.limit()]; byteBuffer.get(content); return content; diff --git a/server/src/main/java/io/seata/server/session/BranchSession.java b/server/src/main/java/io/seata/server/session/BranchSession.java index 7006716b61e..ead43a145c7 100644 --- a/server/src/main/java/io/seata/server/session/BranchSession.java +++ b/server/src/main/java/io/seata/server/session/BranchSession.java @@ -22,7 +22,7 @@ import java.util.Set; import java.util.concurrent.ConcurrentHashMap; - +import io.seata.common.util.BufferUtils; import io.seata.common.util.CompressUtil; import io.seata.core.exception.TransactionException; import io.seata.core.model.BranchStatus; @@ -407,7 +407,7 @@ public byte[] encode() { byteBuffer.put((byte)status.getCode()); byteBuffer.put((byte)lockStatus.getCode()); - byteBuffer.flip(); + BufferUtils.flip(byteBuffer); byte[] result = new byte[byteBuffer.limit()]; byteBuffer.get(result); return result; diff --git a/server/src/main/java/io/seata/server/session/GlobalSession.java b/server/src/main/java/io/seata/server/session/GlobalSession.java index 79cea914e5e..afe19b2260a 100644 --- a/server/src/main/java/io/seata/server/session/GlobalSession.java +++ b/server/src/main/java/io/seata/server/session/GlobalSession.java @@ -30,6 +30,7 @@ import io.seata.common.Constants; import io.seata.common.DefaultValues; import io.seata.common.XID; +import io.seata.common.util.BufferUtils; import io.seata.common.util.StringUtils; import io.seata.config.ConfigurationFactory; import io.seata.core.exception.GlobalTransactionException; @@ -653,7 +654,7 @@ public byte[] encode() { } byteBuffer.putLong(beginTime); byteBuffer.put((byte)status.getCode()); - byteBuffer.flip(); + BufferUtils.flip(byteBuffer); byte[] result = new byte[byteBuffer.limit()]; byteBuffer.get(result); return result; diff --git a/server/src/main/java/io/seata/server/storage/file/store/FileTransactionStoreManager.java b/server/src/main/java/io/seata/server/storage/file/store/FileTransactionStoreManager.java index a52fce9b054..3beb2cd7203 100644 --- a/server/src/main/java/io/seata/server/storage/file/store/FileTransactionStoreManager.java +++ b/server/src/main/java/io/seata/server/storage/file/store/FileTransactionStoreManager.java @@ -31,10 +31,10 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicLong; import java.util.concurrent.locks.ReentrantLock; - import io.seata.common.exception.StoreException; import io.seata.common.thread.NamedThreadFactory; import io.seata.common.util.CollectionUtils; +import io.seata.common.util.BufferUtils; import io.seata.server.session.BranchSession; import io.seata.server.session.GlobalSession; import io.seata.server.session.SessionCondition; @@ -50,6 +50,7 @@ import org.slf4j.LoggerFactory; import org.slf4j.MDC; + import static io.seata.core.context.RootContext.MDC_KEY_BRANCH_ID; /** @@ -263,11 +264,11 @@ private boolean writeDataFrame(byte[] data) { } private boolean flushWriteBuffer(ByteBuffer writeBuffer) { - writeBuffer.flip(); + BufferUtils.flip(writeBuffer); if (!writeDataFileByBuffer(writeBuffer)) { return false; } - writeBuffer.clear(); + BufferUtils.clear(writeBuffer); return true; } @@ -397,12 +398,12 @@ private List parseDataFile(File file, int readSize, long ByteBuffer buffSize = ByteBuffer.allocate(MARK_SIZE); while (fileChannel.position() < size) { try { - buffSize.clear(); + BufferUtils.clear(buffSize); int avilReadSize = fileChannel.read(buffSize); if (avilReadSize != MARK_SIZE) { break; } - buffSize.flip(); + BufferUtils.flip(buffSize); int bodySize = buffSize.getInt(); byte[] byBody = new byte[bodySize]; ByteBuffer buffBody = ByteBuffer.wrap(byBody); diff --git a/server/src/test/java/io/seata/server/store/file/FileTransactionStoreManagerTest.java b/server/src/test/java/io/seata/server/store/file/FileTransactionStoreManagerTest.java index f311482d455..dbe750b416f 100644 --- a/server/src/test/java/io/seata/server/store/file/FileTransactionStoreManagerTest.java +++ b/server/src/test/java/io/seata/server/store/file/FileTransactionStoreManagerTest.java @@ -21,20 +21,26 @@ import java.util.ArrayList; import java.util.Collection; import java.util.List; + +import io.seata.server.session.SessionHolder; +import org.assertj.core.util.Files; +import org.junit.jupiter.api.AfterAll; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Test; +import org.mockito.Mockito; +import org.springframework.boot.test.context.SpringBootTest; + +import io.seata.common.util.BufferUtils; import io.seata.server.UUIDGenerator; import io.seata.server.session.BranchSession; import io.seata.server.session.GlobalSession; -import io.seata.server.session.SessionHolder; import io.seata.server.session.SessionManager; import io.seata.server.storage.file.TransactionWriteStore; import io.seata.server.storage.file.session.FileSessionManager; import io.seata.server.storage.file.store.FileTransactionStoreManager; import io.seata.server.store.StoreConfig; import io.seata.server.store.TransactionStoreManager; -import org.assertj.core.util.Files; -import org.junit.jupiter.api.*; -import org.mockito.Mockito; -import org.springframework.boot.test.context.SpringBootTest; import org.springframework.context.ApplicationContext; /** @@ -177,7 +183,7 @@ private byte[] createBigBranchSessionData(GlobalSession global, byte c) { byteBuffer.put((byte) 0); byteBuffer.put((byte) 0); byteBuffer.put((byte) 0); - byteBuffer.flip(); + BufferUtils.flip(byteBuffer); byte[] bytes = new byte[byteBuffer.limit()]; byteBuffer.get(bytes); return bytes; From 2122c6d53ae9cabcab4c53946b4a1b999e0aef76 Mon Sep 17 00:00:00 2001 From: jimin Date: Mon, 27 Nov 2023 17:23:02 +0800 Subject: [PATCH 007/183] bugfix: fix oracle column alias cannot find (#6086) --- changes/en-us/2.x.md | 4 ++++ changes/zh-cn/2.x.md | 4 ++++ .../test/java/io/seata/rm/datasource/ColumnUtilsTest.java | 4 ++-- .../src/main/java/io/seata/sqlparser/EscapeHandler.java | 7 ++++++- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index d3a3565f340..e2c184fd78f 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -7,6 +7,8 @@ Add changes here for all PR submitted to the 2.x branch. ### bugfix: - [[#6075](https://github.com/seata/seata/pull/6075)] fix missing table alias for on update column of image SQL +- [[#6086](https://github.com/seata/seata/pull/6086)] fix oracle column alias cannot find +- [[#6085](https://github.com/seata/seata/pull/6085)] fix jdk9+ compile error ### optimize: - [[#6061](https://github.com/seata/seata/pull/6061)] merge the rpcMergeMessageSend threads of rm and tm and increase the thread hibernation duration @@ -26,5 +28,7 @@ Thanks to these contributors for their code commits. Please report an unintended - [ptyin](https://github.com/ptyin) - [laywin](https://github.com/laywin) - [imcmai](https://github.com/imcmai) +- [DroidEye2ONGU](https://github.com/DroidEye2ONGU) +- [funky-eyes](https://github.com/funky-eyes) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 32dcc3dce6c..57e10fb8c44 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -7,6 +7,8 @@ ### bugfix: - [[#6075](https://github.com/seata/seata/pull/6075)] 修复镜像SQL对于on update列没有添加表别名的问题 +- [[#6086](https://github.com/seata/seata/pull/6086)] 修复oracle alias 解析异常 +- [[#6085](https://github.com/seata/seata/pull/6085)] 修复jdk9+版本编译后,引入后ByteBuffer#flip NoSuchMethodError的问题 ### optimize: - [[#6061](https://github.com/seata/seata/pull/6061)] 合并rm和tm的rpcMergeMessageSend线程,增加线程休眠时长 @@ -27,6 +29,8 @@ - [ptyin](https://github.com/ptyin) - [laywin](https://github.com/laywin) - [imcmai](https://github.com/imcmai) +- [DroidEye2ONGU](https://github.com/DroidEye2ONGU) +- [funky-eyes](https://github.com/funky-eyes) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/ColumnUtilsTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/ColumnUtilsTest.java index 706632b31f9..69e20ccd84d 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/ColumnUtilsTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/ColumnUtilsTest.java @@ -240,7 +240,7 @@ public void test_addEscape_byDbType() throws Exception { cols = new ArrayList<>(); cols.add("SCHEME.\"ID\""); cols = ColumnUtils.addEscape(cols, JdbcConstants.POSTGRESQL); - Assertions.assertEquals("\"SCHEME\".\"ID\"", cols.get(0)); + Assertions.assertEquals("SCHEME.\"ID\"", cols.get(0)); cols = new ArrayList<>(); cols.add("\"SCHEME\".ID"); @@ -255,7 +255,7 @@ public void test_addEscape_byDbType() throws Exception { cols = new ArrayList<>(); cols.add("schEme.id"); cols = ColumnUtils.addEscape(cols, JdbcConstants.POSTGRESQL); - Assertions.assertEquals("\"schEme\".\"id\"", cols.get(0)); + Assertions.assertEquals("schEme.id", cols.get(0)); } diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandler.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandler.java index 5d8685054b0..da19be45c9d 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandler.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandler.java @@ -76,7 +76,12 @@ default String addColNameEscape(String colName) { * @return colName */ default String addColNameEscape(String colName, TableMeta tableMeta) { - boolean needEscape = checkIfNeedEscape(colName, tableMeta); + String colNameToCheck = colName; + if (colName.contains(DOT)) { + colNameToCheck = colName.substring(colName.lastIndexOf(DOT) + 1); + } + + boolean needEscape = checkIfNeedEscape(colNameToCheck, tableMeta); if (!needEscape) { return colName; } From 9fef2dbea4f76725afb624d8e73a92765cfdf29b Mon Sep 17 00:00:00 2001 From: justabug Date: Tue, 28 Nov 2023 11:33:59 +0800 Subject: [PATCH 008/183] optimize: rm appdata size limit (#4473) --- changes/en-us/2.x.md | 2 ++ changes/zh-cn/2.x.md | 3 ++- .../io/seata/common/ConfigurationKeys.java | 19 +++++++++++++ .../java/io/seata/common/DefaultValues.java | 5 ++++ .../io/seata/common/util/StringUtils.java | 27 +++++++++++++++++++ .../io/seata/common/util/StringUtilsTest.java | 11 ++++++++ .../io/seata/rm/AbstractResourceManager.java | 15 ++++++++++- script/client/conf/file.conf | 2 ++ script/client/spring/application.properties | 2 ++ script/client/spring/application.yml | 2 ++ script/config-center/config.txt | 2 ++ .../properties/client/RmProperties.java | 19 +++++++++++++ .../properties/server/ServerProperties.java | 18 +++++++++++++ .../server/coordinator/AbstractCore.java | 22 ++++++++++++++- .../main/resources/application.example.yml | 2 ++ .../resources/application.raft.example.yml | 2 ++ 16 files changed, 150 insertions(+), 3 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index e2c184fd78f..e0cbefc888f 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -13,6 +13,7 @@ Add changes here for all PR submitted to the 2.x branch. ### optimize: - [[#6061](https://github.com/seata/seata/pull/6061)] merge the rpcMergeMessageSend threads of rm and tm and increase the thread hibernation duration - [[#6031](https://github.com/seata/seata/pull/6031)] add a check for the existence of the undolog table +- [[#4473](https://github.com/seata/seata/pull/4473)] rm appdata size limit ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities @@ -30,5 +31,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [imcmai](https://github.com/imcmai) - [DroidEye2ONGU](https://github.com/DroidEye2ONGU) - [funky-eyes](https://github.com/funky-eyes) +- [Bughue](https://github.com/Bughue) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 57e10fb8c44..ea7e79de676 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -13,6 +13,7 @@ ### optimize: - [[#6061](https://github.com/seata/seata/pull/6061)] 合并rm和tm的rpcMergeMessageSend线程,增加线程休眠时长 - [[#6031](https://github.com/seata/seata/pull/6031)] 添加undo_log表的存在性校验 +- [[#4473](https://github.com/seata/seata/pull/4473)] rm appdata大小限制 ### security: @@ -31,6 +32,6 @@ - [imcmai](https://github.com/imcmai) - [DroidEye2ONGU](https://github.com/DroidEye2ONGU) - [funky-eyes](https://github.com/funky-eyes) - +- [Bughue](https://github.com/Bughue) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/common/src/main/java/io/seata/common/ConfigurationKeys.java b/common/src/main/java/io/seata/common/ConfigurationKeys.java index dba53e2d2ac..e90f52ea5df 100644 --- a/common/src/main/java/io/seata/common/ConfigurationKeys.java +++ b/common/src/main/java/io/seata/common/ConfigurationKeys.java @@ -982,4 +982,23 @@ public interface ConfigurationKeys { */ String ENABLE_PARALLEL_HANDLE_BRANCH_KEY = SERVER_PREFIX + "enableParallelHandleBranch"; + /** + * The constant RM_APPLICATION_DATA_SIZE_ERROR + */ + String RM_APPLICATION_DATA_SIZE_LIMIT = CLIENT_RM_PREFIX + "applicationDataLimit"; + + /** + * The constant RM_APPLICATION_DATA_SIZE_CHECK + */ + String RM_APPLICATION_DATA_SIZE_CHECK = CLIENT_RM_PREFIX + "applicationDataLimitCheck"; + + /** + * The constant SERVER_APPLICATION_DATA_SIZE_ERROR + */ + String SERVER_APPLICATION_DATA_SIZE_LIMIT = SERVER_PREFIX + "applicationDataLimit"; + + /** + * The constant SERVER_APPLICATION_DATA_SIZE_CHECK + */ + String SERVER_APPLICATION_DATA_SIZE_CHECK = SERVER_PREFIX + "applicationDataLimitCheck"; } diff --git a/common/src/main/java/io/seata/common/DefaultValues.java b/common/src/main/java/io/seata/common/DefaultValues.java index 47227c2da8d..f3fc347c237 100644 --- a/common/src/main/java/io/seata/common/DefaultValues.java +++ b/common/src/main/java/io/seata/common/DefaultValues.java @@ -197,6 +197,11 @@ public interface DefaultValues { */ long DEFAULT_RPC_TC_REQUEST_TIMEOUT = Duration.ofSeconds(15).toMillis(); + /** + * the constant DEFAULT_APPLICATION_DATA_SIZE_LIMIT + */ + int DEFAULT_APPLICATION_DATA_SIZE_LIMIT = 64000; + /** * the constant DEFAULT_XAER_NOTA_RETRY_TIMEOUT */ diff --git a/common/src/main/java/io/seata/common/util/StringUtils.java b/common/src/main/java/io/seata/common/util/StringUtils.java index 139541dded1..2b1e662b1a8 100644 --- a/common/src/main/java/io/seata/common/util/StringUtils.java +++ b/common/src/main/java/io/seata/common/util/StringUtils.java @@ -20,6 +20,7 @@ import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.lang.reflect.Method; +import java.nio.charset.StandardCharsets; import java.text.SimpleDateFormat; import java.util.Collection; import java.util.Date; @@ -29,6 +30,8 @@ import io.seata.common.Constants; import io.seata.common.exception.ShouldNeverHappenException; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; /** * The type String utils. @@ -38,6 +41,7 @@ */ public class StringUtils { + private static final Logger LOGGER = LoggerFactory.getLogger(StringUtils.class); private static final Pattern CAMEL_PATTERN = Pattern.compile("[A-Z]"); private static final Pattern LINE_PATTERN = Pattern.compile("-(\\w)"); @@ -349,6 +353,29 @@ public static String hump2Line(String str) { return sb.toString(); } + /** + * check string data size + * + * @param data the str + * @param dataName the data name + * @param errorSize throw exception if size > errorSize + * @return boolean + */ + public static boolean checkDataSize(String data, String dataName, int errorSize, boolean throwIfErr) { + if (isBlank(data)) { + return true; + } + int length = data.getBytes(StandardCharsets.UTF_8).length; + if (length > errorSize) { + LOGGER.warn("{} data is large(errorSize), size={}", dataName, length); + if (!throwIfErr) { + return false; + } + throw new IllegalArgumentException(dataName + " data is too large, size=" + length); + } + return true; + } + public static boolean hasLowerCase(String str) { if (null == str) { return false; diff --git a/common/src/test/java/io/seata/common/util/StringUtilsTest.java b/common/src/test/java/io/seata/common/util/StringUtilsTest.java index f094eba625d..680fd256b62 100644 --- a/common/src/test/java/io/seata/common/util/StringUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/StringUtilsTest.java @@ -380,4 +380,15 @@ public String toString() { ')'; } } + + @Test + void checkDataSize() { + assertThat(StringUtils.checkDataSize("","testdata",10,false)).isEqualTo(Boolean.TRUE); + assertThat(StringUtils.checkDataSize("1234567","testdata",17,false)).isEqualTo(Boolean.TRUE); + assertThat(StringUtils.checkDataSize("1234567","testdata",4,false)).isEqualTo(Boolean.FALSE); + Assertions.assertThrows(IllegalArgumentException.class, () -> + StringUtils.checkDataSize("1234567","testdata",6,true) + ); + assertThat( StringUtils.checkDataSize("1234567","testdata",6,false)).isEqualTo(Boolean.FALSE); + } } diff --git a/rm/src/main/java/io/seata/rm/AbstractResourceManager.java b/rm/src/main/java/io/seata/rm/AbstractResourceManager.java index 4641137c3c1..3d3100c26d6 100644 --- a/rm/src/main/java/io/seata/rm/AbstractResourceManager.java +++ b/rm/src/main/java/io/seata/rm/AbstractResourceManager.java @@ -16,8 +16,12 @@ package io.seata.rm; import java.util.concurrent.TimeoutException; - +import io.seata.common.ConfigurationKeys; +import io.seata.common.DefaultValues; import io.seata.common.exception.NotSupportYetException; +import io.seata.common.util.StringUtils; +import io.seata.config.Configuration; +import io.seata.config.ConfigurationFactory; import io.seata.core.exception.RmTransactionException; import io.seata.core.exception.TransactionException; import io.seata.core.exception.TransactionExceptionCode; @@ -43,6 +47,12 @@ public abstract class AbstractResourceManager implements ResourceManager { protected static final Logger LOGGER = LoggerFactory.getLogger(AbstractResourceManager.class); + private static final Configuration CONFIG = ConfigurationFactory.getInstance(); + + private static int appDataErrSize = CONFIG.getInt(ConfigurationKeys.RM_APPLICATION_DATA_SIZE_LIMIT, + DefaultValues.DEFAULT_APPLICATION_DATA_SIZE_LIMIT); + + private static boolean throwDataSizeExp = CONFIG.getBoolean(ConfigurationKeys.RM_APPLICATION_DATA_SIZE_CHECK, false); /** * registry branch record * @@ -57,6 +67,8 @@ public abstract class AbstractResourceManager implements ResourceManager { @Override public Long branchRegister(BranchType branchType, String resourceId, String clientId, String xid, String applicationData, String lockKeys) throws TransactionException { try { + StringUtils.checkDataSize(applicationData, "applicationData", appDataErrSize, throwDataSizeExp); + BranchRegisterRequest request = new BranchRegisterRequest(); request.setXid(xid); request.setLockKey(lockKeys); @@ -94,6 +106,7 @@ public Long branchRegister(BranchType branchType, String resourceId, String clie @Override public void branchReport(BranchType branchType, String xid, long branchId, BranchStatus status, String applicationData) throws TransactionException { try { + StringUtils.checkDataSize(applicationData, "applicationData", appDataErrSize, throwDataSizeExp); BranchReportRequest request = new BranchReportRequest(); request.setXid(xid); request.setBranchId(branchId); diff --git a/script/client/conf/file.conf b/script/client/conf/file.conf index b1cbe6da375..535c77bda14 100644 --- a/script/client/conf/file.conf +++ b/script/client/conf/file.conf @@ -81,6 +81,8 @@ client { sqlParserType = "druid" branchExecutionTimeoutXA = 60000 connectionTwoPhaseHoldTimeoutXA = 10000 + applicationDataLimit = 64000 + applicationDataLimitCheck = false } tm { commitRetryCount = 5 diff --git a/script/client/spring/application.properties b/script/client/spring/application.properties index 51f4ac0f7ab..390c5451107 100755 --- a/script/client/spring/application.properties +++ b/script/client/spring/application.properties @@ -40,6 +40,8 @@ seata.client.rm.lock.retry-times=30 seata.client.rm.lock.retry-policy-branch-rollback-on-conflict=true seata.client.rm.branchExecutionTimeoutXA=60000 seata.client.rm.connectionTwoPhaseHoldTimeoutXA=10000 +seata.client.rm.applicationDataLimit=64000 +seata.client.rm.applicationDataLimitCheck=false seata.client.tm.commit-retry-count=5 seata.client.tm.rollback-retry-count=5 seata.client.tm.default-global-transaction-timeout=60000 diff --git a/script/client/spring/application.yml b/script/client/spring/application.yml index 88de0df8b8a..e68abbd00dd 100755 --- a/script/client/spring/application.yml +++ b/script/client/spring/application.yml @@ -22,6 +22,8 @@ seata: saga-compensate-persist-mode-update: false tcc-action-interceptor-order: -2147482648 #Ordered.HIGHEST_PRECEDENCE + 1000 sql-parser-type: druid + applicationDataLimit: 64000 + applicationDataLimitCheck: false lock: retry-interval: 10 retry-times: 30 diff --git a/script/config-center/config.txt b/script/config-center/config.txt index bb13d9a442c..6a0d26b6ede 100644 --- a/script/config-center/config.txt +++ b/script/config-center/config.txt @@ -128,6 +128,8 @@ server.session.branchAsyncQueueSize=5000 server.session.enableBranchAsyncRemove=false server.enableParallelRequestHandle=true server.enableParallelHandleBranch=false +server.applicationDataLimit=64000 +server.applicationDataLimitCheck=false server.raft.cluster=127.0.0.1:7091,127.0.0.1:7092,127.0.0.1:7093 server.raft.snapshotInterval=600 diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/RmProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/RmProperties.java index 705e05ff1bd..e8fa5e9d637 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/RmProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/RmProperties.java @@ -31,6 +31,7 @@ import static io.seata.common.DefaultValues.TCC_ACTION_INTERCEPTOR_ORDER; import static io.seata.common.DefaultValues.DEFAULT_XA_BRANCH_EXECUTION_TIMEOUT; import static io.seata.common.DefaultValues.DEFAULT_XA_CONNECTION_TWO_PHASE_HOLD_TIMEOUT; +import static io.seata.common.DefaultValues.DEFAULT_APPLICATION_DATA_SIZE_LIMIT; import static io.seata.spring.boot.autoconfigure.StarterConstants.CLIENT_RM_PREFIX; /** @@ -53,6 +54,9 @@ public class RmProperties { private int connectionTwoPhaseHoldTimeoutXA = DEFAULT_XA_CONNECTION_TWO_PHASE_HOLD_TIMEOUT; private String sqlParserType = SqlParserType.SQL_PARSER_TYPE_DRUID; + private Boolean applicationDataLimitCheck = false; + private Integer applicationDataLimit = DEFAULT_APPLICATION_DATA_SIZE_LIMIT; + public int getAsyncCommitBufferLimit() { return asyncCommitBufferLimit; } @@ -164,4 +168,19 @@ public void setConnectionTwoPhaseHoldTimeoutXA(int connectionTwoPhaseHoldTimeout this.connectionTwoPhaseHoldTimeoutXA = connectionTwoPhaseHoldTimeoutXA; } + public Boolean getApplicationDataLimitCheck() { + return applicationDataLimitCheck; + } + + public void setApplicationDataLimitCheck(Boolean applicationDataLimitCheck) { + this.applicationDataLimitCheck = applicationDataLimitCheck; + } + + public Integer getApplicationDataLimit() { + return applicationDataLimit; + } + + public void setApplicationDataLimit(Integer applicationDataLimit) { + this.applicationDataLimit = applicationDataLimit; + } } diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerProperties.java index f29cd71c726..7b8da906ebe 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerProperties.java @@ -36,6 +36,9 @@ public class ServerProperties { private Integer servicePort; private Integer xaerNotaRetryTimeout = 60000; + private Boolean applicationDataLimitCheck = false; + private Integer applicationDataLimit = 64000; + public long getMaxCommitRetryTimeout() { return maxCommitRetryTimeout; } @@ -114,4 +117,19 @@ public void setEnableParallelHandleBranch(Boolean enableParallelHandleBranch) { this.enableParallelHandleBranch = enableParallelHandleBranch; } + public Boolean getApplicationDataLimitCheck() { + return applicationDataLimitCheck; + } + + public void setApplicationDataLimitCheck(Boolean applicationDataLimitCheck) { + this.applicationDataLimitCheck = applicationDataLimitCheck; + } + + public Integer getApplicationDataLimit() { + return applicationDataLimit; + } + + public void setApplicationDataLimit(Integer applicationDataLimit) { + this.applicationDataLimit = applicationDataLimit; + } } diff --git a/server/src/main/java/io/seata/server/coordinator/AbstractCore.java b/server/src/main/java/io/seata/server/coordinator/AbstractCore.java index 3aac5f568ec..847f8c94044 100644 --- a/server/src/main/java/io/seata/server/coordinator/AbstractCore.java +++ b/server/src/main/java/io/seata/server/coordinator/AbstractCore.java @@ -18,6 +18,11 @@ import java.io.IOException; import java.util.concurrent.TimeoutException; +import io.seata.common.ConfigurationKeys; +import io.seata.common.DefaultValues; +import io.seata.common.util.StringUtils; +import io.seata.config.Configuration; +import io.seata.config.ConfigurationFactory; import io.seata.core.context.RootContext; import io.seata.core.exception.BranchTransactionException; import io.seata.core.exception.GlobalTransactionException; @@ -59,6 +64,10 @@ public abstract class AbstractCore implements Core { protected LockManager lockManager = LockerManagerFactory.getLockManager(); + private static final Configuration CONFIG = ConfigurationFactory.getInstance(); + private int appDataErrSize ; + private boolean throwDataSizeExp ; + protected RemotingServer remotingServer; public AbstractCore(RemotingServer remotingServer) { @@ -66,6 +75,10 @@ public AbstractCore(RemotingServer remotingServer) { throw new IllegalArgumentException("remotingServer must be not null"); } this.remotingServer = remotingServer; + this.appDataErrSize = CONFIG.getInt(ConfigurationKeys.SERVER_APPLICATION_DATA_SIZE_LIMIT, + DefaultValues.DEFAULT_APPLICATION_DATA_SIZE_LIMIT); + this.throwDataSizeExp = CONFIG.getBoolean(ConfigurationKeys.SERVER_APPLICATION_DATA_SIZE_CHECK, false); + } public abstract BranchType getHandleBranchType(); @@ -74,6 +87,13 @@ public AbstractCore(RemotingServer remotingServer) { public Long branchRegister(BranchType branchType, String resourceId, String clientId, String xid, String applicationData, String lockKeys) throws TransactionException { GlobalSession globalSession = assertGlobalSessionNotNull(xid, false); + try { + StringUtils.checkDataSize(applicationData, "applicationData", appDataErrSize, throwDataSizeExp); + } catch (RuntimeException e) { + throw new BranchTransactionException(TransactionExceptionCode.FailedToAddBranch, + String.format("Failed to store branch xid = %s ", globalSession.getXid()), e); + } + return SessionHolder.lockAndExecute(globalSession, () -> { globalSessionStatusCheck(globalSession); BranchSession branchSession = SessionHelper.newBranchByGlobal(globalSession, branchType, resourceId, @@ -90,7 +110,7 @@ public Long branchRegister(BranchType branchType, String resourceId, String clie } if (LOGGER.isInfoEnabled()) { LOGGER.info("Register branch successfully, xid = {}, branchId = {}, resourceId = {} ,lockKeys = {}", - globalSession.getXid(), branchSession.getBranchId(), resourceId, lockKeys); + globalSession.getXid(), branchSession.getBranchId(), resourceId, lockKeys); } return branchSession.getBranchId(); }); diff --git a/server/src/main/resources/application.example.yml b/server/src/main/resources/application.example.yml index 58c6c11880d..ae048868270 100644 --- a/server/src/main/resources/application.example.yml +++ b/server/src/main/resources/application.example.yml @@ -140,6 +140,8 @@ seata: retry-dead-threshold: 130000 xaer-nota-retry-timeout: 60000 enableParallelRequestHandle: true + applicationDataLimitCheck: true + applicationDataLimit: 64000 recovery: committing-retry-period: 1000 async-committing-retry-period: 1000 diff --git a/server/src/main/resources/application.raft.example.yml b/server/src/main/resources/application.raft.example.yml index 5d07b8b2797..4a154ec0785 100644 --- a/server/src/main/resources/application.raft.example.yml +++ b/server/src/main/resources/application.raft.example.yml @@ -95,6 +95,8 @@ seata: retry-dead-threshold: 130000 xaer-nota-retry-timeout: 60000 enableParallelRequestHandle: true + applicationDataLimitCheck: true + applicationDataLimit: 64000 recovery: committing-retry-period: 1000 async-committing-retry-period: 1000 From 03e88d57978f9eb3ae9df0a6a03fc4cd35e70027 Mon Sep 17 00:00:00 2001 From: funkye Date: Wed, 29 Nov 2023 10:03:31 +0800 Subject: [PATCH 009/183] optimize: modify the semantics of RaftServerFactory and remove unnecessary singleton (#6089) --- changes/en-us/2.x.md | 2 + changes/zh-cn/2.x.md | 2 + ...verFactory.java => RaftServerManager.java} | 148 ++++++++---------- .../server/cluster/raft/RaftStateMachine.java | 2 +- .../metadata/LeaderMetadataSnapshotFile.java | 6 +- .../cluster/raft/util/RaftTaskUtil.java | 4 +- .../server/controller/ClusterController.java | 10 +- .../seata/server/session/GlobalSession.java | 6 +- .../seata/server/session/SessionHolder.java | 10 +- .../raft/lock/RaftDistributedLocker.java | 4 +- .../io/seata/server/raft/RaftServerTest.java | 23 ++- 11 files changed, 104 insertions(+), 113 deletions(-) rename server/src/main/java/io/seata/server/cluster/raft/{RaftServerFactory.java => RaftServerManager.java} (63%) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index e0cbefc888f..0b565227aa1 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -13,8 +13,10 @@ Add changes here for all PR submitted to the 2.x branch. ### optimize: - [[#6061](https://github.com/seata/seata/pull/6061)] merge the rpcMergeMessageSend threads of rm and tm and increase the thread hibernation duration - [[#6031](https://github.com/seata/seata/pull/6031)] add a check for the existence of the undolog table +- [[#6089](https://github.com/seata/seata/pull/6089)] modify the semantics of RaftServerFactory and remove unnecessary singleton - [[#4473](https://github.com/seata/seata/pull/4473)] rm appdata size limit + ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index ea7e79de676..c0417141867 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -13,9 +13,11 @@ ### optimize: - [[#6061](https://github.com/seata/seata/pull/6061)] 合并rm和tm的rpcMergeMessageSend线程,增加线程休眠时长 - [[#6031](https://github.com/seata/seata/pull/6031)] 添加undo_log表的存在性校验 +- [[#6089](https://github.com/seata/seata/pull/6089)] 修改RaftServerFactory语义并删除不必要的单例构建 - [[#4473](https://github.com/seata/seata/pull/4473)] rm appdata大小限制 + ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 diff --git a/server/src/main/java/io/seata/server/cluster/raft/RaftServerFactory.java b/server/src/main/java/io/seata/server/cluster/raft/RaftServerManager.java similarity index 63% rename from server/src/main/java/io/seata/server/cluster/raft/RaftServerFactory.java rename to server/src/main/java/io/seata/server/cluster/raft/RaftServerManager.java index a5b74d2518b..03476684b40 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/RaftServerFactory.java +++ b/server/src/main/java/io/seata/server/cluster/raft/RaftServerManager.java @@ -15,13 +15,13 @@ */ package io.seata.server.cluster.raft; -import java.io.Closeable; import java.io.IOException; import java.util.Collection; import java.util.HashMap; import java.util.Map; import java.util.Optional; import java.util.Set; +import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicReference; import com.alipay.sofa.jraft.CliService; import com.alipay.sofa.jraft.RaftServiceFactory; @@ -38,7 +38,6 @@ import io.seata.common.XID; import io.seata.common.util.StringUtils; import io.seata.config.ConfigurationFactory; -import io.seata.core.rpc.Disposable; import io.seata.discovery.registry.FileRegistryServiceImpl; import io.seata.discovery.registry.MultiRegistryFactory; import io.seata.discovery.registry.RegistryService; @@ -62,22 +61,17 @@ /** * @author funkye */ -public class RaftServerFactory implements Disposable, Closeable { +public class RaftServerManager { - private static final Logger LOGGER = LoggerFactory.getLogger(RaftServerFactory.class); + private static final Logger LOGGER = LoggerFactory.getLogger(RaftServerManager.class); private static final Map RAFT_SERVER_MAP = new HashMap<>(); - - private Boolean raftMode = false; - - private RpcServer rpcServer; + private static final AtomicBoolean INIT = new AtomicBoolean(false); private static final io.seata.config.Configuration CONFIG = ConfigurationFactory.getInstance(); - - public static RaftServerFactory getInstance() { - return SingletonHandler.INSTANCE; - } - + private static volatile boolean RAFT_MODE; + private static RpcServer rpcServer; + public static CliService getCliServiceInstance() { return SingletonHandler.CLI_SERVICE; } @@ -86,63 +80,65 @@ public static CliClientService getCliClientServiceInstance() { return SingletonHandler.CLI_CLIENT_SERVICE; } - public void init() { - String initConfStr = CONFIG.getConfig(ConfigurationKeys.SERVER_RAFT_SERVER_ADDR); - StoreConfig.SessionMode storeMode = StoreConfig.getSessionMode(); - raftMode = storeMode.equals(StoreConfig.SessionMode.RAFT); - if (StringUtils.isBlank(initConfStr)) { - if (raftMode) { - throw new IllegalArgumentException( - "Raft store mode must config: " + ConfigurationKeys.SERVER_RAFT_SERVER_ADDR); - } - return; - } else { - if (raftMode) { - for (RegistryService instance : MultiRegistryFactory.getInstances()) { - if (!(instance instanceof FileRegistryServiceImpl)) { - throw new IllegalArgumentException("Raft store mode not support other Registration Center"); + public static void init() { + if (INIT.compareAndSet(false, true)) { + String initConfStr = CONFIG.getConfig(ConfigurationKeys.SERVER_RAFT_SERVER_ADDR); + RAFT_MODE = StoreConfig.getSessionMode().equals(StoreConfig.SessionMode.RAFT); + if (StringUtils.isBlank(initConfStr)) { + if (RAFT_MODE) { + throw new IllegalArgumentException( + "Raft store mode must config: " + ConfigurationKeys.SERVER_RAFT_SERVER_ADDR); + } + return; + } else { + if (RAFT_MODE) { + for (RegistryService instance : MultiRegistryFactory.getInstances()) { + if (!(instance instanceof FileRegistryServiceImpl)) { + throw new IllegalArgumentException("Raft store mode not support other Registration Center"); + } } } + LOGGER.warn("raft mode and raft cluster is an experimental feature"); } - LOGGER.warn("raft mode and raft cluster is an experimental feature"); - } - final Configuration initConf = new Configuration(); - if (!initConf.parse(initConfStr)) { - throw new IllegalArgumentException("fail to parse initConf:" + initConfStr); - } - int port = Integer.parseInt(System.getProperty(SERVER_RAFT_PORT_CAMEL, "0")); - PeerId serverId = null; - String host = XID.getIpAddress(); - if (port <= 0) { - // Highly available deployments require different nodes - for (PeerId peer : initConf.getPeers()) { - if (StringUtils.equals(peer.getIp(), host)) { - if (serverId != null) { - throw new IllegalArgumentException( - "server.raft.cluster has duplicate ip, For local debugging, use -Dserver.raftPort to specify the raft port"); + final Configuration initConf = new Configuration(); + if (!initConf.parse(initConfStr)) { + throw new IllegalArgumentException("fail to parse initConf:" + initConfStr); + } + int port = Integer.parseInt(System.getProperty(SERVER_RAFT_PORT_CAMEL, "0")); + PeerId serverId = null; + String host = XID.getIpAddress(); + if (port <= 0) { + // Highly available deployments require different nodes + for (PeerId peer : initConf.getPeers()) { + if (StringUtils.equals(peer.getIp(), host)) { + if (serverId != null) { + throw new IllegalArgumentException( + "server.raft.cluster has duplicate ip, For local debugging, use -Dserver.raftPort to specify the raft port"); + } + serverId = peer; } - serverId = peer; } + } else { + // Local debugging use + serverId = new PeerId(host, port); + } + final String dataPath = CONFIG.getConfig(ConfigurationKeys.STORE_FILE_DIR, DEFAULT_SESSION_STORE_FILE_DIR) + + separator + "raft" + separator + serverId.getPort(); + String group = CONFIG.getConfig(ConfigurationKeys.SERVER_RAFT_GROUP, DEFAULT_SEATA_GROUP); + try { + // Here you have raft RPC and business RPC using the same RPC server, and you can usually do this + // separately + rpcServer = RaftRpcServerFactory.createRaftRpcServer(serverId.getEndpoint()); + RaftServer raftServer = new RaftServer(dataPath, group, serverId, initNodeOptions(initConf), rpcServer); + // as the foundation for multi raft group in the future + RAFT_SERVER_MAP.put(group, raftServer); + } catch (IOException e) { + throw new IllegalArgumentException("fail init raft cluster:" + e.getMessage(), e); } - } else { - // Local debugging use - serverId = new PeerId(host, port); - } - final String dataPath = CONFIG.getConfig(ConfigurationKeys.STORE_FILE_DIR, DEFAULT_SESSION_STORE_FILE_DIR) - + separator + "raft" + separator + serverId.getPort(); - String group = CONFIG.getConfig(ConfigurationKeys.SERVER_RAFT_GROUP, DEFAULT_SEATA_GROUP); - try { - // Here you have raft RPC and business RPC using the same RPC server, and you can usually do this separately - this.rpcServer = RaftRpcServerFactory.createRaftRpcServer(serverId.getEndpoint()); - RaftServer raftServer = new RaftServer(dataPath, group, serverId, initNodeOptions(initConf), this.rpcServer); - // as the foundation for multi raft group in the future - RAFT_SERVER_MAP.put(group, raftServer); - } catch (IOException e) { - throw new IllegalArgumentException("fail init raft cluster:" + e.getMessage(), e); } } - public void start() { + public static void start() { RAFT_SERVER_MAP.forEach((group, raftServer) -> { try { raftServer.start(); @@ -152,37 +148,32 @@ public void start() { } LOGGER.info("started seata server raft cluster, group: {} ", group); }); - if (!this.rpcServer.init(null)) { + if (rpcServer != null && !rpcServer.init(null)) { throw new RuntimeException("start raft node fail!"); } } - @Override - public void destroy() { - this.close(); - rpcServer = null; - raftMode = false; - } - - @Override - public void close() { + public static void destroy() { RAFT_SERVER_MAP.forEach((group, raftServer) -> { raftServer.close(); LOGGER.info("closed seata server raft cluster, group: {} ", group); }); Optional.ofNullable(rpcServer).ifPresent(RpcServer::shutdown); RAFT_SERVER_MAP.clear(); + rpcServer = null; + RAFT_MODE = false; + INIT.set(false); } - public RaftServer getRaftServer(String group) { + public static RaftServer getRaftServer(String group) { return RAFT_SERVER_MAP.get(group); } - public Collection getRaftServers() { + public static Collection getRaftServers() { return RAFT_SERVER_MAP.values(); } - public Boolean isLeader(String group) { + public static boolean isLeader(String group) { AtomicReference stateMachine = new AtomicReference<>(); Optional.ofNullable(RAFT_SERVER_MAP.get(group)).ifPresent(raftServer -> { stateMachine.set(raftServer.getRaftStateMachine()); @@ -191,11 +182,11 @@ public Boolean isLeader(String group) { return !isRaftMode() && RAFT_SERVER_MAP.isEmpty() || (raftStateMachine != null && raftStateMachine.isLeader()); } - public Boolean isRaftMode() { - return raftMode; + public static boolean isRaftMode() { + return RAFT_MODE; } - private RaftOptions initRaftOptions() { + private static RaftOptions initRaftOptions() { RaftOptions raftOptions = new RaftOptions(); raftOptions.setApplyBatch(CONFIG.getInt(SERVER_RAFT_APPLY_BATCH, raftOptions.getApplyBatch())); raftOptions.setMaxAppendBufferSize( @@ -208,7 +199,7 @@ private RaftOptions initRaftOptions() { return raftOptions; } - private NodeOptions initNodeOptions(Configuration initConf) { + private static NodeOptions initNodeOptions(Configuration initConf) { NodeOptions nodeOptions = new NodeOptions(); // enable the CLI service. nodeOptions.setDisableCli(false); @@ -229,7 +220,6 @@ public static Set groups() { } private static class SingletonHandler { - private static final RaftServerFactory INSTANCE = new RaftServerFactory(); private static final CliService CLI_SERVICE = RaftServiceFactory.createAndInitCliService(new CliOptions()); private static final CliClientService CLI_CLIENT_SERVICE = new CliClientServiceImpl(); static { diff --git a/server/src/main/java/io/seata/server/cluster/raft/RaftStateMachine.java b/server/src/main/java/io/seata/server/cluster/raft/RaftStateMachine.java index 6c6114cb073..b292e0e8c8f 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/RaftStateMachine.java +++ b/server/src/main/java/io/seata/server/cluster/raft/RaftStateMachine.java @@ -201,7 +201,7 @@ public void onLeaderStart(final long term) { this.currentTerm.set(term); SeataClusterContext.bindGroup(group); syncMetadata(); - if (!leader && RaftServerFactory.getInstance().isRaftMode()) { + if (!leader && RaftServerManager.isRaftMode()) { CompletableFuture.runAsync(() -> { LOGGER.info("reload session, groupId: {}, session map size: {} ", group, SessionHolder.getRootSessionManager().allSessions().size()); diff --git a/server/src/main/java/io/seata/server/cluster/raft/snapshot/metadata/LeaderMetadataSnapshotFile.java b/server/src/main/java/io/seata/server/cluster/raft/snapshot/metadata/LeaderMetadataSnapshotFile.java index 85c37fecdcb..f5a2d7a14ec 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/snapshot/metadata/LeaderMetadataSnapshotFile.java +++ b/server/src/main/java/io/seata/server/cluster/raft/snapshot/metadata/LeaderMetadataSnapshotFile.java @@ -22,7 +22,7 @@ import com.alipay.sofa.jraft.error.RaftError; import com.alipay.sofa.jraft.storage.snapshot.SnapshotReader; import com.alipay.sofa.jraft.storage.snapshot.SnapshotWriter; -import io.seata.server.cluster.raft.RaftServerFactory; +import io.seata.server.cluster.raft.RaftServerManager; import io.seata.server.cluster.raft.snapshot.RaftSnapshot; import io.seata.server.cluster.raft.snapshot.StoreSnapshotFile; import io.seata.server.cluster.raft.sync.msg.dto.RaftClusterMetadata; @@ -49,7 +49,7 @@ public LeaderMetadataSnapshotFile(String group) { public Status save(SnapshotWriter writer) { RaftSnapshot raftSnapshot = new RaftSnapshot(); RaftClusterMetadata raftClusterMetadata = - RaftServerFactory.getInstance().getRaftServer(group).getRaftStateMachine().getRaftLeaderMetadata(); + RaftServerManager.getRaftServer(group).getRaftStateMachine().getRaftLeaderMetadata(); raftSnapshot.setBody(raftClusterMetadata); raftSnapshot.setType(RaftSnapshot.SnapshotType.leader_metadata); String path = new StringBuilder(writer.getPath()).append(File.separator).append(fileName).toString(); @@ -76,7 +76,7 @@ public boolean load(SnapshotReader reader) { String path = new StringBuilder(reader.getPath()).append(File.separator).append(fileName).toString(); try { RaftClusterMetadata raftClusterMetadata = (RaftClusterMetadata)load(path); - RaftServerFactory.getInstance().getRaftServer(group).getRaftStateMachine() + RaftServerManager.getRaftServer(group).getRaftStateMachine() .setRaftLeaderMetadata(raftClusterMetadata); return true; } catch (final Exception e) { diff --git a/server/src/main/java/io/seata/server/cluster/raft/util/RaftTaskUtil.java b/server/src/main/java/io/seata/server/cluster/raft/util/RaftTaskUtil.java index 484ab803d2c..d4f630f4365 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/util/RaftTaskUtil.java +++ b/server/src/main/java/io/seata/server/cluster/raft/util/RaftTaskUtil.java @@ -24,7 +24,7 @@ import io.seata.core.exception.GlobalTransactionException; import io.seata.core.exception.TransactionException; import io.seata.core.exception.TransactionExceptionCode; -import io.seata.server.cluster.raft.RaftServerFactory; +import io.seata.server.cluster.raft.RaftServerManager; import io.seata.server.cluster.raft.context.SeataClusterContext; import io.seata.server.cluster.raft.sync.RaftSyncMessageSerializer; import io.seata.server.cluster.raft.sync.msg.RaftSyncMessage; @@ -48,7 +48,7 @@ public static boolean createTask(Closure done, Object data, CompletableFuture { } : done); - RaftServerFactory.getInstance().getRaftServer(SeataClusterContext.getGroup()).getNode().apply(task); + RaftServerManager.getRaftServer(SeataClusterContext.getGroup()).getNode().apply(task); if (completableFuture != null) { return futureGet(completableFuture); } diff --git a/server/src/main/java/io/seata/server/controller/ClusterController.java b/server/src/main/java/io/seata/server/controller/ClusterController.java index 74a19ff22d0..65f568ea8a9 100644 --- a/server/src/main/java/io/seata/server/controller/ClusterController.java +++ b/server/src/main/java/io/seata/server/controller/ClusterController.java @@ -35,7 +35,7 @@ import io.seata.console.result.Result; import io.seata.server.cluster.manager.ClusterWatcherManager; import io.seata.server.cluster.raft.RaftServer; -import io.seata.server.cluster.raft.RaftServerFactory; +import io.seata.server.cluster.raft.RaftServerManager; import io.seata.server.cluster.raft.sync.msg.dto.RaftClusterMetadata; import io.seata.server.cluster.watch.Watcher; import org.slf4j.Logger; @@ -80,8 +80,8 @@ public Result changeCluster(@RequestParam String raftClusterStr) { if (!newConf.parse(raftClusterStr)) { result.setMessage("fail to parse initConf:" + raftClusterStr); } else { - RaftServerFactory.groups().forEach(group -> { - RaftServerFactory.getCliServiceInstance().changePeers(group, + RaftServerManager.groups().forEach(group -> { + RaftServerManager.getCliServiceInstance().changePeers(group, RouteTable.getInstance().getConfiguration(group), newConf); RouteTable.getInstance().updateConfiguration(group, newConf); }); @@ -96,13 +96,13 @@ public MetadataResponse cluster(String group) { group = ConfigurationFactory.getInstance().getConfig(ConfigurationKeys.SERVER_RAFT_GROUP, DEFAULT_SEATA_GROUP); } - RaftServer raftServer = RaftServerFactory.getInstance().getRaftServer(group); + RaftServer raftServer = RaftServerManager.getRaftServer(group); if (raftServer != null) { String mode = ConfigurationFactory.getInstance().getConfig(STORE_MODE); metadataResponse.setStoreMode(mode); RouteTable routeTable = RouteTable.getInstance(); try { - routeTable.refreshLeader(RaftServerFactory.getCliClientServiceInstance(), group, 1000); + routeTable.refreshLeader(RaftServerManager.getCliClientServiceInstance(), group, 1000); PeerId leader = routeTable.selectLeader(group); if (leader != null) { Set nodes = new HashSet<>(); diff --git a/server/src/main/java/io/seata/server/session/GlobalSession.java b/server/src/main/java/io/seata/server/session/GlobalSession.java index afe19b2260a..6e73f450aeb 100644 --- a/server/src/main/java/io/seata/server/session/GlobalSession.java +++ b/server/src/main/java/io/seata/server/session/GlobalSession.java @@ -42,7 +42,7 @@ import io.seata.core.model.LockStatus; import io.seata.server.UUIDGenerator; import io.seata.server.lock.LockerManagerFactory; -import io.seata.server.cluster.raft.RaftServerFactory; +import io.seata.server.cluster.raft.RaftServerManager; import io.seata.server.store.SessionStorable; import io.seata.server.store.StoreConfig; import org.slf4j.Logger; @@ -314,7 +314,7 @@ public void addBranch(BranchSession branchSession) throws TransactionException { for (SessionLifecycleListener lifecycleListener : lifecycleListeners) { lifecycleListener.onAddBranch(this, branchSession); } - if (!RaftServerFactory.getInstance().isRaftMode()) { + if (!RaftServerManager.isRaftMode()) { add(branchSession); } } @@ -350,7 +350,7 @@ public void removeBranch(BranchSession branchSession) throws TransactionExceptio lifecycleListener.onRemoveBranch(this, branchSession); } - if (!RaftServerFactory.getInstance().isRaftMode()) { + if (!RaftServerManager.isRaftMode()) { this.remove(branchSession); } diff --git a/server/src/main/java/io/seata/server/session/SessionHolder.java b/server/src/main/java/io/seata/server/session/SessionHolder.java index e53aca65267..87a560d3525 100644 --- a/server/src/main/java/io/seata/server/session/SessionHolder.java +++ b/server/src/main/java/io/seata/server/session/SessionHolder.java @@ -39,7 +39,7 @@ import io.seata.core.store.DistributedLocker; import io.seata.server.cluster.raft.context.SeataClusterContext; import io.seata.server.lock.distributed.DistributedLockerFactory; -import io.seata.server.cluster.raft.RaftServerFactory; +import io.seata.server.cluster.raft.RaftServerManager; import io.seata.server.store.StoreConfig; import io.seata.server.store.StoreConfig.SessionMode; import org.slf4j.Logger; @@ -99,8 +99,8 @@ public static void init(SessionMode sessionMode) { ROOT_SESSION_MANAGER = EnhancedServiceLoader.load(SessionManager.class, SessionMode.DB.getName()); reload(sessionMode); } else if (SessionMode.RAFT.equals(sessionMode) || SessionMode.FILE.equals(sessionMode)) { - RaftServerFactory.getInstance().init(); - if (CollectionUtils.isNotEmpty(RaftServerFactory.getInstance().getRaftServers())) { + RaftServerManager.init(); + if (CollectionUtils.isNotEmpty(RaftServerManager.getRaftServers())) { sessionMode = SessionMode.RAFT; } if (SessionMode.RAFT.equals(sessionMode)) { @@ -109,7 +109,7 @@ public static void init(SessionMode sessionMode) { new Object[] {ROOT_SESSION_MANAGER_NAME}); SESSION_MANAGER_MAP = new HashMap<>(); SESSION_MANAGER_MAP.put(group, ROOT_SESSION_MANAGER); - RaftServerFactory.getInstance().start(); + RaftServerManager.start(); } else { String sessionStorePath = CONFIG.getConfig(ConfigurationKeys.STORE_FILE_DIR, DEFAULT_SESSION_STORE_FILE_DIR) + separator @@ -379,7 +379,7 @@ public static boolean distributedLockAndExecute(String key, NoArgsFunc func) { } public static void destroy() { - RaftServerFactory.getInstance().destroy(); + RaftServerManager.destroy(); if (ROOT_SESSION_MANAGER != null) { ROOT_SESSION_MANAGER.destroy(); } diff --git a/server/src/main/java/io/seata/server/storage/raft/lock/RaftDistributedLocker.java b/server/src/main/java/io/seata/server/storage/raft/lock/RaftDistributedLocker.java index 2ffd3b91917..e2a2b130123 100644 --- a/server/src/main/java/io/seata/server/storage/raft/lock/RaftDistributedLocker.java +++ b/server/src/main/java/io/seata/server/storage/raft/lock/RaftDistributedLocker.java @@ -18,7 +18,7 @@ import io.seata.common.ConfigurationKeys; import io.seata.common.loader.LoadLevel; import io.seata.config.ConfigurationFactory; -import io.seata.server.cluster.raft.RaftServerFactory; +import io.seata.server.cluster.raft.RaftServerManager; import io.seata.core.store.DistributedLockDO; import io.seata.core.store.DistributedLocker; import io.seata.server.storage.redis.lock.RedisDistributedLocker; @@ -47,7 +47,7 @@ public class RaftDistributedLocker implements DistributedLocker { */ @Override public boolean acquireLock(DistributedLockDO distributedLockDO) { - return RaftServerFactory.getInstance().isLeader(group); + return RaftServerManager.isLeader(group); } /** diff --git a/server/src/test/java/io/seata/server/raft/RaftServerTest.java b/server/src/test/java/io/seata/server/raft/RaftServerTest.java index 0ce2d935980..d5e96a422d5 100644 --- a/server/src/test/java/io/seata/server/raft/RaftServerTest.java +++ b/server/src/test/java/io/seata/server/raft/RaftServerTest.java @@ -17,14 +17,11 @@ import io.seata.common.ConfigurationKeys; import io.seata.common.XID; -import io.seata.config.Configuration; import io.seata.config.ConfigurationCache; -import io.seata.config.ConfigurationFactory; -import io.seata.server.cluster.raft.RaftServerFactory; +import io.seata.server.cluster.raft.RaftServerManager; import io.seata.server.lock.LockerManagerFactory; import io.seata.server.session.SessionHolder; import io.seata.server.store.StoreConfig; -import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; @@ -57,19 +54,19 @@ public void initRaftServerStart() { System.setProperty(ConfigurationKeys.SERVER_RAFT_SERVER_ADDR, XID.getIpAddress() + ":9091" + "," + XID.getIpAddress() + ":9092" + "," + XID.getIpAddress() + ":9093"); StoreConfig.setStartupParameter("raft", "raft", "raft"); - Assertions.assertDoesNotThrow(() -> RaftServerFactory.getInstance().init()); - Assertions.assertNotNull(RaftServerFactory.getInstance().getRaftServer("default")); - Assertions.assertNotNull(RaftServerFactory.groups()); - Assertions.assertNotNull(RaftServerFactory.getCliServiceInstance()); - Assertions.assertNotNull(RaftServerFactory.getCliClientServiceInstance()); - Assertions.assertEquals(RaftServerFactory.getInstance().isLeader("default"), false); - RaftServerFactory.getInstance().start(); + Assertions.assertDoesNotThrow(RaftServerManager::init); + Assertions.assertNotNull(RaftServerManager.getRaftServer("default")); + Assertions.assertNotNull(RaftServerManager.groups()); + Assertions.assertNotNull(RaftServerManager.getCliServiceInstance()); + Assertions.assertNotNull(RaftServerManager.getCliClientServiceInstance()); + Assertions.assertFalse(RaftServerManager.isLeader("default")); + RaftServerManager.start(); } @Test public void initRaftServerFail() { StoreConfig.setStartupParameter("raft", "raft", "raft"); - Assertions.assertThrows(IllegalArgumentException.class, () -> RaftServerFactory.getInstance().init()); + Assertions.assertThrows(IllegalArgumentException.class, RaftServerManager::init); } @Test @@ -77,7 +74,7 @@ public void initRaftServerFailByRaftPortNull() { System.setProperty(ConfigurationKeys.SERVER_RAFT_SERVER_ADDR, XID.getIpAddress() + ":9091" + "," + XID.getIpAddress() + ":9092" + "," + XID.getIpAddress() + ":9093"); StoreConfig.setStartupParameter("raft", "raft", "raft"); - Assertions.assertThrows(IllegalArgumentException.class, () -> RaftServerFactory.getInstance().init()); + Assertions.assertThrows(IllegalArgumentException.class, RaftServerManager::init); } } From 1921b2db2a161acac45437804e35c6ddb848015f Mon Sep 17 00:00:00 2001 From: ggbocoder <119659920+ggbocoder@users.noreply.github.com> Date: Wed, 29 Nov 2023 13:48:52 +0800 Subject: [PATCH 010/183] optimize: add secure authentication to interfaces in ClusterController (#6042) --- common/pom.xml | 4 + .../AuthenticationFailedException.java | 65 +++++++ .../common/exception/RetryableException.java | 67 +++++++ .../io/seata/common/util/HttpClientUtil.java | 35 ++-- .../raft/RaftRegistryServiceImpl.java | 168 ++++++++++++++++-- .../raft/RaftRegistryServiceImplTest.java | 146 +++++++++++++++ .../src/test/resources/file.conf | 21 +++ .../src/test/resources/registry.conf | 40 +++++ script/client/conf/registry.conf | 10 +- script/client/spring/application.properties | 3 + script/client/spring/application.yml | 3 + .../registry/RegistryRaftProperties.java | 31 ++++ server/src/main/resources/application.yml | 2 +- 13 files changed, 566 insertions(+), 29 deletions(-) create mode 100644 common/src/main/java/io/seata/common/exception/AuthenticationFailedException.java create mode 100644 common/src/main/java/io/seata/common/exception/RetryableException.java create mode 100644 discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java create mode 100644 discovery/seata-discovery-raft/src/test/resources/file.conf create mode 100644 discovery/seata-discovery-raft/src/test/resources/registry.conf diff --git a/common/pom.xml b/common/pom.xml index 0d1d756ebbc..3fbd330db7c 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -45,5 +45,9 @@ httpclient provided
+ + com.fasterxml.jackson.core + jackson-databind + diff --git a/common/src/main/java/io/seata/common/exception/AuthenticationFailedException.java b/common/src/main/java/io/seata/common/exception/AuthenticationFailedException.java new file mode 100644 index 00000000000..64b5d515599 --- /dev/null +++ b/common/src/main/java/io/seata/common/exception/AuthenticationFailedException.java @@ -0,0 +1,65 @@ +/* + * Copyright 1999-2019 Seata.io Group. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.common.exception; + + +/** + * Exception indicating authentication failure. This exception is typically thrown + * when the authentication process fails, and it extends SecurityException to + * signal that it is a security-related issue. + */ +public class AuthenticationFailedException extends SecurityException { + + /** + * Constructs a new AuthenticationFailedException with no detailed message. + */ + public AuthenticationFailedException() { + super(); + } + + /** + * Constructs a new AuthenticationFailedException with the specified detail message. + * + * @param message the detail message (which is saved for later retrieval + * by the getMessage() method). + */ + public AuthenticationFailedException(String message) { + super(message); + } + + /** + * Constructs a new AuthenticationFailedException with the specified cause. + * + * @param cause the cause (which is saved for later retrieval by the + * getCause() method). + */ + public AuthenticationFailedException(Throwable cause) { + super(cause); + } + + /** + * Constructs a new AuthenticationFailedException with the specified detail + * message and cause. + * + * @param message the detail message (which is saved for later retrieval + * by the getMessage() method). + * @param cause the cause (which is saved for later retrieval by the + * getCause() method). + */ + public AuthenticationFailedException(String message, Throwable cause) { + super(message, cause); + } +} diff --git a/common/src/main/java/io/seata/common/exception/RetryableException.java b/common/src/main/java/io/seata/common/exception/RetryableException.java new file mode 100644 index 00000000000..178d60e97fd --- /dev/null +++ b/common/src/main/java/io/seata/common/exception/RetryableException.java @@ -0,0 +1,67 @@ +/* + * Copyright 1999-2019 Seata.io Group. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.common.exception; + + + +/** + * Exception indicating a retryable failure. This exception is typically thrown + * when a retryable process fails, and it extends RuntimeException to + * signal that it is an unchecked exception. + */ +public class RetryableException extends Exception { + + /** + * Constructs a new RetryableException with no detailed message. + */ + public RetryableException() { + super(); + } + + /** + * Constructs a new RetryableException with the specified detail message. + * + * @param message the detail message (which is saved for later retrieval + * by the getMessage() method). + */ + public RetryableException(String message) { + super(message); + } + + /** + * Constructs a new RetryableException with the specified cause. + * + * @param cause the cause (which is saved for later retrieval by the + * getCause() method). + */ + public RetryableException(Throwable cause) { + super(cause); + } + + /** + * Constructs a new RetryableException with the specified detail + * message and cause. + * + * @param message the detail message (which is saved for later retrieval + * by the getMessage() method). + * @param cause the cause (which is saved for later retrieval by the + * getCause() method). + */ + public RetryableException(String message, Throwable cause) { + super(message, cause); + } +} + diff --git a/common/src/main/java/io/seata/common/util/HttpClientUtil.java b/common/src/main/java/io/seata/common/util/HttpClientUtil.java index d31a4580707..1989df87a58 100644 --- a/common/src/main/java/io/seata/common/util/HttpClientUtil.java +++ b/common/src/main/java/io/seata/common/util/HttpClientUtil.java @@ -16,6 +16,7 @@ package io.seata.common.util; +import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.http.NameValuePair; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.config.RequestConfig; @@ -52,7 +53,7 @@ public class HttpClientUtil { private static final Map HTTP_CLIENT_MAP = new ConcurrentHashMap<>(); private static final PoolingHttpClientConnectionManager POOLING_HTTP_CLIENT_CONNECTION_MANAGER = - new PoolingHttpClientConnectionManager(); + new PoolingHttpClientConnectionManager(); static { POOLING_HTTP_CLIENT_CONNECTION_MANAGER.setMaxTotal(10); @@ -66,25 +67,35 @@ public class HttpClientUtil { }))); } + // post request public static CloseableHttpResponse doPost(String url, Map params, Map header, - int timeout) throws IOException { + int timeout) throws IOException { try { URIBuilder builder = new URIBuilder(url); URI uri = builder.build(); HttpPost httpPost = new HttpPost(uri); + String contentType = ""; if (header != null) { header.forEach(httpPost::addHeader); + contentType = header.get("Content-Type"); + } + if (StringUtils.isNotBlank(contentType)) { + if (ContentType.APPLICATION_FORM_URLENCODED.getMimeType().equals(contentType)) { + List nameValuePairs = new ArrayList<>(); + params.forEach((k, v) -> { + nameValuePairs.add(new BasicNameValuePair(k, v)); + }); + String requestBody = URLEncodedUtils.format(nameValuePairs, StandardCharsets.UTF_8); + StringEntity stringEntity = new StringEntity(requestBody, ContentType.APPLICATION_FORM_URLENCODED); + httpPost.setEntity(stringEntity); + } else if (ContentType.APPLICATION_JSON.getMimeType().equals(contentType)) { + ObjectMapper objectMapper = new ObjectMapper(); + String requestBody = objectMapper.writeValueAsString(params); + StringEntity stringEntity = new StringEntity(requestBody, ContentType.APPLICATION_JSON); + httpPost.setEntity(stringEntity); + } } - List nameValuePairs = new ArrayList<>(); - params.forEach((k, v) -> { - nameValuePairs.add(new BasicNameValuePair(k, v)); - }); - String requestBody = URLEncodedUtils.format(nameValuePairs, StandardCharsets.UTF_8); - - StringEntity stringEntity = new StringEntity(requestBody, ContentType.APPLICATION_FORM_URLENCODED); - httpPost.setEntity(stringEntity); - httpPost.setHeader("Content-Type", "application/x-www-form-urlencoded"); CloseableHttpClient client = HTTP_CLIENT_MAP.computeIfAbsent(timeout, k -> HttpClients.custom().setConnectionManager(POOLING_HTTP_CLIENT_CONNECTION_MANAGER) .setDefaultRequestConfig(RequestConfig.custom().setConnectionRequestTimeout(timeout) @@ -99,7 +110,7 @@ public static CloseableHttpResponse doPost(String url, Map param // get request public static CloseableHttpResponse doGet(String url, Map param, Map header, - int timeout) throws IOException { + int timeout) throws IOException { try { URIBuilder builder = new URIBuilder(url); if (param != null) { diff --git a/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java b/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java index 2a51b1fcedf..4e5a2588d0f 100644 --- a/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java +++ b/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java @@ -33,8 +33,11 @@ import java.util.stream.Stream; import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import io.seata.common.ConfigurationKeys; +import io.seata.common.exception.AuthenticationFailedException; +import io.seata.common.exception.RetryableException; import io.seata.common.metadata.Metadata; import io.seata.common.metadata.MetadataResponse; import io.seata.common.metadata.Node; @@ -49,7 +52,9 @@ import org.apache.http.HttpStatus; import org.apache.http.StatusLine; import org.apache.http.client.methods.CloseableHttpResponse; +import org.apache.http.entity.ContentType; import org.apache.http.util.EntityUtils; +import org.apache.http.protocol.HTTP; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -59,13 +64,31 @@ * @author funkye */ public class RaftRegistryServiceImpl implements RegistryService { - + private static final Logger LOGGER = LoggerFactory.getLogger(RaftRegistryServiceImpl.class); private static final String REGISTRY_TYPE = "raft"; private static final String PRO_SERVER_ADDR_KEY = "serverAddr"; + private static final String PRO_USERNAME_KEY = "username"; + + private static final String PRO_PASSWORD_KEY = "password"; + + private static final String AUTHORIZATION_HEADER = "Authorization"; + + private static final String TOKEN_VALID_TIME_MS_KEY = "tokenValidityInMilliseconds"; + + private static final long TOKEN_EXPIRE_TIME_IN_MILLISECONDS; + + private static final String USERNAME; + + private static final String PASSWORD; + + public static String jwtToken; + + private static long tokenTimeStamp = -1; + private static volatile RaftRegistryServiceImpl instance; private static final Configuration CONFIG = ConfigurationFactory.getInstance(); @@ -91,7 +114,19 @@ public class RaftRegistryServiceImpl implements RegistryService> ALIVE_NODES = new ConcurrentHashMap<>(); - private RaftRegistryServiceImpl() {} + static { + TOKEN_EXPIRE_TIME_IN_MILLISECONDS = CONFIG.getLong(getTokenExpireTimeInMillisecondsKey(), 29 * 60 * 1000L); + USERNAME = CONFIG.getConfig(getRaftUserNameKey()); + PASSWORD = CONFIG.getConfig(getRaftPassWordKey()); + } + + private RaftRegistryServiceImpl() { + try { + refreshToken(); + } catch (RetryableException e) { + throw new RuntimeException("Init fetch token failed!", e); + } + } /** * Gets instance. @@ -215,6 +250,29 @@ private static String getRaftAddrFileKey() { REGISTRY_TYPE, PRO_SERVER_ADDR_KEY); } + private static String getRaftUserNameKey() { + return String.join(ConfigurationKeys.FILE_CONFIG_SPLIT_CHAR, ConfigurationKeys.FILE_ROOT_REGISTRY, + REGISTRY_TYPE, PRO_USERNAME_KEY); + } + + private static String getRaftPassWordKey() { + return String.join(ConfigurationKeys.FILE_CONFIG_SPLIT_CHAR, ConfigurationKeys.FILE_ROOT_REGISTRY, + REGISTRY_TYPE, PRO_PASSWORD_KEY); + } + + private static String getTokenExpireTimeInMillisecondsKey() { + return String.join(ConfigurationKeys.FILE_CONFIG_SPLIT_CHAR, ConfigurationKeys.FILE_ROOT_REGISTRY, + REGISTRY_TYPE, TOKEN_VALID_TIME_MS_KEY); + } + + private static boolean isTokenExpired() { + if (tokenTimeStamp == -1) { + return true; + } + long tokenExpiredTime = tokenTimeStamp + TOKEN_EXPIRE_TIME_IN_MILLISECONDS; + return System.currentTimeMillis() >= tokenExpiredTime; + } + private InetSocketAddress convertInetSocketAddress(Node node) { Node.Endpoint endpoint = node.getTransaction(); return new InetSocketAddress(endpoint.getHost(), endpoint.getPort()); @@ -238,19 +296,38 @@ public List aliveLookup(String transactionServiceGroup) { } private static boolean watch() { + Map header = new HashMap<>(); + header.put(HTTP.CONTENT_TYPE, ContentType.APPLICATION_FORM_URLENCODED.getMimeType()); Map param = new HashMap<>(); String clusterName = CURRENT_TRANSACTION_CLUSTER_NAME; Map groupTerms = METADATA.getClusterTerm(clusterName); groupTerms.forEach((k, v) -> param.put(k, String.valueOf(v))); for (String group : groupTerms.keySet()) { String tcAddress = queryHttpAddress(clusterName, group); - try (CloseableHttpResponse response = - HttpClientUtil.doPost("http://" + tcAddress + "/metadata/v1/watch", param, null, 30000)) { - if (response != null) { - StatusLine statusLine = response.getStatusLine(); - return statusLine != null && statusLine.getStatusCode() == HttpStatus.SC_OK; + try { + if (isTokenExpired()) { + refreshToken(); } - } catch (IOException e) { + if (!StringUtils.isNotBlank(jwtToken)) { + header.put(AUTHORIZATION_HEADER, jwtToken); + } + try (CloseableHttpResponse response = + HttpClientUtil.doPost("http://" + tcAddress + "/metadata/v1/watch", param, header, 30000)) { + if (response != null) { + StatusLine statusLine = response.getStatusLine(); + if (statusLine != null && statusLine.getStatusCode() == HttpStatus.SC_UNAUTHORIZED) { + if (StringUtils.isNotBlank(USERNAME) && StringUtils.isNotBlank(PASSWORD)) { + throw new RetryableException("Authentication failed!"); + } else { + throw new AuthenticationFailedException("Authentication failed! you should configure the correct username and password."); + } + } + return statusLine != null && statusLine.getStatusCode() == HttpStatus.SC_OK; + } + } catch (IOException e) { + throw new RetryableException(e.getMessage(), e); + } + } catch (RetryableException e) { LOGGER.error("watch cluster node: {}, fail: {}", tcAddress, e.getMessage()); try { Thread.sleep(1000); @@ -265,7 +342,7 @@ private static boolean watch() { @Override public List refreshAliveLookup(String transactionServiceGroup, - List aliveAddress) { + List aliveAddress) { if (METADATA.isRaftMode()) { Node leader = METADATA.getLeader(getServiceGroup(transactionServiceGroup)); InetSocketAddress leaderAddress = convertInetSocketAddress(leader); @@ -281,19 +358,39 @@ public List refreshAliveLookup(String transactionServiceGroup } private static void acquireClusterMetaDataByClusterName(String clusterName) { - acquireClusterMetaData(clusterName, ""); + try { + acquireClusterMetaData(clusterName, ""); + } catch (RetryableException e) { + LOGGER.warn(e.getMessage(), e); + } } - private static void acquireClusterMetaData(String clusterName, String group) { + private static void acquireClusterMetaData(String clusterName, String group) throws RetryableException { String tcAddress = queryHttpAddress(clusterName, group); + Map header = new HashMap<>(); + header.put(HTTP.CONTENT_TYPE, ContentType.APPLICATION_FORM_URLENCODED.getMimeType()); + if (isTokenExpired()) { + refreshToken(); + } + if (StringUtils.isNotBlank(jwtToken)) { + header.put(AUTHORIZATION_HEADER, jwtToken); + } if (StringUtils.isNotBlank(tcAddress)) { Map param = new HashMap<>(); param.put("group", group); String response = null; try (CloseableHttpResponse httpResponse = - HttpClientUtil.doGet("http://" + tcAddress + "/metadata/v1/cluster", param, null, 1000)) { - if (httpResponse != null && httpResponse.getStatusLine().getStatusCode() == HttpStatus.SC_OK) { - response = EntityUtils.toString(httpResponse.getEntity(), StandardCharsets.UTF_8); + HttpClientUtil.doGet("http://" + tcAddress + "/metadata/v1/cluster", param, header, 1000)) { + if (httpResponse != null) { + if (httpResponse.getStatusLine().getStatusCode() == HttpStatus.SC_OK) { + response = EntityUtils.toString(httpResponse.getEntity(), StandardCharsets.UTF_8); + } else if (httpResponse.getStatusLine().getStatusCode() == HttpStatus.SC_UNAUTHORIZED) { + if (StringUtils.isNotBlank(USERNAME) && StringUtils.isNotBlank(PASSWORD)) { + throw new RetryableException("Authentication failed!"); + } else { + throw new AuthenticationFailedException("Authentication failed! you should configure the correct username and password."); + } + } } MetadataResponse metadataResponse; if (StringUtils.isNotBlank(response)) { @@ -305,11 +402,52 @@ private static void acquireClusterMetaData(String clusterName, String group) { } } } catch (IOException e) { - LOGGER.error(e.getMessage(), e); + throw new RetryableException(e.getMessage(), e); } } } + private static void refreshToken() throws RetryableException { + // if username and password is not in config , return + if (StringUtils.isBlank(USERNAME) || StringUtils.isBlank(PASSWORD)) { + return; + } + String raftClusterAddress = CONFIG.getConfig(getRaftAddrFileKey()); + // get token and set it in cache + if (StringUtils.isNotBlank(raftClusterAddress)) { + String[] tcAddressList = raftClusterAddress.split(","); + String tcAddress = tcAddressList[0]; + Map param = new HashMap<>(); + param.put(PRO_USERNAME_KEY, USERNAME); + param.put(PRO_PASSWORD_KEY, PASSWORD); + Map header = new HashMap<>(); + header.put(HTTP.CONTENT_TYPE, ContentType.APPLICATION_JSON.getMimeType()); + String response = null; + tokenTimeStamp = System.currentTimeMillis(); + try (CloseableHttpResponse httpResponse = + HttpClientUtil.doPost("http://" + tcAddress + "/api/v1/auth/login", param, header, 1000)) { + if (httpResponse != null) { + if (httpResponse.getStatusLine().getStatusCode() == HttpStatus.SC_OK) { + response = EntityUtils.toString(httpResponse.getEntity(), StandardCharsets.UTF_8); + JsonNode jsonNode = OBJECT_MAPPER.readTree(response); + String codeStatus = jsonNode.get("code").asText(); + if (!StringUtils.equals(codeStatus, "200")) { + //authorized failed,throw exception to kill process + throw new AuthenticationFailedException("Authentication failed! you should configure the correct username and password."); + } + jwtToken = jsonNode.get("data").asText(); + } else { + //authorized failed,throw exception to kill process + throw new AuthenticationFailedException("Authentication failed! you should configure the correct username and password."); + } + } + } catch (IOException e) { + throw new RetryableException(e.getMessage(), e); + } + } + } + + @Override public List lookup(String key) throws Exception { String clusterName = getServiceGroup(key); diff --git a/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java b/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java new file mode 100644 index 00000000000..8366f7c24f7 --- /dev/null +++ b/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java @@ -0,0 +1,146 @@ +/* + * Copyright 1999-2019 Seata.io Group. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.discovery.registry.raft; + + +import io.seata.common.util.HttpClientUtil; +import io.seata.config.ConfigurationFactory; +import org.apache.http.HttpStatus; +import org.apache.http.StatusLine; +import org.apache.http.client.methods.CloseableHttpResponse; +import org.apache.http.entity.StringEntity; +import org.junit.jupiter.api.AfterAll; +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Test; +import org.mockito.MockedStatic; +import org.mockito.Mockito; + +import java.io.IOException; +import java.lang.reflect.Field; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import java.util.Map; + + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; + + +class RaftRegistryServiceImplTest { + + + @BeforeAll + public static void beforeClass() { + System.setProperty("service.vgroupMapping.tx", "default"); + System.setProperty("registry.raft.username", "seata"); + System.setProperty("registry.raft.password", "seata"); + System.setProperty("registry.raft.serverAddr", "127.0.0.1:8092"); + System.setProperty("registry.raft.tokenValidityInMilliseconds", "10000"); + ConfigurationFactory.getInstance(); + } + + @AfterAll + public static void adAfterClass() throws Exception { + System.clearProperty("service.vgroupMapping.tx"); + } + /** + * test whether throws exception when login failed + */ + @Test + public void testLoginFailed() throws IOException, NoSuchMethodException { + String jwtToken = "null"; + String responseBody = "{\"code\":\"401\",\"message\":\"Login failed\",\"data\":\"" + jwtToken + "\",\"success\":false}"; + + try (MockedStatic mockedStatic = Mockito.mockStatic(HttpClientUtil.class)) { + + CloseableHttpResponse mockResponse = mock(CloseableHttpResponse.class); + StatusLine mockStatusLine = mock(StatusLine.class); + + when(mockResponse.getEntity()).thenReturn(new StringEntity(responseBody)); + when(mockResponse.getStatusLine()).thenReturn(mockStatusLine); + when(mockStatusLine.getStatusCode()).thenReturn(HttpStatus.SC_OK); + + + when(HttpClientUtil.doPost(any(String.class), any(Map.class), any(Map.class), any(int.class))) + .thenReturn(mockResponse); + + // Use reflection to access and invoke the private method + Method refreshTokenMethod = RaftRegistryServiceImpl.class.getDeclaredMethod("refreshToken"); + refreshTokenMethod.setAccessible(true); + assertThrows(Exception.class, () -> refreshTokenMethod.invoke(null)); + + } + } + + /** + * test whether the jwtToken updated when refreshToken method invoked + */ + + @Test + public void testRefreshTokenSuccess() throws IOException, NoSuchMethodException, InvocationTargetException, IllegalAccessException, NoSuchFieldException { + String jwtToken = "newToken"; + String responseBody = "{\"code\":\"200\",\"message\":\"success\",\"data\":\"" + jwtToken + "\",\"success\":true}"; + + try (MockedStatic mockedStatic = Mockito.mockStatic(HttpClientUtil.class)) { + + CloseableHttpResponse mockResponse = mock(CloseableHttpResponse.class); + StatusLine mockStatusLine = mock(StatusLine.class); + + when(mockResponse.getEntity()).thenReturn(new StringEntity(responseBody)); + when(mockResponse.getStatusLine()).thenReturn(mockStatusLine); + when(mockStatusLine.getStatusCode()).thenReturn(HttpStatus.SC_OK); + + + when(HttpClientUtil.doPost(any(String.class), any(Map.class), any(Map.class), any(int.class))) + .thenReturn(mockResponse); + + + Method refreshTokenMethod = RaftRegistryServiceImpl.class.getDeclaredMethod("refreshToken"); + refreshTokenMethod.setAccessible(true); + refreshTokenMethod.invoke(null); + Field jwtTokenField = RaftRegistryServiceImpl.class.getDeclaredField("jwtToken"); + jwtTokenField.setAccessible(true); + String jwtTokenAct = (String) jwtTokenField.get(null); + + + assertEquals(jwtToken, jwtTokenAct); + + } + } + + + /** + * test whether the jwtToken refreshed when it is expired + */ + + @Test + public void testSecureTTL() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException, NoSuchFieldException, InterruptedException { + Field tokenTimeStamp = RaftRegistryServiceImpl.class.getDeclaredField("tokenTimeStamp"); + tokenTimeStamp.setAccessible(true); + tokenTimeStamp.setLong(RaftRegistryServiceImpl.class, System.currentTimeMillis()); + Method isExpiredMethod = RaftRegistryServiceImpl.class.getDeclaredMethod("isTokenExpired"); + isExpiredMethod.setAccessible(true); + boolean rst = (boolean) isExpiredMethod.invoke(null); + assertEquals(false, rst); + Thread.sleep(10000); + rst = (boolean) isExpiredMethod.invoke(null); + assertEquals(true, rst); + } + +} \ No newline at end of file diff --git a/discovery/seata-discovery-raft/src/test/resources/file.conf b/discovery/seata-discovery-raft/src/test/resources/file.conf new file mode 100644 index 00000000000..a06899c4a03 --- /dev/null +++ b/discovery/seata-discovery-raft/src/test/resources/file.conf @@ -0,0 +1,21 @@ + # Copyright 1999-2019 Seata.io Group. + # + # Licensed under the Apache License, Version 2.0 (the "License"); + # you may not use this file except in compliance with the License. + # You may obtain a copy of the License at + # + # http://www.apache.org/licenses/LICENSE-2.0 + # + # Unless required by applicable law or agreed to in writing, software + # distributed under the License is distributed on an "AS IS" BASIS, + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + # See the License for the specific language governing permissions and + # limitations under the License. +service { + #transaction service group mapping + vgroupMapping.default_tx_group = "default" + #only support when registry.type=file, please don't set multiple addresses + default.grouplist = "127.0.0.1:8091" + #disable seata + disableGlobalTransaction = false +} \ No newline at end of file diff --git a/discovery/seata-discovery-raft/src/test/resources/registry.conf b/discovery/seata-discovery-raft/src/test/resources/registry.conf new file mode 100644 index 00000000000..4381ab40df8 --- /dev/null +++ b/discovery/seata-discovery-raft/src/test/resources/registry.conf @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Seata.io Group. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +registry { + # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa、custom、raft + type = "raft" + raft { + metadata-max-age-ms = 30000 + serverAddr = "127.0.0.1:8848" + username = "seata" + password = "seata" + tokenValidityInMilliseconds = 1740000 + } +} + +config { + # file、nacos 、apollo、zk、consul、etcd3、springCloudConfig、custom + type = "file" + raft { + metadata-max-age-ms = 30000 + serverAddr = "127.0.0.1:8848" + } + file { + name = "file.conf" + } + custom { + name = "" + } +} diff --git a/script/client/conf/registry.conf b/script/client/conf/registry.conf index e13588b9df3..29df10f2a2b 100644 --- a/script/client/conf/registry.conf +++ b/script/client/conf/registry.conf @@ -13,9 +13,17 @@ # limitations under the License. registry { - # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa、custom + # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa、custom、raft type = "file" + raft { + metadata-max-age-ms = 30000 + serverAddr = "127.0.0.1:8848" + username = "seata" + password = "seata" + tokenValidityInMilliseconds = 1740000 + } + nacos { application = "seata-server" serverAddr = "127.0.0.1:8848" diff --git a/script/client/spring/application.properties b/script/client/spring/application.properties index 390c5451107..be269b459bd 100755 --- a/script/client/spring/application.properties +++ b/script/client/spring/application.properties @@ -120,6 +120,9 @@ seata.registry.type=file seata.registry.raft.server-addr= seata.registry.raft.metadata-max-age-ms=30000 +seata.registry.raft.username=seata +seata.registry.raft.password=seata +seata.registry.raft.tokenValidityInMilliseconds=1740000 seata.registry.consul.server-addr=127.0.0.1:8500 seata.registry.etcd3.server-addr=http://localhost:2379 diff --git a/script/client/spring/application.yml b/script/client/spring/application.yml index e68abbd00dd..2d8e8379efe 100755 --- a/script/client/spring/application.yml +++ b/script/client/spring/application.yml @@ -114,6 +114,9 @@ seata: raft: server-addr: metadata-max-age-ms: 30000 + username: seata + password: seata + tokenValidityInMilliseconds: 1740000 file: name: file.conf consul: diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRaftProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRaftProperties.java index fa107b73831..71c30ad32da 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRaftProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRaftProperties.java @@ -28,8 +28,15 @@ @ConfigurationProperties(prefix = REGISTRY_RAFT_PREFIX) public class RegistryRaftProperties { private String serverAddr; + private Long metadataMaxAgeMs = 30000L; + private String username; + + private String password; + + private Long tokenValidityInMilliseconds = 29 * 60 * 1000L; + public Long getMetadataMaxAgeMs() { return metadataMaxAgeMs; } @@ -38,6 +45,30 @@ public void setMetadataMaxAgeMs(Long metadataMaxAgeMs) { this.metadataMaxAgeMs = metadataMaxAgeMs; } + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + public Long getTokenValidityInMilliseconds() { + return tokenValidityInMilliseconds; + } + + public void setTokenValidityInMilliseconds(Long tokenValidityInMilliseconds) { + this.tokenValidityInMilliseconds = tokenValidityInMilliseconds; + } + public String getServerAddr() { return serverAddr; } diff --git a/server/src/main/resources/application.yml b/server/src/main/resources/application.yml index 37cee3e20bf..bd9188af0b5 100644 --- a/server/src/main/resources/application.yml +++ b/server/src/main/resources/application.yml @@ -50,4 +50,4 @@ seata: secretKey: SeataSecretKey0c382ef121d778043159209298fd40bf3850a017 tokenValidityInMilliseconds: 1800000 ignore: - urls: /,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.jpeg,/**/*.ico,/api/v1/auth/login,/metadata/v1/** + urls: /,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.jpeg,/**/*.ico,/api/v1/auth/login From 30f88b65216bce3512d8663a61d1d91653456913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?WangLiang/=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Wed, 29 Nov 2023 15:01:50 +0800 Subject: [PATCH 011/183] optimize: add git infos to jars (#6071) --- .github/workflows/build.yml | 6 +++--- .github/workflows/test-druid.yml | 4 ++-- .github/workflows/test.yml | 8 +++---- build/pom.xml | 36 ++++++++++++++++++++++++++++---- changes/en-us/2.x.md | 2 ++ changes/zh-cn/2.x.md | 3 ++- server/pom.xml | 13 ------------ 7 files changed, 45 insertions(+), 27 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cbe72c2c069..6598020360a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,9 +32,9 @@ jobs: - name: "Build with Maven" run: | if [ "${{ matrix.java }}" == "8" ]; then - ./mvnw -T 4C clean test -Dcheckstyle.skip=false -Dlicense.skip=false -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; + ./mvnw -T 4C clean test -Dcheckstyle.skip=false -Dlicense.skip=false -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; elif [ "${{ matrix.java }}" == "17" ]; then - ./mvnw -T 4C clean test -Dcheckstyle.skip=true -Dlicense.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; + ./mvnw -T 4C clean test -Dcheckstyle.skip=true -Dlicense.skip=true -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; fi # step 5 - name: "Codecov" @@ -63,4 +63,4 @@ jobs: bash -exc 'apt-get update -y && \ apt-get install maven -y && \ mvn -version && \ - mvn -Prelease-seata -DskipTests clean install -U' + mvn -Prelease-seata -DskipTests -Dmaven.git-commit-id.skip=true clean install -U' diff --git a/.github/workflows/test-druid.yml b/.github/workflows/test-druid.yml index edd145a062b..741a28c4f79 100644 --- a/.github/workflows/test-druid.yml +++ b/.github/workflows/test-druid.yml @@ -58,7 +58,7 @@ jobs: - name: "Test with Maven" run: | if [ "${{ matrix.java }}" == "8" ]; then - ./mvnw -T 4C clean test -Ddruid.version=${{ matrix.druid }} -Dcheckstyle.skip=false -Dlicense.skip=false -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; + ./mvnw -T 4C clean test -Ddruid.version=${{ matrix.druid }} -Dcheckstyle.skip=false -Dlicense.skip=false -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; else - ./mvnw -T 4C clean test -Ddruid.version=${{ matrix.druid }} -Dcheckstyle.skip=true -Dlicense.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; + ./mvnw -T 4C clean test -Ddruid.version=${{ matrix.druid }} -Dcheckstyle.skip=true -Dlicense.skip=true -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; fi diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9295d149903..b5c502761d8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,9 +47,9 @@ jobs: # https://docs.github.com/cn/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#github-context run: | if [ "${{ matrix.java }}" == "8" ]; then - ./mvnw -T 4C clean test -P args-for-client-test -Dspring-boot.version=${{ matrix.springboot }} -Dcheckstyle.skip=false -Dlicense.skip=false -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; + ./mvnw -T 4C clean test -P args-for-client-test -Dspring-boot.version=${{ matrix.springboot }} -Dcheckstyle.skip=false -Dlicense.skip=false -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; else - ./mvnw -T 4C clean test -P args-for-client-test -Dspring-boot.version=${{ matrix.springboot }} -Dcheckstyle.skip=true -Dlicense.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; + ./mvnw -T 4C clean test -P args-for-client-test -Dspring-boot.version=${{ matrix.springboot }} -Dcheckstyle.skip=true -Dlicense.skip=true -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; fi # job 2 @@ -80,7 +80,7 @@ jobs: # step 4 - name: "Test with Maven" run: | - ./mvnw -T 4C clean test -P args-for-client-test -Dspring-boot.version=${{ matrix.springboot }} -Dkotlin-maven-plugin.version=1.7.22 -Dcheckstyle.skip=true -Dlicense.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; + ./mvnw -T 4C clean test -P args-for-client-test -Dspring-boot.version=${{ matrix.springboot }} -Dkotlin-maven-plugin.version=1.7.22 -Dcheckstyle.skip=true -Dlicense.skip=true -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; # job 3 arm64-test: @@ -125,4 +125,4 @@ jobs: # step 5 - name: "test-arm64" run: | - ./mvnw -T 4C clean test -P args-for-client-test -Dspring-boot.version=${{ matrix.springboot }} -Dcheckstyle.skip=true -Dlicense.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + ./mvnw -T 4C clean test -P args-for-client-test -Dspring-boot.version=${{ matrix.springboot }} -Dcheckstyle.skip=true -Dlicense.skip=true -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn diff --git a/build/pom.xml b/build/pom.xml index 87db43f9677..bb1c3971a9f 100644 --- a/build/pom.xml +++ b/build/pom.xml @@ -80,10 +80,6 @@ 5.8.2 1.8.2 - - 5.8.2 - 1.8.2 - 1.1.5 @@ -124,6 +120,7 @@ true true false + false 37F181C60AACE24BD5C1D3925583F79497E8E293 @@ -204,6 +201,32 @@ true + + pl.project13.maven + git-commit-id-plugin + ${git-commit-id-plugin.version} + + + get-the-git-infos + + revision + + + + + ${maven.git-commit-id.skip} + true + yyyy-MM-dd'T'HH:mm:ssZ + true + ${project.build.outputDirectory}/seata-git.properties + + git.branch + ^git.build.(time|version)$ + ^git.commit.(id|time)$ + git.dirty + + + @@ -300,6 +323,11 @@ + + + pl.project13.maven + git-commit-id-plugin + diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 0b565227aa1..1c3d7c817ad 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -15,6 +15,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6031](https://github.com/seata/seata/pull/6031)] add a check for the existence of the undolog table - [[#6089](https://github.com/seata/seata/pull/6089)] modify the semantics of RaftServerFactory and remove unnecessary singleton - [[#4473](https://github.com/seata/seata/pull/4473)] rm appdata size limit +- [[#6071](https://github.com/seata/seata/pull/6071)] add git infos to jars ### security: @@ -34,5 +35,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [DroidEye2ONGU](https://github.com/DroidEye2ONGU) - [funky-eyes](https://github.com/funky-eyes) - [Bughue](https://github.com/Bughue) +- [wangliang181230](https://github.com/wangliang181230) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index c0417141867..fafa79ce807 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -15,7 +15,7 @@ - [[#6031](https://github.com/seata/seata/pull/6031)] 添加undo_log表的存在性校验 - [[#6089](https://github.com/seata/seata/pull/6089)] 修改RaftServerFactory语义并删除不必要的单例构建 - [[#4473](https://github.com/seata/seata/pull/4473)] rm appdata大小限制 - +- [[#6071](https://github.com/seata/seata/pull/6071)] 添加git信息到JAR包中 ### security: @@ -35,5 +35,6 @@ - [DroidEye2ONGU](https://github.com/DroidEye2ONGU) - [funky-eyes](https://github.com/funky-eyes) - [Bughue](https://github.com/Bughue) +- [wangliang181230](https://github.com/wangliang181230) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/server/pom.xml b/server/pom.xml index ce418e5a1c0..68880f07bbf 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -310,19 +310,6 @@ - - pl.project13.maven - git-commit-id-plugin - ${git-commit-id-plugin.version} - - - get-the-git-infos - - revision - - - - com.google.cloud.tools jib-maven-plugin From fb6b20e80f0cf500d6ca3b710b2a4cb1bfb61cec Mon Sep 17 00:00:00 2001 From: ggbocoder <119659920+ggbocoder@users.noreply.github.com> Date: Thu, 30 Nov 2023 17:38:48 +0800 Subject: [PATCH 012/183] =?UTF-8?q?optimize=EF=BC=9AOptimizing=20the=20met?= =?UTF-8?q?hod=20of=20obtaining=20the=20tc=20address=20during=20raft=20aut?= =?UTF-8?q?hentication=20(#6095)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changes/en-us/2.x.md | 3 + changes/zh-cn/2.x.md | 3 + .../raft/RaftRegistryServiceImpl.java | 66 +++++++++---------- .../raft/RaftRegistryServiceImplTest.java | 9 +-- 4 files changed, 42 insertions(+), 39 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 1c3d7c817ad..d82807ef1c4 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -16,6 +16,8 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6089](https://github.com/seata/seata/pull/6089)] modify the semantics of RaftServerFactory and remove unnecessary singleton - [[#4473](https://github.com/seata/seata/pull/4473)] rm appdata size limit - [[#6071](https://github.com/seata/seata/pull/6071)] add git infos to jars +- [[#6042](https://github.com/seata/seata/pull/6042)] add secure authentication to interfaces in ClusterController +- [[#6091](https://github.com/seata/seata/pull/6091)] Optimizing the method of obtaining the tc address during raft authentication ### security: @@ -36,5 +38,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [funky-eyes](https://github.com/funky-eyes) - [Bughue](https://github.com/Bughue) - [wangliang181230](https://github.com/wangliang181230) +- [ggbocoder](https://github.com/ggbocoder) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index fafa79ce807..ee3a4bbf2b0 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -16,6 +16,8 @@ - [[#6089](https://github.com/seata/seata/pull/6089)] 修改RaftServerFactory语义并删除不必要的单例构建 - [[#4473](https://github.com/seata/seata/pull/4473)] rm appdata大小限制 - [[#6071](https://github.com/seata/seata/pull/6071)] 添加git信息到JAR包中 +- [[#6042](https://github.com/seata/seata/pull/6042)] 增加raft模式鉴权机制 +- [[#6091](https://github.com/seata/seata/pull/6091)] 优化raft鉴权时获取tc地址的方式 ### security: @@ -36,5 +38,6 @@ - [funky-eyes](https://github.com/funky-eyes) - [Bughue](https://github.com/Bughue) - [wangliang181230](https://github.com/wangliang181230) +- [ggbocoder](https://github.com/ggbocoder) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java b/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java index 4e5a2588d0f..2f5adf40176 100644 --- a/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java +++ b/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java @@ -121,11 +121,6 @@ public class RaftRegistryServiceImpl implements RegistryService header = new HashMap<>(); header.put(HTTP.CONTENT_TYPE, ContentType.APPLICATION_FORM_URLENCODED.getMimeType()); if (isTokenExpired()) { - refreshToken(); + refreshToken(tcAddress); } if (StringUtils.isNotBlank(jwtToken)) { header.put(AUTHORIZATION_HEADER, jwtToken); @@ -407,43 +402,38 @@ private static void acquireClusterMetaData(String clusterName, String group) thr } } - private static void refreshToken() throws RetryableException { + private static void refreshToken(String tcAddress) throws RetryableException { // if username and password is not in config , return if (StringUtils.isBlank(USERNAME) || StringUtils.isBlank(PASSWORD)) { return; } - String raftClusterAddress = CONFIG.getConfig(getRaftAddrFileKey()); // get token and set it in cache - if (StringUtils.isNotBlank(raftClusterAddress)) { - String[] tcAddressList = raftClusterAddress.split(","); - String tcAddress = tcAddressList[0]; - Map param = new HashMap<>(); - param.put(PRO_USERNAME_KEY, USERNAME); - param.put(PRO_PASSWORD_KEY, PASSWORD); - Map header = new HashMap<>(); - header.put(HTTP.CONTENT_TYPE, ContentType.APPLICATION_JSON.getMimeType()); - String response = null; - tokenTimeStamp = System.currentTimeMillis(); - try (CloseableHttpResponse httpResponse = - HttpClientUtil.doPost("http://" + tcAddress + "/api/v1/auth/login", param, header, 1000)) { - if (httpResponse != null) { - if (httpResponse.getStatusLine().getStatusCode() == HttpStatus.SC_OK) { - response = EntityUtils.toString(httpResponse.getEntity(), StandardCharsets.UTF_8); - JsonNode jsonNode = OBJECT_MAPPER.readTree(response); - String codeStatus = jsonNode.get("code").asText(); - if (!StringUtils.equals(codeStatus, "200")) { - //authorized failed,throw exception to kill process - throw new AuthenticationFailedException("Authentication failed! you should configure the correct username and password."); - } - jwtToken = jsonNode.get("data").asText(); - } else { + Map param = new HashMap<>(); + param.put(PRO_USERNAME_KEY, USERNAME); + param.put(PRO_PASSWORD_KEY, PASSWORD); + Map header = new HashMap<>(); + header.put(HTTP.CONTENT_TYPE, ContentType.APPLICATION_JSON.getMimeType()); + String response = null; + tokenTimeStamp = System.currentTimeMillis(); + try (CloseableHttpResponse httpResponse = + HttpClientUtil.doPost("http://" + tcAddress + "/api/v1/auth/login", param, header, 1000)) { + if (httpResponse != null) { + if (httpResponse.getStatusLine().getStatusCode() == HttpStatus.SC_OK) { + response = EntityUtils.toString(httpResponse.getEntity(), StandardCharsets.UTF_8); + JsonNode jsonNode = OBJECT_MAPPER.readTree(response); + String codeStatus = jsonNode.get("code").asText(); + if (!StringUtils.equals(codeStatus, "200")) { //authorized failed,throw exception to kill process throw new AuthenticationFailedException("Authentication failed! you should configure the correct username and password."); } + jwtToken = jsonNode.get("data").asText(); + } else { + //authorized failed,throw exception to kill process + throw new AuthenticationFailedException("Authentication failed! you should configure the correct username and password."); } - } catch (IOException e) { - throw new RetryableException(e.getMessage(), e); } + } catch (IOException e) { + throw new RetryableException(e.getMessage(), e); } } @@ -471,6 +461,12 @@ public List lookup(String key) throws Exception { return null; } INIT_ADDRESSES.put(clusterName, list); + // init jwt token + try { + refreshToken(queryHttpAddress(clusterName, key)); + } catch (Exception e) { + throw new RuntimeException("Init fetch token failed!", e); + } // Refresh the metadata by initializing the address acquireClusterMetaDataByClusterName(clusterName); startQueryMetadata(); diff --git a/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java b/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java index 8366f7c24f7..e44e8626d24 100644 --- a/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java +++ b/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java @@ -59,6 +59,7 @@ public static void beforeClass() { public static void adAfterClass() throws Exception { System.clearProperty("service.vgroupMapping.tx"); } + /** * test whether throws exception when login failed */ @@ -81,9 +82,9 @@ public void testLoginFailed() throws IOException, NoSuchMethodException { .thenReturn(mockResponse); // Use reflection to access and invoke the private method - Method refreshTokenMethod = RaftRegistryServiceImpl.class.getDeclaredMethod("refreshToken"); + Method refreshTokenMethod = RaftRegistryServiceImpl.class.getDeclaredMethod("refreshToken", String.class); refreshTokenMethod.setAccessible(true); - assertThrows(Exception.class, () -> refreshTokenMethod.invoke(null)); + assertThrows(Exception.class, () -> refreshTokenMethod.invoke(RaftRegistryServiceImpl.getInstance(), "127.0.0.1:8092")); } } @@ -111,9 +112,9 @@ public void testRefreshTokenSuccess() throws IOException, NoSuchMethodException, .thenReturn(mockResponse); - Method refreshTokenMethod = RaftRegistryServiceImpl.class.getDeclaredMethod("refreshToken"); + Method refreshTokenMethod = RaftRegistryServiceImpl.class.getDeclaredMethod("refreshToken", String.class); refreshTokenMethod.setAccessible(true); - refreshTokenMethod.invoke(null); + refreshTokenMethod.invoke(RaftRegistryServiceImpl.getInstance(), "127.0.0.1:8092"); Field jwtTokenField = RaftRegistryServiceImpl.class.getDeclaredField("jwtToken"); jwtTokenField.setAccessible(true); String jwtTokenAct = (String) jwtTokenField.get(null); From b2ac65303489ee0ce4a0ab2357cec0b8d39cf24e Mon Sep 17 00:00:00 2001 From: ggbocoder <119659920+ggbocoder@users.noreply.github.com> Date: Fri, 1 Dec 2023 09:24:58 +0800 Subject: [PATCH 013/183] optimize: optimize the retry logic in the acquireMetadata method (#6098) --- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 2 +- .../raft/RaftRegistryServiceImpl.java | 90 +++++++++---------- 3 files changed, 47 insertions(+), 46 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index d82807ef1c4..101ef3a73af 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -18,6 +18,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6071](https://github.com/seata/seata/pull/6071)] add git infos to jars - [[#6042](https://github.com/seata/seata/pull/6042)] add secure authentication to interfaces in ClusterController - [[#6091](https://github.com/seata/seata/pull/6091)] Optimizing the method of obtaining the tc address during raft authentication +- [[#6098](https://github.com/seata/seata/pull/6098)] optimize the retry logic in the acquireMetadata method ### security: diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index ee3a4bbf2b0..4819e6cdcc0 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -18,7 +18,7 @@ - [[#6071](https://github.com/seata/seata/pull/6071)] 添加git信息到JAR包中 - [[#6042](https://github.com/seata/seata/pull/6042)] 增加raft模式鉴权机制 - [[#6091](https://github.com/seata/seata/pull/6091)] 优化raft鉴权时获取tc地址的方式 - +- [[#6098](https://github.com/seata/seata/pull/6098)] 优化acquireMetadata方法的重试逻辑 ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 diff --git a/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java b/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java index 2f5adf40176..298d5667cf1 100644 --- a/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java +++ b/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java @@ -169,30 +169,38 @@ protected static void startQueryMetadata() { long metadataMaxAgeMs = CONFIG.getLong(ConfigurationKeys.CLIENT_METADATA_MAX_AGE_MS, 30000L); long currentTime = System.currentTimeMillis(); while (!CLOSED.get()) { - // Forced refresh of metadata information after set age - boolean fetch = System.currentTimeMillis() - currentTime > metadataMaxAgeMs; - String clusterName = CURRENT_TRANSACTION_CLUSTER_NAME; - if (!fetch) { - fetch = watch(); - } - // Cluster changes or reaches timeout refresh time - if (fetch) { - AtomicBoolean success = new AtomicBoolean(true); - METADATA.groups(clusterName).parallelStream().forEach(group -> { - try { - acquireClusterMetaData(clusterName, group); - } catch (Exception e) { - success.set(false); - // prevents an exception from being thrown that causes the thread to break - LOGGER.error("failed to get the leader address,error: {}", e.getMessage()); + try { + // Forced refresh of metadata information after set age + boolean fetch = System.currentTimeMillis() - currentTime > metadataMaxAgeMs; + String clusterName = CURRENT_TRANSACTION_CLUSTER_NAME; + if (!fetch) { + fetch = watch(); + } + // Cluster changes or reaches timeout refresh time + if (fetch) { + for (String group : METADATA.groups(clusterName)) { + try { + acquireClusterMetaData(clusterName, group); + } catch (Exception e) { + // prevents an exception from being thrown that causes the thread to break + if (e instanceof RetryableException) { + throw e; + } else { + LOGGER.error("failed to get the leader address,error: {}", e.getMessage()); + } + } } - }); - if (success.get()) { currentTime = System.currentTimeMillis(); if (LOGGER.isDebugEnabled()) { LOGGER.debug("refresh seata cluster metadata time: {}", currentTime); } } + } catch (RetryableException e) { + LOGGER.error(e.getMessage(), e); + try { + Thread.sleep(1000); + } catch (InterruptedException ignored) { + } } } }); @@ -290,7 +298,7 @@ public List aliveLookup(String transactionServiceGroup) { return RegistryService.super.aliveLookup(transactionServiceGroup); } - private static boolean watch() { + private static boolean watch() throws RetryableException { Map header = new HashMap<>(); header.put(HTTP.CONTENT_TYPE, ContentType.APPLICATION_FORM_URLENCODED.getMimeType()); Map param = new HashMap<>(); @@ -299,36 +307,28 @@ private static boolean watch() { groupTerms.forEach((k, v) -> param.put(k, String.valueOf(v))); for (String group : groupTerms.keySet()) { String tcAddress = queryHttpAddress(clusterName, group); - try { - if (isTokenExpired()) { - refreshToken(tcAddress); - } - if (StringUtils.isNotBlank(jwtToken)) { - header.put(AUTHORIZATION_HEADER, jwtToken); - } - try (CloseableHttpResponse response = - HttpClientUtil.doPost("http://" + tcAddress + "/metadata/v1/watch", param, header, 30000)) { - if (response != null) { - StatusLine statusLine = response.getStatusLine(); - if (statusLine != null && statusLine.getStatusCode() == HttpStatus.SC_UNAUTHORIZED) { - if (StringUtils.isNotBlank(USERNAME) && StringUtils.isNotBlank(PASSWORD)) { - throw new RetryableException("Authentication failed!"); - } else { - throw new AuthenticationFailedException("Authentication failed! you should configure the correct username and password."); - } + if (isTokenExpired()) { + refreshToken(tcAddress); + } + if (StringUtils.isNotBlank(jwtToken)) { + header.put(AUTHORIZATION_HEADER, jwtToken); + } + try (CloseableHttpResponse response = + HttpClientUtil.doPost("http://" + tcAddress + "/metadata/v1/watch", param, header, 30000)) { + if (response != null) { + StatusLine statusLine = response.getStatusLine(); + if (statusLine != null && statusLine.getStatusCode() == HttpStatus.SC_UNAUTHORIZED) { + if (StringUtils.isNotBlank(USERNAME) && StringUtils.isNotBlank(PASSWORD)) { + throw new RetryableException("Authentication failed!"); + } else { + throw new AuthenticationFailedException("Authentication failed! you should configure the correct username and password."); } - return statusLine != null && statusLine.getStatusCode() == HttpStatus.SC_OK; } - } catch (IOException e) { - throw new RetryableException(e.getMessage(), e); + return statusLine != null && statusLine.getStatusCode() == HttpStatus.SC_OK; } - } catch (RetryableException e) { + } catch (IOException e) { LOGGER.error("watch cluster node: {}, fail: {}", tcAddress, e.getMessage()); - try { - Thread.sleep(1000); - } catch (InterruptedException ignored) { - } - continue; + throw new RetryableException(e.getMessage(), e); } break; } From f42fb72aa2767bfab533d7540306b51d59f7ca68 Mon Sep 17 00:00:00 2001 From: leezongjie Date: Fri, 1 Dec 2023 10:37:40 +0800 Subject: [PATCH 014/183] bugfix: The TCC aspect does not handle internal invocation exceptions and directly throws them externally. (#6090) --- changes/en-us/2.x.md | 2 + changes/zh-cn/2.x.md | 2 + .../interceptor/DefaultInvocationWrapper.java | 9 +- .../tx/api/interceptor/InvocationWrapper.java | 2 +- .../DefaultInvocationWrapperTest.java | 53 ++++++++ .../annotation/AdapterInvocationWrapper.java | 8 +- .../AdapterSpringSeataInterceptorTest.java | 103 +++++++++++++++ .../io/seata/spring/tcc/NormalTccAction.java | 35 ++++++ .../seata/spring/tcc/NormalTccActionImpl.java | 44 +++++++ .../java/io/seata/rm/tcc/NormalTccAction.java | 8 ++ .../io/seata/rm/tcc/NormalTccActionImpl.java | 11 +- .../rm/tcc/interceptor/ProxyUtilsTccTest.java | 118 ++++++++++-------- 12 files changed, 332 insertions(+), 63 deletions(-) create mode 100644 integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapperTest.java create mode 100644 spring/src/test/java/io/seata/spring/annotation/AdapterSpringSeataInterceptorTest.java create mode 100644 spring/src/test/java/io/seata/spring/tcc/NormalTccAction.java create mode 100644 spring/src/test/java/io/seata/spring/tcc/NormalTccActionImpl.java diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 101ef3a73af..5280fedf118 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -6,6 +6,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] A brief and accurate description of PR ### bugfix: +- [[#6090](https://github.com/seata/seata/pull/6090)] fix the TCC aspect exception handling process, do not wrapping the internal call exceptions - [[#6075](https://github.com/seata/seata/pull/6075)] fix missing table alias for on update column of image SQL - [[#6086](https://github.com/seata/seata/pull/6086)] fix oracle column alias cannot find - [[#6085](https://github.com/seata/seata/pull/6085)] fix jdk9+ compile error @@ -40,5 +41,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [Bughue](https://github.com/Bughue) - [wangliang181230](https://github.com/wangliang181230) - [ggbocoder](https://github.com/ggbocoder) +- [leezongjie](https://github.com/leezongjie) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 4819e6cdcc0..a4bb7cfb570 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -6,6 +6,7 @@ - [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] 准确简要的PR描述 ### bugfix: +- [[#6090](https://github.com/seata/seata/pull/6090)] 修复tcc切面异常处理过程,不对内部调用异常做包装处理,直接向外抛出 - [[#6075](https://github.com/seata/seata/pull/6075)] 修复镜像SQL对于on update列没有添加表别名的问题 - [[#6086](https://github.com/seata/seata/pull/6086)] 修复oracle alias 解析异常 - [[#6085](https://github.com/seata/seata/pull/6085)] 修复jdk9+版本编译后,引入后ByteBuffer#flip NoSuchMethodError的问题 @@ -39,5 +40,6 @@ - [Bughue](https://github.com/Bughue) - [wangliang181230](https://github.com/wangliang181230) - [ggbocoder](https://github.com/ggbocoder) +- [leezongjie](https://github.com/leezongjie) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapper.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapper.java index 0381ad194a8..9849974b5a8 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapper.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapper.java @@ -15,6 +15,7 @@ */ package io.seata.integration.tx.api.interceptor; +import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; /** @@ -54,11 +55,15 @@ public Object[] getArguments() { } @Override - public Object proceed() { + public Object proceed() throws Throwable { try { return method.invoke(delegate, args); } catch (Throwable t) { - throw new RuntimeException(t); + if (t instanceof InvocationTargetException) { + t = t.getCause(); + } + throw t; } + } } diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/InvocationWrapper.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/InvocationWrapper.java index cfbb7a440ec..d38190e7c18 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/InvocationWrapper.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/InvocationWrapper.java @@ -30,7 +30,7 @@ public interface InvocationWrapper { Object[] getArguments(); - Object proceed(); + Object proceed() throws Throwable; } diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapperTest.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapperTest.java new file mode 100644 index 00000000000..ab6142cc86a --- /dev/null +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapperTest.java @@ -0,0 +1,53 @@ +/* + * Copyright 1999-2019 Seata.io Group. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.integration.tx.api.interceptor; + +import java.lang.reflect.Method; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +/** + * @author leezongjie + * @date 2023/11/29 + */ +class DefaultInvocationWrapperTest { + + @Test + void proceed() throws Throwable { + //given + MyMockMethodInvocation myMockMethodInvocation = new MyMockMethodInvocation(); + Method method = MyMockMethodInvocation.class.getDeclaredMethod("proceed", int.class); + + //when + DefaultInvocationWrapper invocationWrapper = new DefaultInvocationWrapper(myMockMethodInvocation, myMockMethodInvocation, method, new Object[]{1}); + //then + Assertions.assertEquals(1, invocationWrapper.proceed()); + + //when + DefaultInvocationWrapper invocationWrapperThrowException = new DefaultInvocationWrapper(myMockMethodInvocation, myMockMethodInvocation, method, new Object[]{0}); + //then should throw raw exception + Assertions.assertThrows(ArithmeticException.class, () -> invocationWrapperThrowException.proceed()); + } + + + static class MyMockMethodInvocation { + public Object proceed(int divisor) { + return 1 / divisor; + } + } + +} \ No newline at end of file diff --git a/spring/src/main/java/io/seata/spring/annotation/AdapterInvocationWrapper.java b/spring/src/main/java/io/seata/spring/annotation/AdapterInvocationWrapper.java index d83fbcd5cf1..f4159f39c0e 100644 --- a/spring/src/main/java/io/seata/spring/annotation/AdapterInvocationWrapper.java +++ b/spring/src/main/java/io/seata/spring/annotation/AdapterInvocationWrapper.java @@ -52,11 +52,7 @@ public Object[] getArguments() { } @Override - public Object proceed() { - try { - return invocation.proceed(); - } catch (Throwable throwable) { - throw new RuntimeException("try to proceed invocation error", throwable); - } + public Object proceed() throws Throwable { + return invocation.proceed(); } } diff --git a/spring/src/test/java/io/seata/spring/annotation/AdapterSpringSeataInterceptorTest.java b/spring/src/test/java/io/seata/spring/annotation/AdapterSpringSeataInterceptorTest.java new file mode 100644 index 00000000000..6096de8d912 --- /dev/null +++ b/spring/src/test/java/io/seata/spring/annotation/AdapterSpringSeataInterceptorTest.java @@ -0,0 +1,103 @@ +/* + * Copyright 1999-2019 Seata.io Group. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.spring.annotation; + +import java.lang.reflect.AccessibleObject; +import java.lang.reflect.Method; +import java.util.concurrent.Callable; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; + +import io.seata.integration.tx.api.interceptor.handler.ProxyInvocationHandler; +import io.seata.integration.tx.api.interceptor.parser.DefaultInterfaceParser; +import io.seata.rm.tcc.api.BusinessActionContext; +import io.seata.spring.tcc.NormalTccAction; +import io.seata.spring.tcc.NormalTccActionImpl; +import org.aopalliance.intercept.MethodInvocation; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +/** + * @author leezongjie + * @date 2023/11/29 + */ +class AdapterSpringSeataInterceptorTest { + + @Test + void should_throw_raw_exception_when_call_prepareWithException() throws Throwable { + //given + NormalTccActionImpl normalTccAction = new NormalTccActionImpl(); + ProxyInvocationHandler proxyInvocationHandler = DefaultInterfaceParser.get().parserInterfaceToProxy(normalTccAction, "proxyTccAction"); + AdapterSpringSeataInterceptor adapterSpringSeataInterceptor = new AdapterSpringSeataInterceptor(proxyInvocationHandler); + MyMockMethodInvocation myMockMethodInvocation = new MyMockMethodInvocation(NormalTccAction.class.getMethod("prepareWithException", BusinessActionContext.class), () -> normalTccAction.prepareWithException(null)); + + //when then + Assertions.assertThrows(IllegalArgumentException.class, () -> adapterSpringSeataInterceptor.invoke(myMockMethodInvocation)); + } + + @Test + void should_success_when_call_prepare_with_ProxyInvocationHandler() throws Throwable { + //given + NormalTccActionImpl normalTccAction = new NormalTccActionImpl(); + ProxyInvocationHandler proxyInvocationHandler = DefaultInterfaceParser.get().parserInterfaceToProxy(normalTccAction, "proxyTccAction"); + AdapterSpringSeataInterceptor adapterSpringSeataInterceptor = new AdapterSpringSeataInterceptor(proxyInvocationHandler); + MyMockMethodInvocation myMockMethodInvocation = new MyMockMethodInvocation(NormalTccAction.class.getMethod("prepare", BusinessActionContext.class), () -> normalTccAction.prepare(null)); + + //when then + Assertions.assertTrue((Boolean) adapterSpringSeataInterceptor.invoke(myMockMethodInvocation)); + } + + static class MyMockMethodInvocation implements MethodInvocation { + + private Callable callable; + private Method method; + + public MyMockMethodInvocation(Method method, Callable callable) { + this.method = method; + this.callable = callable; + } + + @Nullable + @Override + public Object proceed() throws Throwable { + return callable.call(); + } + + @Nonnull + @Override + public Method getMethod() { + return method; + } + + @Nonnull + @Override + public Object[] getArguments() { + return new Object[0]; + } + + @Nullable + @Override + public Object getThis() { + return null; + } + + @Nonnull + @Override + public AccessibleObject getStaticPart() { + return null; + } + } +} \ No newline at end of file diff --git a/spring/src/test/java/io/seata/spring/tcc/NormalTccAction.java b/spring/src/test/java/io/seata/spring/tcc/NormalTccAction.java new file mode 100644 index 00000000000..5067b21662b --- /dev/null +++ b/spring/src/test/java/io/seata/spring/tcc/NormalTccAction.java @@ -0,0 +1,35 @@ +/* + * Copyright 1999-2019 Seata.io Group. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.spring.tcc; + +import io.seata.rm.tcc.api.BusinessActionContext; +import io.seata.rm.tcc.api.LocalTCC; +import io.seata.rm.tcc.api.TwoPhaseBusinessAction; + +@LocalTCC +public interface NormalTccAction { + + @TwoPhaseBusinessAction(name = "tccActionForTestWithException") + boolean prepare(BusinessActionContext actionContext); + + @TwoPhaseBusinessAction(name = "tccActionForTestWithException") + boolean prepareWithException(BusinessActionContext actionContext); + + boolean commit(BusinessActionContext actionContext); + + boolean rollback(BusinessActionContext actionContext); + +} diff --git a/spring/src/test/java/io/seata/spring/tcc/NormalTccActionImpl.java b/spring/src/test/java/io/seata/spring/tcc/NormalTccActionImpl.java new file mode 100644 index 00000000000..53aa57a4c7a --- /dev/null +++ b/spring/src/test/java/io/seata/spring/tcc/NormalTccActionImpl.java @@ -0,0 +1,44 @@ +/* + * Copyright 1999-2019 Seata.io Group. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.spring.tcc; + +import io.seata.rm.tcc.api.BusinessActionContext; + +/** + * @author leezongjie + * @date 2023/11/29 + */ +public class NormalTccActionImpl implements NormalTccAction { + @Override + public boolean prepare(BusinessActionContext actionContext) { + return true; + } + + @Override + public boolean prepareWithException(BusinessActionContext actionContext) { + throw new IllegalArgumentException(); + } + + @Override + public boolean commit(BusinessActionContext actionContext) { + return false; + } + + @Override + public boolean rollback(BusinessActionContext actionContext) { + return false; + } +} diff --git a/tcc/src/test/java/io/seata/rm/tcc/NormalTccAction.java b/tcc/src/test/java/io/seata/rm/tcc/NormalTccAction.java index 1e3a0dc068e..57085bd0a51 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/NormalTccAction.java +++ b/tcc/src/test/java/io/seata/rm/tcc/NormalTccAction.java @@ -61,4 +61,12 @@ boolean commit(BusinessActionContext actionContext, * @return the boolean */ boolean rollback(BusinessActionContext actionContext, @BusinessActionContextParameter("tccParam") TccParam param); + + + @TwoPhaseBusinessAction(name = "tccActionForTestWithException", commitMethod = "commit", rollbackMethod = "rollback", commitArgsClasses = {BusinessActionContext.class, TccParam.class}, rollbackArgsClasses = {BusinessActionContext.class, TccParam.class}) + String prepareWithException(BusinessActionContext actionContext, + @BusinessActionContextParameter("a") int a, + @BusinessActionContextParameter(paramName = "b", index = 0) List b, + @BusinessActionContextParameter(isParamInProperty = true) TccParam tccParam); + } diff --git a/tcc/src/test/java/io/seata/rm/tcc/NormalTccActionImpl.java b/tcc/src/test/java/io/seata/rm/tcc/NormalTccActionImpl.java index 8d4df2faed7..65f4de3a3a2 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/NormalTccActionImpl.java +++ b/tcc/src/test/java/io/seata/rm/tcc/NormalTccActionImpl.java @@ -16,10 +16,10 @@ package io.seata.rm.tcc; -import io.seata.rm.tcc.api.BusinessActionContext; - import java.util.List; +import io.seata.rm.tcc.api.BusinessActionContext; + /** * @author leezongjie */ @@ -40,8 +40,13 @@ public boolean rollback(BusinessActionContext actionContext, TccParam param) { return false; } - public boolean otherMethod(){ + public boolean otherMethod() { return true; } + @Override + public String prepareWithException(BusinessActionContext actionContext, int a, List b, TccParam tccParam) { + throw new IllegalArgumentException(); + } + } diff --git a/tcc/src/test/java/io/seata/rm/tcc/interceptor/ProxyUtilsTccTest.java b/tcc/src/test/java/io/seata/rm/tcc/interceptor/ProxyUtilsTccTest.java index 991b78c9727..ee26477926f 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/interceptor/ProxyUtilsTccTest.java +++ b/tcc/src/test/java/io/seata/rm/tcc/interceptor/ProxyUtilsTccTest.java @@ -15,13 +15,18 @@ */ package io.seata.rm.tcc.interceptor; -import io.seata.integration.tx.api.util.ProxyUtil; +import java.util.Arrays; +import java.util.List; +import java.util.Map; +import java.util.concurrent.atomic.AtomicReference; + import io.seata.core.context.RootContext; import io.seata.core.exception.TransactionException; import io.seata.core.model.BranchStatus; import io.seata.core.model.BranchType; import io.seata.core.model.Resource; import io.seata.core.model.ResourceManager; +import io.seata.integration.tx.api.util.ProxyUtil; import io.seata.rm.DefaultResourceManager; import io.seata.rm.tcc.NormalTccAction; import io.seata.rm.tcc.NormalTccActionImpl; @@ -29,11 +34,6 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; -import java.util.Arrays; -import java.util.List; -import java.util.Map; -import java.util.concurrent.atomic.AtomicReference; - /** * @author leezongjie */ @@ -41,68 +41,68 @@ public class ProxyUtilsTccTest { private final String DEFAULT_XID = "default_xid"; - @Test - public void testTcc() { - //given - NormalTccActionImpl tccAction = new NormalTccActionImpl(); + AtomicReference branchReference = new AtomicReference(); - NormalTccAction tccActionProxy = ProxyUtil.createProxy(tccAction); - RootContext.bind(DEFAULT_XID); + ResourceManager resourceManager = new ResourceManager() { - TccParam tccParam = new TccParam(1, "abc@163.com"); - List listB = Arrays.asList("b"); + @Override + public Long branchRegister(BranchType branchType, String resourceId, String clientId, String xid, String applicationData, String lockKeys) throws TransactionException { + branchReference.set(resourceId); + return System.currentTimeMillis(); + } - AtomicReference branchReference = new AtomicReference(); + @Override + public void branchReport(BranchType branchType, String xid, long branchId, BranchStatus status, String applicationData) throws TransactionException { - ResourceManager resourceManager = new ResourceManager() { + } - @Override - public Long branchRegister(BranchType branchType, String resourceId, String clientId, String xid, String applicationData, String lockKeys) throws TransactionException { - branchReference.set(resourceId); - return System.currentTimeMillis(); - } + @Override + public boolean lockQuery(BranchType branchType, String resourceId, String xid, String lockKeys) throws TransactionException { + return false; + } - @Override - public void branchReport(BranchType branchType, String xid, long branchId, BranchStatus status, String applicationData) throws TransactionException { + @Override + public BranchStatus branchCommit(BranchType branchType, String xid, long branchId, String resourceId, String applicationData) throws TransactionException { + return null; + } - } + @Override + public BranchStatus branchRollback(BranchType branchType, String xid, long branchId, String resourceId, String applicationData) throws TransactionException { + return null; + } - @Override - public boolean lockQuery(BranchType branchType, String resourceId, String xid, String lockKeys) throws TransactionException { - return false; - } + @Override + public void registerResource(Resource resource) { - @Override - public BranchStatus branchCommit(BranchType branchType, String xid, long branchId, String resourceId, String applicationData) throws TransactionException { - return null; - } + } - @Override - public BranchStatus branchRollback(BranchType branchType, String xid, long branchId, String resourceId, String applicationData) throws TransactionException { - return null; - } + @Override + public void unregisterResource(Resource resource) { - @Override - public void registerResource(Resource resource) { + } - } + @Override + public Map getManagedResources() { + return null; + } - @Override - public void unregisterResource(Resource resource) { + @Override + public BranchType getBranchType() { + return null; + } + }; - } - @Override - public Map getManagedResources() { - return null; - } + @Test + public void testTcc() { + //given + NormalTccActionImpl tccAction = new NormalTccActionImpl(); + NormalTccAction tccActionProxy = ProxyUtil.createProxy(tccAction); + RootContext.bind(DEFAULT_XID); - @Override - public BranchType getBranchType() { - return null; - } - }; + TccParam tccParam = new TccParam(1, "abc@163.com"); + List listB = Arrays.asList("b"); DefaultResourceManager.mockResourceManager(BranchType.TCC, resourceManager); @@ -113,7 +113,23 @@ public BranchType getBranchType() { Assertions.assertEquals("a", result); Assertions.assertNotNull(result); Assertions.assertEquals("tccActionForTest", branchReference.get()); + } + @Test + public void testTccThrowRawException() { + //given + NormalTccActionImpl tccAction = new NormalTccActionImpl(); + NormalTccAction tccActionProxy = ProxyUtil.createProxy(tccAction); + RootContext.bind(DEFAULT_XID); + + TccParam tccParam = new TccParam(1, "abc@163.com"); + List listB = Arrays.asList("b"); + + DefaultResourceManager.mockResourceManager(BranchType.TCC, resourceManager); + + //when + //then + Assertions.assertThrows(IllegalArgumentException.class, () -> tccActionProxy.prepareWithException(null, 0, listB, tccParam)); } @Test From 986fc81ba752d0a17cf551b2ca1a9a466710f7bd Mon Sep 17 00:00:00 2001 From: will <349071347@qq.com> Date: Tue, 5 Dec 2023 21:48:35 +0800 Subject: [PATCH 015/183] bugfix: fix could not rollback when insert the table with multiple key (#6077) --- changes/en-us/2.x.md | 2 + changes/zh-cn/2.x.md | 2 + .../exec/BaseTransactionalExecutor.java | 73 ++++---- .../datasource/exec/DeleteExecutorTest.java | 142 +++++++++++++++- .../exec/MariadbInsertExecutorTest.java | 48 ++++++ .../exec/MySQLInsertExecutorTest.java | 141 ++++++++++++++-- .../exec/PolarDBXInsertExecutorTest.java | 47 ++++++ .../datasource/exec/UpdateExecutorTest.java | 156 +++++++++++++++--- 8 files changed, 540 insertions(+), 71 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 5280fedf118..7a1a4ce22e7 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -10,6 +10,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6075](https://github.com/seata/seata/pull/6075)] fix missing table alias for on update column of image SQL - [[#6086](https://github.com/seata/seata/pull/6086)] fix oracle column alias cannot find - [[#6085](https://github.com/seata/seata/pull/6085)] fix jdk9+ compile error +- [[#6077](https://github.com/seata/seata/pull/6077)] fix could not rollback when table with multiple primary ### optimize: - [[#6061](https://github.com/seata/seata/pull/6061)] merge the rpcMergeMessageSend threads of rm and tm and increase the thread hibernation duration @@ -42,5 +43,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [wangliang181230](https://github.com/wangliang181230) - [ggbocoder](https://github.com/ggbocoder) - [leezongjie](https://github.com/leezongjie) +- [l81893521](https://github.com/l81893521) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index a4bb7cfb570..cc6675ca9ed 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -10,6 +10,7 @@ - [[#6075](https://github.com/seata/seata/pull/6075)] 修复镜像SQL对于on update列没有添加表别名的问题 - [[#6086](https://github.com/seata/seata/pull/6086)] 修复oracle alias 解析异常 - [[#6085](https://github.com/seata/seata/pull/6085)] 修复jdk9+版本编译后,引入后ByteBuffer#flip NoSuchMethodError的问题 +- [[#6077](https://github.com/seata/seata/pull/6077)] 修复表存在复合主键索引导致无法回滚问题 ### optimize: - [[#6061](https://github.com/seata/seata/pull/6061)] 合并rm和tm的rpcMergeMessageSend线程,增加线程休眠时长 @@ -41,5 +42,6 @@ - [wangliang181230](https://github.com/wangliang181230) - [ggbocoder](https://github.com/ggbocoder) - [leezongjie](https://github.com/leezongjie) +- [l81893521](https://github.com/l81893521) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java index ffd809dcf56..3b2e1f746f0 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java @@ -22,7 +22,9 @@ import java.util.ArrayList; import java.util.List; import java.util.Map; +import java.util.Set; import java.util.StringJoiner; +import java.util.TreeSet; import java.util.stream.Collectors; import java.util.stream.Stream; @@ -193,18 +195,6 @@ protected String buildLimitCondition(WhereRecognizer recognizer, ArrayList getColumnNamesWithTablePrefixList(String table,String tab /** * Gets several column name in sql. * + * @param table the table + * @param tableAlias the table alias * @param columnNameList the column name * @return the column name in sql */ - protected String getColumnNamesInSQL(List columnNameList) { + protected String getColumnNamesWithTablePrefix(String table,String tableAlias, List columnNameList) { if (CollectionUtils.isEmpty(columnNameList)) { return null; } @@ -248,20 +240,43 @@ protected String getColumnNamesInSQL(List columnNameList) { if (i > 0) { columnNamesStr.append(" , "); } - columnNamesStr.append(getColumnNameInSQL(columnNameList.get(i))); + columnNamesStr.append(getColumnNameWithTablePrefix(table, tableAlias, columnNameList.get(i))); } return columnNamesStr.toString(); } + /** + * Gets column name in sql. + * + * @param columnName the column name + * @return the column name in sql + */ + protected String getColumnNameInSQL(String columnName) { + String tableAlias = sqlRecognizer.getTableAlias(); + return tableAlias == null ? columnName : tableAlias + "." + columnName; + } + + /** + * Gets column names in sql. + * + * @param columnNames the column names + * @return + */ + protected List getColumnNamesInSQLList(List columnNames) { + List columnNameWithTableAlias = new ArrayList<>(); + for (String columnName : columnNames) { + columnNameWithTableAlias.add(this.getColumnNameInSQL(columnName)); + } + return columnNameWithTableAlias; + } + /** * Gets several column name in sql. * - * @param table the table - * @param tableAlias the table alias * @param columnNameList the column name * @return the column name in sql */ - protected String getColumnNamesWithTablePrefix(String table,String tableAlias, List columnNameList) { + protected String getColumnNamesInSQL(List columnNameList) { if (CollectionUtils.isEmpty(columnNameList)) { return null; } @@ -270,7 +285,7 @@ protected String getColumnNamesWithTablePrefix(String table,String tableAlias, L if (i > 0) { columnNamesStr.append(" , "); } - columnNamesStr.append(getColumnNameWithTablePrefix(table,tableAlias, columnNameList.get(i))); + columnNamesStr.append(getColumnNameInSQL(columnNameList.get(i))); } return columnNamesStr.toString(); } @@ -517,22 +532,24 @@ protected TableRecords buildTableRecords(Map> pkValuesMap) } protected List getNeedColumns(String table, String tableAlias, List unescapeColumns) { - List needUpdateColumns = new ArrayList<>(); + Set needUpdateColumns = new TreeSet<>(String.CASE_INSENSITIVE_ORDER); TableMeta tableMeta = getTableMeta(table); if (ONLY_CARE_UPDATE_COLUMNS && CollectionUtils.isNotEmpty(unescapeColumns)) { if (!containsPK(table, unescapeColumns)) { List pkNameList = tableMeta.getEscapePkNameList(getDbType()); if (CollectionUtils.isNotEmpty(pkNameList)) { if (StringUtils.isNotBlank(tableAlias)) { - needUpdateColumns.add(getColumnNamesWithTablePrefix(table, tableAlias, pkNameList)); + needUpdateColumns.addAll( + ColumnUtils.delEscape(getColumnNamesWithTablePrefixList(table, tableAlias, pkNameList), getDbType()) + ); } else { - needUpdateColumns.add(getColumnNamesInSQL(pkNameList)); + needUpdateColumns.addAll( + ColumnUtils.delEscape(getColumnNamesInSQLList(pkNameList), getDbType()) + ); } } } - needUpdateColumns.addAll(unescapeColumns.stream() - .map(unescapeUpdateColumn -> ColumnUtils.addEscape(unescapeUpdateColumn, getDbType(), tableMeta)).collect( - Collectors.toList())); + needUpdateColumns.addAll(unescapeColumns); // The on update xxx columns will be auto update by db, so it's also the actually updated columns List onUpdateColumns = tableMeta.getOnUpdateColumnsOnlyName(); @@ -541,19 +558,15 @@ protected List getNeedColumns(String table, String tableAlias, List getColumnNameWithTablePrefix(table, tableAlias, onUpdateColumn)) .collect(Collectors.toList()); } - onUpdateColumns.removeAll(unescapeColumns); - needUpdateColumns.addAll(onUpdateColumns.stream() - .map(onUpdateColumn -> ColumnUtils.addEscape(onUpdateColumn, getDbType(), tableMeta)) - .collect(Collectors.toList())); + needUpdateColumns.addAll(onUpdateColumns); } else { Stream allColumns = tableMeta.getAllColumns().keySet().stream(); if (StringUtils.isNotBlank(tableAlias)) { allColumns = allColumns.map(columnName -> getColumnNameWithTablePrefix(table, tableAlias, columnName)); } - allColumns = allColumns.map(columnName -> ColumnUtils.addEscape(columnName, getDbType(), tableMeta)); allColumns.forEach(needUpdateColumns::add); } - return needUpdateColumns; + return needUpdateColumns.stream().map(column -> ColumnUtils.addEscape(column, getDbType(), tableMeta)).collect(Collectors.toList()); } /** diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java index b3b5ed10554..21ea5851fcf 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java @@ -87,7 +87,7 @@ public static void init() { } catch (Exception e) { throw new RuntimeException("init failed"); } - String sql = "delete from t where id = 1"; + String sql = "delete from table_delete_executor_test where id = 1"; List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); MySQLDeleteRecognizer recognizer = new MySQLDeleteRecognizer(sql, asts.get(0)); deleteExecutor = new DeleteExecutor(statementProxy, (statement, args) -> { @@ -96,20 +96,146 @@ public static void init() { } @Test - public void testBeforeImage() throws SQLException { - Assertions.assertNotNull(deleteExecutor.beforeImage()); + public void testBeforeAndAfterImage() throws SQLException { + String sql = "delete from table_delete_executor_test"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLDeleteRecognizer recognizer = new MySQLDeleteRecognizer(sql, asts.get(0)); + deleteExecutor = new DeleteExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = deleteExecutor.beforeImage(); + TableRecords afterImage = deleteExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithTableAlias() throws SQLException { + String sql = "delete from table_delete_executor_test t where t.id = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLDeleteRecognizer recognizer = new MySQLDeleteRecognizer(sql, asts.get(0)); + deleteExecutor = new DeleteExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = deleteExecutor.beforeImage(); + TableRecords afterImage = deleteExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithTableSchema() throws SQLException { + String sql = "delete from seata.table_delete_executor_test where id = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLDeleteRecognizer recognizer = new MySQLDeleteRecognizer(sql, asts.get(0)); + deleteExecutor = new DeleteExecutor(statementProxy, (statement, args) -> null, recognizer); - String sql = "delete from t"; + TableRecords beforeImage = deleteExecutor.beforeImage(); + TableRecords afterImage = deleteExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithTableSchemaAndTableAlias() throws SQLException { + String sql = "delete from seata.table_delete_executor_test t where t.id = 1"; List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); MySQLDeleteRecognizer recognizer = new MySQLDeleteRecognizer(sql, asts.get(0)); deleteExecutor = new DeleteExecutor(statementProxy, (statement, args) -> null, recognizer); - Assertions.assertNotNull(deleteExecutor.beforeImage()); + + TableRecords beforeImage = deleteExecutor.beforeImage(); + TableRecords afterImage = deleteExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); } @Test - public void testAfterImage() throws SQLException { - TableRecords tableRecords = deleteExecutor.beforeImage(); - Assertions.assertEquals(0, deleteExecutor.afterImage(tableRecords).size()); + public void testBeforeAndAfterImageWithTableSchemaQuote() throws SQLException { + String sql = "delete from `seata`.table_delete_executor_test where id = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLDeleteRecognizer recognizer = new MySQLDeleteRecognizer(sql, asts.get(0)); + deleteExecutor = new DeleteExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = deleteExecutor.beforeImage(); + TableRecords afterImage = deleteExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithTableSchemaAndTableNameQuote() throws SQLException { + String sql = "delete from seata.`table_delete_executor_test` where id = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLDeleteRecognizer recognizer = new MySQLDeleteRecognizer(sql, asts.get(0)); + deleteExecutor = new DeleteExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = deleteExecutor.beforeImage(); + TableRecords afterImage = deleteExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithTableSchemaQuoteAndTableNameQuote() throws SQLException { + String sql = "delete from `seata`.`table_delete_executor_test` where id = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLDeleteRecognizer recognizer = new MySQLDeleteRecognizer(sql, asts.get(0)); + deleteExecutor = new DeleteExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = deleteExecutor.beforeImage(); + TableRecords afterImage = deleteExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithColumnQuote() throws SQLException { + String sql = "delete from table_delete_executor_test where `id` = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLDeleteRecognizer recognizer = new MySQLDeleteRecognizer(sql, asts.get(0)); + deleteExecutor = new DeleteExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = deleteExecutor.beforeImage(); + TableRecords afterImage = deleteExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithUpperColumn() throws SQLException { + String sql = "delete from table_delete_executor_test where ID = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLDeleteRecognizer recognizer = new MySQLDeleteRecognizer(sql, asts.get(0)); + deleteExecutor = new DeleteExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = deleteExecutor.beforeImage(); + TableRecords afterImage = deleteExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithTableAliasAndUpperColumn() throws SQLException { + String sql = "delete from table_delete_executor_test t where t.ID = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLDeleteRecognizer recognizer = new MySQLDeleteRecognizer(sql, asts.get(0)); + deleteExecutor = new DeleteExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = deleteExecutor.beforeImage(); + TableRecords afterImage = deleteExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithKeyword() throws SQLException { + String sql = "delete from table_delete_executor_test where `or` = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLDeleteRecognizer recognizer = new MySQLDeleteRecognizer(sql, asts.get(0)); + deleteExecutor = new DeleteExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = deleteExecutor.beforeImage(); + TableRecords afterImage = deleteExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); } } diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertExecutorTest.java index a83f2efd55c..36fc4fbb736 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertExecutorTest.java @@ -15,13 +15,24 @@ */ package io.seata.rm.datasource.exec; +import java.lang.reflect.Field; import java.sql.SQLException; +import java.sql.Types; import java.util.Arrays; import java.util.HashMap; +import java.util.List; + +import com.alibaba.druid.mock.MockStatement; +import com.alibaba.druid.mock.MockStatementBase; +import com.alibaba.druid.pool.DruidDataSource; +import com.google.common.collect.Lists; import io.seata.rm.datasource.ConnectionProxy; import io.seata.rm.datasource.DataSourceProxy; +import io.seata.rm.datasource.DataSourceProxyTest; import io.seata.rm.datasource.PreparedStatementProxy; +import io.seata.rm.datasource.StatementProxy; import io.seata.rm.datasource.exec.mysql.MySQLInsertExecutor; +import io.seata.rm.datasource.mock.MockDriver; import io.seata.rm.datasource.mock.MockMariadbDataSource; import io.seata.rm.datasource.mock.MockResultSet; import io.seata.sqlparser.struct.TableMeta; @@ -66,5 +77,42 @@ public void init() throws SQLException { put(ID_COLUMN, pkIndex); } }; + + // new test init property + List returnValueColumnLabels = Lists.newArrayList("id", "user_id", "name", "sex", "update_time"); + Object[][] returnValue = new Object[][] { + new Object[] {1, 1, "will", 1, 0}, + }; + Object[][] columnMetas = new Object[][] { + new Object[] {"", "", "table_insert_executor_test", "id", Types.INTEGER, "INTEGER", 64, 0, 10, 1, "", "", 0, 0, 64, 2, "NO", "NO"}, + new Object[] {"", "", "table_insert_executor_test", "user_id", Types.INTEGER, "INTEGER", 64, 0, 10, 1, "", "", 0, 0, 64, 2, "NO", "NO"}, + new Object[] {"", "", "table_insert_executor_test", "name", Types.VARCHAR, "VARCHAR", 64, 0, 10, 0, "", "", 0, 0, 64, 2, "NO", "NO"}, + new Object[] {"", "", "table_insert_executor_test", "sex", Types.INTEGER, "INTEGER", 64, 0, 10, 0, "", "", 0, 0, 64, 2, "NO", "NO"}, + new Object[] {"", "", "table_insert_executor_test", "update_time", Types.INTEGER, "INTEGER", 64, 0, 10, 0, "", "", 0, 0, 64, 2, "YES", "NO"}, + }; + Object[][] indexMetas = new Object[][] { + new Object[] {"PRIMARY", "id", false, "", 3, 1, "A", 34}, + new Object[] {"PRIMARY", "user_id", false, "", 3, 1, "A", 34}, + }; + Object[][] onUpdateColumnsReturnValue = new Object[][] { + new Object[]{0, "update_time", Types.INTEGER, "INTEGER", 64, 10, 0, 0} + }; + + MockDriver mockDriver = new MockDriver(returnValueColumnLabels, returnValue, columnMetas, indexMetas, null, onUpdateColumnsReturnValue); + DruidDataSource dataSource = new DruidDataSource(); + dataSource.setUrl("jdbc:mock:xxx"); + dataSource.setDriver(mockDriver); + + DataSourceProxy newDataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); + try { + Field field = dataSourceProxy.getClass().getDeclaredField("dbType"); + field.setAccessible(true); + field.set(newDataSourceProxy, "mysql"); + ConnectionProxy newConnectionProxy = new ConnectionProxy(newDataSourceProxy, dataSource.getConnection().getConnection()); + MockStatementBase mockStatement = new MockStatement(dataSource.getConnection().getConnection()); + newStatementProxy = new StatementProxy(newConnectionProxy, mockStatement); + } catch (Exception e) { + throw new RuntimeException("init failed"); + } } } diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertExecutorTest.java index b7ba7ccfdb7..7010f71acda 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertExecutorTest.java @@ -15,27 +15,38 @@ */ package io.seata.rm.datasource.exec; +import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.math.BigDecimal; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; +import java.sql.Types; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; + +import com.alibaba.druid.mock.MockStatement; +import com.alibaba.druid.mock.MockStatementBase; +import com.alibaba.druid.pool.DruidDataSource; +import com.alibaba.druid.sql.SQLUtils; +import com.alibaba.druid.sql.ast.SQLStatement; +import com.google.common.collect.Lists; import io.seata.common.exception.ShouldNeverHappenException; import io.seata.rm.datasource.ConnectionProxy; import io.seata.rm.datasource.DataSourceProxy; +import io.seata.rm.datasource.DataSourceProxyTest; import io.seata.rm.datasource.PreparedStatementProxy; import io.seata.rm.datasource.StatementProxy; import io.seata.rm.datasource.exec.mysql.MySQLInsertExecutor; import io.seata.rm.datasource.mock.MockDataSource; +import io.seata.rm.datasource.mock.MockDriver; import io.seata.rm.datasource.mock.MockResultSet; +import io.seata.sqlparser.druid.mysql.MySQLInsertRecognizer; import io.seata.sqlparser.struct.ColumnMeta; -import io.seata.rm.datasource.sql.struct.Row; import io.seata.sqlparser.struct.TableMeta; import io.seata.rm.datasource.sql.struct.TableRecords; import io.seata.sqlparser.SQLInsertRecognizer; @@ -69,12 +80,16 @@ public class MySQLInsertExecutorTest { protected StatementProxy statementProxy; + protected StatementProxy newStatementProxy; + protected SQLInsertRecognizer sqlInsertRecognizer; protected TableMeta tableMeta; protected MySQLInsertExecutor insertExecutor; + protected MySQLInsertExecutor newInsertExecutor; + protected final int pkIndex = 0; protected HashMap pkIndexMap; @@ -103,25 +118,123 @@ public void init() throws SQLException { put(ID_COLUMN, pkIndex); } }; - } - @Test - public void testBeforeImage() throws SQLException { - doReturn(tableMeta).when(insertExecutor).getTableMeta(); - TableRecords tableRecords = insertExecutor.beforeImage(); - Assertions.assertEquals(tableRecords.size(), 0); - try { - tableRecords.add(new Row()); - } catch (Exception e) { - Assertions.assertTrue(e instanceof UnsupportedOperationException); - } + // new test init property + List returnValueColumnLabels = Lists.newArrayList("id", "user_id", "name", "sex", "update_time"); + Object[][] returnValue = new Object[][] { + new Object[] {1, 1, "will", 1, 0}, + }; + Object[][] columnMetas = new Object[][] { + new Object[] {"", "", "table_insert_executor_test", "id", Types.INTEGER, "INTEGER", 64, 0, 10, 1, "", "", 0, 0, 64, 2, "NO", "NO"}, + new Object[] {"", "", "table_insert_executor_test", "user_id", Types.INTEGER, "INTEGER", 64, 0, 10, 1, "", "", 0, 0, 64, 2, "NO", "NO"}, + new Object[] {"", "", "table_insert_executor_test", "name", Types.VARCHAR, "VARCHAR", 64, 0, 10, 0, "", "", 0, 0, 64, 2, "NO", "NO"}, + new Object[] {"", "", "table_insert_executor_test", "sex", Types.INTEGER, "INTEGER", 64, 0, 10, 0, "", "", 0, 0, 64, 2, "NO", "NO"}, + new Object[] {"", "", "table_insert_executor_test", "update_time", Types.INTEGER, "INTEGER", 64, 0, 10, 0, "", "", 0, 0, 64, 2, "YES", "NO"}, + }; + Object[][] indexMetas = new Object[][] { + new Object[] {"PRIMARY", "id", false, "", 3, 1, "A", 34}, + new Object[] {"PRIMARY", "user_id", false, "", 3, 1, "A", 34}, + }; + Object[][] onUpdateColumnsReturnValue = new Object[][] { + new Object[]{0, "update_time", Types.INTEGER, "INTEGER", 64, 10, 0, 0} + }; + + MockDriver mockDriver = new MockDriver(returnValueColumnLabels, returnValue, columnMetas, indexMetas, null, onUpdateColumnsReturnValue); + DruidDataSource dataSource = new DruidDataSource(); + dataSource.setUrl("jdbc:mock:xxx"); + dataSource.setDriver(mockDriver); + + DataSourceProxy newDataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); try { - tableRecords.getTableMeta(); + Field field = dataSourceProxy.getClass().getDeclaredField("dbType"); + field.setAccessible(true); + field.set(newDataSourceProxy, "mysql"); + ConnectionProxy newConnectionProxy = new ConnectionProxy(newDataSourceProxy, dataSource.getConnection().getConnection()); + MockStatementBase mockStatement = new MockStatement(dataSource.getConnection().getConnection()); + newStatementProxy = new StatementProxy(newConnectionProxy, mockStatement); } catch (Exception e) { - Assertions.assertTrue(e instanceof UnsupportedOperationException); + throw new RuntimeException("init failed"); } } + @Test + public void testBeforeAndAfterImage() throws SQLException { + String sql = "insert into table_insert_executor_test(id, user_id, name, sex) values (1, 1, 'will', 1)"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLInsertRecognizer recognizer = new MySQLInsertRecognizer(sql, asts.get(0)); + newInsertExecutor = new MySQLInsertExecutor(newStatementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = newInsertExecutor.beforeImage(); + TableRecords afterImage = newInsertExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageTableSchemaAndTableName() throws SQLException { + String sql = "insert into seata.table_insert_executor_test(id, user_id, name, sex) values (1, 1, 'will', 1)"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLInsertRecognizer recognizer = new MySQLInsertRecognizer(sql, asts.get(0)); + newInsertExecutor = new MySQLInsertExecutor(newStatementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = newInsertExecutor.beforeImage(); + TableRecords afterImage = newInsertExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageTableSchemaWithQuoteAndTableName() throws SQLException { + String sql = "insert into `seata`.table_insert_executor_test(id, user_id, name, sex) values (1, 1, 'will', 1)"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLInsertRecognizer recognizer = new MySQLInsertRecognizer(sql, asts.get(0)); + newInsertExecutor = new MySQLInsertExecutor(newStatementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = newInsertExecutor.beforeImage(); + TableRecords afterImage = newInsertExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageTableSchemaWithQuoteAndTableNameWithQuote() throws SQLException { + String sql = "insert into `seata`.`table_insert_executor_test`(id, user_id, name, sex) values (1, 1, 'will', 1)"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLInsertRecognizer recognizer = new MySQLInsertRecognizer(sql, asts.get(0)); + newInsertExecutor = new MySQLInsertExecutor(newStatementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = newInsertExecutor.beforeImage(); + TableRecords afterImage = newInsertExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageColumnWithQuote() throws SQLException { + String sql = "insert into table_insert_executor_test(`id`, `user_id`, `name`, `sex`) values (1, 1, 'will', 1)"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLInsertRecognizer recognizer = new MySQLInsertRecognizer(sql, asts.get(0)); + newInsertExecutor = new MySQLInsertExecutor(newStatementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = newInsertExecutor.beforeImage(); + TableRecords afterImage = newInsertExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageUpperColumn() throws SQLException { + String sql = "insert into table_insert_executor_test(ID, USER_ID, NMAE, SEX) values (1, 1, 'will', 1)"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLInsertRecognizer recognizer = new MySQLInsertRecognizer(sql, asts.get(0)); + newInsertExecutor = new MySQLInsertExecutor(newStatementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = newInsertExecutor.beforeImage(); + TableRecords afterImage = newInsertExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + @Test public void testAfterImage_ByColumn() throws SQLException { doReturn(true).when(insertExecutor).containsPK(); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertExecutorTest.java index 18d9dfec76d..9a594204d95 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertExecutorTest.java @@ -15,14 +15,24 @@ */ package io.seata.rm.datasource.exec; +import java.lang.reflect.Field; import java.sql.SQLException; +import java.sql.Types; import java.util.Arrays; import java.util.HashMap; +import java.util.List; +import com.alibaba.druid.mock.MockStatement; +import com.alibaba.druid.mock.MockStatementBase; +import com.alibaba.druid.pool.DruidDataSource; +import com.google.common.collect.Lists; import io.seata.rm.datasource.ConnectionProxy; import io.seata.rm.datasource.DataSourceProxy; +import io.seata.rm.datasource.DataSourceProxyTest; import io.seata.rm.datasource.PreparedStatementProxy; +import io.seata.rm.datasource.StatementProxy; import io.seata.rm.datasource.exec.polardbx.PolarDBXInsertExecutor; +import io.seata.rm.datasource.mock.MockDriver; import io.seata.rm.datasource.mock.MockResultSet; import io.seata.sqlparser.SQLInsertRecognizer; import io.seata.sqlparser.struct.TableMeta; @@ -69,5 +79,42 @@ public void init() throws SQLException { put(ID_COLUMN, pkIndex); } }; + + // new test init property + List returnValueColumnLabels = Lists.newArrayList("id", "user_id", "name", "sex", "update_time"); + Object[][] returnValue = new Object[][] { + new Object[] {1, 1, "will", 1, 0}, + }; + Object[][] columnMetas = new Object[][] { + new Object[] {"", "", "table_insert_executor_test", "id", Types.INTEGER, "INTEGER", 64, 0, 10, 1, "", "", 0, 0, 64, 2, "NO", "NO"}, + new Object[] {"", "", "table_insert_executor_test", "user_id", Types.INTEGER, "INTEGER", 64, 0, 10, 1, "", "", 0, 0, 64, 2, "NO", "NO"}, + new Object[] {"", "", "table_insert_executor_test", "name", Types.VARCHAR, "VARCHAR", 64, 0, 10, 0, "", "", 0, 0, 64, 2, "NO", "NO"}, + new Object[] {"", "", "table_insert_executor_test", "sex", Types.INTEGER, "INTEGER", 64, 0, 10, 0, "", "", 0, 0, 64, 2, "NO", "NO"}, + new Object[] {"", "", "table_insert_executor_test", "update_time", Types.INTEGER, "INTEGER", 64, 0, 10, 0, "", "", 0, 0, 64, 2, "YES", "NO"}, + }; + Object[][] indexMetas = new Object[][] { + new Object[] {"PRIMARY", "id", false, "", 3, 1, "A", 34}, + new Object[] {"PRIMARY", "user_id", false, "", 3, 1, "A", 34}, + }; + Object[][] onUpdateColumnsReturnValue = new Object[][] { + new Object[]{0, "update_time", Types.INTEGER, "INTEGER", 64, 10, 0, 0} + }; + + MockDriver mockDriver = new MockDriver(returnValueColumnLabels, returnValue, columnMetas, indexMetas, null, onUpdateColumnsReturnValue); + DruidDataSource dataSource = new DruidDataSource(); + dataSource.setUrl("jdbc:mock:xxx"); + dataSource.setDriver(mockDriver); + + DataSourceProxy newDataSourceProxy = DataSourceProxyTest.getDataSourceProxy(dataSource); + try { + Field field = dataSourceProxy.getClass().getDeclaredField("dbType"); + field.setAccessible(true); + field.set(newDataSourceProxy, "mysql"); + ConnectionProxy newConnectionProxy = new ConnectionProxy(newDataSourceProxy, dataSource.getConnection().getConnection()); + MockStatementBase mockStatement = new MockStatement(dataSource.getConnection().getConnection()); + newStatementProxy = new StatementProxy(newConnectionProxy, mockStatement); + } catch (Exception e) { + throw new RuntimeException("init failed"); + } } } diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java index a25fdfa7fa1..482ce56afb7 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java @@ -35,18 +35,10 @@ import io.seata.rm.datasource.StatementProxy; import io.seata.rm.datasource.mock.MockDriver; import io.seata.rm.datasource.sql.struct.TableRecords; -import io.seata.rm.datasource.undo.UndoLogManagerFactory; -import io.seata.rm.datasource.undo.mysql.MySQLUndoLogManager; import io.seata.sqlparser.druid.mysql.MySQLUpdateRecognizer; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; -import org.mockito.MockedStatic; -import org.mockito.Mockito; - -import javax.sql.DataSource; - -import static org.mockito.ArgumentMatchers.anyString; /** * @author will @@ -103,49 +95,175 @@ public static void init() { } @Test - public void testBeforeImage() throws SQLException { + public void testBeforeAndAfterImage() throws SQLException { Assertions.assertNotNull(updateExecutor.beforeImage()); String sql = "update table_update_executor_test set name = 'WILL' where id = 1"; List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); MySQLUpdateRecognizer recognizer = new MySQLUpdateRecognizer(sql, asts.get(0)); updateExecutor = new UpdateExecutor(statementProxy, (statement, args) -> null, recognizer); - Assertions.assertNotNull(updateExecutor.beforeImage()); + + TableRecords beforeImage = updateExecutor.beforeImage(); + TableRecords afterImage = updateExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); } @Test - public void testBeforeImageWithTableAlias() throws SQLException { + public void testBeforeAndAfterImageWithTableAlias() throws SQLException { Assertions.assertNotNull(updateExecutor.beforeImage()); String sql = "update table_update_executor_test t set t.name = 'WILL' where t.id = 1"; List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); MySQLUpdateRecognizer recognizer = new MySQLUpdateRecognizer(sql, asts.get(0)); updateExecutor = new UpdateExecutor(statementProxy, (statement, args) -> null, recognizer); - String builtSql = updateExecutor.buildBeforeImageSQL(updateExecutor.getTableMeta(), new ArrayList<>()); - Assertions.assertTrue(builtSql.contains("t.updated")); + + TableRecords beforeImage = updateExecutor.beforeImage(); + TableRecords afterImage = updateExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithTableSchema() throws SQLException { + String sql = "update seata.table_update_executor_test set name = 'WILL' where id = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLUpdateRecognizer recognizer = new MySQLUpdateRecognizer(sql, asts.get(0)); + updateExecutor = new UpdateExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = updateExecutor.beforeImage(); + TableRecords afterImage = updateExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithTableSchemaAndTableAlias() throws SQLException { + String sql = "update seata.table_update_executor_test t set t.name = 'WILL' where t.id = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLUpdateRecognizer recognizer = new MySQLUpdateRecognizer(sql, asts.get(0)); + updateExecutor = new UpdateExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = updateExecutor.beforeImage(); + TableRecords afterImage = updateExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithTableSchemaQuote() throws SQLException { + String sql = "update `seata`.table_update_executor_test set name = 'WILL' where id = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLUpdateRecognizer recognizer = new MySQLUpdateRecognizer(sql, asts.get(0)); + updateExecutor = new UpdateExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = updateExecutor.beforeImage(); + TableRecords afterImage = updateExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithTableSchemaAndTableNameQuote() throws SQLException { + String sql = "update seata.`table_update_executor_test` set name = 'WILL' where id = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLUpdateRecognizer recognizer = new MySQLUpdateRecognizer(sql, asts.get(0)); + updateExecutor = new UpdateExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = updateExecutor.beforeImage(); + TableRecords afterImage = updateExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithTableSchemaQuoteAndTableNameQuote() throws SQLException { + String sql = "update `seata`.`table_update_executor_test` set name = 'WILL' where id = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLUpdateRecognizer recognizer = new MySQLUpdateRecognizer(sql, asts.get(0)); + updateExecutor = new UpdateExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = updateExecutor.beforeImage(); + TableRecords afterImage = updateExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithColumnQuote() throws SQLException { + String sql = "update table_update_executor_test set `name` = 'WILL' where `id` = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLUpdateRecognizer recognizer = new MySQLUpdateRecognizer(sql, asts.get(0)); + updateExecutor = new UpdateExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = updateExecutor.beforeImage(); + TableRecords afterImage = updateExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithUpperColumn() throws SQLException { + String sql = "update table_update_executor_test set NAME = 'WILL', UPDATED = `567` where ID = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLUpdateRecognizer recognizer = new MySQLUpdateRecognizer(sql, asts.get(0)); + updateExecutor = new UpdateExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = updateExecutor.beforeImage(); + TableRecords afterImage = updateExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); + Assertions.assertNotNull(afterImage); } @Test - public void testKeyword() throws SQLException { - String sql = "update table_update_executor_test set `all` = '1234' where id = 1"; + public void testBeforeAndAfterImageWithTableAliasAndUpperColumn() throws SQLException { + String sql = "update table_update_executor_test t set t.NAME = 'WILL', t.UPDATED = `567` where t.ID = 1"; List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); MySQLUpdateRecognizer recognizer = new MySQLUpdateRecognizer(sql, asts.get(0)); updateExecutor = new UpdateExecutor(statementProxy, (statement, args) -> null, recognizer); + TableRecords beforeImage = updateExecutor.beforeImage(); + TableRecords afterImage = updateExecutor.afterImage(beforeImage); Assertions.assertNotNull(beforeImage); - Assertions.assertNotNull(updateExecutor.afterImage(beforeImage)); + Assertions.assertNotNull(afterImage); } @Test - public void testAfterImage() throws SQLException { + public void testBeforeAndAfterImageWithKeywordQuote() throws SQLException { + String sql = "update table_update_executor_test set `all` = '1234', `updated` = `567` where id = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLUpdateRecognizer recognizer = new MySQLUpdateRecognizer(sql, asts.get(0)); + updateExecutor = new UpdateExecutor(statementProxy, (statement, args) -> null, recognizer); + TableRecords beforeImage = updateExecutor.beforeImage(); TableRecords afterImage = updateExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); Assertions.assertNotNull(afterImage); + } - afterImage = updateExecutor.afterImage(new TableRecords()); + @Test + public void testBeforeAndAfterImageWithOnUpdateColumn() throws SQLException { + String sql = "update table_update_executor_test set updated = 1 where id = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLUpdateRecognizer recognizer = new MySQLUpdateRecognizer(sql, asts.get(0)); + updateExecutor = new UpdateExecutor(statementProxy, (statement, args) -> null, recognizer); + + TableRecords beforeImage = updateExecutor.beforeImage(); + TableRecords afterImage = updateExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); Assertions.assertNotNull(afterImage); + } + + @Test + public void testBeforeAndAfterImageWithOnUpdateUpperColumn() throws SQLException { + String sql = "update table_update_executor_test set UPDATED = 1 where id = 1"; + List asts = SQLUtils.parseStatements(sql, JdbcConstants.MYSQL); + MySQLUpdateRecognizer recognizer = new MySQLUpdateRecognizer(sql, asts.get(0)); + updateExecutor = new UpdateExecutor(statementProxy, (statement, args) -> null, recognizer); - afterImage = updateExecutor.afterImage(null); + TableRecords beforeImage = updateExecutor.beforeImage(); + TableRecords afterImage = updateExecutor.afterImage(beforeImage); + Assertions.assertNotNull(beforeImage); Assertions.assertNotNull(afterImage); } } From 9e5abc2406a33fee32f17b55fbd845d34eac0c9f Mon Sep 17 00:00:00 2001 From: baiyangtx Date: Wed, 6 Dec 2023 14:12:08 +0800 Subject: [PATCH 016/183] optimize: using namespace from command line when deployment with helm charts (#6034) --- changes/en-us/2.x.md | 2 ++ changes/zh-cn/2.x.md | 2 ++ script/server/helm/seata-server/templates/deployment.yaml | 4 +--- script/server/helm/seata-server/templates/service.yaml | 1 + .../helm/seata-server/templates/tests/test-connection.yaml | 1 + script/server/helm/seata-server/values.yaml | 2 -- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 7a1a4ce22e7..333e0feeff1 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -21,6 +21,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6042](https://github.com/seata/seata/pull/6042)] add secure authentication to interfaces in ClusterController - [[#6091](https://github.com/seata/seata/pull/6091)] Optimizing the method of obtaining the tc address during raft authentication - [[#6098](https://github.com/seata/seata/pull/6098)] optimize the retry logic in the acquireMetadata method +- [[#6034](https://github.com/seata/seata/pull/6034)] using namespace from command line when deployment with helm charts ### security: @@ -44,5 +45,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [ggbocoder](https://github.com/ggbocoder) - [leezongjie](https://github.com/leezongjie) - [l81893521](https://github.com/l81893521) +- [baiyangtx](https://github.com/baiyangtx) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index cc6675ca9ed..60eb11af125 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -21,6 +21,7 @@ - [[#6042](https://github.com/seata/seata/pull/6042)] 增加raft模式鉴权机制 - [[#6091](https://github.com/seata/seata/pull/6091)] 优化raft鉴权时获取tc地址的方式 - [[#6098](https://github.com/seata/seata/pull/6098)] 优化acquireMetadata方法的重试逻辑 +- [[#6034](https://github.com/seata/seata/pull/6034)] 使用helm图表进行部署时使用命令行中的命名空间 ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 @@ -43,5 +44,6 @@ - [ggbocoder](https://github.com/ggbocoder) - [leezongjie](https://github.com/leezongjie) - [l81893521](https://github.com/l81893521) +- [baiyangtx](https://github.com/baiyangtx) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/script/server/helm/seata-server/templates/deployment.yaml b/script/server/helm/seata-server/templates/deployment.yaml index 71af7c2965b..17f53d34442 100644 --- a/script/server/helm/seata-server/templates/deployment.yaml +++ b/script/server/helm/seata-server/templates/deployment.yaml @@ -1,9 +1,7 @@ apiVersion: apps/v1 kind: Deployment metadata: -{{- if .Values.namespace }} - namespace: {{ .Values.namespace }} -{{- end}} + namespace: {{ .Release.Namespace | quote }} name: {{ include "seata-server.name" . }} labels: {{ include "seata-server.labels" . | indent 4 }} diff --git a/script/server/helm/seata-server/templates/service.yaml b/script/server/helm/seata-server/templates/service.yaml index 812415b2337..ab9c121fc2a 100644 --- a/script/server/helm/seata-server/templates/service.yaml +++ b/script/server/helm/seata-server/templates/service.yaml @@ -1,6 +1,7 @@ apiVersion: v1 kind: Service metadata: + namespace: {{ .Release.Namespace | quote }} name: {{ include "seata-server.fullname" . }} labels: {{ include "seata-server.labels" . | indent 4 }} diff --git a/script/server/helm/seata-server/templates/tests/test-connection.yaml b/script/server/helm/seata-server/templates/tests/test-connection.yaml index 97d69903752..5fb79ccfd6b 100644 --- a/script/server/helm/seata-server/templates/tests/test-connection.yaml +++ b/script/server/helm/seata-server/templates/tests/test-connection.yaml @@ -1,6 +1,7 @@ apiVersion: v1 kind: Pod metadata: + namespace: {{ .Release.Namespace | quote }} name: "{{ include "seata-server.fullname" . }}-test-connection" labels: {{ include "seata-server.labels" . | indent 4 }} diff --git a/script/server/helm/seata-server/values.yaml b/script/server/helm/seata-server/values.yaml index 9e88f9af037..e9f9829064c 100644 --- a/script/server/helm/seata-server/values.yaml +++ b/script/server/helm/seata-server/values.yaml @@ -1,7 +1,5 @@ replicaCount: 1 -namespace: default - image: repository: seataio/seata-server tag: latest From 471d413a314fa786b86cce3b3b5be00cf614fa66 Mon Sep 17 00:00:00 2001 From: laywin Date: Sat, 9 Dec 2023 23:43:18 +0800 Subject: [PATCH 017/183] test: unbind xid in TransactionTemplateTest (#6125) --- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + tm/src/test/java/io/seata/tm/api/TransactionTemplateTest.java | 2 ++ 3 files changed, 4 insertions(+) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 333e0feeff1..9a21c03668a 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -29,6 +29,7 @@ Add changes here for all PR submitted to the 2.x branch. ### test: - [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] A brief and accurate description of PR +- [[#6125](https://github.com/seata/seata/pull/6125)] unbind xid in TransactionTemplateTest Thanks to these contributors for their code commits. Please report an unintended omission. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 60eb11af125..9c5ca89a878 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -28,6 +28,7 @@ ### test: - [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] 准确简要的PR描述 +- [[#6125](https://github.com/seata/seata/pull/6125)] TransactionTemplateTest单测unbind xid 非常感谢以下 contributors 的代码贡献。若有无意遗漏,请报告。 diff --git a/tm/src/test/java/io/seata/tm/api/TransactionTemplateTest.java b/tm/src/test/java/io/seata/tm/api/TransactionTemplateTest.java index 43dce648697..cc4c0a8ef09 100644 --- a/tm/src/test/java/io/seata/tm/api/TransactionTemplateTest.java +++ b/tm/src/test/java/io/seata/tm/api/TransactionTemplateTest.java @@ -18,6 +18,7 @@ import java.util.LinkedHashSet; import java.util.Set; +import io.seata.core.context.RootContext; import io.seata.core.model.GlobalStatus; import io.seata.core.model.TransactionManager; import io.seata.tm.TransactionManagerHolder; @@ -63,6 +64,7 @@ public void init() throws Exception { txInfo.setTimeOut(DEFAULT_TIME_OUT); txInfo.setName(DEFAULT_NAME); when(transactionalExecutor.getTransactionInfo()).thenReturn(txInfo); + RootContext.unbind(); } @AfterEach From d1aa1cabd87dd924ff359f5042deb5e82c392201 Mon Sep 17 00:00:00 2001 From: funkye Date: Sat, 9 Dec 2023 23:57:48 +0800 Subject: [PATCH 018/183] bugfix: the branch transaction order error when rolling back (#6121) --- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + dependencies/pom.xml | 2 +- .../src/main/java/io/seata/server/coordinator/DefaultCore.java | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 9a21c03668a..912c43f3b36 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -11,6 +11,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6086](https://github.com/seata/seata/pull/6086)] fix oracle column alias cannot find - [[#6085](https://github.com/seata/seata/pull/6085)] fix jdk9+ compile error - [[#6077](https://github.com/seata/seata/pull/6077)] fix could not rollback when table with multiple primary +- [[#6121](https://github.com/seata/seata/pull/6121)] fix the branch transaction order error when rolling back ### optimize: - [[#6061](https://github.com/seata/seata/pull/6061)] merge the rpcMergeMessageSend threads of rm and tm and increase the thread hibernation duration diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 9c5ca89a878..e4af986ce20 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -11,6 +11,7 @@ - [[#6086](https://github.com/seata/seata/pull/6086)] 修复oracle alias 解析异常 - [[#6085](https://github.com/seata/seata/pull/6085)] 修复jdk9+版本编译后,引入后ByteBuffer#flip NoSuchMethodError的问题 - [[#6077](https://github.com/seata/seata/pull/6077)] 修复表存在复合主键索引导致无法回滚问题 +- [[#6121](https://github.com/seata/seata/pull/6121)] 修复回滚分支事务时没有按照时间排序的问题 ### optimize: - [[#6061](https://github.com/seata/seata/pull/6061)] 合并rm和tm的rpcMergeMessageSend线程,增加线程休眠时长 diff --git a/dependencies/pom.xml b/dependencies/pom.xml index 166b1aa298d..e35bf7d961c 100644 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -118,7 +118,7 @@ 1.4.3 - 4.5.1 + 4.11.0 3.12.2 9.4.38.v20210224 3.1.7 diff --git a/server/src/main/java/io/seata/server/coordinator/DefaultCore.java b/server/src/main/java/io/seata/server/coordinator/DefaultCore.java index 19540af9bc2..9c0dcedcb7d 100644 --- a/server/src/main/java/io/seata/server/coordinator/DefaultCore.java +++ b/server/src/main/java/io/seata/server/coordinator/DefaultCore.java @@ -307,7 +307,7 @@ public boolean doGlobalRollback(GlobalSession globalSession, boolean retrying) t if (globalSession.isSaga()) { success = getCore(BranchType.SAGA).doGlobalRollback(globalSession, retrying); } else { - List branchSessions = globalSession.getSortedBranches(); + List branchSessions = globalSession.getReverseSortedBranches(); Boolean result = SessionHelper.forEach(branchSessions, branchSession -> { BranchStatus currentBranchStatus = branchSession.getStatus(); if (currentBranchStatus == BranchStatus.PhaseOne_Failed) { From bdfed8db28132751d5de7eb8a847bb857877a40c Mon Sep 17 00:00:00 2001 From: xingfudeshi Date: Sun, 10 Dec 2023 00:55:09 +0800 Subject: [PATCH 019/183] optimize: remove lgtm.com badge (#6116) --- README.md | 2 -- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0b8d6bbc91d..ad0ce96f77d 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,6 @@ [![codecov](https://codecov.io/gh/seata/seata/branch/develop/graph/badge.svg)](https://codecov.io/gh/seata/seata) [![license](https://img.shields.io/github/license/seata/seata.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) [![maven](https://img.shields.io/maven-central/v/io.seata/seata-parent?versionSuffix=2.0.0)](https://search.maven.org/search?q=io.seata) -[![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/seata/seata.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/seata/seata/context:java) - ## What is Seata? diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 912c43f3b36..7372d30071f 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -23,6 +23,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6091](https://github.com/seata/seata/pull/6091)] Optimizing the method of obtaining the tc address during raft authentication - [[#6098](https://github.com/seata/seata/pull/6098)] optimize the retry logic in the acquireMetadata method - [[#6034](https://github.com/seata/seata/pull/6034)] using namespace from command line when deployment with helm charts +- [[#6116](https://github.com/seata/seata/pull/6034)] remove lgtm.com stuff ### security: diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index e4af986ce20..a1d3c279d30 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -23,6 +23,7 @@ - [[#6091](https://github.com/seata/seata/pull/6091)] 优化raft鉴权时获取tc地址的方式 - [[#6098](https://github.com/seata/seata/pull/6098)] 优化acquireMetadata方法的重试逻辑 - [[#6034](https://github.com/seata/seata/pull/6034)] 使用helm图表进行部署时使用命令行中的命名空间 +- [[#6116](https://github.com/seata/seata/pull/6034)] 移除 lgtm.com ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 From 89848807596a9ba6556a41aaf33ca51fe1f0d26a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?WangLiang/=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Sun, 10 Dec 2023 01:04:27 +0800 Subject: [PATCH 020/183] test: add `test-os.yml` for OS (#6081) --- .github/workflows/build.yml | 31 +++-- .github/workflows/test-druid.yml | 15 ++- .github/workflows/test.yml | 117 ++++++++++-------- build/pom.xml | 4 +- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 2 +- .../netty/AbstractNettyRemotingClient.java | 2 +- .../SerializerSecurityRegistry.java | 49 +++++++- .../registry/FileRegistryServiceImpl.java | 2 +- .../redis/RedisDistributedLockerTest.java | 23 ++-- .../core/rpc/netty/TmNettyClientTest.java | 46 +++++-- 11 files changed, 192 insertions(+), 100 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6598020360a..cd974187de5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,20 +28,27 @@ jobs: # step 3 - name: "Print maven version" run: ./mvnw -version - # step 4 - - name: "Build with Maven" + # step 4.1 + - name: "Test, Check style, Check license with Maven and Java8" + if: matrix.java == '8' + run: | + ./mvnw -T 4C clean test \ + -Dcheckstyle.skip=false -Dlicense.skip=false \ + -Dmaven.git-commit-id.skip=true \ + -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; + # step 4.2 + - name: "Test with Maven and Java${{ matrix.java }}" + if: matrix.java != '8' run: | - if [ "${{ matrix.java }}" == "8" ]; then - ./mvnw -T 4C clean test -Dcheckstyle.skip=false -Dlicense.skip=false -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; - elif [ "${{ matrix.java }}" == "17" ]; then - ./mvnw -T 4C clean test -Dcheckstyle.skip=true -Dlicense.skip=true -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; - fi + ./mvnw -T 4C clean test \ + -Dmaven.git-commit-id.skip=true \ + -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; # step 5 - name: "Codecov" if: matrix.java == '8' uses: codecov/codecov-action@v3.1.4 - # job 2: Test on 'arm64v8/ubuntu' OS. + # job 2: Build on 'arm64v8/ubuntu' OS (Skip tests). build_arm64-binary: runs-on: ubuntu-latest if: ${{ github.event_name == 'push' && (github.ref_name == 'develop' || github.ref_name == 'snapshot' || github.ref_name == '2.x') }} @@ -56,11 +63,15 @@ jobs: id: qemu uses: docker/setup-qemu-action@v3 # step 3 - - name: "Build arm-binary" + - name: "Build with Maven on 'arm64v8/ubuntu:20.04' OS (Skip tests)" run: | docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \ arm64v8/ubuntu:20.04 \ bash -exc 'apt-get update -y && \ apt-get install maven -y && \ mvn -version && \ - mvn -Prelease-seata -DskipTests -Dmaven.git-commit-id.skip=true clean install -U' + mvn clean install \ + -Prelease-seata \ + -DskipTests \ + -Dmaven.git-commit-id.skip=true \ + -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' diff --git a/.github/workflows/test-druid.yml b/.github/workflows/test-druid.yml index 741a28c4f79..f004c41db81 100644 --- a/.github/workflows/test-druid.yml +++ b/.github/workflows/test-druid.yml @@ -11,8 +11,8 @@ jobs: strategy: fail-fast: false matrix: - java: [ 8, 11, 17, 21 ] druid: [ + 1.2.20, 1.2.19, #1.2.18, # Unit test triggered a bug in Druid, see the commit https://github.com/alibaba/druid/commit/6c493f852852fb287ed5fd31ee16c27ead0ea5cf #1.2.17, # Unit test triggered a bug in Druid, see the commit https://github.com/alibaba/druid/commit/6c493f852852fb287ed5fd31ee16c27ead0ea5cf @@ -50,15 +50,14 @@ jobs: uses: actions/setup-java@v3.12.0 with: distribution: 'zulu' - java-version: ${{ matrix.java }} + java-version: 8 # step 3 - name: "Print maven version" run: ./mvnw -version # step 4 - - name: "Test with Maven" + - name: "Test with Maven and Druid ${{ matrix.druid }}" run: | - if [ "${{ matrix.java }}" == "8" ]; then - ./mvnw -T 4C clean test -Ddruid.version=${{ matrix.druid }} -Dcheckstyle.skip=false -Dlicense.skip=false -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; - else - ./mvnw -T 4C clean test -Ddruid.version=${{ matrix.druid }} -Dcheckstyle.skip=true -Dlicense.skip=true -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; - fi + ./mvnw -T 4C clean test \ + -Ddruid.version=${{ matrix.druid }} \ + -Dmaven.git-commit-id.skip=true \ + -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b5c502761d8..feda1f93072 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,26 +8,25 @@ jobs: # job 1 test: name: "test" - runs-on: ubuntu-latest + runs-on: "${{ matrix.os }}-latest" strategy: fail-fast: false matrix: java: [ 8, 11, 17, 21 ] + os: [ + ubuntu, + macos, + windows, # Skip tests, because too many errors in unit-test. + ] springboot: [ - 2.7.16 -Dspring-framework.version=5.3.30, - 2.6.15 -Dspring-framework.version=5.3.27, - 2.5.15 -Dspring-framework.version=5.3.27, - 2.4.13 -Dspring-framework.version=5.3.13, - 2.3.12.RELEASE -Dspring-framework.version=5.2.15.RELEASE, - 2.2.13.RELEASE -Dspring-framework.version=5.2.12.RELEASE, + 2.7.18 -D spring-framework.version=5.3.31, + 2.6.15 -D spring-framework.version=5.3.27, + 2.5.15 -D spring-framework.version=5.3.27, + 2.4.13 -D spring-framework.version=5.3.13, + 2.3.12.RELEASE -D spring-framework.version=5.2.15.RELEASE, + 2.2.13.RELEASE -D spring-framework.version=5.2.12.RELEASE, #2.1.18.RELEASE, #2.0.9.RELEASE, - #1.5.22.RELEASE, - #1.4.7.RELEASE, - #1.3.8.RELEASE, - #1.2.8.RELEASE, - #1.1.12.RELEASE, - #1.0.2.RELEASE ] steps: # step 1 @@ -40,29 +39,40 @@ jobs: distribution: 'zulu' java-version: ${{ matrix.java }} # step 3 - - name: "Print maven version" - run: ./mvnw -version - # step 4 - - name: "Test with Maven" - # https://docs.github.com/cn/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#github-context + ## step 3.1: for Ubuntu and MacOS + - name: "Test with Maven on '${{ matrix.os }}' OS" + if: matrix.os != 'windows' run: | - if [ "${{ matrix.java }}" == "8" ]; then - ./mvnw -T 4C clean test -P args-for-client-test -Dspring-boot.version=${{ matrix.springboot }} -Dcheckstyle.skip=false -Dlicense.skip=false -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; - else - ./mvnw -T 4C clean test -P args-for-client-test -Dspring-boot.version=${{ matrix.springboot }} -Dcheckstyle.skip=true -Dlicense.skip=true -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; - fi + ./mvnw -version; + ./mvnw -T 4C clean test \ + -P args-for-client-test \ + -Dspring-boot.version=${{ matrix.springboot }} \ + -Dmaven.git-commit-id.skip=true \ + -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; + ## step 3.2: for Windows + - name: "Build with Maven on 'windows' OS (Skip tests)" + if: matrix.os == 'windows' + run: | # Skip tests, because too many errors in unit-test. + ./mvnw.cmd -version; + ./mvnw.cmd clean install -P args-for-client-test -DskipTests -D spring-boot.version=${{ matrix.springboot }} -D maven.git-commit-id.skip=true -e -B -D org.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; # job 2 test-springboot3x: name: "test-springboot3.x" - runs-on: ubuntu-latest + runs-on: "${{ matrix.os }}-latest" strategy: fail-fast: false matrix: java: [ 17, 21 ] + os: [ + ubuntu, + macos, + windows, # Skip tests, because too many errors in unit-test. + ] springboot: [ - 3.1.4 -Dspring-framework.version=6.0.12, - 3.0.11 -Dspring-framework.version=6.0.12, + 3.2.0 -D spring-framework.version=6.1.1, + 3.1.6 -D spring-framework.version=6.0.14, + 3.0.13 -D spring-framework.version=6.0.14, ] steps: # step 1 @@ -75,34 +85,39 @@ jobs: distribution: 'zulu' java-version: ${{ matrix.java }} # step 3 - - name: "Print maven version" - run: ./mvnw -version - # step 4 - - name: "Test with Maven" + ## step 3.1: for Ubuntu and MacOS + - name: "Test with Maven on '${{ matrix.os }}' OS" + if: matrix.os != 'windows' run: | - ./mvnw -T 4C clean test -P args-for-client-test -Dspring-boot.version=${{ matrix.springboot }} -Dkotlin-maven-plugin.version=1.7.22 -Dcheckstyle.skip=true -Dlicense.skip=true -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; + ./mvnw -version; + ./mvnw -T 4C clean install \ + -P args-for-client-test \ + -Dspring-boot.version=${{ matrix.springboot }} \ + -Dmaven.git-commit-id.skip=true \ + -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; + ## step 3.2: for Windows + - name: "Build with Maven on 'windows' OS (Skip tests)" + if: matrix.os == 'windows' + run: | # Skip tests, because too many errors in unit-test. + ./mvnw.cmd -version; + ./mvnw.cmd clean install -P args-for-client-test -DskipTests -D spring-boot.version=${{ matrix.springboot }} -D maven.git-commit-id.skip=true -e -B -D org.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; # job 3 - arm64-test: + test-arm64: + name: "test-arm64" runs-on: ubuntu-latest strategy: fail-fast: false matrix: springboot: [ - 2.7.16 -Dspring-framework.version=5.3.30, - 2.6.15 -Dspring-framework.version=5.3.27, - 2.5.15 -Dspring-framework.version=5.3.27, + #2.7.18 -Dspring-framework.version=5.3.31, # The maven-compiler-plugin will throw an error for an unknown reason. + #2.6.15 -Dspring-framework.version=5.3.27, # The maven-compiler-plugin will throw an error for an unknown reason. + #2.5.15 -Dspring-framework.version=5.3.27, # The maven-compiler-plugin will throw an error for an unknown reason. 2.4.13 -Dspring-framework.version=5.3.13, 2.3.12.RELEASE -Dspring-framework.version=5.2.15.RELEASE, 2.2.13.RELEASE -Dspring-framework.version=5.2.12.RELEASE, #2.1.18.RELEASE, #2.0.9.RELEASE, - #1.5.22.RELEASE, - #1.4.7.RELEASE, - #1.3.8.RELEASE, - #1.2.8.RELEASE, - #1.1.12.RELEASE, - #1.0.2.RELEASE ] steps: # step 1 @@ -111,18 +126,18 @@ jobs: # step 2 - name: "Set up QEMU" id: qemu - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 # step 3 - - name: "install" + - name: "Build with Maven on 'arm64v8/ubuntu:20.04' OS (Skip tests)" run: | docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \ arm64v8/ubuntu:20.04 \ bash -exc 'apt-get update -y && \ - apt-get install maven -y' - # step 4 - - name: "Print maven version" - run: ./mvnw -version - # step 5 - - name: "test-arm64" - run: | - ./mvnw -T 4C clean test -P args-for-client-test -Dspring-boot.version=${{ matrix.springboot }} -Dcheckstyle.skip=true -Dlicense.skip=true -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + apt-get install maven -y && \ + mvn -version && \ + mvn -T 4C clean install \ + -Dspring-boot.version=${{ matrix.springboot }} \ + -Prelease-seata \ + -DskipTests \ + -Dmaven.git-commit-id.skip=true \ + -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' diff --git a/build/pom.xml b/build/pom.xml index bb1c3971a9f..946fa0f7244 100644 --- a/build/pom.xml +++ b/build/pom.xml @@ -87,7 +87,7 @@ 3.8.1 0.6.1 - 1.3.72 + 1.9.21 3.8 1.3.6 @@ -431,6 +431,8 @@ --add-opens java.sql/java.sql=ALL-UNNAMED --add-opens java.sql.rowset/javax.sql.rowset.serial=ALL-UNNAMED + + -Dnet.bytebuddy.experimental=true
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 7372d30071f..449b1bd01f2 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -30,6 +30,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6069](https://github.com/seata/seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities ### test: +- [[#6081](https://github.com/seata/seata/pull/6081)] add `test-os.yml` for testing the OS - [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] A brief and accurate description of PR - [[#6125](https://github.com/seata/seata/pull/6125)] unbind xid in TransactionTemplateTest diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index a1d3c279d30..87126af81d3 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -29,7 +29,7 @@ - [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 ### test: -- [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] 准确简要的PR描述 +- [[#6081](https://github.com/seata/seata/pull/6081)] 添加 `test-os.yml` 用于测试seata在各种操作系统下的运行情况 - [[#6125](https://github.com/seata/seata/pull/6125)] TransactionTemplateTest单测unbind xid 非常感谢以下 contributors 的代码贡献。若有无意遗漏,请报告。 diff --git a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java index 1e052d27af8..ee105091614 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java +++ b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java @@ -269,7 +269,7 @@ protected String loadBalance(String transactionServiceGroup, Object msg) { RegistryFactory.getInstance().aliveLookup(transactionServiceGroup); address = this.doSelect(inetSocketAddressList, msg); } catch (Exception ex) { - LOGGER.error(ex.getMessage()); + LOGGER.error("Select the address failed: {}", ex.getMessage()); } if (address == null) { throw new FrameworkException(NoAvailableService); diff --git a/core/src/main/java/io/seata/core/serializer/SerializerSecurityRegistry.java b/core/src/main/java/io/seata/core/serializer/SerializerSecurityRegistry.java index 1d4b65e4fd1..0f922d97885 100644 --- a/core/src/main/java/io/seata/core/serializer/SerializerSecurityRegistry.java +++ b/core/src/main/java/io/seata/core/serializer/SerializerSecurityRegistry.java @@ -103,17 +103,54 @@ private static String[] getDenyClassPatternList() { } private static Set> getProtocolType() { - Enumeration packageDir = null; - String packageName = "io.seata.core.protocol"; Set> classNameSet = new HashSet<>(); + try { - packageDir = Thread.currentThread().getContextClassLoader().getResources(packageName.replace(".", "/")); + String packageName = "io.seata.core.protocol"; + Enumeration packageDir = Thread.currentThread().getContextClassLoader().getResources(packageName.replace(".", "/")); + while (packageDir.hasMoreElements()) { + String filePath = packageDir.nextElement().getFile(); + findProtocolClassByPackage(filePath, packageName, classNameSet); + } } catch (IOException ignore) { } - while (packageDir.hasMoreElements()) { - String filePath = packageDir.nextElement().getFile(); - findProtocolClassByPackage(filePath, packageName, classNameSet); + + if (classNameSet.size() < 30) { + // package io.seata.core.protocol + classNameSet.add(io.seata.core.protocol.BatchResultMessage.class); + classNameSet.add(io.seata.core.protocol.HeartbeatMessage.class); + classNameSet.add(io.seata.core.protocol.MergedWarpMessage.class); + classNameSet.add(io.seata.core.protocol.MergeResultMessage.class); + classNameSet.add(io.seata.core.protocol.RegisterRMRequest.class); + classNameSet.add(io.seata.core.protocol.RegisterRMResponse.class); + classNameSet.add(io.seata.core.protocol.RegisterTMRequest.class); + classNameSet.add(io.seata.core.protocol.RegisterTMResponse.class); + classNameSet.add(io.seata.core.protocol.RpcMessage.class); + + // package io.seata.core.protocol.transaction + classNameSet.add(io.seata.core.protocol.transaction.BranchCommitRequest.class); + classNameSet.add(io.seata.core.protocol.transaction.BranchCommitResponse.class); + classNameSet.add(io.seata.core.protocol.transaction.BranchRegisterRequest.class); + classNameSet.add(io.seata.core.protocol.transaction.BranchRegisterResponse.class); + classNameSet.add(io.seata.core.protocol.transaction.BranchReportRequest.class); + classNameSet.add(io.seata.core.protocol.transaction.BranchReportResponse.class); + classNameSet.add(io.seata.core.protocol.transaction.BranchRollbackRequest.class); + classNameSet.add(io.seata.core.protocol.transaction.BranchRollbackResponse.class); + classNameSet.add(io.seata.core.protocol.transaction.GlobalBeginRequest.class); + classNameSet.add(io.seata.core.protocol.transaction.GlobalBeginResponse.class); + classNameSet.add(io.seata.core.protocol.transaction.GlobalCommitRequest.class); + classNameSet.add(io.seata.core.protocol.transaction.GlobalCommitResponse.class); + classNameSet.add(io.seata.core.protocol.transaction.GlobalLockQueryResponse.class); + classNameSet.add(io.seata.core.protocol.transaction.GlobalLockQueryRequest.class); + classNameSet.add(io.seata.core.protocol.transaction.GlobalReportRequest.class); + classNameSet.add(io.seata.core.protocol.transaction.GlobalReportResponse.class); + classNameSet.add(io.seata.core.protocol.transaction.GlobalRollbackRequest.class); + classNameSet.add(io.seata.core.protocol.transaction.GlobalRollbackResponse.class); + classNameSet.add(io.seata.core.protocol.transaction.GlobalStatusRequest.class); + classNameSet.add(io.seata.core.protocol.transaction.GlobalStatusResponse.class); + classNameSet.add(io.seata.core.protocol.transaction.UndoLogDeleteRequest.class); } + return classNameSet; } diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryServiceImpl.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryServiceImpl.java index 16614cd1807..9be433e9951 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryServiceImpl.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryServiceImpl.java @@ -90,7 +90,7 @@ public List lookup(String key) throws Exception { for (String endpoint : endpoints) { String[] ipAndPort = NetUtil.splitIPPortStr(endpoint); if (ipAndPort.length != 2) { - throw new IllegalArgumentException("endpoint format should like ip:port"); + throw new IllegalArgumentException("endpoint format should like ip:port, the invalid endpoint: " + endpoint); } inetSocketAddresses.add(new InetSocketAddress(ipAndPort[0], Integer.parseInt(ipAndPort[1]))); } diff --git a/server/src/test/java/io/seata/server/session/redis/RedisDistributedLockerTest.java b/server/src/test/java/io/seata/server/session/redis/RedisDistributedLockerTest.java index ccb0c3496d3..693b9f46923 100644 --- a/server/src/test/java/io/seata/server/session/redis/RedisDistributedLockerTest.java +++ b/server/src/test/java/io/seata/server/session/redis/RedisDistributedLockerTest.java @@ -45,6 +45,7 @@ public class RedisDistributedLockerTest { private String retryRollbacking = "RetryRollbacking"; + private String retryRollbacking2 = "RetryRollbacking2"; private String retryCommiting = "RetryCommiting"; private String lockValue = "127.1.1.1:9081"; private static DistributedLocker distributedLocker; @@ -69,25 +70,29 @@ public static void after() throws IOException { @Test public void test_acquireScheduledLock_success() { - boolean acquire = distributedLocker.acquireLock(new DistributedLockDO(retryRollbacking, lockValue, 60000L)); + String lockKey = retryRollbacking; + + boolean acquire = distributedLocker.acquireLock(new DistributedLockDO(lockKey, lockValue, 60000L)); Assertions.assertTrue(acquire); - String lockValueExisted = jedis.get(retryRollbacking); + String lockValueExisted = jedis.get(lockKey); Assertions.assertEquals(lockValue, lockValueExisted); - boolean release = distributedLocker.releaseLock(new DistributedLockDO(retryRollbacking, lockValue, null)); + boolean release = distributedLocker.releaseLock(new DistributedLockDO(lockKey, lockValue, null)); Assertions.assertTrue(release); - Assertions.assertNull(jedis.get(retryRollbacking)); + Assertions.assertNull(jedis.get(lockKey)); } @Test - public void test_acquireScheduledLock_success_() throws UnknownHostException { + public void test_acquireScheduledLock_success_() { + String lockKey = retryRollbacking2; SessionHolder.init(SessionMode.REDIS); - boolean accquire = SessionHolder.acquireDistributedLock(retryRollbacking); + + boolean accquire = SessionHolder.acquireDistributedLock(lockKey); Assertions.assertTrue(accquire); - String lockValueExisted = jedis.get(retryRollbacking); + String lockValueExisted = jedis.get(lockKey); Assertions.assertEquals(XID.getIpAddressAndPort(), lockValueExisted); - boolean release = SessionHolder.releaseDistributedLock(retryRollbacking); + boolean release = SessionHolder.releaseDistributedLock(lockKey); Assertions.assertTrue(release); - Assertions.assertNull(jedis.get(retryRollbacking)); + Assertions.assertNull(jedis.get(lockKey)); } @Test diff --git a/test/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java b/test/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java index 2447ba0d272..8b09fbc6cd3 100644 --- a/test/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java +++ b/test/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java @@ -19,6 +19,7 @@ import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicBoolean; import io.netty.channel.Channel; import io.seata.common.XID; @@ -32,14 +33,17 @@ import io.seata.server.session.SessionHolder; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; - -import static io.seata.common.DefaultValues.DEFAULT_SEATA_GROUP; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; /** * @author slievrly */ public class TmNettyClientTest extends AbstractServerTest { + private static final Logger LOGGER = LoggerFactory.getLogger(TmNettyClientTest.class); + + public static ThreadPoolExecutor initMessageExecutor() { return new ThreadPoolExecutor(100, 500, 500, TimeUnit.SECONDS, new LinkedBlockingQueue(20000), new ThreadPoolExecutor.CallerRunsPolicy()); @@ -55,21 +59,39 @@ public void testDoConnect() throws Exception { ThreadPoolExecutor workingThreads = initMessageExecutor(); NettyRemotingServer nettyRemotingServer = new NettyRemotingServer(workingThreads); //start services server first + AtomicBoolean serverStatus = new AtomicBoolean(); Thread thread = new Thread(() -> { - nettyRemotingServer.setHandler(DefaultCoordinator.getInstance(nettyRemotingServer)); - // set registry - XID.setIpAddress(NetUtil.getLocalIp()); - XID.setPort(8091); - // init snowflake for transactionId, branchId - UUIDGenerator.init(1L); - System.out.println("pid info: "+ ManagementFactory.getRuntimeMXBean().getName()); - nettyRemotingServer.init(); + try { + nettyRemotingServer.setHandler(DefaultCoordinator.getInstance(nettyRemotingServer)); + // set registry + XID.setIpAddress(NetUtil.getLocalIp()); + XID.setPort(8091); + // init snowflake for transactionId, branchId + UUIDGenerator.init(1L); + System.out.println("pid info: " + ManagementFactory.getRuntimeMXBean().getName()); + nettyRemotingServer.init(); + serverStatus.set(true); + } catch (Throwable t) { + serverStatus.set(false); + LOGGER.error("The seata-server failed to start", t); + } }); thread.start(); - //then test client - Thread.sleep(3000); + //Wait for the seata-server to start. + long start = System.nanoTime(); + long maxWaitNanoTime = 10 * 1000 * 1000 * 1000L; // 10s + while (System.nanoTime() - start < maxWaitNanoTime) { + Thread.sleep(100); + if (serverStatus.get()) { + break; + } + } + if (!serverStatus.get()) { + throw new RuntimeException("Waiting for a while, but the seata-server did not start successfully."); + } + //then test client String applicationId = "app 1"; String transactionServiceGroup = "group A"; TmNettyRemotingClient tmNettyRemotingClient = TmNettyRemotingClient.getInstance(applicationId, transactionServiceGroup); From 5563492031a062f4fa5f84e04588ab296eb2133f Mon Sep 17 00:00:00 2001 From: jimin Date: Thu, 14 Dec 2023 09:28:32 +0800 Subject: [PATCH 021/183] security: upgrade jettison to 1.5.4 (#6145) --- changes/en-us/2.x.md | 2 +- changes/zh-cn/2.x.md | 1 + dependencies/pom.xml | 12 +++++++++++- discovery/seata-discovery-eureka/pom.xml | 5 +++++ 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 449b1bd01f2..3ce3cf1d536 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -24,7 +24,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6098](https://github.com/seata/seata/pull/6098)] optimize the retry logic in the acquireMetadata method - [[#6034](https://github.com/seata/seata/pull/6034)] using namespace from command line when deployment with helm charts - [[#6116](https://github.com/seata/seata/pull/6034)] remove lgtm.com stuff - +- [[#6145](https://github.com/seata/seata/pull/6145)] upgrade jettison to 1.5.4 ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 87126af81d3..cf67b248af0 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -27,6 +27,7 @@ ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 +- [[#6145](https://github.com/seata/seata/pull/6145)] 升级 jettison依赖版本至1.5.4 ### test: - [[#6081](https://github.com/seata/seata/pull/6081)] 添加 `test-os.yml` 用于测试seata在各种操作系统下的运行情况 diff --git a/dependencies/pom.xml b/dependencies/pom.xml index e35bf7d961c..3617f09ced4 100644 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -51,7 +51,8 @@ 1.0.2 0.3.0 2.0.1 - 1.10.17 + 1.10.18 + 1.5.4 1.4.2 1.4.2 0.5.0 @@ -410,8 +411,17 @@ javax.servlet servlet-api + + org.codehaus.jettison + jettison + + + org.codehaus.jettison + jettison + ${jettison.version} + com.netflix.archaius archaius-core diff --git a/discovery/seata-discovery-eureka/pom.xml b/discovery/seata-discovery-eureka/pom.xml index ad8c6a42539..82107292b87 100644 --- a/discovery/seata-discovery-eureka/pom.xml +++ b/discovery/seata-discovery-eureka/pom.xml @@ -46,6 +46,11 @@ com.thoughtworks.xstream xstream + + org.codehaus.jettison + jettison + runtime + com.netflix.archaius archaius-core From c0d04453eabee79811ef07f5fc39aaaeb59dc92d Mon Sep 17 00:00:00 2001 From: jimin Date: Sat, 16 Dec 2023 01:54:59 +0800 Subject: [PATCH 022/183] security: upgrade nacos client to 1.4.6 (#6144) --- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + dependencies/pom.xml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 3ce3cf1d536..1dfdcabd433 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -28,6 +28,7 @@ Add changes here for all PR submitted to the 2.x branch. ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities +- [[#6144](https://github.com/seata/seata/pull/6144)] upgrade nacos client to 1.4.6 ### test: - [[#6081](https://github.com/seata/seata/pull/6081)] add `test-os.yml` for testing the OS diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index cf67b248af0..76251e58141 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -27,6 +27,7 @@ ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 +- [[#6144](https://github.com/seata/seata/pull/6144)] 升级Nacos依赖版本至1.4.6 - [[#6145](https://github.com/seata/seata/pull/6145)] 升级 jettison依赖版本至1.5.4 ### test: diff --git a/dependencies/pom.xml b/dependencies/pom.xml index 3617f09ced4..789bb261080 100644 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -54,7 +54,7 @@ 1.10.18 1.5.4 1.4.2 - 1.4.2 + 1.4.6 0.5.0 1.11.2 32.0.0-jre From 501d431b29d38679912dbba19e2655a188ced6f7 Mon Sep 17 00:00:00 2001 From: funkye Date: Sat, 16 Dec 2023 17:34:34 +0800 Subject: [PATCH 023/183] Revert "optimize: the high CPU usage issue of the rpcMergeMessageSend thread (#6061)" (#6163) --- changes/en-us/2.x.md | 2 - changes/zh-cn/2.x.md | 2 - .../core/rpc/netty/AbstractNettyRemoting.java | 2 +- .../netty/AbstractNettyRemotingClient.java | 96 +++++++------------ 4 files changed, 36 insertions(+), 66 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 1dfdcabd433..ad2fef60f2a 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -14,7 +14,6 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6121](https://github.com/seata/seata/pull/6121)] fix the branch transaction order error when rolling back ### optimize: -- [[#6061](https://github.com/seata/seata/pull/6061)] merge the rpcMergeMessageSend threads of rm and tm and increase the thread hibernation duration - [[#6031](https://github.com/seata/seata/pull/6031)] add a check for the existence of the undolog table - [[#6089](https://github.com/seata/seata/pull/6089)] modify the semantics of RaftServerFactory and remove unnecessary singleton - [[#4473](https://github.com/seata/seata/pull/4473)] rm appdata size limit @@ -39,7 +38,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [slievrly](https://github.com/slievrly) -- [yiqi](https://github.com/PleaseGiveMeTheCoke) - [ptyin](https://github.com/ptyin) - [laywin](https://github.com/laywin) - [imcmai](https://github.com/imcmai) diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 76251e58141..21180835667 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -14,7 +14,6 @@ - [[#6121](https://github.com/seata/seata/pull/6121)] 修复回滚分支事务时没有按照时间排序的问题 ### optimize: -- [[#6061](https://github.com/seata/seata/pull/6061)] 合并rm和tm的rpcMergeMessageSend线程,增加线程休眠时长 - [[#6031](https://github.com/seata/seata/pull/6031)] 添加undo_log表的存在性校验 - [[#6089](https://github.com/seata/seata/pull/6089)] 修改RaftServerFactory语义并删除不必要的单例构建 - [[#4473](https://github.com/seata/seata/pull/4473)] rm appdata大小限制 @@ -38,7 +37,6 @@ - [slievrly](https://github.com/slievrly) -- [yiqi](https://github.com/PleaseGiveMeTheCoke) - [ptyin](https://github.com/ptyin) - [laywin](https://github.com/laywin) - [imcmai](https://github.com/imcmai) diff --git a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java index ca7576e0f0e..a4bb348aae1 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java +++ b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java @@ -92,7 +92,7 @@ public abstract class AbstractNettyRemoting implements Disposable { /** * The Is sending. */ - protected static volatile boolean isSending = false; + protected volatile boolean isSending = false; private String group = "DEFAULT"; /** diff --git a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java index ee105091614..9b374c2cb5f 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java +++ b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java @@ -17,8 +17,6 @@ import java.lang.reflect.Field; import java.net.InetSocketAddress; -import java.util.Collection; -import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.BlockingQueue; @@ -79,13 +77,14 @@ public abstract class AbstractNettyRemotingClient extends AbstractNettyRemoting private static final String MSG_ID_PREFIX = "msgId:"; private static final String FUTURES_PREFIX = "futures:"; private static final String SINGLE_LOG_POSTFIX = ";"; - private static final int MAX_MERGE_SEND_MILLS = 10; + private static final int MAX_MERGE_SEND_MILLS = 1; + private static final String THREAD_PREFIX_SPLIT_CHAR = "_"; private static final int MAX_MERGE_SEND_THREAD = 1; private static final long KEEP_ALIVE_TIME = Integer.MAX_VALUE; private static final long SCHEDULE_DELAY_MILLS = 60 * 1000L; private static final long SCHEDULE_INTERVAL_MILLS = 10 * 1000L; - private static final String MERGE_THREAD_NAME = "rpcMergeMessageSend"; - protected static final Object MERGE_LOCK = new Object(); + private static final String MERGE_THREAD_PREFIX = "rpcMergeMessageSend"; + protected final Object mergeLock = new Object(); /** * When sending message type is {@link MergeMessage}, will be stored to mergeMsgMap. @@ -97,11 +96,11 @@ public abstract class AbstractNettyRemotingClient extends AbstractNettyRemoting * Send via asynchronous thread {@link io.seata.core.rpc.netty.AbstractNettyRemotingClient.MergedSendRunnable} * {@link AbstractNettyRemotingClient#isEnableClientBatchSendRequest()} */ - protected static final ConcurrentHashMap>> BASKET_MAP = new ConcurrentHashMap<>(); + protected final ConcurrentHashMap> basketMap = new ConcurrentHashMap<>(); private final NettyClientBootstrap clientBootstrap; private final NettyClientChannelManager clientChannelManager; private final NettyPoolKey.TransactionRole transactionRole; - private static volatile ExecutorService mergeSendExecutorService; + private ExecutorService mergeSendExecutorService; private TransactionMessageHandler transactionMessageHandler; protected volatile boolean enableClientBatchSendRequest; @@ -109,27 +108,17 @@ public abstract class AbstractNettyRemotingClient extends AbstractNettyRemoting public void init() { timerExecutor.scheduleAtFixedRate(() -> clientChannelManager.reconnect(getTransactionServiceGroup()), SCHEDULE_DELAY_MILLS, SCHEDULE_INTERVAL_MILLS, TimeUnit.MILLISECONDS); if (this.isEnableClientBatchSendRequest()) { - startMergeSendThread(); + mergeSendExecutorService = new ThreadPoolExecutor(MAX_MERGE_SEND_THREAD, + MAX_MERGE_SEND_THREAD, + KEEP_ALIVE_TIME, TimeUnit.MILLISECONDS, + new LinkedBlockingQueue<>(), + new NamedThreadFactory(getThreadPrefix(), MAX_MERGE_SEND_THREAD)); + mergeSendExecutorService.submit(new MergedSendRunnable()); } super.init(); clientBootstrap.start(); } - private void startMergeSendThread() { - if (mergeSendExecutorService == null) { - synchronized (AbstractNettyRemoting.class) { - if (mergeSendExecutorService == null) { - mergeSendExecutorService = new ThreadPoolExecutor(MAX_MERGE_SEND_THREAD, - MAX_MERGE_SEND_THREAD, - KEEP_ALIVE_TIME, TimeUnit.MILLISECONDS, - new LinkedBlockingQueue<>(), - new NamedThreadFactory(MERGE_THREAD_NAME, MAX_MERGE_SEND_THREAD)); - mergeSendExecutorService.submit(new MergedSendRunnable()); - } - } - } - } - public AbstractNettyRemotingClient(NettyClientConfig nettyClientConfig, EventExecutorGroup eventExecutorGroup, ThreadPoolExecutor messageExecutor, NettyPoolKey.TransactionRole transactionRole) { super(messageExecutor); @@ -157,14 +146,8 @@ public Object sendSyncRequest(Object msg) throws TimeoutException { futures.put(rpcMessage.getId(), messageFuture); // put message into basketMap - Map> roleMessage = CollectionUtils.computeIfAbsent(BASKET_MAP, serverAddress, - key -> { - Map> map = new HashMap<>(2); - map.put(NettyPoolKey.TransactionRole.TMROLE, new LinkedBlockingQueue<>()); - map.put(NettyPoolKey.TransactionRole.RMROLE, new LinkedBlockingQueue<>()); - return map; - }); - BlockingQueue basket = roleMessage.get(transactionRole); + BlockingQueue basket = CollectionUtils.computeIfAbsent(basketMap, serverAddress, + key -> new LinkedBlockingQueue<>()); if (!basket.offer(rpcMessage)) { LOGGER.error("put message into basketMap offer failed, serverAddress:{},rpcMessage:{}", serverAddress, rpcMessage); @@ -174,8 +157,8 @@ public Object sendSyncRequest(Object msg) throws TimeoutException { LOGGER.debug("offer message: {}", rpcMessage.getBody()); } if (!isSending) { - synchronized (MERGE_LOCK) { - MERGE_LOCK.notifyAll(); + synchronized (mergeLock) { + mergeLock.notifyAll(); } } @@ -308,6 +291,10 @@ protected String getXid(Object msg) { return StringUtils.isBlank(xid) ? String.valueOf(ThreadLocalRandom.current().nextLong(Long.MAX_VALUE)) : xid; } + private String getThreadPrefix() { + return AbstractNettyRemotingClient.MERGE_THREAD_PREFIX + THREAD_PREFIX_SPLIT_CHAR + transactionRole.name(); + } + /** * Get pool key function. * @@ -339,36 +326,23 @@ protected String getXid(Object msg) { /** * The type Merged send runnable. */ - private static class MergedSendRunnable implements Runnable { + private class MergedSendRunnable implements Runnable { @Override public void run() { while (true) { - if (BASKET_MAP.values().stream().allMatch(map -> map.values().stream().allMatch(Collection::isEmpty))) { - synchronized (MERGE_LOCK) { - if (BASKET_MAP.values().stream().allMatch(map -> map.values().stream().allMatch(Collection::isEmpty))) { - try { - MERGE_LOCK.wait(MAX_MERGE_SEND_MILLS); - } catch (InterruptedException e) { - } - } + synchronized (mergeLock) { + try { + mergeLock.wait(MAX_MERGE_SEND_MILLS); + } catch (InterruptedException e) { } } isSending = true; - BASKET_MAP.forEach((address, roleMessage) -> roleMessage.forEach((role, basket) -> { + basketMap.forEach((address, basket) -> { if (basket.isEmpty()) { return; } - AbstractNettyRemotingClient client; - if (role.equals(NettyPoolKey.TransactionRole.RMROLE)) { - client = RmNettyRemotingClient.getInstance(); - } else { - client = TmNettyRemotingClient.getInstance(); - } - - ConcurrentHashMap clientFutures = client.getFutures(); - MergedWarpMessage mergeMessage = new MergedWarpMessage(); while (!basket.isEmpty()) { RpcMessage msg = basket.poll(); @@ -376,35 +350,35 @@ public void run() { mergeMessage.msgIds.add(msg.getId()); } if (mergeMessage.msgIds.size() > 1) { - printMergeMessageLog(clientFutures, mergeMessage); + printMergeMessageLog(mergeMessage); } Channel sendChannel = null; try { // send batch message is sync request, but there is no need to get the return value. // Since the messageFuture has been created before the message is placed in basketMap, // the return value will be obtained in ClientOnResponseProcessor. - sendChannel = client.getClientChannelManager().acquireChannel(address); - client.sendAsyncRequest(sendChannel, mergeMessage); + sendChannel = clientChannelManager.acquireChannel(address); + AbstractNettyRemotingClient.this.sendAsyncRequest(sendChannel, mergeMessage); } catch (FrameworkException e) { if (e.getErrcode() == FrameworkErrorCode.ChannelIsNotWritable && sendChannel != null) { - client.destroyChannel(address, sendChannel); + destroyChannel(address, sendChannel); } // fast fail for (Integer msgId : mergeMessage.msgIds) { - MessageFuture messageFuture = clientFutures.remove(msgId); + MessageFuture messageFuture = futures.remove(msgId); if (messageFuture != null) { messageFuture.setResultMessage( - new RuntimeException(String.format("%s is unreachable", address), e)); + new RuntimeException(String.format("%s is unreachable", address), e)); } } LOGGER.error("client merge call failed: {}", e.getMessage(), e); } - })); + }); isSending = false; } } - private void printMergeMessageLog(ConcurrentHashMap clientFutures, MergedWarpMessage mergeMessage) { + private void printMergeMessageLog(MergedWarpMessage mergeMessage) { if (LOGGER.isDebugEnabled()) { LOGGER.debug("merge msg size:{}", mergeMessage.msgIds.size()); for (AbstractMessage cm : mergeMessage.msgs) { @@ -415,7 +389,7 @@ private void printMergeMessageLog(ConcurrentHashMap clie sb.append(MSG_ID_PREFIX).append(l).append(SINGLE_LOG_POSTFIX); } sb.append("\n"); - for (long l : clientFutures.keySet()) { + for (long l : futures.keySet()) { sb.append(FUTURES_PREFIX).append(l).append(SINGLE_LOG_POSTFIX); } LOGGER.debug(sb.toString()); From 2f9957bd49ff4ae11b342d5153b34896c10df848 Mon Sep 17 00:00:00 2001 From: laywin Date: Mon, 18 Dec 2023 11:08:33 +0800 Subject: [PATCH 024/183] bugfix: in dubbo 3.x version, the consumer can't generate tcc proxy. (#6101) --- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + core/src/main/java/io/seata/core/rpc/RemotingServer.java | 2 +- .../src/main/java/io/seata/core/rpc/netty/ChannelManager.java | 1 + .../main/java/io/seata/integration/tx/api/util/DubboUtil.java | 4 +++- 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index ad2fef60f2a..bfadcdac546 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -10,6 +10,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6075](https://github.com/seata/seata/pull/6075)] fix missing table alias for on update column of image SQL - [[#6086](https://github.com/seata/seata/pull/6086)] fix oracle column alias cannot find - [[#6085](https://github.com/seata/seata/pull/6085)] fix jdk9+ compile error +- [[#6101](https://github.com/seata/seata/pull/6101)] fix the consumer can't generate tcc proxy in dubbo 3.x version - [[#6077](https://github.com/seata/seata/pull/6077)] fix could not rollback when table with multiple primary - [[#6121](https://github.com/seata/seata/pull/6121)] fix the branch transaction order error when rolling back diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 21180835667..dce757be33d 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -10,6 +10,7 @@ - [[#6075](https://github.com/seata/seata/pull/6075)] 修复镜像SQL对于on update列没有添加表别名的问题 - [[#6086](https://github.com/seata/seata/pull/6086)] 修复oracle alias 解析异常 - [[#6085](https://github.com/seata/seata/pull/6085)] 修复jdk9+版本编译后,引入后ByteBuffer#flip NoSuchMethodError的问题 +- [[#6101](https://github.com/seata/seata/pull/6101)] 修复在dubbo 3.x的版本中, 消费者端不能生成tcc代理的问题 - [[#6077](https://github.com/seata/seata/pull/6077)] 修复表存在复合主键索引导致无法回滚问题 - [[#6121](https://github.com/seata/seata/pull/6121)] 修复回滚分支事务时没有按照时间排序的问题 diff --git a/core/src/main/java/io/seata/core/rpc/RemotingServer.java b/core/src/main/java/io/seata/core/rpc/RemotingServer.java index fa388ed9e48..2ad7431d086 100644 --- a/core/src/main/java/io/seata/core/rpc/RemotingServer.java +++ b/core/src/main/java/io/seata/core/rpc/RemotingServer.java @@ -37,7 +37,7 @@ public interface RemotingServer { * @param resourceId rm client resourceId * @param clientId rm client id * @param msg transaction message {@code io.seata.core.protocol} - * @param tryOtherApp try other app + * @param tryOtherApp try other app * @return client result message * @throws TimeoutException TimeoutException */ diff --git a/core/src/main/java/io/seata/core/rpc/netty/ChannelManager.java b/core/src/main/java/io/seata/core/rpc/netty/ChannelManager.java index 278c1b4005a..ef2f86a0148 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/ChannelManager.java +++ b/core/src/main/java/io/seata/core/rpc/netty/ChannelManager.java @@ -285,6 +285,7 @@ private static Channel getChannelFromSameClientMap(Map clie * * @param resourceId Resource ID * @param clientId Client ID - ApplicationId:IP:Port + * @param tryOtherApp try other app * @return Corresponding channel, NULL if not found. */ public static Channel getChannel(String resourceId, String clientId, boolean tryOtherApp) { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/DubboUtil.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/DubboUtil.java index eb4c381ba11..d2f7cf57101 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/DubboUtil.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/DubboUtil.java @@ -34,6 +34,8 @@ private DubboUtil() { private static final String ALIBABA_DUBBO_PROXY_NAME_PREFIX = "com.alibaba.dubbo.common.bytecode.proxy"; private static final String APACHE_DUBBO_PROXY_NAME_PREFIX = "org.apache.dubbo.common.bytecode.proxy"; + private static final String DUBBO_3_X_PARTIAL_PROXY_NAME = "DubboProxy"; + /** * get the interface class of the dubbo proxy which be generated by javaassist * @@ -69,6 +71,6 @@ public static Class getAssistInterface(Object proxyBean) } public static boolean isDubboProxyName(String name) { - return name.startsWith(ALIBABA_DUBBO_PROXY_NAME_PREFIX) || name.startsWith(APACHE_DUBBO_PROXY_NAME_PREFIX); + return name.startsWith(ALIBABA_DUBBO_PROXY_NAME_PREFIX) || name.startsWith(APACHE_DUBBO_PROXY_NAME_PREFIX) || name.contains(DUBBO_3_X_PARTIAL_PROXY_NAME); } } From 3df1704b1d4b1eb512f8a5f2d3b3c6044bd209b2 Mon Sep 17 00:00:00 2001 From: jimin Date: Wed, 20 Dec 2023 14:43:37 +0800 Subject: [PATCH 025/183] security: upgrade kafka-clients to 3.5.2 (#6147) --- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + dependencies/pom.xml | 12 ++++++++++++ server/pom.xml | 4 ++++ 4 files changed, 18 insertions(+) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index bfadcdac546..e41930be386 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -29,6 +29,7 @@ Add changes here for all PR submitted to the 2.x branch. ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities - [[#6144](https://github.com/seata/seata/pull/6144)] upgrade nacos client to 1.4.6 +- [[#6147](https://github.com/seata/seata/pull/6147)] upgrade kafka-clients to 3.6.1 ### test: - [[#6081](https://github.com/seata/seata/pull/6081)] add `test-os.yml` for testing the OS diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index dce757be33d..8d577b86690 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -29,6 +29,7 @@ - [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 - [[#6144](https://github.com/seata/seata/pull/6144)] 升级Nacos依赖版本至1.4.6 - [[#6145](https://github.com/seata/seata/pull/6145)] 升级 jettison依赖版本至1.5.4 +- [[#6147](https://github.com/seata/seata/pull/6147)] 升级 kafka-clients依赖至3.6.1 ### test: - [[#6081](https://github.com/seata/seata/pull/6081)] 添加 `test-os.yml` 用于测试seata在各种操作系统下的运行情况 diff --git a/dependencies/pom.xml b/dependencies/pom.xml index 789bb261080..4de38732ea6 100644 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -92,6 +92,7 @@ 1.2.9 6.5 0.2.0-RC2 + 3.6.1 3.8.0 @@ -697,6 +698,17 @@ com.github.danielwegener logback-kafka-appender ${kafka-appender.version} + + + org.apache.kafka + kafka-clients + + + + + org.apache.kafka + kafka-clients + ${kafka-clients.version} diff --git a/server/pom.xml b/server/pom.xml index 68880f07bbf..de2f9961221 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -242,6 +242,10 @@ com.github.danielwegener logback-kafka-appender + + org.apache.kafka + kafka-clients + com.alipay.sofa jraft-core From 3baeb4924ae3b691dd5543e431d68510a0769e7f Mon Sep 17 00:00:00 2001 From: jimin Date: Thu, 21 Dec 2023 11:19:54 +0800 Subject: [PATCH 026/183] optimize: update source header (#6176) --- .licenserc.yaml | 27 +-- all/pom.xml | 31 +-- bom/pom.xml | 31 +-- build/pom.xml | 33 ++-- changeVersion.sh | 17 ++ codecov.yml | 17 ++ common/pom.xml | 31 +-- .../io/seata/common/ConfigurationKeys.java | 23 +-- .../main/java/io/seata/common/Constants.java | 23 +-- .../java/io/seata/common/DefaultValues.java | 23 +-- .../io/seata/common/LockStrategyMode.java | 23 +-- common/src/main/java/io/seata/common/XID.java | 23 +-- .../AuthenticationFailedException.java | 23 +-- .../common/exception/DataAccessException.java | 23 +-- .../exception/EurekaRegistryException.java | 23 +-- .../common/exception/FrameworkErrorCode.java | 23 +-- .../common/exception/FrameworkException.java | 23 +-- .../common/exception/JsonParseException.java | 23 +-- .../exception/NotSupportYetException.java | 23 +-- .../common/exception/RedisException.java | 23 +-- .../common/exception/RetryableException.java | 23 +-- .../exception/ShouldNeverHappenException.java | 23 +-- .../SkipCallbackWrapperException.java | 23 +-- .../common/exception/StoreException.java | 23 +-- .../io/seata/common/executor/Callback.java | 23 +-- .../io/seata/common/executor/Initialize.java | 23 +-- .../io/seata/common/holder/ObjectHolder.java | 23 +-- .../java/io/seata/common/io/FileLoader.java | 23 +-- .../common/loader/EnhancedServiceLoader.java | 23 +-- .../EnhancedServiceNotFoundException.java | 23 +-- .../common/loader/ExtensionDefinition.java | 23 +-- .../io/seata/common/loader/LoadLevel.java | 23 +-- .../java/io/seata/common/loader/Scope.java | 23 +-- .../io/seata/common/metadata/ClusterRole.java | 23 +-- .../io/seata/common/metadata/Metadata.java | 23 +-- .../common/metadata/MetadataResponse.java | 23 +-- .../java/io/seata/common/metadata/Node.java | 23 +-- .../java/io/seata/common/rpc/RpcStatus.java | 23 +-- .../java/io/seata/common/store/StoreMode.java | 23 +-- .../common/thread/NamedThreadFactory.java | 23 +-- .../common/thread/PositiveAtomicCounter.java | 23 +-- .../seata/common/thread/RejectedPolicies.java | 23 +-- .../java/io/seata/common/util/ArrayUtils.java | 23 +-- .../java/io/seata/common/util/BeanUtils.java | 23 +-- .../java/io/seata/common/util/BlobUtils.java | 23 +-- .../io/seata/common/util/BufferUtils.java | 20 +- .../io/seata/common/util/CollectionUtils.java | 23 +-- .../io/seata/common/util/CompressUtil.java | 23 +-- .../io/seata/common/util/ConfigTools.java | 23 +-- .../common/util/CycleDependencyHandler.java | 23 +-- .../java/io/seata/common/util/DateUtil.java | 24 +-- .../io/seata/common/util/DurationUtil.java | 23 +-- .../io/seata/common/util/HttpClientUtil.java | 23 +-- .../java/io/seata/common/util/IOUtil.java | 23 +-- .../java/io/seata/common/util/IdWorker.java | 23 +-- .../io/seata/common/util/LambdaUtils.java | 23 +-- .../common/util/LowerCaseLinkHashMap.java | 23 +-- .../java/io/seata/common/util/MapUtil.java | 23 +-- .../common/util/NetAddressValidatorUtil.java | 23 +-- .../java/io/seata/common/util/NetUtil.java | 23 +-- .../io/seata/common/util/NumberUtils.java | 23 +-- .../java/io/seata/common/util/PageUtil.java | 23 +-- .../io/seata/common/util/ReflectionUtil.java | 23 +-- .../java/io/seata/common/util/SizeUtil.java | 23 +-- .../seata/common/util/StringFormatUtils.java | 23 +-- .../io/seata/common/util/StringUtils.java | 23 +-- .../test/java/io/seata/common/BranchDO.java | 23 +-- .../test/java/io/seata/common/XIDTest.java | 23 +-- .../exception/DataAccessExceptionTest.java | 23 +-- .../EurekaRegistryExceptionTest.java | 23 +-- .../exception/FrameworkExceptionTest.java | 23 +-- .../io/seata/common/exception/Message.java | 23 +-- .../exception/NotSupportYetExceptionTest.java | 23 +-- .../ShouldNeverHappenExceptionTest.java | 23 +-- .../common/exception/StoreExceptionTest.java | 23 +-- .../seata/common/holder/ObjectHolderTest.java | 24 +-- .../io/seata/common/io/FileLoaderTest.java | 24 +-- .../io/seata/common/loader/ChineseHello.java | 23 +-- .../io/seata/common/loader/EnglishHello.java | 23 +-- .../loader/EnhancedServiceLoaderTest.java | 23 +-- .../loader/ExtensionDefinitionTest.java | 24 +-- .../io/seata/common/loader/FrenchHello.java | 23 +-- .../java/io/seata/common/loader/Hello.java | 23 +-- .../java/io/seata/common/loader/Hello1.java | 16 ++ .../java/io/seata/common/loader/Hello2.java | 24 +-- .../io/seata/common/loader/JapaneseHello.java | 24 +-- .../io/seata/common/loader/LatinHello.java | 23 +-- .../io/seata/common/rpc/RpcStatusTest.java | 23 +-- .../common/thread/NamedThreadFactoryTest.java | 23 +-- .../thread/PositiveAtomicCounterTest.java | 23 +-- .../common/thread/RejectedPoliciesTest.java | 23 +-- .../io/seata/common/util/ArrayUtilsTest.java | 24 +-- .../io/seata/common/util/BeanUtilsTest.java | 23 +-- .../io/seata/common/util/BlobUtilsTest.java | 23 +-- .../common/util/CollectionUtilsTest.java | 23 +-- .../seata/common/util/CompressUtilTest.java | 23 +-- .../io/seata/common/util/ConfigToolsTest.java | 23 +-- .../io/seata/common/util/DateUtilTest.java | 24 +-- .../seata/common/util/DurationUtilTest.java | 23 +-- .../java/io/seata/common/util/IOUtilTest.java | 23 +-- .../io/seata/common/util/IdWorkerTest.java | 23 +-- .../common/util/LowerCaseLinkHashMapTest.java | 24 +-- .../io/seata/common/util/MapUtilTest.java | 24 +-- .../util/NetAddressValidatorUtilTest.java | 16 ++ .../io/seata/common/util/NetUtilTest.java | 23 +-- .../io/seata/common/util/NumberUtilsTest.java | 23 +-- .../io/seata/common/util/PageUtilTest.java | 23 +-- .../seata/common/util/ReflectionUtilTest.java | 23 +-- .../io/seata/common/util/SizeUtilTest.java | 23 +-- .../common/util/StringFormatUtilsTest.java | 23 +-- .../io/seata/common/util/StringUtilsTest.java | 23 +-- common/src/test/resources/io/TestFile.txt | 23 +-- compressor/pom.xml | 31 +-- compressor/seata-compressor-all/pom.xml | 31 +-- compressor/seata-compressor-bzip2/pom.xml | 31 +-- .../compressor/bzip2/BZip2Compressor.java | 23 +-- .../io/seata/compressor/bzip2/BZip2Util.java | 23 +-- .../compressor/bzip2/BZip2CompressorTest.java | 23 +-- .../seata/compressor/bzip2/BZip2UtilTest.java | 23 +-- compressor/seata-compressor-deflater/pom.xml | 31 +-- .../deflater/DeflaterCompressor.java | 23 +-- .../compressor/deflater/DeflaterUtil.java | 23 +-- .../deflater/DeflaterCompressorTest.java | 23 +-- .../compressor/deflater/DeflaterUtilTest.java | 23 +-- compressor/seata-compressor-gzip/pom.xml | 31 +-- .../seata/compressor/gzip/GzipCompressor.java | 23 +-- .../io/seata/compressor/gzip/GzipUtil.java | 23 +-- .../compressor/gzip/GzipCompressorTest.java | 23 +-- .../seata/compressor/gzip/GzipUtilTest.java | 23 +-- compressor/seata-compressor-lz4/pom.xml | 31 +-- .../seata/compressor/lz4/Lz4Compressor.java | 23 +-- .../java/io/seata/compressor/lz4/Lz4Util.java | 23 +-- .../compressor/lz4/Lz4CompressorTest.java | 23 +-- .../io/seata/compressor/lz4/Lz4UtilTest.java | 23 +-- compressor/seata-compressor-zip/pom.xml | 31 +-- .../seata/compressor/zip/ZipCompressor.java | 23 +-- .../java/io/seata/compressor/zip/ZipUtil.java | 23 +-- .../compressor/zip/ZipCompressorTest.java | 23 +-- .../io/seata/compressor/zip/ZipUtilTest.java | 23 +-- compressor/seata-compressor-zstd/pom.xml | 31 +-- .../seata/compressor/zstd/ZstdCompressor.java | 23 +-- .../io/seata/compressor/zstd/ZstdUtil.java | 23 +-- .../compressor/zstd/ZstdCompressorTest.java | 23 +-- .../seata/compressor/zstd/ZstdUtilTest.java | 23 +-- config/pom.xml | 31 +-- config/seata-config-all/pom.xml | 31 +-- config/seata-config-apollo/pom.xml | 31 +-- .../config/apollo/ApolloConfiguration.java | 23 +-- .../apollo/ApolloConfigurationProvider.java | 23 +-- config/seata-config-consul/pom.xml | 31 +-- .../config/consul/ConsulConfiguration.java | 23 +-- .../consul/ConsulConfigurationProvider.java | 23 +-- config/seata-config-core/pom.xml | 31 +-- .../seata/config/AbstractConfiguration.java | 23 +-- .../io/seata/config/ConfigChangeListener.java | 23 +-- .../java/io/seata/config/ConfigFuture.java | 23 +-- .../main/java/io/seata/config/ConfigType.java | 23 +-- .../java/io/seata/config/Configuration.java | 23 +-- .../io/seata/config/ConfigurationCache.java | 23 +-- .../config/ConfigurationChangeEvent.java | 23 +-- .../config/ConfigurationChangeListener.java | 23 +-- .../seata/config/ConfigurationChangeType.java | 23 +-- .../io/seata/config/ConfigurationFactory.java | 23 +-- .../io/seata/config/ConfigurationKeys.java | 23 +-- .../seata/config/ConfigurationProvider.java | 23 +-- .../config/ExtConfigurationProvider.java | 23 +-- .../io/seata/config/FileConfigFactory.java | 23 +-- .../io/seata/config/FileConfiguration.java | 23 +-- .../exception/ConfigNotFoundException.java | 24 +-- .../java/io/seata/config/file/FileConfig.java | 23 +-- .../seata/config/file/SimpleFileConfig.java | 23 +-- .../io/seata/config/file/YamlFileConfig.java | 23 +-- .../config/processor/ConfigDataType.java | 23 +-- .../config/processor/ConfigProcessor.java | 23 +-- .../io/seata/config/processor/Processor.java | 23 +-- .../config/processor/ProcessorProperties.java | 23 +-- .../seata/config/processor/ProcessorYaml.java | 23 +-- .../io/seata/config/ConfigFutureTest.java | 24 +-- .../java/io/seata/config/ConfigProperty.java | 23 +-- .../java/io/seata/config/ConfigTypeTest.java | 24 +-- .../seata/config/ConfigurationCacheTests.java | 23 +-- .../config/ConfigurationChangeEventTest.java | 24 +-- .../seata/config/FileConfigurationTest.java | 23 +-- .../config/ProConfigurationFactoryTest.java | 23 +-- .../RegistryConfigurationFactoryTest.java | 23 +-- .../config/YamlConfigurationFactoryTest.java | 23 +-- .../config/file/SimpleFileConfigTest.java | 24 +-- .../seata/config/file/YamlFileConfigTest.java | 24 +-- .../config/processor/ConfigDataTypeTest.java | 24 +-- .../config/processor/ConfigProcessorTest.java | 23 +-- .../processor/ProcessorPropertiesTest.java | 24 +-- .../src/test/resources/file-test-pro.conf | 24 ++- .../src/test/resources/file-test-yaml.conf | 24 ++- .../src/test/resources/file-test.conf | 24 ++- .../src/test/resources/file.conf | 24 ++- .../resources/registry-test-pro.properties | 24 ++- .../src/test/resources/registry-test-yaml.yml | 23 ++- .../src/test/resources/registry-test.conf | 24 ++- .../src/test/resources/registry.conf | 24 ++- config/seata-config-custom/pom.xml | 31 +-- .../custom/CustomConfigurationProvider.java | 23 +-- .../io/seata/config/ConfigurationTest.java | 23 +-- .../config/CustomConfigurationForTest.java | 23 +-- .../CustomConfigurationProviderForTest.java | 23 +-- .../seata/config/CustomConfigurationTest.java | 23 +-- .../test/resources/custom_for_test.properties | 23 +-- .../src/test/resources/registry.conf | 23 ++- config/seata-config-etcd3/pom.xml | 31 +-- .../seata/config/etcd3/EtcdConfiguration.java | 23 +-- .../etcd3/EtcdConfigurationProvider.java | 23 +-- config/seata-config-nacos/pom.xml | 31 +-- .../config/nacos/NacosConfiguration.java | 23 +-- .../nacos/NacosConfigurationProvider.java | 23 +-- .../config/nacos/NacosConfigurationTest.java | 23 +-- .../src/test/resources/registry.conf | 23 ++- config/seata-config-spring-cloud/pom.xml | 31 +-- .../springcloud/EnableSeataSpringConfig.java | 23 +-- .../SpringApplicationContextProvider.java | 23 +-- ...ngApplicationContextProviderRegistrar.java | 23 +-- .../springcloud/SpringCloudConfiguration.java | 23 +-- .../SpringCloudConfigurationProvider.java | 23 +-- config/seata-config-zk/pom.xml | 31 +-- .../seata/config/zk/DefaultZkSerializer.java | 23 +-- .../config/zk/ZookeeperConfiguration.java | 23 +-- .../zk/ZookeeperConfigurationProvider.java | 23 +-- console/pom.xml | 31 +-- .../java/io/seata/console/Application.java | 23 +-- .../seata/console/config/JacksonConfig.java | 23 +-- .../console/config/WebSecurityConfig.java | 23 +-- .../java/io/seata/console/constant/Code.java | 23 +-- .../console/controller/AuthController.java | 23 +-- .../controller/OverviewController.java | 23 +-- .../filter/JwtAuthenticationTokenFilter.java | 23 +-- .../io/seata/console/param/BaseParam.java | 23 +-- .../io/seata/console/result/PageResult.java | 23 +-- .../java/io/seata/console/result/Result.java | 23 +-- .../io/seata/console/result/SingleResult.java | 23 +-- .../CustomAuthenticationProvider.java | 23 +-- .../console/security/CustomUserDetails.java | 23 +-- .../CustomUserDetailsServiceImpl.java | 23 +-- .../security/JwtAuthenticationEntryPoint.java | 23 +-- .../java/io/seata/console/security/User.java | 23 +-- .../io/seata/console/utils/JwtTokenUtils.java | 23 +-- .../static/console-fe/test/install.sh | 17 ++ .../resources/static/console-fe/test/run.bat | 17 ++ .../resources/static/console-fe/test/run.sh | 17 ++ core/pom.xml | 30 +-- .../java/io/seata/core/auth/AuthSigner.java | 23 +-- .../io/seata/core/auth/DefaultAuthSigner.java | 23 +-- .../io/seata/core/auth/RamSignAdapter.java | 23 +-- .../io/seata/core/compressor/Compressor.java | 23 +-- .../core/compressor/CompressorFactory.java | 23 +-- .../seata/core/compressor/CompressorType.java | 23 +-- .../constants/ClientTableColumnsName.java | 23 +-- .../core/constants/ConfigurationKeys.java | 23 +-- .../java/io/seata/core/constants/DBType.java | 23 +-- .../seata/core/constants/DubboConstants.java | 23 +-- .../core/constants/RedisKeyConstants.java | 23 +-- .../core/constants/RpcMessageConstants.java | 23 +-- .../constants/ServerTableColumnsName.java | 23 +-- .../io/seata/core/context/ContextCore.java | 23 +-- .../seata/core/context/ContextCoreLoader.java | 23 +-- .../context/FastThreadLocalContextCore.java | 23 +-- .../core/context/GlobalLockConfigHolder.java | 23 +-- .../io/seata/core/context/RootContext.java | 23 +-- .../core/context/ThreadLocalContextCore.java | 23 +-- .../main/java/io/seata/core/event/Event.java | 23 +-- .../java/io/seata/core/event/EventBus.java | 23 +-- .../io/seata/core/event/ExceptionEvent.java | 20 +- .../core/event/GlobalTransactionEvent.java | 23 +-- .../io/seata/core/event/GuavaEventBus.java | 23 +-- .../exception/AbstractExceptionHandler.java | 23 +-- .../exception/BranchTransactionException.java | 23 +-- .../seata/core/exception/DecodeException.java | 23 +-- .../exception/GlobalTransactionException.java | 23 +-- .../exception/RmTransactionException.java | 23 +-- .../exception/TmTransactionException.java | 23 +-- .../core/exception/TransactionException.java | 23 +-- .../exception/TransactionExceptionCode.java | 23 +-- .../io/seata/core/lock/AbstractLocker.java | 23 +-- .../io/seata/core/lock/LocalDBLocker.java | 23 +-- .../main/java/io/seata/core/lock/Locker.java | 23 +-- .../main/java/io/seata/core/lock/RowLock.java | 23 +-- .../seata/core/logger/StackTraceLogger.java | 23 +-- .../io/seata/core/model/BranchStatus.java | 23 +-- .../java/io/seata/core/model/BranchType.java | 23 +-- .../io/seata/core/model/GlobalLockConfig.java | 23 +-- .../io/seata/core/model/GlobalStatus.java | 23 +-- .../java/io/seata/core/model/LockStatus.java | 23 +-- .../java/io/seata/core/model/Resource.java | 23 +-- .../io/seata/core/model/ResourceManager.java | 23 +-- .../core/model/ResourceManagerInbound.java | 23 +-- .../core/model/ResourceManagerOutbound.java | 23 +-- .../main/java/io/seata/core/model/Result.java | 23 +-- .../seata/core/model/TransactionManager.java | 23 +-- .../protocol/AbstractIdentifyRequest.java | 23 +-- .../protocol/AbstractIdentifyResponse.java | 23 +-- .../seata/core/protocol/AbstractMessage.java | 23 +-- .../core/protocol/AbstractResultMessage.java | 23 +-- .../core/protocol/BatchResultMessage.java | 23 +-- .../seata/core/protocol/HeartbeatMessage.java | 23 +-- .../IncompatibleVersionException.java | 23 +-- .../io/seata/core/protocol/MergeMessage.java | 23 +-- .../core/protocol/MergeResultMessage.java | 23 +-- .../core/protocol/MergedWarpMessage.java | 23 +-- .../io/seata/core/protocol/MessageFuture.java | 23 +-- .../io/seata/core/protocol/MessageType.java | 23 +-- .../seata/core/protocol/MessageTypeAware.java | 23 +-- .../core/protocol/ProtocolConstants.java | 23 +-- .../core/protocol/RegisterRMRequest.java | 23 +-- .../core/protocol/RegisterRMResponse.java | 23 +-- .../core/protocol/RegisterTMRequest.java | 23 +-- .../core/protocol/RegisterTMResponse.java | 23 +-- .../io/seata/core/protocol/ResultCode.java | 23 +-- .../io/seata/core/protocol/RpcMessage.java | 23 +-- .../java/io/seata/core/protocol/Version.java | 23 +-- .../core/protocol/VersionInfo.java.template | 23 +-- .../transaction/AbstractBranchEndRequest.java | 23 +-- .../AbstractBranchEndResponse.java | 23 +-- .../transaction/AbstractGlobalEndRequest.java | 23 +-- .../AbstractGlobalEndResponse.java | 23 +-- .../AbstractTransactionRequest.java | 23 +-- .../AbstractTransactionRequestToRM.java | 23 +-- .../AbstractTransactionRequestToTC.java | 23 +-- .../AbstractTransactionResponse.java | 23 +-- .../transaction/BranchCommitRequest.java | 23 +-- .../transaction/BranchCommitResponse.java | 23 +-- .../transaction/BranchRegisterRequest.java | 23 +-- .../transaction/BranchRegisterResponse.java | 23 +-- .../transaction/BranchReportRequest.java | 23 +-- .../transaction/BranchReportResponse.java | 23 +-- .../transaction/BranchRollbackRequest.java | 23 +-- .../transaction/BranchRollbackResponse.java | 23 +-- .../transaction/GlobalBeginRequest.java | 23 +-- .../transaction/GlobalBeginResponse.java | 23 +-- .../transaction/GlobalCommitRequest.java | 23 +-- .../transaction/GlobalCommitResponse.java | 23 +-- .../transaction/GlobalLockQueryRequest.java | 23 +-- .../transaction/GlobalLockQueryResponse.java | 23 +-- .../transaction/GlobalReportRequest.java | 23 +-- .../transaction/GlobalReportResponse.java | 23 +-- .../transaction/GlobalRollbackRequest.java | 23 +-- .../transaction/GlobalRollbackResponse.java | 23 +-- .../transaction/GlobalStatusRequest.java | 23 +-- .../transaction/GlobalStatusResponse.java | 23 +-- .../transaction/RMInboundHandler.java | 23 +-- .../transaction/TCInboundHandler.java | 23 +-- .../transaction/UndoLogDeleteRequest.java | 23 +-- .../seata/core/rpc/ClientMessageListener.java | 23 +-- .../seata/core/rpc/ClientMessageSender.java | 23 +-- .../java/io/seata/core/rpc/ClientType.java | 23 +-- .../rpc/DefaultServerMessageListenerImpl.java | 23 +-- .../java/io/seata/core/rpc/Disposable.java | 23 +-- .../core/rpc/RegisterCheckAuthHandler.java | 23 +-- .../io/seata/core/rpc/RemotingBootstrap.java | 23 +-- .../io/seata/core/rpc/RemotingClient.java | 23 +-- .../io/seata/core/rpc/RemotingServer.java | 23 +-- .../io/seata/core/rpc/RemotingService.java | 23 +-- .../java/io/seata/core/rpc/RpcContext.java | 23 +-- .../seata/core/rpc/ServerMessageListener.java | 23 +-- .../seata/core/rpc/ServerMessageSender.java | 23 +-- .../java/io/seata/core/rpc/ShutdownHook.java | 23 +-- .../core/rpc/TransactionMessageHandler.java | 23 +-- .../seata/core/rpc/TransportProtocolType.java | 23 +-- .../seata/core/rpc/TransportServerType.java | 23 +-- .../java/io/seata/core/rpc/hook/RpcHook.java | 23 +-- .../io/seata/core/rpc/hook/StatusRpcHook.java | 23 +-- .../core/rpc/netty/AbstractNettyRemoting.java | 23 +-- .../netty/AbstractNettyRemotingClient.java | 23 +-- .../netty/AbstractNettyRemotingServer.java | 23 +-- .../rpc/netty/ChannelAuthHealthChecker.java | 23 +-- .../core/rpc/netty/ChannelEventListener.java | 23 +-- .../seata/core/rpc/netty/ChannelManager.java | 23 +-- .../io/seata/core/rpc/netty/ChannelUtil.java | 23 +-- .../seata/core/rpc/netty/NettyBaseConfig.java | 23 +-- .../core/rpc/netty/NettyClientBootstrap.java | 23 +-- .../rpc/netty/NettyClientChannelManager.java | 23 +-- .../core/rpc/netty/NettyClientConfig.java | 23 +-- .../io/seata/core/rpc/netty/NettyPoolKey.java | 23 +-- .../core/rpc/netty/NettyPoolableFactory.java | 23 +-- .../core/rpc/netty/NettyRemotingServer.java | 23 +-- .../core/rpc/netty/NettyServerBootstrap.java | 23 +-- .../core/rpc/netty/NettyServerConfig.java | 23 +-- .../core/rpc/netty/RegisterMsgListener.java | 23 +-- .../core/rpc/netty/RmNettyRemotingClient.java | 23 +-- .../core/rpc/netty/RpcEventLoopGroup.java | 23 +-- .../core/rpc/netty/TmNettyRemotingClient.java | 23 +-- .../core/rpc/netty/v1/HeadMapSerializer.java | 23 +-- .../core/rpc/netty/v1/ProtocolV1Decoder.java | 23 +-- .../core/rpc/netty/v1/ProtocolV1Encoder.java | 23 +-- .../io/seata/core/rpc/processor/Pair.java | 23 +-- .../core/rpc/processor/RemotingProcessor.java | 23 +-- .../client/ClientHeartbeatProcessor.java | 23 +-- .../client/ClientOnResponseProcessor.java | 23 +-- .../client/RmBranchCommitProcessor.java | 23 +-- .../client/RmBranchRollbackProcessor.java | 23 +-- .../processor/client/RmUndoLogProcessor.java | 23 +-- .../rpc/processor/server/BatchLogHandler.java | 23 +-- .../rpc/processor/server/RegRmProcessor.java | 23 +-- .../rpc/processor/server/RegTmProcessor.java | 23 +-- .../server/ServerHeartbeatProcessor.java | 23 +-- .../server/ServerOnRequestProcessor.java | 23 +-- .../server/ServerOnResponseProcessor.java | 23 +-- .../io/seata/core/serializer/Serializer.java | 23 +-- .../SerializerSecurityRegistry.java | 23 +-- .../serializer/SerializerServiceLoader.java | 23 +-- .../seata/core/serializer/SerializerType.java | 23 +-- .../seata/core/store/BranchTransactionDO.java | 23 +-- .../core/store/DefaultDistributedLocker.java | 23 +-- .../seata/core/store/DistributedLockDO.java | 23 +-- .../seata/core/store/DistributedLocker.java | 23 +-- .../seata/core/store/GlobalTransactionDO.java | 23 +-- .../main/java/io/seata/core/store/LockDO.java | 23 +-- .../java/io/seata/core/store/LockStore.java | 23 +-- .../java/io/seata/core/store/LogStore.java | 23 +-- .../store/db/AbstractDataSourceProvider.java | 23 +-- .../core/store/db/DataSourceProvider.java | 23 +-- .../lock/BaseDistributedLockSql.java | 23 +-- .../distributed/lock/DistributedLockSql.java | 23 +-- .../lock/DistributedLockSqlFactory.java | 23 +-- .../db/sql/lock/AbstractLockStoreSql.java | 23 +-- .../store/db/sql/lock/DmLockStoreSql.java | 23 +-- .../store/db/sql/lock/H2LockStoreSql.java | 23 +-- .../core/store/db/sql/lock/LockStoreSql.java | 23 +-- .../db/sql/lock/LockStoreSqlFactory.java | 23 +-- .../db/sql/lock/MariadbLockStoreSql.java | 23 +-- .../store/db/sql/lock/MysqlLockStoreSql.java | 23 +-- .../db/sql/lock/OceanbaseLockStoreSql.java | 23 +-- .../store/db/sql/lock/OracleLockStoreSql.java | 23 +-- .../db/sql/lock/PolarDBXLockStoreSql.java | 23 +-- .../db/sql/lock/PostgresqlLockStoreSql.java | 23 +-- .../db/sql/lock/SqlServerLockStoreSql.java | 23 +-- .../db/sql/log/AbstractLogStoreSqls.java | 23 +-- .../core/store/db/sql/log/DmLogStoreSqls.java | 23 +-- .../core/store/db/sql/log/H2LogStoreSqls.java | 23 +-- .../core/store/db/sql/log/LogStoreSqls.java | 23 +-- .../store/db/sql/log/LogStoreSqlsFactory.java | 23 +-- .../store/db/sql/log/MariadbLogStoreSqls.java | 23 +-- .../store/db/sql/log/MysqlLogStoreSqls.java | 23 +-- .../db/sql/log/OceanbaseLogStoreSqls.java | 23 +-- .../store/db/sql/log/OracleLogStoreSqls.java | 23 +-- .../db/sql/log/PolarDBXLogStoreSqls.java | 23 +-- .../db/sql/log/PostgresqlLogStoreSqls.java | 23 +-- .../db/sql/log/SqlServerLogStoreSqls.java | 23 +-- core/src/main/log4j.properties | 23 +-- core/src/main/logback.xml | 32 +-- .../seata/core/context/ContextCoreTest.java | 23 +-- .../context/GlobalLockConfigHolderTest.java | 23 +-- .../seata/core/context/RootContextTest.java | 23 +-- .../seata/core/event/GuavaEventBusTest.java | 23 +-- .../core/message/BranchCommitRequestTest.java | 23 +-- .../message/BranchCommitResponseTest.java | 23 +-- .../message/BranchRegisterRequestTest.java | 23 +-- .../message/BranchRegisterResponseTest.java | 23 +-- .../core/message/BranchReportRequestTest.java | 23 +-- .../core/message/GlobalBeginRequestTest.java | 23 +-- .../message/GlobalCommitResponseTest.java | 23 +-- .../message/GlobalRollbackRequestTest.java | 23 +-- .../core/message/RegisterTMRequestTest.java | 23 +-- .../core/message/RegisterTMResponseTest.java | 23 +-- .../io/seata/core/model/BranchStatusTest.java | 23 +-- .../io/seata/core/model/BranchTypeTest.java | 23 +-- .../io/seata/core/model/GlobalStatusTest.java | 23 +-- .../model/TransactionExceptionCodeTest.java | 23 +-- .../core/protocol/BatchResultMessageTest.java | 23 +-- .../core/protocol/HeartbeatMessageTest.java | 23 +-- .../core/protocol/MergeResultMessageTest.java | 23 +-- .../core/protocol/MergedWarpMessageTest.java | 23 +-- .../core/protocol/MessageFutureTest.java | 23 +-- .../core/protocol/RegisterRMRequestTest.java | 23 +-- .../core/protocol/RegisterRMResponseTest.java | 23 +-- .../core/protocol/RegisterTMRequestTest.java | 85 ++++---- .../seata/core/protocol/ResultCodeTest.java | 23 +-- .../seata/core/protocol/RpcMessageTest.java | 23 +-- .../io/seata/core/protocol/VersionTest.java | 23 +-- .../BranchRollbackRequestTest.java | 23 +-- .../BranchRollbackResponseTest.java | 23 +-- .../transaction/GlobalBeginResponseTest.java | 23 +-- .../io/seata/core/rpc/RpcContextTest.java | 23 +-- .../io/seata/core/rpc/ShutdownHookTest.java | 23 +-- .../rpc/netty/MessageCodecHandlerTest.java | 23 +-- .../core/rpc/netty/NettyBaseConfigTest.java | 23 +-- .../netty/NettyClientChannelManagerTest.java | 23 +-- .../core/rpc/netty/NettyPoolKeyTest.java | 23 +-- .../core/rpc/netty/RmNettyClientTest.java | 23 +-- .../core/rpc/netty/TmNettyClientTest.java | 23 +-- .../SerializerSecurityRegistryTest.java | 24 +-- .../db/sql/lock/LockStoreSqlFactoryTest.java | 23 +-- .../db/sql/log/LogStoreSqlsFactoryTest.java | 23 +-- core/src/test/resources/file.conf | 17 ++ core/src/test/resources/registry.conf | 24 ++- dependencies/pom.xml | 31 +-- discovery/pom.xml | 30 +-- discovery/seata-discovery-all/pom.xml | 31 +-- discovery/seata-discovery-consul/pom.xml | 31 +-- .../registry/consul/ConsulListener.java | 23 +-- .../consul/ConsulRegistryProvider.java | 23 +-- .../consul/ConsulRegistryServiceImpl.java | 23 +-- .../consul/ConsulRegistryServiceImplTest.java | 23 +-- .../src/test/resources/file.conf | 17 ++ .../src/test/resources/registry.conf | 24 ++- discovery/seata-discovery-core/pom.xml | 31 +-- .../ConsistentHashLoadBalance.java | 23 +-- .../loadbalance/LeastActiveLoadBalance.java | 23 +-- .../discovery/loadbalance/LoadBalance.java | 23 +-- .../loadbalance/LoadBalanceFactory.java | 23 +-- .../loadbalance/RandomLoadBalance.java | 23 +-- .../loadbalance/RoundRobinLoadBalance.java | 23 +-- .../discovery/loadbalance/XIDLoadBalance.java | 23 +-- .../registry/FileRegistryProvider.java | 23 +-- .../registry/FileRegistryServiceImpl.java | 23 +-- .../registry/MultiRegistryFactory.java | 23 +-- .../discovery/registry/RegistryFactory.java | 23 +-- .../registry/RegistryHeartBeats.java | 23 +-- .../discovery/registry/RegistryProvider.java | 23 +-- .../discovery/registry/RegistryService.java | 23 +-- .../discovery/registry/RegistryType.java | 23 +-- .../config/ConfigurationFactoryTest.java | 23 +-- .../loadbalance/LoadBalanceFactoryTest.java | 23 +-- .../loadbalance/LoadBalanceTest.java | 23 +-- .../src/test/resources/apollo.properties | 23 +-- .../src/test/resources/file.conf | 23 +-- .../src/test/resources/registry.conf | 24 ++- discovery/seata-discovery-custom/pom.xml | 31 +-- .../custom/CustomRegistryProvider.java | 23 +-- .../custom/CustomRegistryProviderForTest.java | 23 +-- .../custom/CustomRegistryServiceForTest.java | 23 +-- .../registry/custom/CustomRegistryTest.java | 23 +-- .../src/test/resources/registry.conf | 23 ++- discovery/seata-discovery-etcd3/pom.xml | 31 +-- .../registry/etcd3/EtcdRegistryProvider.java | 23 +-- .../etcd3/EtcdRegistryServiceImpl.java | 23 +-- .../etcd/EtcdRegistryProviderTest.java | 23 +-- .../etcd/EtcdRegistryServiceImplTest.java | 23 +-- .../src/test/resources/file.conf | 17 ++ .../src/test/resources/registry.conf | 24 ++- discovery/seata-discovery-eureka/pom.xml | 31 +-- .../eureka/CustomEurekaInstanceConfig.java | 23 +-- .../eureka/EurekaRegistryProvider.java | 23 +-- .../eureka/EurekaRegistryServiceImpl.java | 23 +-- discovery/seata-discovery-nacos/pom.xml | 31 +-- .../registry/nacos/NacosRegistryProvider.java | 23 +-- .../nacos/NacosRegistryServiceImpl.java | 23 +-- .../nacos/NacosRegistryServiceImplTest.java | 23 +-- .../src/test/resources/registry.conf | 23 ++- discovery/seata-discovery-raft/pom.xml | 31 +-- .../registry/raft/RaftRegistryProvider.java | 23 +-- .../raft/RaftRegistryServiceImpl.java | 23 +-- .../raft/RaftRegistryServiceImplTest.java | 23 +-- .../src/test/resources/file.conf | 17 ++ .../src/test/resources/registry.conf | 23 ++- discovery/seata-discovery-redis/pom.xml | 31 +-- .../registry/redis/RedisListener.java | 23 +-- .../registry/redis/RedisRegistryProvider.java | 23 +-- .../redis/RedisRegistryServiceImpl.java | 23 +-- discovery/seata-discovery-sofa/pom.xml | 31 +-- .../registry/sofa/SofaRegistryProvider.java | 23 +-- .../sofa/SofaRegistryServiceImpl.java | 23 +-- discovery/seata-discovery-zk/pom.xml | 31 +-- .../zk/ZookeeperRegisterServiceImpl.java | 23 +-- .../zk/ZookeeperRegistryProvider.java | 23 +-- .../zk/ZookeeperRegisterServiceImplTest.java | 23 +-- .../zk/ZookeeperRegistryProviderTest.java | 23 +-- .../src/test/resources/file.conf | 17 ++ .../src/test/resources/registry.conf | 24 ++- distribution/Dockerfile | 13 +- distribution/bin/seata-server.bat | 13 +- distribution/bin/seata-server.sh | 13 +- distribution/bin/seata-setup.sh | 13 +- distribution/pom.xml | 31 +-- distribution/release-seata.xml | 31 +-- ext/apm-seata-skywalking-plugin/pom.xml | 31 +-- .../DefaultCoreDoGlobalCommitInterceptor.java | 23 +-- ...ettyRemotingClientSendSyncInterceptor.java | 23 +-- .../RemotingProcessorProcessInterceptor.java | 24 +-- .../plugin/common/SWSeataConstants.java | 23 +-- .../plugin/common/SWSeataUtils.java | 23 +-- .../plugin/common/SeataPluginConfig.java | 23 +-- .../AbstractNettyRemotingInstrumentation.java | 23 +-- .../define/DefaultCoreInstrumentation.java | 23 +-- .../RemotingProcessorInstrumentation.java | 23 +-- .../src/main/resources/skywalking-plugin.def | 23 ++- .../plugin/common/SWSeataUtilsTest.java | 23 +-- integration-tx-api/pom.xml | 31 +-- .../api/annotation/AspectTransactional.java | 23 +-- .../BusinessActionContextParameterDesc.java | 23 +-- .../tx/api/event/DegradeCheckEvent.java | 23 +-- .../api/fence/DefaultCommonFenceHandler.java | 23 +-- .../tx/api/fence/FenceHandler.java | 23 +-- .../api/fence/config/CommonFenceConfig.java | 23 +-- .../fence/constant/CommonFenceConstant.java | 23 +-- .../fence/exception/CommonFenceException.java | 23 +-- .../tx/api/fence/store/CommonFenceDO.java | 23 +-- .../tx/api/fence/store/CommonFenceStore.java | 23 +-- .../store/db/CommonFenceStoreDataBaseDAO.java | 23 +-- .../store/db/sql/CommonFenceStoreSqls.java | 23 +-- .../api/interceptor/ActionContextFilter.java | 23 +-- .../tx/api/interceptor/ActionContextUtil.java | 23 +-- .../interceptor/ActionInterceptorHandler.java | 23 +-- .../interceptor/DefaultInvocationWrapper.java | 23 +-- .../tx/api/interceptor/InvocationWrapper.java | 23 +-- .../tx/api/interceptor/SeataInterceptor.java | 23 +-- .../interceptor/SeataInterceptorPosition.java | 23 +-- .../TwoPhaseBusinessActionParam.java | 23 +-- .../tx/api/interceptor/TxBeanParserUtils.java | 23 +-- .../AbstractProxyInvocationHandler.java | 23 +-- .../handler/DefaultInvocationHandler.java | 23 +-- ...GlobalTransactionalInterceptorHandler.java | 23 +-- .../handler/ProxyInvocationHandler.java | 23 +-- .../parser/DefaultInterfaceParser.java | 23 +-- .../parser/DefaultResourceRegisterParser.java | 23 +-- .../parser/DefaultTargetClassParser.java | 23 +-- .../GlobalTransactionalInterceptorParser.java | 23 +-- .../interceptor/parser/InterfaceParser.java | 23 +-- .../parser/RegisterResourceParser.java | 23 +-- .../interceptor/parser/TargetClassParser.java | 23 +-- .../integration/tx/api/json/JsonParser.java | 23 +-- .../tx/api/json/JsonParserFactory.java | 23 +-- .../tx/api/json/JsonParserWrap.java | 23 +-- .../tx/api/remoting/Protocols.java | 23 +-- .../tx/api/remoting/RemotingDesc.java | 23 +-- .../tx/api/remoting/RemotingParser.java | 23 +-- .../tx/api/remoting/TwoPhaseResult.java | 23 +-- .../parser/AbstractedRemotingParser.java | 23 +-- .../parser/DefaultRemotingParser.java | 23 +-- .../remoting/parser/DubboRemotingParser.java | 23 +-- .../remoting/parser/HSFRemotingParser.java | 23 +-- .../parser/SofaRpcRemotingParser.java | 23 +-- .../integration/tx/api/util/ClassUtils.java | 133 ++++++------- .../integration/tx/api/util/DubboUtil.java | 23 +-- .../integration/tx/api/util/JsonUtil.java | 23 +-- .../integration/tx/api/util/ProxyUtil.java | 23 +-- .../rm/tcc/api/BusinessActionContext.java | 23 +-- .../api/BusinessActionContextParameter.java | 23 +-- .../rm/tcc/api/BusinessActionContextUtil.java | 23 +-- .../java/io/seata/rm/tcc/api/ParamType.java | 23 +-- .../seata/spring/annotation/GlobalLock.java | 23 +-- .../annotation/GlobalTransactional.java | 23 +-- .../ActionInterceptorHandlerTest.java | 23 +-- .../DefaultInvocationWrapperTest.java | 23 +-- .../tx/api/interceptor/TestAction.java | 23 +-- .../tx/api/interceptor/TestParam.java | 23 +-- .../tx/api/interceptor/parser/Business.java | 23 +-- .../api/interceptor/parser/BusinessImpl.java | 23 +-- ...balTransactionalInterceptorParserTest.java | 23 +-- .../ProxyUtilsGlobalTransactionalTest.java | 23 +-- .../src/test/resources/file.conf | 17 ++ .../src/test/resources/registry.conf | 24 ++- integration/brpc/pom.xml | 31 +-- ...ansactionPropagationClientInterceptor.java | 23 +-- ...ansactionPropagationServerInterceptor.java | 23 +-- .../brpc/TransactionInterceptorTest.java | 23 +-- .../io/seata/integration/brpc/dto/Echo.java | 23 +-- .../integration/brpc/server/EchoService.java | 23 +-- .../brpc/server/impl/EchoServiceImpl.java | 23 +-- integration/dubbo-alibaba/pom.xml | 30 +-- ...babaDubboTransactionPropagationFilter.java | 23 +-- ...DubboTransactionPropagationFilterTest.java | 23 +-- .../dubbo/alibaba/mock/MockInvoker.java | 23 +-- integration/dubbo/pom.xml | 31 +-- integration/grpc/pom.xml | 31 +-- .../grpc/interceptor/GrpcHeaderKey.java | 23 +-- .../client/ClientTransactionInterceptor.java | 23 +-- .../server/ServerListenerProxy.java | 23 +-- .../server/ServerTransactionInterceptor.java | 23 +-- .../grpc/interceptor/GrpcTest.java | 23 +-- integration/hsf/pom.xml | 31 +-- .../integration/hsf/HsfTransactionFilter.java | 23 +-- integration/http-jakarta/pom.xml | 31 +-- .../http/JakartaSeataWebMvcConfigurer.java | 23 +-- ...artaTransactionPropagationInterceptor.java | 23 +-- integration/http/pom.xml | 31 +-- .../http/AbstractHttpExecutor.java | 23 +-- .../integration/http/DefaultHttpExecutor.java | 23 +-- .../http/HandlerInterceptorAdapter.java | 23 +-- .../seata/integration/http/HttpExecutor.java | 23 +-- .../http/SeataWebMvcConfigurer.java | 23 +-- .../TransactionPropagationInterceptor.java | 23 +-- .../http/WebMvcConfigurerAdapter.java | 23 +-- .../seata/integration/http/XidResource.java | 23 +-- .../io/seata/integration/http/HttpTest.java | 23 +-- .../integration/http/MockController.java | 23 +-- .../integration/http/MockHttpExecuter.java | 23 +-- .../http/MockHttpServletRequest.java | 23 +-- .../seata/integration/http/MockRequest.java | 23 +-- .../seata/integration/http/MockResponse.java | 23 +-- .../seata/integration/http/MockWebServer.java | 23 +-- .../integration/http/ServletMapping.java | 23 +-- integration/motan/pom.xml | 30 +-- .../motan/MotanTransactionFilter.java | 23 +-- .../motan/MotanTransactionFilterTest.java | 23 +-- .../seata/integration/motan/XIDService.java | 23 +-- .../integration/motan/XIDServiceImpl.java | 23 +-- integration/rpc-core/pom.xml | 30 +-- .../integration/rpc/core/BaseRpcFilter.java | 24 +-- .../rpc/core/ConsumerRpcFilter.java | 24 +-- .../rpc/core/ProviderRpcFilter.java | 24 +-- integration/sofa-rpc/pom.xml | 31 +-- .../rpc/TransactionContextConsumerFilter.java | 23 +-- .../rpc/TransactionContextProviderFilter.java | 23 +-- .../integration/sofa/rpc/HelloService.java | 23 +-- .../sofa/rpc/HelloServiceImpl.java | 23 +-- .../sofa/rpc/HelloServiceProxy.java | 23 +-- .../rpc/TransactionContextFilterTest.java | 23 +-- metrics/pom.xml | 31 +-- metrics/seata-metrics-all/pom.xml | 31 +-- metrics/seata-metrics-api/pom.xml | 31 +-- .../src/main/java/io/seata/metrics/Clock.java | 23 +-- .../main/java/io/seata/metrics/Counter.java | 23 +-- .../src/main/java/io/seata/metrics/Gauge.java | 23 +-- .../src/main/java/io/seata/metrics/Id.java | 23 +-- .../java/io/seata/metrics/IdConstants.java | 23 +-- .../java/io/seata/metrics/Measurement.java | 23 +-- .../src/main/java/io/seata/metrics/Meter.java | 23 +-- .../main/java/io/seata/metrics/Summary.java | 23 +-- .../java/io/seata/metrics/SystemClock.java | 23 +-- .../src/main/java/io/seata/metrics/Timer.java | 23 +-- .../io/seata/metrics/exporter/Exporter.java | 23 +-- .../io/seata/metrics/registry/Registry.java | 23 +-- metrics/seata-metrics-core/pom.xml | 31 +-- .../metrics/exporter/ExporterFactory.java | 23 +-- .../seata/metrics/exporter/ExporterType.java | 23 +-- .../metrics/registry/RegistryFactory.java | 23 +-- .../seata/metrics/registry/RegistryType.java | 23 +-- .../metrics/exporter/ExporterTypeTest.java | 23 +-- .../metrics/registry/RegistryTypeTest.java | 23 +-- .../seata-metrics-exporter-prometheus/pom.xml | 31 +-- .../prometheus/PrometheusExporter.java | 23 +-- .../prometheus/PrometheusExporterTest.java | 23 +-- .../seata-metrics-registry-compact/pom.xml | 31 +-- .../registry/compact/CompactCounter.java | 23 +-- .../registry/compact/CompactGauge.java | 23 +-- .../registry/compact/CompactRegistry.java | 23 +-- .../registry/compact/CompactSummary.java | 23 +-- .../registry/compact/CompactTimer.java | 23 +-- .../registry/compact/SummaryValue.java | 23 +-- .../metrics/registry/compact/TimerValue.java | 23 +-- pom.xml | 45 +++-- rm-datasource/pom.xml | 30 +-- .../io/seata/rm/BaseDataSourceResource.java | 23 +-- .../java/io/seata/rm/GlobalLockExecutor.java | 23 +-- .../java/io/seata/rm/GlobalLockTemplate.java | 23 +-- .../main/java/io/seata/rm/RMHandlerAT.java | 23 +-- .../main/java/io/seata/rm/RMHandlerXA.java | 23 +-- .../datasource/AbstractConnectionProxy.java | 23 +-- ...bstractDataSourceCacheResourceManager.java | 23 +-- .../datasource/AbstractDataSourceProxy.java | 23 +-- .../AbstractPreparedStatementProxy.java | 23 +-- .../rm/datasource/AbstractStatementProxy.java | 23 +-- .../io/seata/rm/datasource/AsyncWorker.java | 23 +-- .../rm/datasource/ConnectionContext.java | 23 +-- .../seata/rm/datasource/ConnectionProxy.java | 23 +-- .../seata/rm/datasource/DataCompareUtils.java | 23 +-- .../rm/datasource/DataSourceManager.java | 23 +-- .../seata/rm/datasource/DataSourceProxy.java | 23 +-- .../rm/datasource/PreparedStatementProxy.java | 23 +-- .../rm/datasource/SeataDataSourceProxy.java | 23 +-- .../seata/rm/datasource/SqlGenerateUtils.java | 23 +-- .../seata/rm/datasource/StatementProxy.java | 23 +-- .../exception/TableMetaException.java | 20 +- .../exec/AbstractDMLBaseExecutor.java | 23 +-- .../datasource/exec/BaseInsertExecutor.java | 23 +-- .../exec/BaseTransactionalExecutor.java | 23 +-- .../rm/datasource/exec/DeleteExecutor.java | 23 +-- .../rm/datasource/exec/ExecuteTemplate.java | 23 +-- .../io/seata/rm/datasource/exec/Executor.java | 23 +-- .../rm/datasource/exec/InsertExecutor.java | 23 +-- .../exec/LockConflictException.java | 23 +-- .../datasource/exec/LockRetryController.java | 23 +-- .../exec/LockWaitTimeoutException.java | 23 +-- .../datasource/exec/MultiDeleteExecutor.java | 23 +-- .../rm/datasource/exec/MultiExecutor.java | 23 +-- .../datasource/exec/MultiUpdateExecutor.java | 23 +-- .../rm/datasource/exec/PlainExecutor.java | 23 +-- .../exec/SelectForUpdateExecutor.java | 23 +-- .../rm/datasource/exec/StatementCallback.java | 23 +-- .../rm/datasource/exec/UpdateExecutor.java | 23 +-- .../datasource/exec/dm/DmInsertExecutor.java | 23 +-- .../exec/mariadb/MariadbInsertExecutor.java | 23 +-- ...ariadbInsertOnDuplicateUpdateExecutor.java | 23 +-- .../mariadb/MariadbUpdateJoinExecutor.java | 23 +-- .../exec/mysql/MySQLInsertExecutor.java | 23 +-- .../MySQLInsertOnDuplicateUpdateExecutor.java | 23 +-- .../exec/mysql/MySQLUpdateJoinExecutor.java | 23 +-- .../exec/oracle/OracleInsertExecutor.java | 23 +-- .../exec/oracle/OracleJdbcType.java | 23 +-- .../exec/polardbx/PolarDBXInsertExecutor.java | 23 +-- ...larDBXInsertOnDuplicateUpdateExecutor.java | 23 +-- .../polardbx/PolarDBXUpdateJoinExecutor.java | 23 +-- .../postgresql/PostgresqlInsertExecutor.java | 23 +-- .../sqlserver/SqlServerDeleteExecutor.java | 23 +-- .../sqlserver/SqlServerInsertExecutor.java | 23 +-- .../SqlServerMultiDeleteExecutor.java | 23 +-- .../SqlServerMultiUpdateExecutor.java | 23 +-- .../SqlServerSelectForUpdateExecutor.java | 23 +-- .../sqlserver/SqlServerUpdateExecutor.java | 23 +-- .../rm/datasource/sql/SQLVisitorFactory.java | 23 +-- .../sql/handler/dm/DmEscapeHandler.java | 23 +-- .../handler/mariadb/MariadbEscapeHandler.java | 23 +-- .../sql/handler/mysql/MySQLEscapeHandler.java | 23 +-- .../handler/oracle/OracleEscapeHandler.java | 23 +-- .../polardbx/PolarDBXEscapeHandler.java | 23 +-- .../postgresql/PostgresqlEscapeHandler.java | 23 +-- .../sqlserver/SqlServerEscapeHandler.java | 23 +-- .../rm/datasource/sql/serial/SerialArray.java | 23 +-- .../seata/rm/datasource/sql/struct/Field.java | 23 +-- .../rm/datasource/sql/struct/KeyType.java | 23 +-- .../seata/rm/datasource/sql/struct/Row.java | 23 +-- .../sql/struct/TableMetaCacheFactory.java | 23 +-- .../datasource/sql/struct/TableRecords.java | 23 +-- .../struct/cache/AbstractTableMetaCache.java | 23 +-- .../sql/struct/cache/DmTableMetaCache.java | 23 +-- .../struct/cache/MariadbTableMetaCache.java | 23 +-- .../sql/struct/cache/MysqlTableMetaCache.java | 23 +-- .../struct/cache/OracleTableMetaCache.java | 23 +-- .../struct/cache/PolarDBXTableMetaCache.java | 23 +-- .../cache/PostgresqlTableMetaCache.java | 23 +-- .../struct/cache/SqlServerTableMetaCache.java | 23 +-- .../datasource/undo/AbstractUndoExecutor.java | 23 +-- .../undo/AbstractUndoLogManager.java | 23 +-- .../rm/datasource/undo/BranchUndoLog.java | 23 +-- .../undo/SQLUndoDirtyException.java | 23 +-- .../seata/rm/datasource/undo/SQLUndoLog.java | 23 +-- .../datasource/undo/UndoExecutorFactory.java | 23 +-- .../datasource/undo/UndoExecutorHolder.java | 23 +-- .../undo/UndoExecutorHolderFactory.java | 23 +-- .../rm/datasource/undo/UndoLogConstants.java | 23 +-- .../rm/datasource/undo/UndoLogManager.java | 23 +-- .../undo/UndoLogManagerFactory.java | 23 +-- .../rm/datasource/undo/UndoLogParser.java | 23 +-- .../datasource/undo/UndoLogParserFactory.java | 23 +-- .../undo/dm/DmUndoDeleteExecutor.java | 23 +-- .../undo/dm/DmUndoExecutorHolder.java | 23 +-- .../undo/dm/DmUndoInsertExecutor.java | 23 +-- .../datasource/undo/dm/DmUndoLogManager.java | 23 +-- .../undo/dm/DmUndoUpdateExecutor.java | 23 +-- .../mariadb/MariadbUndoDeleteExecutor.java | 23 +-- .../mariadb/MariadbUndoExecutorHolder.java | 23 +-- .../mariadb/MariadbUndoInsertExecutor.java | 23 +-- .../undo/mariadb/MariadbUndoLogManager.java | 23 +-- .../mariadb/MariadbUndoUpdateExecutor.java | 23 +-- .../undo/mysql/MySQLUndoDeleteExecutor.java | 23 +-- .../undo/mysql/MySQLUndoExecutorHolder.java | 23 +-- .../undo/mysql/MySQLUndoInsertExecutor.java | 23 +-- .../undo/mysql/MySQLUndoLogManager.java | 23 +-- .../undo/mysql/MySQLUndoUpdateExecutor.java | 23 +-- .../undo/oracle/OracleUndoDeleteExecutor.java | 23 +-- .../undo/oracle/OracleUndoExecutorHolder.java | 23 +-- .../undo/oracle/OracleUndoInsertExecutor.java | 23 +-- .../undo/oracle/OracleUndoLogManager.java | 23 +-- .../undo/oracle/OracleUndoUpdateExecutor.java | 23 +-- .../undo/parser/FastjsonUndoLogParser.java | 23 +-- .../undo/parser/JacksonUndoLogParser.java | 23 +-- .../undo/parser/KryoSerializer.java | 23 +-- .../undo/parser/KryoSerializerFactory.java | 23 +-- .../undo/parser/KryoUndoLogParser.java | 23 +-- .../undo/parser/ProtostuffUndoLogParser.java | 23 +-- .../UndoLogSerializerClassRegistry.java | 23 +-- .../undo/parser/spi/JacksonSerializer.java | 23 +-- .../undo/parser/spi/KryoTypeSerializer.java | 23 +-- .../undo/parser/spi/ProtostuffDelegate.java | 23 +-- .../polardbx/PolarDBXUndoDeleteExecutor.java | 23 +-- .../polardbx/PolarDBXUndoExecutorHolder.java | 23 +-- .../polardbx/PolarDBXUndoInsertExecutor.java | 23 +-- .../undo/polardbx/PolarDBXUndoLogManager.java | 23 +-- .../polardbx/PolarDBXUndoUpdateExecutor.java | 23 +-- .../PostgresqlUndoDeleteExecutor.java | 23 +-- .../PostgresqlUndoExecutorHolder.java | 23 +-- .../PostgresqlUndoInsertExecutor.java | 23 +-- .../postgresql/PostgresqlUndoLogManager.java | 23 +-- .../PostgresqlUndoUpdateExecutor.java | 23 +-- .../sqlserver/BaseSqlServerUndoExecutor.java | 23 +-- .../SqlServerUndoDeleteExecutor.java | 23 +-- .../SqlServerUndoExecutorHolder.java | 23 +-- .../SqlServerUndoInsertExecutor.java | 23 +-- .../sqlserver/SqlServerUndoLogManager.java | 23 +-- .../SqlServerUndoUpdateExecutor.java | 23 +-- .../seata/rm/datasource/util/JdbcUtils.java | 23 +-- .../rm/datasource/util/OffsetTimeUtils.java | 23 +-- .../rm/datasource/util/SeataXAResource.java | 23 +-- .../io/seata/rm/datasource/util/XAUtils.java | 23 +-- .../xa/AbstractConnectionProxyXA.java | 23 +-- .../xa/AbstractDataSourceProxyXA.java | 23 +-- .../rm/datasource/xa/ConnectionProxyXA.java | 23 +-- .../rm/datasource/xa/DataSourceProxyXA.java | 23 +-- .../xa/DataSourceProxyXANative.java | 23 +-- .../rm/datasource/xa/ExecuteTemplateXA.java | 23 +-- .../io/seata/rm/datasource/xa/Holdable.java | 23 +-- .../io/seata/rm/datasource/xa/Holder.java | 23 +-- .../xa/PreparedStatementProxyXA.java | 23 +-- .../rm/datasource/xa/ResourceManagerXA.java | 23 +-- .../rm/datasource/xa/StatementProxyXA.java | 23 +-- .../seata/rm/datasource/xa/XABranchXid.java | 23 +-- .../java/io/seata/rm/datasource/xa/XAXid.java | 23 +-- .../seata/rm/datasource/xa/XAXidBuilder.java | 23 +-- .../io/seata/rm/GlobalLockTemplateTest.java | 23 +-- .../java/io/seata/rm/RMHandlerATTest.java | 23 +-- .../seata/rm/datasource/AsyncWorkerTest.java | 23 +-- .../seata/rm/datasource/ColumnUtilsTest.java | 23 +-- .../ConnectionContextProxyTest.java | 23 +-- .../rm/datasource/ConnectionProxyTest.java | 23 +-- .../rm/datasource/DataCompareUtilsTest.java | 23 +-- .../rm/datasource/DataSourceProxyTest.java | 23 +-- .../PreparedStatementProxyTest.java | 23 +-- .../rm/datasource/SqlGenerateUtilsTest.java | 23 +-- .../rm/datasource/StatementProxyTest.java | 23 +-- .../exec/AbstractDMLBaseExecutorTest.java | 23 +-- .../exec/BaseTransactionalExecutorTest.java | 23 +-- .../exec/BatchInsertExecutorTest.java | 23 +-- .../datasource/exec/DeleteExecutorTest.java | 23 +-- .../datasource/exec/DmInsertExecutorTest.java | 23 +-- .../exec/LockRetryControllerTest.java | 23 +-- .../exec/MariadbInsertExecutorTest.java | 23 +-- ...dbInsertOnDuplicateUpdateExecutorTest.java | 23 +-- .../rm/datasource/exec/MultiExecutorTest.java | 23 +-- .../exec/MySQLInsertExecutorTest.java | 23 +-- ...QLInsertOnDuplicateUpdateExecutorTest.java | 23 +-- .../exec/OracleInsertExecutorTest.java | 23 +-- .../rm/datasource/exec/PlainExecutorTest.java | 23 +-- .../exec/PolarDBXInsertExecutorTest.java | 23 +-- ...BXInsertOnDuplicateUpdateExecutorTest.java | 23 +-- .../exec/PostgresqlInsertExecutorTest.java | 23 +-- .../exec/SelectForUpdateExecutorTest.java | 23 +-- .../exec/SqlServerInsertExecutorTest.java | 23 +-- .../datasource/exec/UpdateExecutorTest.java | 23 +-- .../exec/UpdateJoinExecutorTest.java | 23 +-- .../io/seata/rm/datasource/mock/MockBlob.java | 23 +-- .../io/seata/rm/datasource/mock/MockClob.java | 23 +-- .../rm/datasource/mock/MockConnection.java | 23 +-- .../datasource/mock/MockConnectionProxy.java | 23 +-- .../rm/datasource/mock/MockDataSource.java | 23 +-- .../datasource/mock/MockDatabaseMetaData.java | 23 +-- .../seata/rm/datasource/mock/MockDriver.java | 23 +-- .../mock/MockExecuteHandlerImpl.java | 23 +-- .../mock/MockLockConflictConnectionProxy.java | 23 +-- .../mock/MockMariadbDataSource.java | 23 +-- .../mock/MockParameterMetaData.java | 23 +-- .../mock/MockPreparedStatement.java | 23 +-- .../rm/datasource/mock/MockResultSet.java | 23 +-- .../mock/MockResultSetMetaData.java | 23 +-- .../datasource/sql/SQLVisitorFactoryTest.java | 23 +-- .../sql/druid/dm/DmDeleteRecognizerTest.java | 23 +-- .../sql/druid/dm/DmInsertRecognizerTest.java | 23 +-- .../dm/DmSelectForUpdateRecognizerTest.java | 23 +-- .../sql/druid/dm/DmUpdateRecognizerTest.java | 23 +-- .../oracle/OracleDeleteRecognizerTest.java | 23 +-- .../oracle/OracleInsertRecognizerTest.java | 23 +-- .../OracleSelectForUpdateRecognizerTest.java | 23 +-- .../oracle/OracleUpdateRecognizerTest.java | 23 +-- .../PostgresqlDeleteRecognizerTest.java | 23 +-- .../PostgresqlInsertRecognizerTest.java | 23 +-- ...stgresqlSelectForUpdateRecognizerTest.java | 23 +-- .../PostgresqlUpdateRecognizerTest.java | 23 +-- .../sql/handler/EscapeHandlerTest.java | 23 +-- .../datasource/sql/struct/ColumnMetaTest.java | 23 +-- .../datasource/sql/struct/IndexMetaTest.java | 23 +-- .../datasource/sql/struct/IndexTypeTest.java | 23 +-- .../sql/struct/TableMetaCacheFactoryTest.java | 23 +-- .../datasource/sql/struct/TableMetaTest.java | 23 +-- .../sql/struct/TableRecordsTest.java | 23 +-- .../struct/cache/DmTableMetaCacheTest.java | 23 +-- .../cache/MariadbTableMetaCacheTest.java | 23 +-- .../struct/cache/MysqlTableMetaCacheTest.java | 23 +-- .../cache/OracleTableMetaCacheTest.java | 23 +-- .../cache/PostgresqlTableMetaCacheTest.java | 23 +-- .../cache/SqlServerTableMetaCacheTest.java | 23 +-- .../undo/AbstractUndoExecutorTest.java | 23 +-- .../rm/datasource/undo/BaseExecutorTest.java | 23 +-- .../seata/rm/datasource/undo/BaseH2Test.java | 23 +-- .../undo/BaseUndoLogParserTest.java | 23 +-- .../rm/datasource/undo/BranchUndoLogTest.java | 23 +-- .../undo/EscapeHandlerFactoryTest.java | 23 +-- .../rm/datasource/undo/UndoExecutorTest.java | 23 +-- .../datasource/undo/UndoLogManagerTest.java | 23 +-- .../undo/UndoLogParserFactoryTest.java | 23 +-- .../undo/UndoLogParserProviderTest.java | 23 +-- .../undo/h2/keyword/H2EscapeHandler.java | 23 +-- .../MariadbLUndoInsertExecutorTest.java | 23 +-- .../MariadbUndoDeleteExecutorTest.java | 23 +-- .../mariadb/MariadbUndoLogManagerTest.java | 23 +-- .../MariadbUndoUpdateExecutorTest.java | 23 +-- .../keyword/MariadbEscapeHandlerTest.java | 23 +-- .../mysql/MySQLUndoDeleteExecutorTest.java | 23 +-- .../mysql/MySQLUndoInsertExecutorTest.java | 23 +-- .../undo/mysql/MySQLUndoLogManagerTest.java | 23 +-- .../mysql/MySQLUndoUpdateExecutorTest.java | 23 +-- .../mysql/keyword/MySQLEscapeHandlerTest.java | 23 +-- .../oracle/OracleUndoDeleteExecutorTest.java | 23 +-- .../oracle/OracleUndoInsertExecutorTest.java | 23 +-- .../oracle/OracleUndoUpdateExecutorTest.java | 23 +-- .../keyword/OracleEscapeHandlerTest.java | 23 +-- .../parser/FastjsonUndoLogParserTest.java | 23 +-- .../undo/parser/JacksonUndoLogParserTest.java | 23 +-- .../undo/parser/KryoUndoLogParserTest.java | 23 +-- .../parser/ProtostuffUndoLogParserTest.java | 23 +-- .../PolarDBXUndoDeleteExecutorTest.java | 23 +-- .../PolarDBXUndoInsertExecutorTest.java | 23 +-- .../polardbx/PolarDBXUndoLogManagerTest.java | 23 +-- .../PolarDBXUndoUpdateExecutorTest.java | 23 +-- .../keyword/PolarDBXEscapeHandlerTest.java | 23 +-- .../keyword/PostgresqlEscapeHandlerTest.java | 23 +-- .../SqlServerUndoDeleteExecutorTest.java | 23 +-- .../SqlServerUndoInsertExecutorTest.java | 23 +-- .../SqlServerUndoUpdateExecutorTest.java | 23 +-- .../keyword/SqlServerKeywordCheckerTest.java | 23 +-- .../rm/datasource/util/JdbcUtilsTest.java | 23 +-- .../io/seata/rm/xa/ConnectionProxyXATest.java | 23 +-- .../rm/xa/DataSourceProxyXANativeTest.java | 23 +-- .../io/seata/rm/xa/DataSourceProxyXATest.java | 23 +-- .../java/io/seata/rm/xa/XAXidBuilderTest.java | 23 +-- rm-datasource/src/test/resources/file.conf | 17 ++ .../src/test/resources/registry.conf | 24 ++- rm/pom.xml | 31 +-- .../java/io/seata/rm/AbstractRMHandler.java | 23 +-- .../io/seata/rm/AbstractResourceManager.java | 23 +-- .../java/io/seata/rm/DefaultRMHandler.java | 23 +-- .../io/seata/rm/DefaultResourceManager.java | 23 +-- rm/src/main/java/io/seata/rm/RMClient.java | 23 +-- saga/pom.xml | 30 +-- saga/seata-saga-engine-store/pom.xml | 30 +-- .../engine/config/DbStateMachineConfig.java | 23 +-- .../InSagaBranchHandlerInterceptor.java | 23 +-- .../saga/engine/serializer/Serializer.java | 23 +-- .../serializer/impl/ExceptionSerializer.java | 23 +-- .../serializer/impl/ParamsSerializer.java | 23 +-- .../saga/engine/store/db/AbstractStore.java | 23 +-- .../store/db/DbAndReportTcStateLogStore.java | 23 +-- .../engine/store/db/DbStateLangStore.java | 23 +-- .../engine/store/db/StateLangStoreSqls.java | 23 +-- .../engine/store/db/StateLogStoreSqls.java | 23 +-- saga/seata-saga-engine/pom.xml | 30 +-- .../io/seata/saga/engine/AsyncCallback.java | 23 +-- .../seata/saga/engine/StateMachineConfig.java | 23 +-- .../seata/saga/engine/StateMachineEngine.java | 23 +-- .../exception/EngineExecutionException.java | 23 +-- .../exception/ForwardInvalidException.java | 23 +-- .../saga/engine/expression/Expression.java | 23 +-- .../engine/expression/ExpressionFactory.java | 23 +-- .../expression/ExpressionFactoryManager.java | 23 +-- .../engine/expression/ExpressionResolver.java | 24 +-- .../exception/ExceptionMatchExpression.java | 24 +-- .../ExceptionMatchExpressionFactory.java | 24 +-- .../impl/DefaultExpressionResolver.java | 24 +-- .../expression/seq/SequenceExpression.java | 23 +-- .../seq/SequenceExpressionFactory.java | 23 +-- .../expression/spel/SpringELExpression.java | 23 +-- .../spel/SpringELExpressionFactory.java | 23 +-- .../impl/DefaultStateMachineConfig.java | 23 +-- .../impl/ProcessCtrlStateMachineEngine.java | 23 +-- .../saga/engine/invoker/ServiceInvoker.java | 23 +-- .../engine/invoker/ServiceInvokerManager.java | 23 +-- .../impl/SpringBeanServiceInvoker.java | 23 +-- .../pcext/InterceptableStateHandler.java | 23 +-- .../pcext/InterceptableStateRouter.java | 23 +-- .../seata/saga/engine/pcext/StateHandler.java | 23 +-- .../engine/pcext/StateHandlerInterceptor.java | 23 +-- .../saga/engine/pcext/StateInstruction.java | 23 +-- .../pcext/StateMachineProcessHandler.java | 23 +-- .../pcext/StateMachineProcessRouter.java | 23 +-- .../seata/saga/engine/pcext/StateRouter.java | 23 +-- .../engine/pcext/StateRouterInterceptor.java | 23 +-- .../pcext/handlers/ChoiceStateHandler.java | 23 +-- .../CompensationTriggerStateHandler.java | 23 +-- .../pcext/handlers/FailEndStateHandler.java | 23 +-- .../pcext/handlers/LoopStartStateHandler.java | 23 +-- .../handlers/ScriptTaskStateHandler.java | 23 +-- .../handlers/ServiceTaskStateHandler.java | 23 +-- .../handlers/SubStateMachineHandler.java | 23 +-- .../handlers/SucceedEndStateHandler.java | 23 +-- .../EndStateRouterInterceptor.java | 23 +-- .../LoopTaskHandlerInterceptor.java | 23 +-- .../ScriptTaskHandlerInterceptor.java | 23 +-- .../ServiceTaskHandlerInterceptor.java | 23 +-- .../engine/pcext/routers/EndStateRouter.java | 23 +-- .../engine/pcext/routers/TaskStateRouter.java | 23 +-- .../pcext/utils/CompensationHolder.java | 23 +-- .../saga/engine/pcext/utils/EngineUtils.java | 23 +-- .../engine/pcext/utils/LoopContextHolder.java | 23 +-- .../engine/pcext/utils/LoopTaskUtils.java | 23 +-- .../engine/pcext/utils/ParameterUtils.java | 23 +-- .../saga/engine/repo/StateLogRepository.java | 23 +-- .../engine/repo/StateMachineRepository.java | 23 +-- .../repo/impl/StateLogRepositoryImpl.java | 23 +-- .../repo/impl/StateMachineRepositoryImpl.java | 23 +-- .../saga/engine/sequence/SeqGenerator.java | 23 +-- .../sequence/SpringJvmUUIDSeqGenerator.java | 23 +-- .../saga/engine/store/StateLangStore.java | 23 +-- .../saga/engine/store/StateLogStore.java | 23 +-- .../strategy/StatusDecisionStrategy.java | 23 +-- .../impl/DefaultStatusDecisionStrategy.java | 23 +-- .../saga/engine/utils/ExceptionUtils.java | 23 +-- .../engine/utils/ProcessContextBuilder.java | 23 +-- saga/seata-saga-processctrl/pom.xml | 30 +-- .../proctrl/HierarchicalProcessContext.java | 23 +-- .../io/seata/saga/proctrl/Instruction.java | 23 +-- .../io/seata/saga/proctrl/ProcessContext.java | 23 +-- .../seata/saga/proctrl/ProcessController.java | 23 +-- .../io/seata/saga/proctrl/ProcessRouter.java | 23 +-- .../io/seata/saga/proctrl/ProcessType.java | 23 +-- .../seata/saga/proctrl/eventing/EventBus.java | 23 +-- .../saga/proctrl/eventing/EventConsumer.java | 23 +-- .../saga/proctrl/eventing/EventPublisher.java | 23 +-- .../eventing/impl/AbstractEventBus.java | 23 +-- .../proctrl/eventing/impl/AsyncEventBus.java | 23 +-- .../proctrl/eventing/impl/DirectEventBus.java | 23 +-- .../impl/ProcessCtrlEventConsumer.java | 23 +-- .../impl/ProcessCtrlEventPublisher.java | 23 +-- .../proctrl/handler/DefaultRouterHandler.java | 183 +++++++++--------- .../saga/proctrl/handler/ProcessHandler.java | 23 +-- .../saga/proctrl/handler/RouterHandler.java | 23 +-- .../saga/proctrl/impl/ProcessContextImpl.java | 23 +-- .../proctrl/impl/ProcessControllerImpl.java | 23 +-- .../proctrl/process/BusinessProcessor.java | 23 +-- .../impl/CustomizeBusinessProcessor.java | 23 +-- .../saga/proctrl/ProcessControllerTests.java | 23 +-- .../saga/proctrl/mock/MockInstruction.java | 23 +-- .../saga/proctrl/mock/MockProcessHandler.java | 23 +-- .../saga/proctrl/mock/MockProcessRouter.java | 23 +-- saga/seata-saga-rm/pom.xml | 30 +-- .../java/io/seata/saga/rm/RMHandlerSaga.java | 23 +-- .../java/io/seata/saga/rm/SagaResource.java | 23 +-- .../io/seata/saga/rm/SagaResourceManager.java | 23 +-- .../saga/rm/StateMachineEngineHolder.java | 23 +-- saga/seata-saga-statelang/pom.xml | 30 +-- .../saga/statelang/domain/ChoiceState.java | 23 +-- .../CompensateSubStateMachineState.java | 23 +-- .../domain/CompensationTriggerState.java | 23 +-- .../statelang/domain/DomainConstants.java | 23 +-- .../seata/saga/statelang/domain/EndState.java | 23 +-- .../statelang/domain/ExecutionStatus.java | 23 +-- .../saga/statelang/domain/FailEndState.java | 23 +-- .../saga/statelang/domain/LoopStartState.java | 23 +-- .../statelang/domain/RecoverStrategy.java | 23 +-- .../statelang/domain/ScriptTaskState.java | 23 +-- .../statelang/domain/ServiceTaskState.java | 23 +-- .../io/seata/saga/statelang/domain/State.java | 23 +-- .../saga/statelang/domain/StateInstance.java | 23 +-- .../saga/statelang/domain/StateMachine.java | 23 +-- .../domain/StateMachineInstance.java | 23 +-- .../statelang/domain/SubStateMachine.java | 23 +-- .../statelang/domain/SucceedEndState.java | 23 +-- .../saga/statelang/domain/TaskState.java | 23 +-- .../domain/impl/AbstractTaskState.java | 23 +-- .../saga/statelang/domain/impl/BaseState.java | 23 +-- .../domain/impl/ChoiceStateImpl.java | 23 +-- .../CompensateSubStateMachineStateImpl.java | 23 +-- .../impl/CompensationTriggerStateImpl.java | 23 +-- .../domain/impl/FailEndStateImpl.java | 23 +-- .../domain/impl/LoopStartStateImpl.java | 23 +-- .../domain/impl/ScriptTaskStateImpl.java | 23 +-- .../domain/impl/ServiceTaskStateImpl.java | 23 +-- .../domain/impl/StateInstanceImpl.java | 23 +-- .../domain/impl/StateMachineImpl.java | 23 +-- .../domain/impl/StateMachineInstanceImpl.java | 23 +-- .../domain/impl/SubStateMachineImpl.java | 23 +-- .../domain/impl/SucceedEndStateImpl.java | 23 +-- .../saga/statelang/parser/JsonParser.java | 23 +-- .../statelang/parser/JsonParserFactory.java | 23 +-- .../statelang/parser/StateMachineParser.java | 23 +-- .../parser/StateMachineParserFactory.java | 23 +-- .../saga/statelang/parser/StateParser.java | 23 +-- .../statelang/parser/StateParserFactory.java | 23 +-- .../parser/impl/AbstractTaskStateParser.java | 23 +-- .../statelang/parser/impl/BaseStatePaser.java | 23 +-- .../parser/impl/ChoiceStateParser.java | 23 +-- .../CompensateSubStateMachineStateParser.java | 23 +-- .../impl/CompensationTriggerStateParser.java | 23 +-- .../parser/impl/FailEndStateParser.java | 23 +-- .../statelang/parser/impl/FastjsonParser.java | 23 +-- .../parser/impl/JacksonJsonParser.java | 23 +-- .../parser/impl/ScriptTaskStateParser.java | 23 +-- .../parser/impl/ServiceTaskStateParser.java | 23 +-- .../parser/impl/StateMachineParserImpl.java | 23 +-- .../parser/impl/SubStateMachineParser.java | 23 +-- .../parser/impl/SucceedEndStateParser.java | 23 +-- .../parser/utils/DesignerJsonTransformer.java | 23 +-- .../saga/statelang/parser/utils/IOUtils.java | 23 +-- .../statelang/parser/utils/ResourceUtil.java | 23 +-- .../parser/utils/StateMachineUtils.java | 24 +-- .../seata/saga/statelang/validator/Rule.java | 24 +-- .../saga/statelang/validator/RuleFactory.java | 24 +-- .../validator/StateMachineValidator.java | 24 +-- .../validator/ValidationException.java | 24 +-- .../validator/impl/AbstractRule.java | 24 +-- .../validator/impl/FiniteTerminationRule.java | 24 +-- .../impl/NoRecursiveSubStateMachineRule.java | 24 +-- .../validator/impl/StateNameExistsRule.java | 24 +-- .../statelang/parser/StateParserTests.java | 23 +-- .../parser/utils/ResourceUtilTests.java | 23 +-- .../src/test/resources/logback-test.xml | 31 +-- saga/seata-saga-tm/pom.xml | 30 +-- .../tm/DefaultSagaTransactionalTemplate.java | 23 +-- .../saga/tm/SagaTransactionalTemplate.java | 23 +-- script/client/at/db/dm.sql | 17 ++ script/client/at/db/mysql.sql | 17 ++ script/client/at/db/oracle.sql | 17 ++ script/client/at/db/postgresql.sql | 17 ++ script/client/at/db/sqlserver.sql | 17 ++ script/client/conf/file.conf | 23 ++- script/client/conf/registry.conf | 23 ++- script/client/saga/db/db2.sql | 17 ++ script/client/saga/db/h2.sql | 17 ++ script/client/saga/db/mysql.sql | 17 ++ script/client/saga/db/oracle.sql | 17 ++ script/client/saga/db/postgresql.sql | 17 ++ script/client/spring/application.properties | 23 +-- script/client/spring/application.yml | 17 ++ script/client/tcc/db/mysql.sql | 17 ++ script/client/tcc/db/oracle.sql | 17 ++ script/client/tcc/db/postgresql.sql | 17 ++ .../apollo/apollo-config-interactive.sh | 13 +- script/config-center/apollo/apollo-config.sh | 13 +- .../consul/consul-config-interactive.sh | 14 +- script/config-center/consul/consul-config.sh | 13 +- .../etcd3/etcd3-config-interactive.sh | 13 +- script/config-center/etcd3/etcd3-config.sh | 13 +- .../nacos/nacos-config-interactive.sh | 13 +- script/config-center/nacos/nacos-config.sh | 13 +- .../config-center/zk/zk-config-interactive.sh | 13 +- script/config-center/zk/zk-config.sh | 13 +- script/logstash/config/logstash-kafka.conf | 23 ++- script/logstash/config/logstash-logback.conf | 23 ++- script/server/db/dm.sql | 17 ++ script/server/db/mysql.sql | 17 ++ script/server/db/oracle.sql | 17 ++ script/server/db/postgresql.sql | 17 ++ script/server/db/sqlserver.sql | 17 ++ .../server/docker-compose/docker-compose.yaml | 17 ++ script/server/helm/seata-server/Chart.yaml | 17 ++ .../seata-server/templates/deployment.yaml | 17 ++ .../helm/seata-server/templates/service.yaml | 17 ++ .../templates/tests/test-connection.yaml | 17 ++ script/server/helm/seata-server/values.yaml | 17 ++ script/server/kubernetes/seata-server.yaml | 17 ++ seata-plugin/pom.xml | 30 +-- .../seata-jackson-parser-oracle/pom.xml | 30 +-- .../OracleTimestampJacksonSerializer.java | 23 +-- .../OracleTimestampJacksonSerializerTest.java | 23 +-- seata-spring-autoconfigure/pom.xml | 31 +-- .../seata-spring-autoconfigure-client/pom.xml | 30 +-- .../SeataClientEnvironmentPostProcessor.java | 23 +-- .../SeataSpringFenceAutoConfiguration.java | 23 +-- .../SagaAsyncThreadPoolProperties.java | 23 +-- .../properties/SeataProperties.java | 23 +-- .../SpringCloudAlibabaConfiguration.java | 23 +-- .../client/LoadBalanceProperties.java | 23 +-- .../properties/client/LockProperties.java | 23 +-- .../properties/client/RmProperties.java | 23 +-- .../properties/client/ServiceProperties.java | 23 +-- .../properties/client/TmProperties.java | 23 +-- .../client/UndoCompressProperties.java | 23 +-- .../properties/client/UndoProperties.java | 23 +-- .../autoconfigure/ClientPropertiesTest.java | 23 +-- .../client/LoadBalancePropertiesTest.java | 23 +-- .../seata-spring-autoconfigure-core/pom.xml | 30 +-- .../SeataCoreAutoConfiguration.java | 23 +-- .../SeataCoreEnvironmentPostProcessor.java | 23 +-- .../boot/autoconfigure/StarterConstants.java | 23 +-- .../properties/LogProperties.java | 23 +-- .../properties/ShutdownProperties.java | 23 +-- .../properties/ThreadFactoryProperties.java | 23 +-- .../properties/TransportProperties.java | 23 +-- .../config/ConfigApolloProperties.java | 23 +-- .../config/ConfigConsulProperties.java | 23 +-- .../config/ConfigCustomProperties.java | 23 +-- .../config/ConfigEtcd3Properties.java | 23 +-- .../config/ConfigFileProperties.java | 23 +-- .../config/ConfigNacosProperties.java | 23 +-- .../properties/config/ConfigProperties.java | 23 +-- .../config/ConfigZooKeeperProperties.java | 23 +-- .../registry/RegistryConsulProperties.java | 23 +-- .../registry/RegistryCustomProperties.java | 23 +-- .../registry/RegistryEtcd3Properties.java | 23 +-- .../registry/RegistryEurekaProperties.java | 23 +-- .../registry/RegistryNacosProperties.java | 23 +-- .../registry/RegistryProperties.java | 23 +-- .../registry/RegistryRaftProperties.java | 23 +-- .../registry/RegistryRedisProperties.java | 23 +-- .../registry/RegistrySofaProperties.java | 23 +-- .../registry/RegistryZooKeeperProperties.java | 23 +-- .../SpringApplicationContextProvider.java | 23 +-- .../SpringBootConfigurationProvider.java | 23 +-- .../autoconfigure/BasePropertiesTest.java | 23 +-- .../autoconfigure/CorePropertiesTest.java | 23 +-- .../config/test/ApolloPropertiesTest.java | 23 +-- .../config/test/ConfigPropertiesTest.java | 23 +-- .../config/test/ConsulPropertiesTest.java | 23 +-- .../config/test/CustomPropertiesTest.java | 23 +-- .../config/test/Etcd3PropertiesTest.java | 23 +-- .../config/test/FilePropertiesTest.java | 23 +-- .../config/test/NacosPropertiesTest.java | 23 +-- .../config/test/ZooKeeperPropertiesTest.java | 23 +-- .../resources/application-test.properties | 24 ++- .../seata-spring-autoconfigure-server/pom.xml | 30 +-- .../SeataServerEnvironmentPostProcessor.java | 23 +-- .../properties/server/MetricsProperties.java | 23 +-- .../properties/server/ServerProperties.java | 23 +-- .../server/ServerRaftProperties.java | 23 +-- .../server/ServerRecoveryProperties.java | 23 +-- .../server/ServerUndoProperties.java | 23 +-- .../server/session/SessionProperties.java | 23 +-- .../server/store/StoreDBProperties.java | 23 +-- .../server/store/StoreFileProperties.java | 23 +-- .../server/store/StoreProperties.java | 23 +-- .../server/store/StoreRedisProperties.java | 23 +-- .../autoconfigure/ServerPropertiesTest.java | 23 +-- seata-spring-boot-starter/pom.xml | 31 +-- .../autoconfigure/SeataAutoConfiguration.java | 23 +-- .../SeataDataSourceAutoConfiguration.java | 23 +-- .../SeataHttpAutoConfiguration.java | 23 +-- .../SeataSagaAutoConfiguration.java | 23 +-- .../PropertyBeanPostProcessorTest.java | 23 +-- .../RedisAutoInjectionTypeConvertTest.java | 23 +-- serializer/pom.xml | 31 +-- serializer/seata-serializer-all/pom.xml | 31 +-- serializer/seata-serializer-hessian/pom.xml | 31 +-- .../serializer/hessian/HessianSerializer.java | 23 +-- .../hessian/HessianSerializerFactory.java | 23 +-- .../hessian/HessianSerializerTest.java | 23 +-- serializer/seata-serializer-kryo/pom.xml | 30 +-- .../serializer/kryo/KryoInnerSerializer.java | 23 +-- .../seata/serializer/kryo/KryoSerializer.java | 23 +-- .../kryo/KryoSerializerFactory.java | 23 +-- .../serializer/kryo/KryoSerializerTest.java | 23 +-- serializer/seata-serializer-protobuf/pom.xml | 31 +-- .../serializer/protobuf/ProtobufHelper.java | 23 +-- .../protobuf/ProtobufInnerSerializer.java | 23 +-- .../protobuf/ProtobufSerializer.java | 23 +-- .../BatchResultMessageConvertor.java | 23 +-- .../BranchCommitRequestConvertor.java | 23 +-- .../BranchCommitResponseConvertor.java | 23 +-- .../BranchRegisterRequestConvertor.java | 23 +-- .../BranchRegisterResponseConvertor.java | 23 +-- .../BranchReportRequestConvertor.java | 23 +-- .../BranchReportResponseConvertor.java | 23 +-- .../BranchRollbackRequestConvertor.java | 23 +-- .../BranchRollbackResponseConvertor.java | 23 +-- .../GlobalBeginRequestConvertor.java | 23 +-- .../GlobalBeginResponseConvertor.java | 23 +-- .../GlobalCommitRequestConvertor.java | 23 +-- .../GlobalCommitResponseConvertor.java | 23 +-- .../GlobalLockQueryRequestConvertor.java | 23 +-- .../GlobalLockQueryResponseConvertor.java | 23 +-- .../GlobalReportRequestConvertor.java | 23 +-- .../GlobalReportResponseConvertor.java | 23 +-- .../GlobalRollbackRequestConvertor.java | 23 +-- .../GlobalRollbackResponseConvertor.java | 23 +-- .../GlobalStatusRequestConvertor.java | 23 +-- .../GlobalStatusResponseConvertor.java | 23 +-- .../convertor/HeartbeatMessageConvertor.java | 23 +-- .../MergeResultMessageConvertor.java | 23 +-- .../convertor/MergedWarpMessageConvertor.java | 23 +-- .../protobuf/convertor/PbConvertor.java | 23 +-- .../convertor/RegisterRMRequestConvertor.java | 23 +-- .../RegisterRMResponseConvertor.java | 23 +-- .../convertor/RegisterTMRequestConvertor.java | 23 +-- .../RegisterTMResponseConvertor.java | 23 +-- .../UndoLogDeleteRequestConvertor.java | 23 +-- .../manager/ProtobufConvertManager.java | 23 +-- .../BatchResultMessageConvertorTest.java | 23 +-- .../BranchCommitRequestConvertorTest.java | 23 +-- .../BranchCommitResponseConvertorTest.java | 23 +-- .../BranchRegisterRequestConvertorTest.java | 23 +-- .../BranchRegisterResponseConvertorTest.java | 23 +-- .../BranchReportRequestConvertorTest.java | 23 +-- .../BranchReportResponseConvertorTest.java | 23 +-- .../BranchRollbackRequestConvertorTest.java | 23 +-- .../BranchRollbackResponseConvertorTest.java | 23 +-- .../GlobalBeginRequestConvertorTest.java | 23 +-- .../GlobalBeginResponseConvertorTest.java | 23 +-- .../GlobalCommitRequestConvertorTest.java | 23 +-- .../GlobalCommitResponseConvertorTest.java | 23 +-- .../GlobalLockQueryRequestConvertorTest.java | 23 +-- .../GlobalLockQueryResponseConvertorTest.java | 23 +-- .../GlobalRollbackRequestConvertorTest.java | 23 +-- .../GlobalRollbackResponseConvertorTest.java | 23 +-- .../GlobalStatusRequestConvertorTest.java | 23 +-- .../GlobalStatusResponseConvertorTest.java | 23 +-- .../HeartbeatMessageConvertorTest.java | 23 +-- .../convertor/MergeMessageConvertorTest.java | 23 +-- .../MergeResultMessageConvertorTest.java | 23 +-- .../RegisterRMRequestConvertorTest.java | 23 +-- .../RegisterRMResponseConvertorTest.java | 23 +-- .../RegisterTMRequestConvertorTest.java | 23 +-- .../RegisterTMResponseConvertorTest.java | 23 +-- .../UndoLogDeleteRequestConvertorTest.java | 23 +-- serializer/seata-serializer-seata/pom.xml | 31 +-- .../serializer/seata/MessageCodecFactory.java | 23 +-- .../serializer/seata/MessageSeataCodec.java | 23 +-- .../serializer/seata/SeataSerializer.java | 23 +-- .../AbstractIdentifyRequestCodec.java | 23 +-- .../AbstractIdentifyResponseCodec.java | 23 +-- .../seata/protocol/AbstractMessageCodec.java | 23 +-- .../protocol/AbstractResultMessageCodec.java | 23 +-- .../protocol/BatchResultMessageCodec.java | 23 +-- .../protocol/MergeResultMessageCodec.java | 23 +-- .../protocol/MergedWarpMessageCodec.java | 23 +-- .../protocol/RegisterRMRequestCodec.java | 23 +-- .../protocol/RegisterRMResponseCodec.java | 23 +-- .../protocol/RegisterTMRequestCodec.java | 23 +-- .../protocol/RegisterTMResponseCodec.java | 23 +-- .../AbstractBranchEndRequestCodec.java | 23 +-- .../AbstractBranchEndResponseCodec.java | 23 +-- .../AbstractGlobalEndRequestCodec.java | 23 +-- .../AbstractGlobalEndResponseCodec.java | 23 +-- .../AbstractTransactionRequestCodec.java | 23 +-- .../AbstractTransactionRequestToRMCodec.java | 23 +-- .../AbstractTransactionRequestToTCCodec.java | 23 +-- .../AbstractTransactionResponseCodec.java | 23 +-- .../transaction/BranchCommitRequestCodec.java | 23 +-- .../BranchCommitResponseCodec.java | 23 +-- .../BranchRegisterRequestCodec.java | 23 +-- .../BranchRegisterResponseCodec.java | 23 +-- .../transaction/BranchReportRequestCodec.java | 23 +-- .../BranchReportResponseCodec.java | 23 +-- .../BranchRollbackRequestCodec.java | 23 +-- .../BranchRollbackResponseCodec.java | 23 +-- .../transaction/GlobalBeginRequestCodec.java | 23 +-- .../transaction/GlobalBeginResponseCodec.java | 23 +-- .../transaction/GlobalCommitRequestCodec.java | 23 +-- .../GlobalCommitResponseCodec.java | 23 +-- .../GlobalLockQueryRequestCodec.java | 23 +-- .../GlobalLockQueryResponseCodec.java | 23 +-- .../transaction/GlobalReportRequestCodec.java | 23 +-- .../GlobalReportResponseCodec.java | 23 +-- .../GlobalRollbackRequestCodec.java | 23 +-- .../GlobalRollbackResponseCodec.java | 23 +-- .../transaction/GlobalStatusRequestCodec.java | 23 +-- .../GlobalStatusResponseCodec.java | 23 +-- .../UndoLogDeleteRequestCodec.java | 23 +-- .../BatchResultMessageSerializerTest.java | 23 +-- .../MergeResultMessageSerializerTest.java | 23 +-- .../MergedWarpMessageSerializerTest.java | 23 +-- .../RegisterRMRequestSerializerTest.java | 23 +-- .../RegisterRMResponseSerializerTest.java | 23 +-- .../RegisterTMRequestSerializerTest.java | 23 +-- .../RegisterTMResponseSerializerTest.java | 23 +-- .../BranchCommitRequestSerializerTest.java | 23 +-- .../BranchCommitResponseSerializerTest.java | 23 +-- .../BranchRegisterRequestSerializerTest.java | 23 +-- .../BranchRegisterResponseSerializerTest.java | 23 +-- .../BranchReportRequestSerializerTest.java | 23 +-- .../BranchReportResponseSerializerTest.java | 23 +-- .../BranchRollbackRequestSerializerTest.java | 23 +-- .../BranchRollbackResponseSerializerTest.java | 23 +-- .../GlobalBeginRequestSerializerTest.java | 23 +-- .../GlobalBeginResponseSerializerTest.java | 23 +-- .../GlobalCommitRequestCodecTest.java | 23 +-- .../GlobalCommitResponseSerializerTest.java | 23 +-- .../GlobalLockQueryRequestSerializerTest.java | 23 +-- ...GlobalLockQueryResponseSerializerTest.java | 23 +-- .../GlobalRollbackRequestCodecTest.java | 23 +-- .../GlobalRollbackResponseSerializerTest.java | 23 +-- .../GlobalStatusRequestCodecTest.java | 23 +-- .../GlobalStatusResponseSerializerTest.java | 23 +-- .../UndoLogDeleteRequestSerializerTest.java | 23 +-- .../src/test/resources/file.conf | 23 ++- .../src/test/resources/registry.conf | 23 ++- server/pom.xml | 31 +-- .../server/AbstractTCInboundHandler.java | 23 +-- .../java/io/seata/server/ParameterParser.java | 23 +-- .../src/main/java/io/seata/server/Server.java | 23 +-- .../io/seata/server/ServerApplication.java | 23 +-- .../java/io/seata/server/ServerRunner.java | 23 +-- .../java/io/seata/server/UUIDGenerator.java | 23 +-- .../server/auth/AbstractCheckAuthHandler.java | 23 +-- .../server/auth/DefaultCheckAuthHandler.java | 23 +-- .../cluster/listener/ClusterChangeEvent.java | 23 +-- .../listener/ClusterChangeListener.java | 23 +-- .../manager/ClusterWatcherManager.java | 23 +-- .../seata/server/cluster/raft/RaftServer.java | 23 +-- .../cluster/raft/RaftServerManager.java | 23 +-- .../server/cluster/raft/RaftStateMachine.java | 23 +-- .../raft/context/SeataClusterContext.java | 23 +-- .../raft/execute/AbstractRaftMsgExecute.java | 23 +-- .../cluster/raft/execute/RaftMsgExecute.java | 23 +-- .../branch/AddBranchSessionExecute.java | 23 +-- .../branch/RemoveBranchSessionExecute.java | 23 +-- .../branch/UpdateBranchSessionExecute.java | 23 +-- .../global/AddGlobalSessionExecute.java | 23 +-- .../global/RemoveGlobalSessionExecute.java | 23 +-- .../global/UpdateGlobalSessionExecute.java | 23 +-- .../lock/BranchReleaseLockExecute.java | 23 +-- .../lock/GlobalReleaseLockExecute.java | 23 +-- .../raft/serializer/JacksonSerializer.java | 23 +-- .../cluster/raft/snapshot/RaftSnapshot.java | 23 +-- .../raft/snapshot/RaftSnapshotSerializer.java | 23 +-- .../raft/snapshot/StoreSnapshotFile.java | 23 +-- .../metadata/LeaderMetadataSnapshotFile.java | 23 +-- .../snapshot/session/RaftSessionSnapshot.java | 23 +-- .../snapshot/session/SessionSnapshotFile.java | 23 +-- .../raft/sync/RaftSyncMessageSerializer.java | 23 +-- .../cluster/raft/sync/msg/RaftBaseMsg.java | 23 +-- .../sync/msg/RaftBranchSessionSyncMsg.java | 23 +-- .../raft/sync/msg/RaftClusterMetadataMsg.java | 23 +-- .../sync/msg/RaftGlobalSessionSyncMsg.java | 23 +-- .../raft/sync/msg/RaftSyncMessage.java | 23 +-- .../raft/sync/msg/RaftSyncMsgType.java | 23 +-- .../sync/msg/dto/BranchTransactionDTO.java | 23 +-- .../sync/msg/dto/GlobalTransactionDTO.java | 23 +-- .../sync/msg/dto/RaftClusterMetadata.java | 23 +-- .../cluster/raft/util/RaftTaskUtil.java | 23 +-- .../seata/server/cluster/watch/Watcher.java | 23 +-- .../controller/BranchSessionController.java | 23 +-- .../controller/GlobalLockController.java | 23 +-- .../controller/GlobalSessionController.java | 23 +-- .../impl/db/BranchSessionDBServiceImpl.java | 23 +-- .../impl/db/GlobalLockDBServiceImpl.java | 23 +-- .../impl/db/GlobalSessionDBServiceImpl.java | 23 +-- .../file/BranchSessionFileServiceImpl.java | 23 +-- .../impl/file/GlobalLockFileServiceImpl.java | 23 +-- .../file/GlobalSessionFileServiceImpl.java | 23 +-- .../raft/BranchSessionRaftServiceImpl.java | 23 +-- .../impl/raft/GlobalLockRaftServiceImpl.java | 23 +-- .../raft/GlobalSessionRaftServiceImpl.java | 23 +-- .../redis/BranchSessionRedisServiceImpl.java | 23 +-- .../redis/GlobalLockRedisServiceImpl.java | 23 +-- .../redis/GlobalSessionRedisServiceImpl.java | 23 +-- .../server/console/param/GlobalLockParam.java | 23 +-- .../console/param/GlobalSessionParam.java | 23 +-- .../console/service/BranchSessionService.java | 23 +-- .../console/service/GlobalLockService.java | 23 +-- .../console/service/GlobalSessionService.java | 23 +-- .../server/console/vo/BranchSessionVO.java | 23 +-- .../seata/server/console/vo/GlobalLockVO.java | 23 +-- .../server/console/vo/GlobalSessionVO.java | 23 +-- .../server/controller/ClusterController.java | 23 +-- .../server/controller/HealthController.java | 23 +-- .../server/coordinator/AbstractCore.java | 23 +-- .../io/seata/server/coordinator/Core.java | 23 +-- .../coordinator/DefaultCoordinator.java | 23 +-- .../seata/server/coordinator/DefaultCore.java | 23 +-- .../server/coordinator/RaftCoordinator.java | 23 +-- .../TransactionCoordinatorInbound.java | 23 +-- .../TransactionCoordinatorOutbound.java | 23 +-- .../io/seata/server/env/ContainerHelper.java | 23 +-- .../java/io/seata/server/env/PortHelper.java | 23 +-- .../seata/server/event/EventBusManager.java | 23 +-- .../server/lock/AbstractLockManager.java | 23 +-- .../io/seata/server/lock/LockManager.java | 23 +-- .../server/lock/LockerManagerFactory.java | 23 +-- .../distributed/DistributedLockerFactory.java | 23 +-- .../SystemPropertyLoggerContextListener.java | 23 +-- ...ndedWhitespaceThrowableProxyConverter.java | 23 +-- .../appender/EnhancedLogstashEncoder.java | 23 +-- .../appender/MetricLogbackAppender.java | 23 +-- .../server/metrics/MeterIdConstants.java | 23 +-- .../seata/server/metrics/MetricsManager.java | 23 +-- .../server/metrics/MetricsPublisher.java | 23 +-- .../server/metrics/MetricsSubscriber.java | 23 +-- .../session/AbstractSessionManager.java | 23 +-- .../seata/server/session/BranchSession.java | 23 +-- .../server/session/BranchSessionHandler.java | 23 +-- .../seata/server/session/GlobalSession.java | 23 +-- .../server/session/GlobalSessionHandler.java | 23 +-- .../io/seata/server/session/Lockable.java | 23 +-- .../io/seata/server/session/Reloadable.java | 23 +-- .../server/session/SessionCondition.java | 23 +-- .../seata/server/session/SessionHelper.java | 23 +-- .../seata/server/session/SessionHolder.java | 23 +-- .../server/session/SessionLifecycle.java | 23 +-- .../session/SessionLifecycleListener.java | 23 +-- .../seata/server/session/SessionManager.java | 23 +-- .../session/SessionStatusValidator.java | 23 +-- .../listener/SeataPropertiesLoader.java | 23 +-- .../listener/ServerApplicationListener.java | 23 +-- .../server/storage/SessionConverter.java | 23 +-- .../db/lock/DataBaseDistributedLocker.java | 23 +-- .../storage/db/lock/DataBaseLockManager.java | 23 +-- .../storage/db/lock/DataBaseLocker.java | 23 +-- .../storage/db/lock/LockStoreDataBaseDAO.java | 23 +-- .../db/session/DataBaseSessionManager.java | 23 +-- .../DataBaseTransactionStoreManager.java | 23 +-- .../storage/db/store/LogStoreDataBaseDAO.java | 23 +-- .../server/storage/file/FlushDiskMode.java | 23 +-- .../server/storage/file/ReloadableStore.java | 23 +-- .../storage/file/TransactionWriteStore.java | 23 +-- .../storage/file/lock/FileLockManager.java | 23 +-- .../server/storage/file/lock/FileLocker.java | 23 +-- .../file/session/FileSessionManager.java | 23 +-- .../store/FileTransactionStoreManager.java | 23 +-- .../raft/lock/RaftDistributedLocker.java | 23 +-- .../storage/raft/lock/RaftLockManager.java | 23 +-- .../raft/session/RaftSessionManager.java | 23 +-- .../storage/redis/JedisPooledFactory.java | 23 +-- .../seata/server/storage/redis/LuaParser.java | 23 +-- .../redis/lock/RedisDistributedLocker.java | 23 +-- .../storage/redis/lock/RedisLockManager.java | 23 +-- .../storage/redis/lock/RedisLocker.java | 23 +-- .../redis/lock/RedisLockerFactory.java | 23 +-- .../storage/redis/lock/RedisLuaLocker.java | 23 +-- .../redis/session/RedisSessionManager.java | 23 +-- .../RedisLuaTransactionStoreManager.java | 23 +-- .../store/RedisTransactionStoreManager.java | 23 +-- .../RedisTransactionStoreManagerFactory.java | 23 +-- .../AbstractTransactionStoreManager.java | 23 +-- .../server/store/DbcpDataSourceProvider.java | 23 +-- .../server/store/DruidDataSourceProvider.java | 23 +-- .../store/HikariDataSourceProvider.java | 23 +-- .../seata/server/store/SessionStorable.java | 23 +-- .../io/seata/server/store/StoreConfig.java | 23 +-- .../server/store/TransactionStoreManager.java | 23 +-- .../seata/server/transaction/at/ATCore.java | 23 +-- .../server/transaction/saga/SagaCore.java | 23 +-- .../seata/server/transaction/tcc/TccCore.java | 23 +-- .../seata/server/transaction/xa/XACore.java | 23 +-- .../main/resources/application.example.yml | 23 ++- .../resources/application.raft.example.yml | 23 ++- server/src/main/resources/application.yml | 23 ++- .../docker/seata-server-entrypoint.sh | 13 +- server/src/main/resources/logback-spring.xml | 30 +-- .../resources/logback/console-appender.xml | 30 +-- .../main/resources/logback/file-appender.xml | 30 +-- .../main/resources/logback/kafka-appender.xml | 30 +-- .../resources/logback/logstash-appender.xml | 30 +-- .../resources/logback/metric-appender.xml | 30 +-- .../lua/redisStore/deleteTransactionDO.lua | 13 +- .../lua/redisStore/insertTransactionDO.lua | 13 +- .../rollbackGlobalTransactionDO.lua | 13 +- .../redisStore/updateBranchTransactionDO.lua | 13 +- .../redisStore/updateGlobalTransactionDO.lua | 13 +- .../lua/redislocker/acquireRedisLock.lua | 13 +- .../resources/lua/redislocker/isLockable.lua | 13 +- .../lua/redislocker/releaseRedisLock.lua | 13 +- .../lua/redislocker/updateLockStatus.lua | 13 +- server/src/test/java/ServerTest.java | 23 +-- .../test/java/WriteStoreMultithreadTest.java | 23 +-- server/src/test/java/WriteStoreTest.java | 23 +-- .../java/io/seata/server/LoaderConfTest.java | 23 +-- .../io/seata/server/ParameterParserTest.java | 23 +-- .../server/UUIDGeneratorOverflowTest.java | 23 +-- .../DefaultCoordinatorMetricsTest.java | 23 +-- .../coordinator/DefaultCoordinatorTest.java | 23 +-- .../server/coordinator/DefaultCoreTest.java | 23 +-- .../io/seata/server/env/PortHelperTest.java | 23 +-- .../event/DefaultCoreForEventBusTest.java | 23 +-- .../lock/DistributedLockerFactoryTest.java | 23 +-- .../io/seata/server/lock/LockManagerTest.java | 23 +-- .../lock/db/DataBaseLockManagerImplTest.java | 23 +-- .../lock/db/DataBaseLockStoreDAOTest.java | 23 +-- .../lock/file/FileLockManagerForTest.java | 23 +-- .../lock/file/FileLockManagerImplTest.java | 23 +-- .../lock/redis/RedisLockManagerTest.java | 23 +-- .../lock/redis/RedisLuaLockManagerTest.java | 23 +-- .../server/metrics/RegistryMeterKeyTest.java | 23 +-- .../io/seata/server/raft/RaftServerTest.java | 23 +-- .../server/raft/RaftSyncMessageTest.java | 23 +-- .../execute/BranchSessionExecuteTest.java | 24 +-- .../execute/GlobalSessionExecuteTest.java | 24 +-- .../server/raft/execute/LockExecuteTest.java | 24 +-- .../server/session/BranchSessionTest.java | 23 +-- .../session/FileSessionManagerTest.java | 23 +-- .../server/session/GlobalSessionTest.java | 23 +-- .../server/session/SessionHolderTest.java | 23 +-- .../session/SessionStatusValidatorTest.java | 23 +-- .../db/DataBaseSessionManagerTest.java | 23 +-- .../server/session/redis/MockRedisServer.java | 23 +-- .../redis/RedisDistributedLockerTest.java | 23 +-- .../RedisLuaTransactionStoreManagerTest.java | 23 +-- .../session/redis/RedisQueryConsolTest.java | 23 +-- .../redis/RedisSessionManagerTest.java | 23 +-- .../RedisTransactionStoreManagerTest.java | 23 +-- .../session/redis/SessionConverterTest.java | 23 +-- .../store/RaftSyncMessageSerializerTest.java | 23 +-- .../seata/server/store/SessionStoreTest.java | 23 +-- .../db/AbstractDataSourceProviderTest.java | 23 +-- .../store/db/LogStoreDataBaseDAOTest.java | 23 +-- .../file/FileTransactionStoreManagerTest.java | 23 +-- .../java/io/seata/server/util/StoreUtil.java | 23 +-- .../src/test/resources/application.properties | 17 ++ server/src/test/resources/file.conf | 23 ++- .../test/resources/junit-platform.properties | 23 +-- .../lua/redisStore/deleteTransactionDO.lua | 13 +- .../lua/redisStore/insertTransactionDO.lua | 13 +- .../rollbackGlobalTransactionDO.lua | 13 +- .../redisStore/updateBranchTransactionDO.lua | 13 +- .../redisStore/updateGlobalTransactionDO.lua | 13 +- .../lua/redislocker/acquireRedisLock.lua | 13 +- .../resources/lua/redislocker/isLockable.lua | 13 +- .../lua/redislocker/releaseRedisLock.lua | 13 +- .../lua/redislocker/updateLockStatus.lua | 13 +- server/src/test/resources/registry.conf | 23 ++- spring/pom.xml | 31 +-- .../io/seata/rm/fence/SpringFenceConfig.java | 23 +-- .../io/seata/rm/fence/SpringFenceHandler.java | 23 +-- .../seata/spring/SpringTargetClassParser.java | 23 +-- .../annotation/AdapterInvocationWrapper.java | 23 +-- .../AdapterSpringSeataInterceptor.java | 23 +-- .../AspectTransactionalInterceptor.java | 23 +-- .../annotation/GlobalTransactionScanner.java | 23 +-- .../seata/spring/annotation/MethodDesc.java | 23 +-- .../spring/annotation/ScannerChecker.java | 23 +-- .../AutoDataSourceProxyRegistrar.java | 23 +-- .../datasource/DataSourceProxyHolder.java | 23 +-- .../datasource/EnableAutoDataSourceProxy.java | 23 +-- .../SeataAutoDataSourceProxyAdvice.java | 23 +-- .../SeataAutoDataSourceProxyCreator.java | 23 +-- .../annotation/datasource/SeataProxy.java | 23 +-- .../ConfigBeansScannerChecker.java | 23 +-- .../PackageScannerChecker.java | 23 +-- .../ScopeBeansScannerChecker.java | 23 +-- .../kt/support/TransactionCoroutineContext.kt | 25 +-- .../seata/spring/kt/support/TransactionDsl.kt | 25 +-- .../parser/RemotingFactoryBeanParser.java | 23 +-- .../spring/tcc/TccAnnotationProcessor.java | 23 +-- .../java/io/seata/spring/util/OrderUtil.java | 23 +-- .../seata/spring/util/SpringProxyUtils.java | 23 +-- .../AdapterSpringSeataInterceptorTest.java | 23 +-- .../spring/annotation/MethodDescTest.java | 23 +-- .../SeataAutoDataSourceProxyTest.java | 23 +-- .../seata/spring/kt/TransactionScopeTest.kt | 25 +-- .../io/seata/spring/tcc/NormalTccAction.java | 23 +-- .../seata/spring/tcc/NormalTccActionImpl.java | 23 +-- .../io/seata/spring/util/MockAdvice1.java | 23 +-- .../io/seata/spring/util/MockAdvice2.java | 23 +-- .../io/seata/spring/util/MockAdvisor.java | 23 +-- .../spring/util/MockAnnotationOrdered.java | 23 +-- .../io/seata/spring/util/MockOrdered.java | 23 +-- .../io/seata/spring/util/OrderUtilTest.java | 23 +-- spring/src/test/resources/file.conf | 17 ++ spring/src/test/resources/registry.conf | 24 ++- sqlparser/pom.xml | 31 +-- sqlparser/seata-sqlparser-antlr/pom.xml | 31 +-- .../AntlrDelegatingSQLRecognizerFactory.java | 23 +-- .../antlr/SQLOperateRecognizerHolder.java | 23 +-- .../SQLOperateRecognizerHolderFactory.java | 23 +-- .../mysql/AntlrMySQLDeleteRecognizer.java | 23 +-- .../mysql/AntlrMySQLInsertRecognizer.java | 23 +-- .../mysql/AntlrMySQLRecognizerFactory.java | 23 +-- .../mysql/AntlrMySQLSelectRecognizer.java | 23 +-- .../mysql/AntlrMySQLUpdateRecognizer.java | 23 +-- .../mysql/MySQLOperateRecognizerHolder.java | 23 +-- .../sqlparser/antlr/mysql/MySqlContext.java | 23 +-- .../DeleteSpecificationSqlListener.java | 23 +-- .../SelectSpecificationSqlListener.java | 23 +-- .../UpdateSpecificationSqlListener.java | 23 +-- .../mysql/stream/ANTLRNoCaseStringStream.java | 23 +-- .../visit/InsertSpecificationSqlVisitor.java | 23 +-- .../visit/InsertStatementSqlVisitor.java | 23 +-- .../mysql/visit/StatementSqlVisitor.java | 23 +-- .../sqlparser/antlr/AntlrIsolationTest.java | 23 +-- .../antlr/MySQLDeleteRecognizerTest.java | 23 +-- .../antlr/MySQLInsertRecognizerTest.java | 23 +-- ...ectForUpdateRecognizerForListenerTest.java | 23 +-- .../antlr/MySQLUpdateRecognizerTest.java | 23 +-- sqlparser/seata-sqlparser-core/pom.xml | 31 +-- .../io/seata/sqlparser/EscapeHandler.java | 23 +-- .../seata/sqlparser/EscapeHandlerFactory.java | 23 +-- .../java/io/seata/sqlparser/EscapeSymbol.java | 23 +-- .../io/seata/sqlparser/JoinRecognizer.java | 23 +-- .../io/seata/sqlparser/ParametersHolder.java | 23 +-- .../seata/sqlparser/SQLDeleteRecognizer.java | 23 +-- .../seata/sqlparser/SQLInsertRecognizer.java | 23 +-- .../seata/sqlparser/SQLParsingException.java | 23 +-- .../io/seata/sqlparser/SQLRecognizer.java | 23 +-- .../seata/sqlparser/SQLRecognizerFactory.java | 23 +-- .../seata/sqlparser/SQLSelectRecognizer.java | 23 +-- .../main/java/io/seata/sqlparser/SQLType.java | 23 +-- .../seata/sqlparser/SQLUpdateRecognizer.java | 23 +-- .../io/seata/sqlparser/SqlParserType.java | 23 +-- .../io/seata/sqlparser/WhereRecognizer.java | 23 +-- .../io/seata/sqlparser/struct/ColumnMeta.java | 23 +-- .../seata/sqlparser/struct/Defaultable.java | 23 +-- .../io/seata/sqlparser/struct/IndexMeta.java | 23 +-- .../io/seata/sqlparser/struct/IndexType.java | 23 +-- .../sqlparser/struct/NotPlaceholderExpr.java | 23 +-- .../java/io/seata/sqlparser/struct/Null.java | 23 +-- .../seata/sqlparser/struct/Sequenceable.java | 23 +-- .../sqlparser/struct/SqlDefaultExpr.java | 23 +-- .../seata/sqlparser/struct/SqlMethodExpr.java | 23 +-- .../sqlparser/struct/SqlSequenceExpr.java | 23 +-- .../io/seata/sqlparser/struct/TableMeta.java | 23 +-- .../sqlparser/struct/TableMetaCache.java | 23 +-- .../io/seata/sqlparser/util/ColumnUtils.java | 23 +-- .../io/seata/sqlparser/util/DbTypeParser.java | 23 +-- .../seata/sqlparser/util/JdbcConstants.java | 23 +-- sqlparser/seata-sqlparser-druid/pom.xml | 31 +-- .../seata/sqlparser/druid/BaseRecognizer.java | 23 +-- .../sqlparser/druid/DefaultDruidLoader.java | 23 +-- .../sqlparser/druid/DruidDbTypeAdapter.java | 23 +-- .../druid/DruidDbTypeParserImpl.java | 23 +-- .../druid/DruidDelegatingDbTypeParser.java | 23 +-- .../DruidDelegatingSQLRecognizerFactory.java | 23 +-- .../druid/DruidIsolationClassLoader.java | 23 +-- .../io/seata/sqlparser/druid/DruidLoader.java | 23 +-- .../druid/DruidSQLRecognizerFactoryImpl.java | 23 +-- .../druid/SQLOperateRecognizerHolder.java | 23 +-- .../SQLOperateRecognizerHolderFactory.java | 23 +-- .../druid/SupportSqlWhereMethod.java | 23 +-- .../sqlparser/druid/dm/BaseDmRecognizer.java | 23 +-- .../druid/dm/DmDeleteRecognizer.java | 23 +-- .../druid/dm/DmInsertRecognizer.java | 23 +-- .../druid/dm/DmOperateRecognizerHolder.java | 23 +-- .../druid/dm/DmSelectForUpdateRecognizer.java | 23 +-- .../druid/dm/DmUpdateRecognizer.java | 23 +-- .../mariadb/MariadbDeleteRecognizer.java | 23 +-- .../mariadb/MariadbInsertRecognizer.java | 23 +-- .../MariadbOperateRecognizerHolder.java | 23 +-- .../MariadbSelectForUpdateRecognizer.java | 23 +-- .../mariadb/MariadbUpdateRecognizer.java | 23 +-- .../druid/mysql/BaseMySQLRecognizer.java | 23 +-- .../druid/mysql/MySQLDeleteRecognizer.java | 23 +-- .../druid/mysql/MySQLInsertRecognizer.java | 23 +-- .../mysql/MySQLOperateRecognizerHolder.java | 23 +-- .../mysql/MySQLSelectForUpdateRecognizer.java | 23 +-- .../druid/mysql/MySQLUpdateRecognizer.java | 23 +-- .../druid/oracle/BaseOracleRecognizer.java | 23 +-- .../druid/oracle/OracleDeleteRecognizer.java | 23 +-- .../druid/oracle/OracleInsertRecognizer.java | 23 +-- .../oracle/OracleOperateRecognizerHolder.java | 23 +-- .../OracleSelectForUpdateRecognizer.java | 23 +-- .../druid/oracle/OracleUpdateRecognizer.java | 23 +-- .../polardbx/PolarDBXDeleteRecognizer.java | 23 +-- .../polardbx/PolarDBXInsertRecognizer.java | 23 +-- .../PolarDBXOperateRecognizerHolder.java | 23 +-- .../PolarDBXSelectForUpdateRecognizer.java | 23 +-- .../polardbx/PolarDBXUpdateRecognizer.java | 23 +-- .../postgresql/BasePostgresqlRecognizer.java | 23 +-- .../PostgresqlDeleteRecognizer.java | 23 +-- .../PostgresqlInsertRecognizer.java | 23 +-- .../PostgresqlOperateRecognizerHolder.java | 23 +-- .../PostgresqlSelectForUpdateRecognizer.java | 23 +-- .../PostgresqlUpdateRecognizer.java | 23 +-- .../sqlserver/BaseSqlServerRecognizer.java | 23 +-- .../sqlserver/SqlServerDeleteRecognizer.java | 23 +-- .../sqlserver/SqlServerInsertRecognizer.java | 23 +-- .../SqlServerOperateRecognizerHolder.java | 23 +-- .../SqlServerSelectForUpdateRecognizer.java | 23 +-- .../sqlserver/SqlServerUpdateRecognizer.java | 23 +-- .../druid/AbstractRecognizerTest.java | 23 +-- .../druid/DruidDbTypeParserTest.java | 23 +-- .../sqlparser/druid/DruidIsolationTest.java | 23 +-- .../sqlparser/druid/DruidLoaderForTest.java | 23 +-- .../druid/DruidSQLRecognizerFactoryTest.java | 23 +-- .../druid/MariadbDeleteRecognizerTest.java | 23 +-- .../druid/MariadbInsertRecognizerTest.java | 23 +-- .../MariadbSelectForUpdateRecognizerTest.java | 23 +-- .../druid/MariadbUpdateRecognizerTest.java | 23 +-- .../druid/MySQLDeleteRecognizerTest.java | 23 +-- .../druid/MySQLInsertRecognizerTest.java | 23 +-- .../MySQLSelectForUpdateRecognizerTest.java | 23 +-- .../druid/MySQLUpdateRecognizerTest.java | 23 +-- .../AbstractPolarDBXRecognizerTest.java | 23 +-- .../PolarDBXDeleteRecognizerTest.java | 23 +-- .../PolarDBXInsertRecognizerTest.java | 23 +-- .../PolarDBXOperateRecognizerHolderTest.java | 23 +-- ...PolarDBXSelectForUpdateRecognizerTest.java | 23 +-- .../PolarDBXUpdateRecognizerTest.java | 23 +-- .../SqlServerDeleteRecognizerTest.java | 23 +-- .../SqlServerInsertRecognizerTest.java | 23 +-- .../SqlServerOperateRecognizerHolderTest.java | 23 +-- ...qlServerSelectForUpdateRecognizerTest.java | 23 +-- .../SqlServerUpdateRecognizerTest.java | 23 +-- style/copyright | 23 +-- style/seata_checkstyle.xml | 34 ++-- style/seata_codeStyle.xml | 30 +-- style/seata_suppressions.xml | 31 +-- tcc/pom.xml | 30 +-- .../java/io/seata/rm/tcc/RMHandlerTCC.java | 23 +-- .../java/io/seata/rm/tcc/TCCResource.java | 23 +-- .../io/seata/rm/tcc/TCCResourceManager.java | 23 +-- .../java/io/seata/rm/tcc/api/LocalTCC.java | 23 +-- .../rm/tcc/api/TwoPhaseBusinessAction.java | 23 +-- .../TccActionInterceptorHandler.java | 23 +-- .../parser/TccActionInterceptorParser.java | 23 +-- .../io/seata/rm/tcc/json/FastJsonParser.java | 23 +-- .../io/seata/rm/tcc/json/GsonJsonParser.java | 23 +-- .../seata/rm/tcc/json/JacksonJsonParser.java | 23 +-- .../parser/LocalTCCRemotingParser.java | 23 +-- .../parser/TccRegisterResourceParser.java | 23 +-- .../java/io/seata/rm/tcc/NormalTccAction.java | 23 +-- .../io/seata/rm/tcc/NormalTccActionImpl.java | 23 +-- tcc/src/test/java/io/seata/rm/tcc/Param.java | 23 +-- .../test/java/io/seata/rm/tcc/TccAction.java | 23 +-- .../java/io/seata/rm/tcc/TccActionImpl.java | 23 +-- .../test/java/io/seata/rm/tcc/TccParam.java | 23 +-- .../rm/tcc/interceptor/ProxyUtilsTccTest.java | 23 +-- .../TccActionInterceptorParserTest.java | 23 +-- .../parser/LocalTCCRemotingParserTest.java | 23 +-- .../parser/TccRegisterResourceParserTest.java | 23 +-- .../java/io/seata/rm/tcc/spring/Business.java | 23 +-- .../io/seata/rm/tcc/spring/BusinessImpl.java | 23 +-- .../io/seata/rm/tcc/spring/BusinessProxy.java | 23 +-- .../spring/GlobalTransactionScannerTest.java | 23 +-- .../rm/tcc/spring/tcc/LocalTccAction.java | 23 +-- .../rm/tcc/spring/tcc/LocalTccActionImpl.java | 23 +-- .../io/seata/rm/tcc/spring/tcc/TccAction.java | 23 +-- .../rm/tcc/spring/tcc/TccActionImpl.java | 23 +-- tcc/src/test/resources/file.conf | 17 ++ tcc/src/test/resources/registry.conf | 24 ++- test/pom.xml | 31 +-- test/src/test/java/AppTest.java | 23 +-- ...tionWithGlobalLockDataSourceBasicTest.java | 23 +-- .../at/ATModeSupportDataBaseDataTypeTest.java | 23 +-- .../io/seata/at/DruidDataSourceUtils.java | 23 +-- .../seata/at/mysql/MysqlUpdateJoinTest.java | 23 +-- .../io/seata/at/oracle/OracleSqlConstant.java | 23 +-- .../at/oracle/SupportOracleDataTypeTest.java | 23 +-- .../test/java/io/seata/at/oracle/bfile.txt | 23 +-- .../java/io/seata/at/oracle/bfileUpdate.txt | 23 +-- .../at/oracle/support_orderle_dataType.sql | 23 +-- .../io/seata/common/ApplicationKeeper.java | 23 +-- .../java/io/seata/common/LockAndCallback.java | 23 +-- .../java/io/seata/common/SagaCostPrint.java | 23 +-- .../loader/EnhancedServiceLoaderTest.java | 23 +-- .../seata/common/loader/LoaderTestImpl1.java | 23 +-- .../seata/common/loader/LoaderTestImpl2.java | 23 +-- .../io/seata/common/loader/LoaderTestSPI.java | 23 +-- .../core/rpc/netty/TmNettyClientTest.java | 23 +-- .../rpc/netty/v1/ClientChannelHandler.java | 23 +-- .../rpc/netty/v1/HeadMapSerializerTest.java | 23 +-- .../core/rpc/netty/v1/ProtocolV1Client.java | 23 +-- .../netty/v1/ProtocolV1SerializerTest.java | 23 +-- .../core/rpc/netty/v1/ProtocolV1Server.java | 23 +-- .../rpc/netty/v1/ServerChannelHandler.java | 23 +-- .../saga/engine/StateMachineAsyncTests.java | 23 +-- .../seata/saga/engine/StateMachineTests.java | 23 +-- .../saga/engine/db/AbstractServerTest.java | 23 +-- .../saga/engine/db/StateMachineDBTests.java | 23 +-- .../StateMachineAsyncDBMockServerTests.java | 23 +-- .../StateMachineDBMockServerTests.java | 23 +-- .../seata/saga/engine/mock/DemoException.java | 23 +-- .../seata/saga/engine/mock/DemoService.java | 23 +-- .../engine/mock/MockGlobalTransaction.java | 23 +-- .../mock/MockSagaTransactionTemplate.java | 23 +-- .../mock/MockStateHandlerInterceptor.java | 23 +-- .../mock/MockStateRouterInterceptor.java | 23 +-- .../test/java/io/seata/xa/XAModeTest2.java | 23 +-- .../src/test/resources/basic-test-context.xml | 30 +-- test/src/test/resources/biz.sql | 17 ++ test/src/test/resources/file.conf | 23 ++- test/src/test/resources/logback.xml | 30 +-- test/src/test/resources/registry.conf | 23 ++- ...statemachine_engine_db_mockserver_test.xml | 151 ++++++++------- .../spring/statemachine_engine_db_test.xml | 153 +++++++-------- .../saga/spring/statemachine_engine_test.xml | 97 +++++----- test/src/test/resources/saga/sql/db2_init.sql | 17 ++ test/src/test/resources/saga/sql/h2_init.sql | 17 ++ .../test/resources/saga/sql/mysql_init.sql | 17 ++ .../test/resources/saga/sql/oracle_init.sql | 17 ++ tm/pom.xml | 30 +-- .../seata/tm/DefaultTransactionManager.java | 23 +-- tm/src/main/java/io/seata/tm/TMClient.java | 23 +-- .../io/seata/tm/TransactionManagerHolder.java | 23 +-- .../tm/api/DefaultFailureHandlerImpl.java | 23 +-- .../tm/api/DefaultGlobalTransaction.java | 23 +-- .../java/io/seata/tm/api/FailureHandler.java | 23 +-- .../io/seata/tm/api/FailureHandlerHolder.java | 23 +-- .../io/seata/tm/api/GlobalTransaction.java | 23 +-- .../tm/api/GlobalTransactionContext.java | 23 +-- .../seata/tm/api/GlobalTransactionRole.java | 23 +-- .../seata/tm/api/TransactionalExecutor.java | 23 +-- .../seata/tm/api/TransactionalTemplate.java | 23 +-- .../tm/api/transaction/NoRollbackRule.java | 23 +-- .../seata/tm/api/transaction/Propagation.java | 23 +-- .../tm/api/transaction/RollbackRule.java | 23 +-- .../transaction/SuspendedResourcesHolder.java | 23 +-- .../tm/api/transaction/TransactionHook.java | 23 +-- .../transaction/TransactionHookAdapter.java | 23 +-- .../transaction/TransactionHookManager.java | 23 +-- .../tm/api/transaction/TransactionInfo.java | 23 +-- .../test/java/io/seata/tm/TMClientTest.java | 23 +-- .../tm/TransactionManagerHolderTest.java | 23 +-- tm/src/test/java/io/seata/tm/api/APITest.java | 23 +-- .../tm/api/DefaultFailureHandlerImplTest.java | 23 +-- .../tm/api/DefaultGlobalTransactionTest.java | 23 +-- .../tm/api/GlobalTransactionContextTest.java | 23 +-- .../seata/tm/api/TransactionTemplateTest.java | 23 +-- .../api/transaction/MyRuntimeException.java | 23 +-- .../api/transaction/NoRollbackRuleTest.java | 23 +-- .../tm/api/transaction/RollbackRuleTest.java | 23 +-- .../TransactionHookManagerTest.java | 23 +-- .../api/transaction/TransactionInfoTest.java | 23 +-- tm/src/test/resources/file.conf | 17 ++ tm/src/test/resources/registry.conf | 24 ++- 1975 files changed, 24701 insertions(+), 21627 deletions(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index ec17c1a72c5..b107056e483 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -1,11 +1,12 @@ # -# Copyright 1999-2019 Seata.io Group. +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,16 +14,18 @@ # See the License for the specific language governing permissions and # limitations under the License. # + header: license: spdx-id: Apache-2.0 - copyright-owner: Seata.io + copyright-owner: Apache Software Foundation content: | - Copyright 1999-2019 Seata.io Group. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 diff --git a/all/pom.xml b/all/pom.xml index 597a6a20e77..314356c09b6 100644 --- a/all/pom.xml +++ b/all/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/bom/pom.xml b/bom/pom.xml index f60d4b034f6..0cf286fc9f4 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/build/pom.xml b/build/pom.xml index 946fa0f7244..336567f90ad 100644 --- a/build/pom.xml +++ b/build/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> @@ -92,7 +95,7 @@ 3.8 1.3.6 3.0.0 - 3.0 + 4.0 1.20 3.1.1 3.0.0-M3 diff --git a/changeVersion.sh b/changeVersion.sh index 6a2347f1996..c652b833cc2 100755 --- a/changeVersion.sh +++ b/changeVersion.sh @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + echo "./changeVersion.sh oldVersion newVersion" echo $1 echo $2 diff --git a/codecov.yml b/codecov.yml index e60b1be0fec..4642913229e 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + codecov: require_ci_to_pass: yes coverage: diff --git a/common/pom.xml b/common/pom.xml index 3fbd330db7c..c86fe24f4f8 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/common/src/main/java/io/seata/common/ConfigurationKeys.java b/common/src/main/java/io/seata/common/ConfigurationKeys.java index e90f52ea5df..15a7e3888f2 100644 --- a/common/src/main/java/io/seata/common/ConfigurationKeys.java +++ b/common/src/main/java/io/seata/common/ConfigurationKeys.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common; diff --git a/common/src/main/java/io/seata/common/Constants.java b/common/src/main/java/io/seata/common/Constants.java index 024389efa69..56a54f4f983 100644 --- a/common/src/main/java/io/seata/common/Constants.java +++ b/common/src/main/java/io/seata/common/Constants.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common; diff --git a/common/src/main/java/io/seata/common/DefaultValues.java b/common/src/main/java/io/seata/common/DefaultValues.java index f3fc347c237..466d97864f7 100644 --- a/common/src/main/java/io/seata/common/DefaultValues.java +++ b/common/src/main/java/io/seata/common/DefaultValues.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common; diff --git a/common/src/main/java/io/seata/common/LockStrategyMode.java b/common/src/main/java/io/seata/common/LockStrategyMode.java index cd052f98bae..538c18fd17d 100644 --- a/common/src/main/java/io/seata/common/LockStrategyMode.java +++ b/common/src/main/java/io/seata/common/LockStrategyMode.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common; diff --git a/common/src/main/java/io/seata/common/XID.java b/common/src/main/java/io/seata/common/XID.java index 72c3a4913b4..14868f6df64 100644 --- a/common/src/main/java/io/seata/common/XID.java +++ b/common/src/main/java/io/seata/common/XID.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common; diff --git a/common/src/main/java/io/seata/common/exception/AuthenticationFailedException.java b/common/src/main/java/io/seata/common/exception/AuthenticationFailedException.java index 64b5d515599..34826c71d90 100644 --- a/common/src/main/java/io/seata/common/exception/AuthenticationFailedException.java +++ b/common/src/main/java/io/seata/common/exception/AuthenticationFailedException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/main/java/io/seata/common/exception/DataAccessException.java b/common/src/main/java/io/seata/common/exception/DataAccessException.java index e1b5bba9ffe..ae4c56b39b4 100644 --- a/common/src/main/java/io/seata/common/exception/DataAccessException.java +++ b/common/src/main/java/io/seata/common/exception/DataAccessException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/main/java/io/seata/common/exception/EurekaRegistryException.java b/common/src/main/java/io/seata/common/exception/EurekaRegistryException.java index 69b938a25eb..47996d4886e 100644 --- a/common/src/main/java/io/seata/common/exception/EurekaRegistryException.java +++ b/common/src/main/java/io/seata/common/exception/EurekaRegistryException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/main/java/io/seata/common/exception/FrameworkErrorCode.java b/common/src/main/java/io/seata/common/exception/FrameworkErrorCode.java index 938268552c6..31f54c4cdb7 100644 --- a/common/src/main/java/io/seata/common/exception/FrameworkErrorCode.java +++ b/common/src/main/java/io/seata/common/exception/FrameworkErrorCode.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/main/java/io/seata/common/exception/FrameworkException.java b/common/src/main/java/io/seata/common/exception/FrameworkException.java index 0866614cb78..c1deeb7d9e4 100644 --- a/common/src/main/java/io/seata/common/exception/FrameworkException.java +++ b/common/src/main/java/io/seata/common/exception/FrameworkException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/main/java/io/seata/common/exception/JsonParseException.java b/common/src/main/java/io/seata/common/exception/JsonParseException.java index cade98b7a7b..efbd1606be6 100644 --- a/common/src/main/java/io/seata/common/exception/JsonParseException.java +++ b/common/src/main/java/io/seata/common/exception/JsonParseException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/main/java/io/seata/common/exception/NotSupportYetException.java b/common/src/main/java/io/seata/common/exception/NotSupportYetException.java index eb3d5cea7ab..b16939b88f0 100644 --- a/common/src/main/java/io/seata/common/exception/NotSupportYetException.java +++ b/common/src/main/java/io/seata/common/exception/NotSupportYetException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/main/java/io/seata/common/exception/RedisException.java b/common/src/main/java/io/seata/common/exception/RedisException.java index a2944b8d481..2e118ae09a7 100644 --- a/common/src/main/java/io/seata/common/exception/RedisException.java +++ b/common/src/main/java/io/seata/common/exception/RedisException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/main/java/io/seata/common/exception/RetryableException.java b/common/src/main/java/io/seata/common/exception/RetryableException.java index 178d60e97fd..acc4b76aacb 100644 --- a/common/src/main/java/io/seata/common/exception/RetryableException.java +++ b/common/src/main/java/io/seata/common/exception/RetryableException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/main/java/io/seata/common/exception/ShouldNeverHappenException.java b/common/src/main/java/io/seata/common/exception/ShouldNeverHappenException.java index b9b454ab010..c405dbaa2cd 100644 --- a/common/src/main/java/io/seata/common/exception/ShouldNeverHappenException.java +++ b/common/src/main/java/io/seata/common/exception/ShouldNeverHappenException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/main/java/io/seata/common/exception/SkipCallbackWrapperException.java b/common/src/main/java/io/seata/common/exception/SkipCallbackWrapperException.java index 763a4afe273..b7839a74870 100644 --- a/common/src/main/java/io/seata/common/exception/SkipCallbackWrapperException.java +++ b/common/src/main/java/io/seata/common/exception/SkipCallbackWrapperException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/main/java/io/seata/common/exception/StoreException.java b/common/src/main/java/io/seata/common/exception/StoreException.java index 32cbd9ec79d..6b3739ed4b7 100644 --- a/common/src/main/java/io/seata/common/exception/StoreException.java +++ b/common/src/main/java/io/seata/common/exception/StoreException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/main/java/io/seata/common/executor/Callback.java b/common/src/main/java/io/seata/common/executor/Callback.java index fc3ff53aba3..9d5e4e3e621 100644 --- a/common/src/main/java/io/seata/common/executor/Callback.java +++ b/common/src/main/java/io/seata/common/executor/Callback.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.executor; diff --git a/common/src/main/java/io/seata/common/executor/Initialize.java b/common/src/main/java/io/seata/common/executor/Initialize.java index 49c41cda288..1126657b7cc 100644 --- a/common/src/main/java/io/seata/common/executor/Initialize.java +++ b/common/src/main/java/io/seata/common/executor/Initialize.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.executor; diff --git a/common/src/main/java/io/seata/common/holder/ObjectHolder.java b/common/src/main/java/io/seata/common/holder/ObjectHolder.java index 6be927878a3..744fe9524aa 100644 --- a/common/src/main/java/io/seata/common/holder/ObjectHolder.java +++ b/common/src/main/java/io/seata/common/holder/ObjectHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.holder; diff --git a/common/src/main/java/io/seata/common/io/FileLoader.java b/common/src/main/java/io/seata/common/io/FileLoader.java index 79217f4421f..fc9500c2bbb 100644 --- a/common/src/main/java/io/seata/common/io/FileLoader.java +++ b/common/src/main/java/io/seata/common/io/FileLoader.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.io; diff --git a/common/src/main/java/io/seata/common/loader/EnhancedServiceLoader.java b/common/src/main/java/io/seata/common/loader/EnhancedServiceLoader.java index dc56d50f76c..4aaa30ac324 100644 --- a/common/src/main/java/io/seata/common/loader/EnhancedServiceLoader.java +++ b/common/src/main/java/io/seata/common/loader/EnhancedServiceLoader.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.loader; diff --git a/common/src/main/java/io/seata/common/loader/EnhancedServiceNotFoundException.java b/common/src/main/java/io/seata/common/loader/EnhancedServiceNotFoundException.java index 4c1c4d08947..1e3d06334bb 100644 --- a/common/src/main/java/io/seata/common/loader/EnhancedServiceNotFoundException.java +++ b/common/src/main/java/io/seata/common/loader/EnhancedServiceNotFoundException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.loader; diff --git a/common/src/main/java/io/seata/common/loader/ExtensionDefinition.java b/common/src/main/java/io/seata/common/loader/ExtensionDefinition.java index ea8b4790c1a..330ab9256c7 100644 --- a/common/src/main/java/io/seata/common/loader/ExtensionDefinition.java +++ b/common/src/main/java/io/seata/common/loader/ExtensionDefinition.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.loader; diff --git a/common/src/main/java/io/seata/common/loader/LoadLevel.java b/common/src/main/java/io/seata/common/loader/LoadLevel.java index 1c974a6a03f..46ca89f19ae 100644 --- a/common/src/main/java/io/seata/common/loader/LoadLevel.java +++ b/common/src/main/java/io/seata/common/loader/LoadLevel.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.loader; diff --git a/common/src/main/java/io/seata/common/loader/Scope.java b/common/src/main/java/io/seata/common/loader/Scope.java index cb8d76abd34..908e1f3b64a 100644 --- a/common/src/main/java/io/seata/common/loader/Scope.java +++ b/common/src/main/java/io/seata/common/loader/Scope.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.loader; diff --git a/common/src/main/java/io/seata/common/metadata/ClusterRole.java b/common/src/main/java/io/seata/common/metadata/ClusterRole.java index cbe6ab5f5d3..e69e16fa834 100644 --- a/common/src/main/java/io/seata/common/metadata/ClusterRole.java +++ b/common/src/main/java/io/seata/common/metadata/ClusterRole.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.metadata; diff --git a/common/src/main/java/io/seata/common/metadata/Metadata.java b/common/src/main/java/io/seata/common/metadata/Metadata.java index cf3eac3cc1a..be67889bf96 100644 --- a/common/src/main/java/io/seata/common/metadata/Metadata.java +++ b/common/src/main/java/io/seata/common/metadata/Metadata.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.metadata; diff --git a/common/src/main/java/io/seata/common/metadata/MetadataResponse.java b/common/src/main/java/io/seata/common/metadata/MetadataResponse.java index 500df2b1ebc..86dd460e34f 100644 --- a/common/src/main/java/io/seata/common/metadata/MetadataResponse.java +++ b/common/src/main/java/io/seata/common/metadata/MetadataResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.metadata; diff --git a/common/src/main/java/io/seata/common/metadata/Node.java b/common/src/main/java/io/seata/common/metadata/Node.java index 022b25bd89a..7a4dbefc8fd 100644 --- a/common/src/main/java/io/seata/common/metadata/Node.java +++ b/common/src/main/java/io/seata/common/metadata/Node.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.metadata; diff --git a/common/src/main/java/io/seata/common/rpc/RpcStatus.java b/common/src/main/java/io/seata/common/rpc/RpcStatus.java index 350a3644734..b9e50d68069 100644 --- a/common/src/main/java/io/seata/common/rpc/RpcStatus.java +++ b/common/src/main/java/io/seata/common/rpc/RpcStatus.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.rpc; diff --git a/common/src/main/java/io/seata/common/store/StoreMode.java b/common/src/main/java/io/seata/common/store/StoreMode.java index 0d5c0918424..f72913e827c 100644 --- a/common/src/main/java/io/seata/common/store/StoreMode.java +++ b/common/src/main/java/io/seata/common/store/StoreMode.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.store; diff --git a/common/src/main/java/io/seata/common/thread/NamedThreadFactory.java b/common/src/main/java/io/seata/common/thread/NamedThreadFactory.java index d04ce31672e..127b573cfb6 100644 --- a/common/src/main/java/io/seata/common/thread/NamedThreadFactory.java +++ b/common/src/main/java/io/seata/common/thread/NamedThreadFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.thread; diff --git a/common/src/main/java/io/seata/common/thread/PositiveAtomicCounter.java b/common/src/main/java/io/seata/common/thread/PositiveAtomicCounter.java index 2db4ed9d168..74206bbb0f6 100644 --- a/common/src/main/java/io/seata/common/thread/PositiveAtomicCounter.java +++ b/common/src/main/java/io/seata/common/thread/PositiveAtomicCounter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.thread; diff --git a/common/src/main/java/io/seata/common/thread/RejectedPolicies.java b/common/src/main/java/io/seata/common/thread/RejectedPolicies.java index 158b8c8ad8b..51e4ede1733 100644 --- a/common/src/main/java/io/seata/common/thread/RejectedPolicies.java +++ b/common/src/main/java/io/seata/common/thread/RejectedPolicies.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.thread; diff --git a/common/src/main/java/io/seata/common/util/ArrayUtils.java b/common/src/main/java/io/seata/common/util/ArrayUtils.java index 75530884095..64bbaeda1f0 100644 --- a/common/src/main/java/io/seata/common/util/ArrayUtils.java +++ b/common/src/main/java/io/seata/common/util/ArrayUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/BeanUtils.java b/common/src/main/java/io/seata/common/util/BeanUtils.java index 8e72e28bcab..8f60b6d89b2 100644 --- a/common/src/main/java/io/seata/common/util/BeanUtils.java +++ b/common/src/main/java/io/seata/common/util/BeanUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/BlobUtils.java b/common/src/main/java/io/seata/common/util/BlobUtils.java index 1f44438ffa8..c1a73e8c81a 100644 --- a/common/src/main/java/io/seata/common/util/BlobUtils.java +++ b/common/src/main/java/io/seata/common/util/BlobUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/BufferUtils.java b/common/src/main/java/io/seata/common/util/BufferUtils.java index 5b69ecf7a0d..96ba4c983a0 100644 --- a/common/src/main/java/io/seata/common/util/BufferUtils.java +++ b/common/src/main/java/io/seata/common/util/BufferUtils.java @@ -1,14 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on - * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/CollectionUtils.java b/common/src/main/java/io/seata/common/util/CollectionUtils.java index b2c7a274399..208bde310ac 100644 --- a/common/src/main/java/io/seata/common/util/CollectionUtils.java +++ b/common/src/main/java/io/seata/common/util/CollectionUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/CompressUtil.java b/common/src/main/java/io/seata/common/util/CompressUtil.java index 1c5b42c498e..f47180633ae 100644 --- a/common/src/main/java/io/seata/common/util/CompressUtil.java +++ b/common/src/main/java/io/seata/common/util/CompressUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/ConfigTools.java b/common/src/main/java/io/seata/common/util/ConfigTools.java index b3b5b7aa446..37e4cab4fcf 100644 --- a/common/src/main/java/io/seata/common/util/ConfigTools.java +++ b/common/src/main/java/io/seata/common/util/ConfigTools.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/CycleDependencyHandler.java b/common/src/main/java/io/seata/common/util/CycleDependencyHandler.java index 8703f3d690a..2149468997e 100644 --- a/common/src/main/java/io/seata/common/util/CycleDependencyHandler.java +++ b/common/src/main/java/io/seata/common/util/CycleDependencyHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/DateUtil.java b/common/src/main/java/io/seata/common/util/DateUtil.java index 32bf8c86d04..8fe1336e450 100644 --- a/common/src/main/java/io/seata/common/util/DateUtil.java +++ b/common/src/main/java/io/seata/common/util/DateUtil.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.common.util; import java.text.ParseException; diff --git a/common/src/main/java/io/seata/common/util/DurationUtil.java b/common/src/main/java/io/seata/common/util/DurationUtil.java index 8315e40e8c4..7200783cf37 100644 --- a/common/src/main/java/io/seata/common/util/DurationUtil.java +++ b/common/src/main/java/io/seata/common/util/DurationUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/HttpClientUtil.java b/common/src/main/java/io/seata/common/util/HttpClientUtil.java index 1989df87a58..9ba981bf390 100644 --- a/common/src/main/java/io/seata/common/util/HttpClientUtil.java +++ b/common/src/main/java/io/seata/common/util/HttpClientUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/IOUtil.java b/common/src/main/java/io/seata/common/util/IOUtil.java index 04355290965..850b03d34a2 100644 --- a/common/src/main/java/io/seata/common/util/IOUtil.java +++ b/common/src/main/java/io/seata/common/util/IOUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/IdWorker.java b/common/src/main/java/io/seata/common/util/IdWorker.java index b7e801370f2..b107d1fb494 100644 --- a/common/src/main/java/io/seata/common/util/IdWorker.java +++ b/common/src/main/java/io/seata/common/util/IdWorker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/LambdaUtils.java b/common/src/main/java/io/seata/common/util/LambdaUtils.java index 134840e3bc7..9c43be84ad8 100644 --- a/common/src/main/java/io/seata/common/util/LambdaUtils.java +++ b/common/src/main/java/io/seata/common/util/LambdaUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/LowerCaseLinkHashMap.java b/common/src/main/java/io/seata/common/util/LowerCaseLinkHashMap.java index d95344d6d8d..b94ce07a1c9 100644 --- a/common/src/main/java/io/seata/common/util/LowerCaseLinkHashMap.java +++ b/common/src/main/java/io/seata/common/util/LowerCaseLinkHashMap.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/MapUtil.java b/common/src/main/java/io/seata/common/util/MapUtil.java index b86a19423dc..a9a273e24c0 100644 --- a/common/src/main/java/io/seata/common/util/MapUtil.java +++ b/common/src/main/java/io/seata/common/util/MapUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/NetAddressValidatorUtil.java b/common/src/main/java/io/seata/common/util/NetAddressValidatorUtil.java index 00f8b53d90c..3edbdb4675d 100644 --- a/common/src/main/java/io/seata/common/util/NetAddressValidatorUtil.java +++ b/common/src/main/java/io/seata/common/util/NetAddressValidatorUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/NetUtil.java b/common/src/main/java/io/seata/common/util/NetUtil.java index 4feb47d1b7c..4551d21a6ed 100644 --- a/common/src/main/java/io/seata/common/util/NetUtil.java +++ b/common/src/main/java/io/seata/common/util/NetUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/NumberUtils.java b/common/src/main/java/io/seata/common/util/NumberUtils.java index 0724ef55928..d306f523669 100644 --- a/common/src/main/java/io/seata/common/util/NumberUtils.java +++ b/common/src/main/java/io/seata/common/util/NumberUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/PageUtil.java b/common/src/main/java/io/seata/common/util/PageUtil.java index 6e40c6dd67a..5a574c12e99 100644 --- a/common/src/main/java/io/seata/common/util/PageUtil.java +++ b/common/src/main/java/io/seata/common/util/PageUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/ReflectionUtil.java b/common/src/main/java/io/seata/common/util/ReflectionUtil.java index b20d1c9f394..8a631050899 100644 --- a/common/src/main/java/io/seata/common/util/ReflectionUtil.java +++ b/common/src/main/java/io/seata/common/util/ReflectionUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/SizeUtil.java b/common/src/main/java/io/seata/common/util/SizeUtil.java index 0db04237b33..612c930b0e1 100755 --- a/common/src/main/java/io/seata/common/util/SizeUtil.java +++ b/common/src/main/java/io/seata/common/util/SizeUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/StringFormatUtils.java b/common/src/main/java/io/seata/common/util/StringFormatUtils.java index 5f8d96b1f3a..49ac3f4ffa2 100644 --- a/common/src/main/java/io/seata/common/util/StringFormatUtils.java +++ b/common/src/main/java/io/seata/common/util/StringFormatUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/main/java/io/seata/common/util/StringUtils.java b/common/src/main/java/io/seata/common/util/StringUtils.java index 2b1e662b1a8..42740f36d90 100644 --- a/common/src/main/java/io/seata/common/util/StringUtils.java +++ b/common/src/main/java/io/seata/common/util/StringUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/BranchDO.java b/common/src/test/java/io/seata/common/BranchDO.java index 0d950fd0c2b..0c12b1dec1f 100644 --- a/common/src/test/java/io/seata/common/BranchDO.java +++ b/common/src/test/java/io/seata/common/BranchDO.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common; diff --git a/common/src/test/java/io/seata/common/XIDTest.java b/common/src/test/java/io/seata/common/XIDTest.java index 2540bb35dca..89f116b6720 100644 --- a/common/src/test/java/io/seata/common/XIDTest.java +++ b/common/src/test/java/io/seata/common/XIDTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common; diff --git a/common/src/test/java/io/seata/common/exception/DataAccessExceptionTest.java b/common/src/test/java/io/seata/common/exception/DataAccessExceptionTest.java index 4060bf035d0..1311261b96e 100644 --- a/common/src/test/java/io/seata/common/exception/DataAccessExceptionTest.java +++ b/common/src/test/java/io/seata/common/exception/DataAccessExceptionTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/test/java/io/seata/common/exception/EurekaRegistryExceptionTest.java b/common/src/test/java/io/seata/common/exception/EurekaRegistryExceptionTest.java index 32230cc91ff..470282562cb 100644 --- a/common/src/test/java/io/seata/common/exception/EurekaRegistryExceptionTest.java +++ b/common/src/test/java/io/seata/common/exception/EurekaRegistryExceptionTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/test/java/io/seata/common/exception/FrameworkExceptionTest.java b/common/src/test/java/io/seata/common/exception/FrameworkExceptionTest.java index cbb014271c7..a32b5e113b1 100644 --- a/common/src/test/java/io/seata/common/exception/FrameworkExceptionTest.java +++ b/common/src/test/java/io/seata/common/exception/FrameworkExceptionTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/test/java/io/seata/common/exception/Message.java b/common/src/test/java/io/seata/common/exception/Message.java index c41c9a8292a..4bddd0abc1f 100644 --- a/common/src/test/java/io/seata/common/exception/Message.java +++ b/common/src/test/java/io/seata/common/exception/Message.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/test/java/io/seata/common/exception/NotSupportYetExceptionTest.java b/common/src/test/java/io/seata/common/exception/NotSupportYetExceptionTest.java index bcb8ec04557..c38aaf168e4 100644 --- a/common/src/test/java/io/seata/common/exception/NotSupportYetExceptionTest.java +++ b/common/src/test/java/io/seata/common/exception/NotSupportYetExceptionTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/test/java/io/seata/common/exception/ShouldNeverHappenExceptionTest.java b/common/src/test/java/io/seata/common/exception/ShouldNeverHappenExceptionTest.java index cd6fa664a1d..729024217b7 100644 --- a/common/src/test/java/io/seata/common/exception/ShouldNeverHappenExceptionTest.java +++ b/common/src/test/java/io/seata/common/exception/ShouldNeverHappenExceptionTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/test/java/io/seata/common/exception/StoreExceptionTest.java b/common/src/test/java/io/seata/common/exception/StoreExceptionTest.java index 8e284346f0c..639575369d2 100644 --- a/common/src/test/java/io/seata/common/exception/StoreExceptionTest.java +++ b/common/src/test/java/io/seata/common/exception/StoreExceptionTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.exception; diff --git a/common/src/test/java/io/seata/common/holder/ObjectHolderTest.java b/common/src/test/java/io/seata/common/holder/ObjectHolderTest.java index bb158cd34a7..56f2128237d 100644 --- a/common/src/test/java/io/seata/common/holder/ObjectHolderTest.java +++ b/common/src/test/java/io/seata/common/holder/ObjectHolderTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.common.holder; import io.seata.common.exception.ShouldNeverHappenException; diff --git a/common/src/test/java/io/seata/common/io/FileLoaderTest.java b/common/src/test/java/io/seata/common/io/FileLoaderTest.java index 561f4e4909b..61602c3074f 100644 --- a/common/src/test/java/io/seata/common/io/FileLoaderTest.java +++ b/common/src/test/java/io/seata/common/io/FileLoaderTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.common.io; import java.io.File; diff --git a/common/src/test/java/io/seata/common/loader/ChineseHello.java b/common/src/test/java/io/seata/common/loader/ChineseHello.java index f2949a1f88f..a9afba9f71c 100644 --- a/common/src/test/java/io/seata/common/loader/ChineseHello.java +++ b/common/src/test/java/io/seata/common/loader/ChineseHello.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.loader; diff --git a/common/src/test/java/io/seata/common/loader/EnglishHello.java b/common/src/test/java/io/seata/common/loader/EnglishHello.java index 028b2da042d..0622a940642 100644 --- a/common/src/test/java/io/seata/common/loader/EnglishHello.java +++ b/common/src/test/java/io/seata/common/loader/EnglishHello.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.loader; diff --git a/common/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java b/common/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java index 04311bc51b4..f976cbfb344 100644 --- a/common/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java +++ b/common/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.loader; diff --git a/common/src/test/java/io/seata/common/loader/ExtensionDefinitionTest.java b/common/src/test/java/io/seata/common/loader/ExtensionDefinitionTest.java index 897519bfdaa..df28b2cbf13 100644 --- a/common/src/test/java/io/seata/common/loader/ExtensionDefinitionTest.java +++ b/common/src/test/java/io/seata/common/loader/ExtensionDefinitionTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.common.loader; import org.junit.jupiter.api.Assertions; diff --git a/common/src/test/java/io/seata/common/loader/FrenchHello.java b/common/src/test/java/io/seata/common/loader/FrenchHello.java index a7c38320fe5..ae6c6978b58 100644 --- a/common/src/test/java/io/seata/common/loader/FrenchHello.java +++ b/common/src/test/java/io/seata/common/loader/FrenchHello.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.loader; diff --git a/common/src/test/java/io/seata/common/loader/Hello.java b/common/src/test/java/io/seata/common/loader/Hello.java index cb1bb9e6047..6b125883068 100644 --- a/common/src/test/java/io/seata/common/loader/Hello.java +++ b/common/src/test/java/io/seata/common/loader/Hello.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.loader; diff --git a/common/src/test/java/io/seata/common/loader/Hello1.java b/common/src/test/java/io/seata/common/loader/Hello1.java index 72bdc4f196b..98465b8cd68 100644 --- a/common/src/test/java/io/seata/common/loader/Hello1.java +++ b/common/src/test/java/io/seata/common/loader/Hello1.java @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package io.seata.common.loader; /* * Copyright 1999-2019 Seata.io Group. diff --git a/common/src/test/java/io/seata/common/loader/Hello2.java b/common/src/test/java/io/seata/common/loader/Hello2.java index be4a55e63cc..1d34f9b3c1a 100644 --- a/common/src/test/java/io/seata/common/loader/Hello2.java +++ b/common/src/test/java/io/seata/common/loader/Hello2.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.common.loader; /** diff --git a/common/src/test/java/io/seata/common/loader/JapaneseHello.java b/common/src/test/java/io/seata/common/loader/JapaneseHello.java index b00da0402e7..c5c56c5e8cc 100644 --- a/common/src/test/java/io/seata/common/loader/JapaneseHello.java +++ b/common/src/test/java/io/seata/common/loader/JapaneseHello.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.common.loader; /** diff --git a/common/src/test/java/io/seata/common/loader/LatinHello.java b/common/src/test/java/io/seata/common/loader/LatinHello.java index 458b10cab1b..631063f42aa 100644 --- a/common/src/test/java/io/seata/common/loader/LatinHello.java +++ b/common/src/test/java/io/seata/common/loader/LatinHello.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.loader; diff --git a/common/src/test/java/io/seata/common/rpc/RpcStatusTest.java b/common/src/test/java/io/seata/common/rpc/RpcStatusTest.java index cbf7d7ae805..1ae9926f5da 100644 --- a/common/src/test/java/io/seata/common/rpc/RpcStatusTest.java +++ b/common/src/test/java/io/seata/common/rpc/RpcStatusTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.rpc; diff --git a/common/src/test/java/io/seata/common/thread/NamedThreadFactoryTest.java b/common/src/test/java/io/seata/common/thread/NamedThreadFactoryTest.java index 84603c4f492..d4d86c73034 100644 --- a/common/src/test/java/io/seata/common/thread/NamedThreadFactoryTest.java +++ b/common/src/test/java/io/seata/common/thread/NamedThreadFactoryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.thread; diff --git a/common/src/test/java/io/seata/common/thread/PositiveAtomicCounterTest.java b/common/src/test/java/io/seata/common/thread/PositiveAtomicCounterTest.java index 6c5a4563f5b..36a94518ce7 100644 --- a/common/src/test/java/io/seata/common/thread/PositiveAtomicCounterTest.java +++ b/common/src/test/java/io/seata/common/thread/PositiveAtomicCounterTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.thread; diff --git a/common/src/test/java/io/seata/common/thread/RejectedPoliciesTest.java b/common/src/test/java/io/seata/common/thread/RejectedPoliciesTest.java index 1fb2c70f99d..b176c118372 100644 --- a/common/src/test/java/io/seata/common/thread/RejectedPoliciesTest.java +++ b/common/src/test/java/io/seata/common/thread/RejectedPoliciesTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.thread; diff --git a/common/src/test/java/io/seata/common/util/ArrayUtilsTest.java b/common/src/test/java/io/seata/common/util/ArrayUtilsTest.java index aedb11e6597..e7d746c83a4 100644 --- a/common/src/test/java/io/seata/common/util/ArrayUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/ArrayUtilsTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.common.util; import org.junit.jupiter.api.Assertions; diff --git a/common/src/test/java/io/seata/common/util/BeanUtilsTest.java b/common/src/test/java/io/seata/common/util/BeanUtilsTest.java index 04fda8016bd..8f10245e8d7 100644 --- a/common/src/test/java/io/seata/common/util/BeanUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/BeanUtilsTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/util/BlobUtilsTest.java b/common/src/test/java/io/seata/common/util/BlobUtilsTest.java index 51eafc4bee9..28209550948 100644 --- a/common/src/test/java/io/seata/common/util/BlobUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/BlobUtilsTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/util/CollectionUtilsTest.java b/common/src/test/java/io/seata/common/util/CollectionUtilsTest.java index 80a46ceb2bc..e57d9feca71 100644 --- a/common/src/test/java/io/seata/common/util/CollectionUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/CollectionUtilsTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/util/CompressUtilTest.java b/common/src/test/java/io/seata/common/util/CompressUtilTest.java index 6cda18e9359..cd768b5171a 100644 --- a/common/src/test/java/io/seata/common/util/CompressUtilTest.java +++ b/common/src/test/java/io/seata/common/util/CompressUtilTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/util/ConfigToolsTest.java b/common/src/test/java/io/seata/common/util/ConfigToolsTest.java index bb8a7ca393d..436789cdcfc 100644 --- a/common/src/test/java/io/seata/common/util/ConfigToolsTest.java +++ b/common/src/test/java/io/seata/common/util/ConfigToolsTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/util/DateUtilTest.java b/common/src/test/java/io/seata/common/util/DateUtilTest.java index 1ce47e57d6e..aa7018f6e5a 100644 --- a/common/src/test/java/io/seata/common/util/DateUtilTest.java +++ b/common/src/test/java/io/seata/common/util/DateUtilTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.common.util; import java.text.ParseException; diff --git a/common/src/test/java/io/seata/common/util/DurationUtilTest.java b/common/src/test/java/io/seata/common/util/DurationUtilTest.java index 9c09bb63df8..29650dedf3d 100644 --- a/common/src/test/java/io/seata/common/util/DurationUtilTest.java +++ b/common/src/test/java/io/seata/common/util/DurationUtilTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/util/IOUtilTest.java b/common/src/test/java/io/seata/common/util/IOUtilTest.java index 7255a36b71d..b6dc5198d01 100644 --- a/common/src/test/java/io/seata/common/util/IOUtilTest.java +++ b/common/src/test/java/io/seata/common/util/IOUtilTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/util/IdWorkerTest.java b/common/src/test/java/io/seata/common/util/IdWorkerTest.java index 196c092ad9d..75b1d08162f 100644 --- a/common/src/test/java/io/seata/common/util/IdWorkerTest.java +++ b/common/src/test/java/io/seata/common/util/IdWorkerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/util/LowerCaseLinkHashMapTest.java b/common/src/test/java/io/seata/common/util/LowerCaseLinkHashMapTest.java index 7ac4900392e..41347f385d8 100644 --- a/common/src/test/java/io/seata/common/util/LowerCaseLinkHashMapTest.java +++ b/common/src/test/java/io/seata/common/util/LowerCaseLinkHashMapTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.common.util; import java.util.ArrayList; diff --git a/common/src/test/java/io/seata/common/util/MapUtilTest.java b/common/src/test/java/io/seata/common/util/MapUtilTest.java index 9c47f12c62d..451123eca43 100644 --- a/common/src/test/java/io/seata/common/util/MapUtilTest.java +++ b/common/src/test/java/io/seata/common/util/MapUtilTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.common.util; import java.util.Collections; diff --git a/common/src/test/java/io/seata/common/util/NetAddressValidatorUtilTest.java b/common/src/test/java/io/seata/common/util/NetAddressValidatorUtilTest.java index b274855cf1f..994a88d9739 100644 --- a/common/src/test/java/io/seata/common/util/NetAddressValidatorUtilTest.java +++ b/common/src/test/java/io/seata/common/util/NetAddressValidatorUtilTest.java @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package io.seata.common.util; /* diff --git a/common/src/test/java/io/seata/common/util/NetUtilTest.java b/common/src/test/java/io/seata/common/util/NetUtilTest.java index ba3f2c75aaf..0bb991bd6f0 100644 --- a/common/src/test/java/io/seata/common/util/NetUtilTest.java +++ b/common/src/test/java/io/seata/common/util/NetUtilTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/util/NumberUtilsTest.java b/common/src/test/java/io/seata/common/util/NumberUtilsTest.java index 44a433e5454..c79e325f03f 100644 --- a/common/src/test/java/io/seata/common/util/NumberUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/NumberUtilsTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/util/PageUtilTest.java b/common/src/test/java/io/seata/common/util/PageUtilTest.java index 60e775568a3..9147f8f1f2c 100644 --- a/common/src/test/java/io/seata/common/util/PageUtilTest.java +++ b/common/src/test/java/io/seata/common/util/PageUtilTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/util/ReflectionUtilTest.java b/common/src/test/java/io/seata/common/util/ReflectionUtilTest.java index 6df3dfb7a4d..8989c72094e 100644 --- a/common/src/test/java/io/seata/common/util/ReflectionUtilTest.java +++ b/common/src/test/java/io/seata/common/util/ReflectionUtilTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/util/SizeUtilTest.java b/common/src/test/java/io/seata/common/util/SizeUtilTest.java index 99acb8f732b..8c15cb08333 100755 --- a/common/src/test/java/io/seata/common/util/SizeUtilTest.java +++ b/common/src/test/java/io/seata/common/util/SizeUtilTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/util/StringFormatUtilsTest.java b/common/src/test/java/io/seata/common/util/StringFormatUtilsTest.java index 7ab6d6af5d6..2aab92492bf 100644 --- a/common/src/test/java/io/seata/common/util/StringFormatUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/StringFormatUtilsTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/java/io/seata/common/util/StringUtilsTest.java b/common/src/test/java/io/seata/common/util/StringUtilsTest.java index 680fd256b62..6f7e7f21534 100644 --- a/common/src/test/java/io/seata/common/util/StringUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/StringUtilsTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.common.util; diff --git a/common/src/test/resources/io/TestFile.txt b/common/src/test/resources/io/TestFile.txt index a269c622f9d..2944f981947 100644 --- a/common/src/test/resources/io/TestFile.txt +++ b/common/src/test/resources/io/TestFile.txt @@ -1,15 +1,16 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ diff --git a/compressor/pom.xml b/compressor/pom.xml index 71ed3dfd8d4..82711d21385 100644 --- a/compressor/pom.xml +++ b/compressor/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/compressor/seata-compressor-all/pom.xml b/compressor/seata-compressor-all/pom.xml index ad233d2903e..3159a7a29d0 100644 --- a/compressor/seata-compressor-all/pom.xml +++ b/compressor/seata-compressor-all/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/compressor/seata-compressor-bzip2/pom.xml b/compressor/seata-compressor-bzip2/pom.xml index 92d5ac03c41..0389ff120d0 100644 --- a/compressor/seata-compressor-bzip2/pom.xml +++ b/compressor/seata-compressor-bzip2/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Compressor.java b/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Compressor.java index e6cdc8621e2..f230ec99982 100644 --- a/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Compressor.java +++ b/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Compressor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.bzip2; diff --git a/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Util.java b/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Util.java index 0482b0a0930..dfd9b34a630 100644 --- a/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Util.java +++ b/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Util.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.bzip2; diff --git a/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2CompressorTest.java b/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2CompressorTest.java index 258eed79298..7051b7d4b6f 100644 --- a/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2CompressorTest.java +++ b/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2CompressorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.bzip2; diff --git a/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2UtilTest.java b/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2UtilTest.java index 25b10ef860b..eb3aee9c7a4 100644 --- a/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2UtilTest.java +++ b/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2UtilTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.bzip2; diff --git a/compressor/seata-compressor-deflater/pom.xml b/compressor/seata-compressor-deflater/pom.xml index a4379fdcb36..a415d39d7a2 100644 --- a/compressor/seata-compressor-deflater/pom.xml +++ b/compressor/seata-compressor-deflater/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterCompressor.java b/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterCompressor.java index 87afbcf290d..40bfb8973fb 100644 --- a/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterCompressor.java +++ b/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterCompressor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.deflater; diff --git a/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterUtil.java b/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterUtil.java index 08c470ce347..a7bbc3c2a5d 100644 --- a/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterUtil.java +++ b/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.deflater; diff --git a/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterCompressorTest.java b/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterCompressorTest.java index 7e1d2971aa8..f0355ad5009 100644 --- a/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterCompressorTest.java +++ b/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterCompressorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.deflater; diff --git a/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterUtilTest.java b/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterUtilTest.java index 1fc80325d20..a48b7133524 100644 --- a/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterUtilTest.java +++ b/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterUtilTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.deflater; diff --git a/compressor/seata-compressor-gzip/pom.xml b/compressor/seata-compressor-gzip/pom.xml index 7e23091b6ec..8846e2f26d8 100644 --- a/compressor/seata-compressor-gzip/pom.xml +++ b/compressor/seata-compressor-gzip/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipCompressor.java b/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipCompressor.java index 952a50a1d70..96aae27579f 100644 --- a/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipCompressor.java +++ b/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipCompressor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.gzip; diff --git a/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipUtil.java b/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipUtil.java index 916d2480236..120faf68231 100644 --- a/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipUtil.java +++ b/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.gzip; diff --git a/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipCompressorTest.java b/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipCompressorTest.java index a9c5a2154d6..8a7b78be7b6 100644 --- a/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipCompressorTest.java +++ b/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipCompressorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.gzip; diff --git a/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipUtilTest.java b/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipUtilTest.java index 674f33b7c93..6f0985eb6c4 100644 --- a/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipUtilTest.java +++ b/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipUtilTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.gzip; diff --git a/compressor/seata-compressor-lz4/pom.xml b/compressor/seata-compressor-lz4/pom.xml index a22f9caf7fb..d92e8009320 100644 --- a/compressor/seata-compressor-lz4/pom.xml +++ b/compressor/seata-compressor-lz4/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Compressor.java b/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Compressor.java index dfac659ee91..d127e951b63 100644 --- a/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Compressor.java +++ b/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Compressor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.lz4; diff --git a/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Util.java b/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Util.java index 4df9f3079b0..4e4cc4d5412 100644 --- a/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Util.java +++ b/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Util.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.lz4; diff --git a/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4CompressorTest.java b/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4CompressorTest.java index cbc9c7d7a70..a11208a4c38 100644 --- a/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4CompressorTest.java +++ b/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4CompressorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.lz4; diff --git a/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4UtilTest.java b/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4UtilTest.java index 2f8497fd611..f7e6f7fe2d7 100644 --- a/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4UtilTest.java +++ b/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4UtilTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.lz4; diff --git a/compressor/seata-compressor-zip/pom.xml b/compressor/seata-compressor-zip/pom.xml index 95e6fe437f3..7a2c2dd8ad2 100644 --- a/compressor/seata-compressor-zip/pom.xml +++ b/compressor/seata-compressor-zip/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipCompressor.java b/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipCompressor.java index 28f6e653a62..e68d23be06e 100644 --- a/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipCompressor.java +++ b/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipCompressor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.zip; diff --git a/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipUtil.java b/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipUtil.java index ae788ee7d6d..103100f1491 100644 --- a/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipUtil.java +++ b/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.zip; diff --git a/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipCompressorTest.java b/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipCompressorTest.java index 3ab2024d760..2616beae133 100644 --- a/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipCompressorTest.java +++ b/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipCompressorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.zip; diff --git a/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipUtilTest.java b/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipUtilTest.java index 2fba741f1e3..7af73cd1a12 100644 --- a/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipUtilTest.java +++ b/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipUtilTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.zip; diff --git a/compressor/seata-compressor-zstd/pom.xml b/compressor/seata-compressor-zstd/pom.xml index db3753af8c6..49e53a2561d 100755 --- a/compressor/seata-compressor-zstd/pom.xml +++ b/compressor/seata-compressor-zstd/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdCompressor.java b/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdCompressor.java index dda6ac4211b..ce2aa8ea7d9 100644 --- a/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdCompressor.java +++ b/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdCompressor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.zstd; diff --git a/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdUtil.java b/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdUtil.java index 19105a2f797..8bc502a5954 100644 --- a/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdUtil.java +++ b/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.zstd; diff --git a/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdCompressorTest.java b/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdCompressorTest.java index 4f08ce2a733..1306718093f 100644 --- a/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdCompressorTest.java +++ b/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdCompressorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.zstd; diff --git a/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdUtilTest.java b/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdUtilTest.java index c8d4f2e8a48..1740c290161 100644 --- a/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdUtilTest.java +++ b/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdUtilTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.compressor.zstd; diff --git a/config/pom.xml b/config/pom.xml index ceec69d3230..c88c8a87214 100644 --- a/config/pom.xml +++ b/config/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/config/seata-config-all/pom.xml b/config/seata-config-all/pom.xml index dc16491392e..54a6f5069da 100644 --- a/config/seata-config-all/pom.xml +++ b/config/seata-config-all/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/config/seata-config-apollo/pom.xml b/config/seata-config-apollo/pom.xml index dd6f98c975f..708edfd11c0 100644 --- a/config/seata-config-apollo/pom.xml +++ b/config/seata-config-apollo/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfiguration.java b/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfiguration.java index c0c85ea1c25..292d743b55f 100644 --- a/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfiguration.java +++ b/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.apollo; diff --git a/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfigurationProvider.java b/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfigurationProvider.java index 70205b1764e..dfd01d5d57f 100644 --- a/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfigurationProvider.java +++ b/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfigurationProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.apollo; diff --git a/config/seata-config-consul/pom.xml b/config/seata-config-consul/pom.xml index 1cb4dff41a3..8b8236ce64c 100644 --- a/config/seata-config-consul/pom.xml +++ b/config/seata-config-consul/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfiguration.java b/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfiguration.java index 33092b86f33..3c2c79fe22c 100644 --- a/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfiguration.java +++ b/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.consul; diff --git a/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfigurationProvider.java b/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfigurationProvider.java index 7113b8953a8..9f7fc65f9dd 100644 --- a/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfigurationProvider.java +++ b/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfigurationProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.consul; diff --git a/config/seata-config-core/pom.xml b/config/seata-config-core/pom.xml index 72098b12471..37e5059605c 100644 --- a/config/seata-config-core/pom.xml +++ b/config/seata-config-core/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/config/seata-config-core/src/main/java/io/seata/config/AbstractConfiguration.java b/config/seata-config-core/src/main/java/io/seata/config/AbstractConfiguration.java index af1ecaf1fb2..0fb2641962b 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/AbstractConfiguration.java +++ b/config/seata-config-core/src/main/java/io/seata/config/AbstractConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigChangeListener.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigChangeListener.java index d67f2e4b8f1..ae2353b92f7 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigChangeListener.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigChangeListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigFuture.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigFuture.java index 7d2c3a7a5fa..4b040877c32 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigFuture.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigFuture.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigType.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigType.java index 326a1d47fca..710d6618ec8 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigType.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/Configuration.java b/config/seata-config-core/src/main/java/io/seata/config/Configuration.java index ecab723feda..13347b4d5c4 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/Configuration.java +++ b/config/seata-config-core/src/main/java/io/seata/config/Configuration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationCache.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationCache.java index e837ce78fae..7dfa01a101d 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationCache.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationCache.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeEvent.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeEvent.java index 45bc2e4ec09..e4ff25da511 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeEvent.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeEvent.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeListener.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeListener.java index fd74d45193d..20815782196 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeListener.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeType.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeType.java index d0ca07f508d..fbd1e07c486 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeType.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationFactory.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationFactory.java index 63793ef4f99..50fd14d8894 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationFactory.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationKeys.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationKeys.java index a710bb31a67..c10f5b5f929 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationKeys.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationKeys.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationProvider.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationProvider.java index c868323e404..a3c2e8b57de 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationProvider.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/ExtConfigurationProvider.java b/config/seata-config-core/src/main/java/io/seata/config/ExtConfigurationProvider.java index cc94b67c5a5..f8e2ae1894d 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ExtConfigurationProvider.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ExtConfigurationProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/FileConfigFactory.java b/config/seata-config-core/src/main/java/io/seata/config/FileConfigFactory.java index 271dda1e94c..519d997c846 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/FileConfigFactory.java +++ b/config/seata-config-core/src/main/java/io/seata/config/FileConfigFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/FileConfiguration.java b/config/seata-config-core/src/main/java/io/seata/config/FileConfiguration.java index 4e74a7c9b52..48cd88ef3fd 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/FileConfiguration.java +++ b/config/seata-config-core/src/main/java/io/seata/config/FileConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/main/java/io/seata/config/exception/ConfigNotFoundException.java b/config/seata-config-core/src/main/java/io/seata/config/exception/ConfigNotFoundException.java index 3c5e5cf8895..d070f0ba8ff 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/exception/ConfigNotFoundException.java +++ b/config/seata-config-core/src/main/java/io/seata/config/exception/ConfigNotFoundException.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.config.exception; /** diff --git a/config/seata-config-core/src/main/java/io/seata/config/file/FileConfig.java b/config/seata-config-core/src/main/java/io/seata/config/file/FileConfig.java index 14d3d9b1452..56dcd57d036 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/file/FileConfig.java +++ b/config/seata-config-core/src/main/java/io/seata/config/file/FileConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.file; diff --git a/config/seata-config-core/src/main/java/io/seata/config/file/SimpleFileConfig.java b/config/seata-config-core/src/main/java/io/seata/config/file/SimpleFileConfig.java index b95058e9a00..ae674af534f 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/file/SimpleFileConfig.java +++ b/config/seata-config-core/src/main/java/io/seata/config/file/SimpleFileConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.file; diff --git a/config/seata-config-core/src/main/java/io/seata/config/file/YamlFileConfig.java b/config/seata-config-core/src/main/java/io/seata/config/file/YamlFileConfig.java index b93243938a8..5ce28d5ec41 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/file/YamlFileConfig.java +++ b/config/seata-config-core/src/main/java/io/seata/config/file/YamlFileConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.file; diff --git a/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigDataType.java b/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigDataType.java index fd58cff9a74..467256ec58b 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigDataType.java +++ b/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigDataType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.processor; diff --git a/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigProcessor.java b/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigProcessor.java index 2ae8c328d75..821bcbf2216 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigProcessor.java +++ b/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.processor; diff --git a/config/seata-config-core/src/main/java/io/seata/config/processor/Processor.java b/config/seata-config-core/src/main/java/io/seata/config/processor/Processor.java index 232774d151c..377b61ab856 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/processor/Processor.java +++ b/config/seata-config-core/src/main/java/io/seata/config/processor/Processor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.processor; diff --git a/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorProperties.java b/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorProperties.java index c75fefd7225..c4952040415 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorProperties.java +++ b/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.processor; diff --git a/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorYaml.java b/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorYaml.java index 1bd5c69fd20..3ee118ee738 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorYaml.java +++ b/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorYaml.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.processor; diff --git a/config/seata-config-core/src/test/java/io/seata/config/ConfigFutureTest.java b/config/seata-config-core/src/test/java/io/seata/config/ConfigFutureTest.java index 57daca70fb5..9b064b40b78 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/ConfigFutureTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/ConfigFutureTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.config; import io.seata.common.exception.ShouldNeverHappenException; diff --git a/config/seata-config-core/src/test/java/io/seata/config/ConfigProperty.java b/config/seata-config-core/src/test/java/io/seata/config/ConfigProperty.java index 3638e0266aa..866d3ddc1b1 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/ConfigProperty.java +++ b/config/seata-config-core/src/test/java/io/seata/config/ConfigProperty.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/test/java/io/seata/config/ConfigTypeTest.java b/config/seata-config-core/src/test/java/io/seata/config/ConfigTypeTest.java index f9ac31560e6..92656b7bb4b 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/ConfigTypeTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/ConfigTypeTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.config; import org.junit.jupiter.api.Assertions; diff --git a/config/seata-config-core/src/test/java/io/seata/config/ConfigurationCacheTests.java b/config/seata-config-core/src/test/java/io/seata/config/ConfigurationCacheTests.java index a5c6db843f1..fb1d3754395 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/ConfigurationCacheTests.java +++ b/config/seata-config-core/src/test/java/io/seata/config/ConfigurationCacheTests.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/test/java/io/seata/config/ConfigurationChangeEventTest.java b/config/seata-config-core/src/test/java/io/seata/config/ConfigurationChangeEventTest.java index 1f934262a49..4b79315f68c 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/ConfigurationChangeEventTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/ConfigurationChangeEventTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.config; import org.junit.jupiter.api.Assertions; diff --git a/config/seata-config-core/src/test/java/io/seata/config/FileConfigurationTest.java b/config/seata-config-core/src/test/java/io/seata/config/FileConfigurationTest.java index c14de3fcf92..a4c555d6194 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/FileConfigurationTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/FileConfigurationTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/test/java/io/seata/config/ProConfigurationFactoryTest.java b/config/seata-config-core/src/test/java/io/seata/config/ProConfigurationFactoryTest.java index 9eea314bfbd..f5623e0b219 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/ProConfigurationFactoryTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/ProConfigurationFactoryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/test/java/io/seata/config/RegistryConfigurationFactoryTest.java b/config/seata-config-core/src/test/java/io/seata/config/RegistryConfigurationFactoryTest.java index 4052b545b13..47350ad7c6d 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/RegistryConfigurationFactoryTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/RegistryConfigurationFactoryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/test/java/io/seata/config/YamlConfigurationFactoryTest.java b/config/seata-config-core/src/test/java/io/seata/config/YamlConfigurationFactoryTest.java index 15d361b0a3a..7c4e7a3f175 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/YamlConfigurationFactoryTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/YamlConfigurationFactoryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-core/src/test/java/io/seata/config/file/SimpleFileConfigTest.java b/config/seata-config-core/src/test/java/io/seata/config/file/SimpleFileConfigTest.java index 3a3c3b71e79..430f4601ae0 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/file/SimpleFileConfigTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/file/SimpleFileConfigTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.config.file; import org.junit.jupiter.api.Assertions; diff --git a/config/seata-config-core/src/test/java/io/seata/config/file/YamlFileConfigTest.java b/config/seata-config-core/src/test/java/io/seata/config/file/YamlFileConfigTest.java index f3ab871c181..372ce17ee89 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/file/YamlFileConfigTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/file/YamlFileConfigTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.config.file; import org.junit.jupiter.api.Assertions; diff --git a/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigDataTypeTest.java b/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigDataTypeTest.java index b0197cd1aec..76efa0d4f17 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigDataTypeTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigDataTypeTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.config.processor; import org.junit.jupiter.api.Assertions; diff --git a/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigProcessorTest.java b/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigProcessorTest.java index d33b341ace5..6dacb4a9c8f 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigProcessorTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigProcessorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.processor; diff --git a/config/seata-config-core/src/test/java/io/seata/config/processor/ProcessorPropertiesTest.java b/config/seata-config-core/src/test/java/io/seata/config/processor/ProcessorPropertiesTest.java index 05dffa2cd46..12ae0ae124a 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/processor/ProcessorPropertiesTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/processor/ProcessorPropertiesTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.config.processor; import org.junit.jupiter.api.Assertions; diff --git a/config/seata-config-core/src/test/resources/file-test-pro.conf b/config/seata-config-core/src/test/resources/file-test-pro.conf index 4021e9fa6c6..49b0f12968c 100644 --- a/config/seata-config-core/src/test/resources/file-test-pro.conf +++ b/config/seata-config-core/src/test/resources/file-test-pro.conf @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + service { #transaction service group mapping vgroupMapping.default_tx_group = "default" diff --git a/config/seata-config-core/src/test/resources/file-test-yaml.conf b/config/seata-config-core/src/test/resources/file-test-yaml.conf index 7b09a07678c..7ec3ed688c2 100644 --- a/config/seata-config-core/src/test/resources/file-test-yaml.conf +++ b/config/seata-config-core/src/test/resources/file-test-yaml.conf @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + service { #transaction service group mapping vgroupMapping.default_tx_group = "default" diff --git a/config/seata-config-core/src/test/resources/file-test.conf b/config/seata-config-core/src/test/resources/file-test.conf index e25741273fd..12cd744723c 100644 --- a/config/seata-config-core/src/test/resources/file-test.conf +++ b/config/seata-config-core/src/test/resources/file-test.conf @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + service { #transaction service group mapping vgroupMapping.default_tx_group = "default" diff --git a/config/seata-config-core/src/test/resources/file.conf b/config/seata-config-core/src/test/resources/file.conf index 606e3609985..46c3e0401cc 100644 --- a/config/seata-config-core/src/test/resources/file.conf +++ b/config/seata-config-core/src/test/resources/file.conf @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + service { #transaction service group mapping vgroupMapping.default_tx_group = "default" diff --git a/config/seata-config-core/src/test/resources/registry-test-pro.properties b/config/seata-config-core/src/test/resources/registry-test-pro.properties index 04210855407..584a78346b6 100644 --- a/config/seata-config-core/src/test/resources/registry-test-pro.properties +++ b/config/seata-config-core/src/test/resources/registry-test-pro.properties @@ -1,16 +1,20 @@ -#Copyright 1999-2019 Seata.io Group. # -#Licensed under the Apache License, Version 2.0 (the "License"); -#you may not use this file except in compliance with the License. -#You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -#http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -#Unless required by applicable law or agreed to in writing, software -#distributed under the License is distributed on an "AS IS" BASIS, -#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -#See the License for the specific language governing permissions and -#limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + registry.type=file registry.file.name=file-test-pro.conf diff --git a/config/seata-config-core/src/test/resources/registry-test-yaml.yml b/config/seata-config-core/src/test/resources/registry-test-yaml.yml index 7cbf95ba7d5..a858eaf5132 100644 --- a/config/seata-config-core/src/test/resources/registry-test-yaml.yml +++ b/config/seata-config-core/src/test/resources/registry-test-yaml.yml @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. registry: type: file diff --git a/config/seata-config-core/src/test/resources/registry-test.conf b/config/seata-config-core/src/test/resources/registry-test.conf index e64ccc18b20..5c67ff8e01d 100644 --- a/config/seata-config-core/src/test/resources/registry-test.conf +++ b/config/seata-config-core/src/test/resources/registry-test.conf @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa type = "file" diff --git a/config/seata-config-core/src/test/resources/registry.conf b/config/seata-config-core/src/test/resources/registry.conf index d928c9b14ca..bab6e8ec0ef 100644 --- a/config/seata-config-core/src/test/resources/registry.conf +++ b/config/seata-config-core/src/test/resources/registry.conf @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa type = "file" diff --git a/config/seata-config-custom/pom.xml b/config/seata-config-custom/pom.xml index 244fadcaa6c..ab1f15e4f5e 100644 --- a/config/seata-config-custom/pom.xml +++ b/config/seata-config-custom/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/config/seata-config-custom/src/main/java/io/seata/config/custom/CustomConfigurationProvider.java b/config/seata-config-custom/src/main/java/io/seata/config/custom/CustomConfigurationProvider.java index 1ddb49993de..c10702e7ac9 100644 --- a/config/seata-config-custom/src/main/java/io/seata/config/custom/CustomConfigurationProvider.java +++ b/config/seata-config-custom/src/main/java/io/seata/config/custom/CustomConfigurationProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.custom; diff --git a/config/seata-config-custom/src/test/java/io/seata/config/ConfigurationTest.java b/config/seata-config-custom/src/test/java/io/seata/config/ConfigurationTest.java index d85734600d0..52490e23cfd 100644 --- a/config/seata-config-custom/src/test/java/io/seata/config/ConfigurationTest.java +++ b/config/seata-config-custom/src/test/java/io/seata/config/ConfigurationTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationForTest.java b/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationForTest.java index 577c195d12a..f80423719a5 100644 --- a/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationForTest.java +++ b/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationForTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationProviderForTest.java b/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationProviderForTest.java index 5b7d5f0cc73..06614fbbba7 100644 --- a/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationProviderForTest.java +++ b/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationProviderForTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationTest.java b/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationTest.java index da0751ec267..ffbef051755 100644 --- a/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationTest.java +++ b/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/config/seata-config-custom/src/test/resources/custom_for_test.properties b/config/seata-config-custom/src/test/resources/custom_for_test.properties index e5f1b195d05..663404c37c5 100644 --- a/config/seata-config-custom/src/test/resources/custom_for_test.properties +++ b/config/seata-config-custom/src/test/resources/custom_for_test.properties @@ -1,17 +1,18 @@ # -# Copyright 1999-2019 Seata.io Group. +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # transport.type=TCP diff --git a/config/seata-config-custom/src/test/resources/registry.conf b/config/seata-config-custom/src/test/resources/registry.conf index feb948c0324..97eca7e0c62 100644 --- a/config/seata-config-custom/src/test/resources/registry.conf +++ b/config/seata-config-custom/src/test/resources/registry.conf @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. config { type = "custom" diff --git a/config/seata-config-etcd3/pom.xml b/config/seata-config-etcd3/pom.xml index 4bbc8d6cbbe..2fc99fd3580 100644 --- a/config/seata-config-etcd3/pom.xml +++ b/config/seata-config-etcd3/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfiguration.java b/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfiguration.java index 02cbd9d6287..45d9209d75f 100644 --- a/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfiguration.java +++ b/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.etcd3; diff --git a/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfigurationProvider.java b/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfigurationProvider.java index 0bf9094c131..92eddf2f40a 100644 --- a/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfigurationProvider.java +++ b/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfigurationProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.etcd3; diff --git a/config/seata-config-nacos/pom.xml b/config/seata-config-nacos/pom.xml index 84405b43045..b95d6fbf654 100644 --- a/config/seata-config-nacos/pom.xml +++ b/config/seata-config-nacos/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfiguration.java b/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfiguration.java index dde9431941d..6f014c26b36 100644 --- a/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfiguration.java +++ b/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.nacos; diff --git a/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfigurationProvider.java b/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfigurationProvider.java index 63d3582dabd..b071fadd243 100644 --- a/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfigurationProvider.java +++ b/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfigurationProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.nacos; diff --git a/config/seata-config-nacos/src/test/java/io/seata/config/nacos/NacosConfigurationTest.java b/config/seata-config-nacos/src/test/java/io/seata/config/nacos/NacosConfigurationTest.java index ee8d793d744..7e924fece8e 100644 --- a/config/seata-config-nacos/src/test/java/io/seata/config/nacos/NacosConfigurationTest.java +++ b/config/seata-config-nacos/src/test/java/io/seata/config/nacos/NacosConfigurationTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.nacos; diff --git a/config/seata-config-nacos/src/test/resources/registry.conf b/config/seata-config-nacos/src/test/resources/registry.conf index 94d3aebf0a3..1fbdb5694b1 100644 --- a/config/seata-config-nacos/src/test/resources/registry.conf +++ b/config/seata-config-nacos/src/test/resources/registry.conf @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa、custom diff --git a/config/seata-config-spring-cloud/pom.xml b/config/seata-config-spring-cloud/pom.xml index d3e79010a7e..0f79b2166d0 100644 --- a/config/seata-config-spring-cloud/pom.xml +++ b/config/seata-config-spring-cloud/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/EnableSeataSpringConfig.java b/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/EnableSeataSpringConfig.java index 01202124247..93312cfd71a 100644 --- a/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/EnableSeataSpringConfig.java +++ b/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/EnableSeataSpringConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.springcloud; diff --git a/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProvider.java b/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProvider.java index 71390fb4fe8..503d9b1da1e 100644 --- a/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProvider.java +++ b/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.springcloud; diff --git a/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProviderRegistrar.java b/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProviderRegistrar.java index cc50f0c805a..85537b88068 100644 --- a/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProviderRegistrar.java +++ b/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProviderRegistrar.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.springcloud; diff --git a/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringCloudConfiguration.java b/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringCloudConfiguration.java index c715dc4a281..b7f36052c25 100644 --- a/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringCloudConfiguration.java +++ b/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringCloudConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.springcloud; diff --git a/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringCloudConfigurationProvider.java b/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringCloudConfigurationProvider.java index 130a1f96aee..917ef0a5b41 100644 --- a/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringCloudConfigurationProvider.java +++ b/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringCloudConfigurationProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.springcloud; diff --git a/config/seata-config-zk/pom.xml b/config/seata-config-zk/pom.xml index 747eaf67f38..66085377b12 100644 --- a/config/seata-config-zk/pom.xml +++ b/config/seata-config-zk/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/config/seata-config-zk/src/main/java/io/seata/config/zk/DefaultZkSerializer.java b/config/seata-config-zk/src/main/java/io/seata/config/zk/DefaultZkSerializer.java index ae509a0ad7e..af49f4daca9 100644 --- a/config/seata-config-zk/src/main/java/io/seata/config/zk/DefaultZkSerializer.java +++ b/config/seata-config-zk/src/main/java/io/seata/config/zk/DefaultZkSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.zk; diff --git a/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfiguration.java b/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfiguration.java index aad2dc520f8..54a45763a38 100644 --- a/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfiguration.java +++ b/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.zk; diff --git a/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfigurationProvider.java b/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfigurationProvider.java index 09506c5a48e..3887eb2e48f 100644 --- a/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfigurationProvider.java +++ b/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfigurationProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.zk; diff --git a/console/pom.xml b/console/pom.xml index 318d87bf56c..9442df14a2c 100644 --- a/console/pom.xml +++ b/console/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/console/src/main/java/io/seata/console/Application.java b/console/src/main/java/io/seata/console/Application.java index af65f12ac83..3ad8df767cf 100644 --- a/console/src/main/java/io/seata/console/Application.java +++ b/console/src/main/java/io/seata/console/Application.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console; diff --git a/console/src/main/java/io/seata/console/config/JacksonConfig.java b/console/src/main/java/io/seata/console/config/JacksonConfig.java index 7783428773f..422566384b0 100644 --- a/console/src/main/java/io/seata/console/config/JacksonConfig.java +++ b/console/src/main/java/io/seata/console/config/JacksonConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.config; diff --git a/console/src/main/java/io/seata/console/config/WebSecurityConfig.java b/console/src/main/java/io/seata/console/config/WebSecurityConfig.java index e957588a793..f40efd692fa 100644 --- a/console/src/main/java/io/seata/console/config/WebSecurityConfig.java +++ b/console/src/main/java/io/seata/console/config/WebSecurityConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.config; diff --git a/console/src/main/java/io/seata/console/constant/Code.java b/console/src/main/java/io/seata/console/constant/Code.java index aec8f019e18..0a38fbff109 100644 --- a/console/src/main/java/io/seata/console/constant/Code.java +++ b/console/src/main/java/io/seata/console/constant/Code.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.constant; diff --git a/console/src/main/java/io/seata/console/controller/AuthController.java b/console/src/main/java/io/seata/console/controller/AuthController.java index 84e4da9eecb..ffde9c70056 100644 --- a/console/src/main/java/io/seata/console/controller/AuthController.java +++ b/console/src/main/java/io/seata/console/controller/AuthController.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.controller; diff --git a/console/src/main/java/io/seata/console/controller/OverviewController.java b/console/src/main/java/io/seata/console/controller/OverviewController.java index a4f44c7fa15..56ab912ffbe 100644 --- a/console/src/main/java/io/seata/console/controller/OverviewController.java +++ b/console/src/main/java/io/seata/console/controller/OverviewController.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.controller; diff --git a/console/src/main/java/io/seata/console/filter/JwtAuthenticationTokenFilter.java b/console/src/main/java/io/seata/console/filter/JwtAuthenticationTokenFilter.java index de965cf5d51..9e96d7dfd55 100644 --- a/console/src/main/java/io/seata/console/filter/JwtAuthenticationTokenFilter.java +++ b/console/src/main/java/io/seata/console/filter/JwtAuthenticationTokenFilter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.filter; diff --git a/console/src/main/java/io/seata/console/param/BaseParam.java b/console/src/main/java/io/seata/console/param/BaseParam.java index 1519802307a..731873641fe 100644 --- a/console/src/main/java/io/seata/console/param/BaseParam.java +++ b/console/src/main/java/io/seata/console/param/BaseParam.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.param; diff --git a/console/src/main/java/io/seata/console/result/PageResult.java b/console/src/main/java/io/seata/console/result/PageResult.java index 1acd87a7a99..faf8ea6fc3f 100644 --- a/console/src/main/java/io/seata/console/result/PageResult.java +++ b/console/src/main/java/io/seata/console/result/PageResult.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.result; diff --git a/console/src/main/java/io/seata/console/result/Result.java b/console/src/main/java/io/seata/console/result/Result.java index a90ed700dc4..5cda8d79420 100644 --- a/console/src/main/java/io/seata/console/result/Result.java +++ b/console/src/main/java/io/seata/console/result/Result.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.result; diff --git a/console/src/main/java/io/seata/console/result/SingleResult.java b/console/src/main/java/io/seata/console/result/SingleResult.java index 35b9e249fee..d3d314b1b67 100644 --- a/console/src/main/java/io/seata/console/result/SingleResult.java +++ b/console/src/main/java/io/seata/console/result/SingleResult.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.result; diff --git a/console/src/main/java/io/seata/console/security/CustomAuthenticationProvider.java b/console/src/main/java/io/seata/console/security/CustomAuthenticationProvider.java index e689802f104..4e5f67e570a 100644 --- a/console/src/main/java/io/seata/console/security/CustomAuthenticationProvider.java +++ b/console/src/main/java/io/seata/console/security/CustomAuthenticationProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.security; diff --git a/console/src/main/java/io/seata/console/security/CustomUserDetails.java b/console/src/main/java/io/seata/console/security/CustomUserDetails.java index 55e080192fb..02ec925758b 100644 --- a/console/src/main/java/io/seata/console/security/CustomUserDetails.java +++ b/console/src/main/java/io/seata/console/security/CustomUserDetails.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.security; diff --git a/console/src/main/java/io/seata/console/security/CustomUserDetailsServiceImpl.java b/console/src/main/java/io/seata/console/security/CustomUserDetailsServiceImpl.java index c8b22e7e0df..bcca52e2830 100644 --- a/console/src/main/java/io/seata/console/security/CustomUserDetailsServiceImpl.java +++ b/console/src/main/java/io/seata/console/security/CustomUserDetailsServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.security; diff --git a/console/src/main/java/io/seata/console/security/JwtAuthenticationEntryPoint.java b/console/src/main/java/io/seata/console/security/JwtAuthenticationEntryPoint.java index 4c3c13a7444..03bf648a6b0 100644 --- a/console/src/main/java/io/seata/console/security/JwtAuthenticationEntryPoint.java +++ b/console/src/main/java/io/seata/console/security/JwtAuthenticationEntryPoint.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.security; diff --git a/console/src/main/java/io/seata/console/security/User.java b/console/src/main/java/io/seata/console/security/User.java index 2f4a901ca6c..1eb05955748 100644 --- a/console/src/main/java/io/seata/console/security/User.java +++ b/console/src/main/java/io/seata/console/security/User.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.security; diff --git a/console/src/main/java/io/seata/console/utils/JwtTokenUtils.java b/console/src/main/java/io/seata/console/utils/JwtTokenUtils.java index 9166955882b..76dc8f277a9 100644 --- a/console/src/main/java/io/seata/console/utils/JwtTokenUtils.java +++ b/console/src/main/java/io/seata/console/utils/JwtTokenUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.console.utils; diff --git a/console/src/main/resources/static/console-fe/test/install.sh b/console/src/main/resources/static/console-fe/test/install.sh index de512234da9..efde9c0982a 100644 --- a/console/src/main/resources/static/console-fe/test/install.sh +++ b/console/src/main/resources/static/console-fe/test/install.sh @@ -1,4 +1,21 @@ #!/usr/bin/env bash +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + ls ~/nvm || git clone https://github.com/creationix/nvm.git ~/nvm source ~/nvm/nvm.sh nvm install v7.10.0 diff --git a/console/src/main/resources/static/console-fe/test/run.bat b/console/src/main/resources/static/console-fe/test/run.bat index da1ec242109..565e690cbdf 100644 --- a/console/src/main/resources/static/console-fe/test/run.bat +++ b/console/src/main/resources/static/console-fe/test/run.bat @@ -1,3 +1,20 @@ +@REM +@REM Licensed to the Apache Software Foundation (ASF) under one or more +@REM contributor license agreements. See the NOTICE file distributed with +@REM this work for additional information regarding copyright ownership. +@REM The ASF licenses this file to You under the Apache License, Version 2.0 +@REM (the "License"); you may not use this file except in compliance with +@REM the License. You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, software +@REM distributed under the License is distributed on an "AS IS" BASIS, +@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@REM See the License for the specific language governing permissions and +@REM limitations under the License. +@REM + @echo off if "%1" neq "" ( diff --git a/console/src/main/resources/static/console-fe/test/run.sh b/console/src/main/resources/static/console-fe/test/run.sh index 6f479e13e30..2d51a97740b 100644 --- a/console/src/main/resources/static/console-fe/test/run.sh +++ b/console/src/main/resources/static/console-fe/test/run.sh @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + if [ "$1" = "" ]; then npm run paralleltest else diff --git a/core/pom.xml b/core/pom.xml index ed099dce135..0d4f8666447 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/core/src/main/java/io/seata/core/auth/AuthSigner.java b/core/src/main/java/io/seata/core/auth/AuthSigner.java index 0dafc7ddd84..d7f21762d41 100644 --- a/core/src/main/java/io/seata/core/auth/AuthSigner.java +++ b/core/src/main/java/io/seata/core/auth/AuthSigner.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.auth; diff --git a/core/src/main/java/io/seata/core/auth/DefaultAuthSigner.java b/core/src/main/java/io/seata/core/auth/DefaultAuthSigner.java index 7c42525f1ed..a3c06373337 100644 --- a/core/src/main/java/io/seata/core/auth/DefaultAuthSigner.java +++ b/core/src/main/java/io/seata/core/auth/DefaultAuthSigner.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.auth; diff --git a/core/src/main/java/io/seata/core/auth/RamSignAdapter.java b/core/src/main/java/io/seata/core/auth/RamSignAdapter.java index 61f88bf71ba..cf6a88af849 100644 --- a/core/src/main/java/io/seata/core/auth/RamSignAdapter.java +++ b/core/src/main/java/io/seata/core/auth/RamSignAdapter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.auth; diff --git a/core/src/main/java/io/seata/core/compressor/Compressor.java b/core/src/main/java/io/seata/core/compressor/Compressor.java index 8ad8d69cc00..4568cc30f58 100644 --- a/core/src/main/java/io/seata/core/compressor/Compressor.java +++ b/core/src/main/java/io/seata/core/compressor/Compressor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.compressor; diff --git a/core/src/main/java/io/seata/core/compressor/CompressorFactory.java b/core/src/main/java/io/seata/core/compressor/CompressorFactory.java index a4870bb1346..770b3069588 100644 --- a/core/src/main/java/io/seata/core/compressor/CompressorFactory.java +++ b/core/src/main/java/io/seata/core/compressor/CompressorFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.compressor; diff --git a/core/src/main/java/io/seata/core/compressor/CompressorType.java b/core/src/main/java/io/seata/core/compressor/CompressorType.java index 200e34b47da..d0ef964f7aa 100644 --- a/core/src/main/java/io/seata/core/compressor/CompressorType.java +++ b/core/src/main/java/io/seata/core/compressor/CompressorType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.compressor; diff --git a/core/src/main/java/io/seata/core/constants/ClientTableColumnsName.java b/core/src/main/java/io/seata/core/constants/ClientTableColumnsName.java index dc177360e8a..fc7af379673 100644 --- a/core/src/main/java/io/seata/core/constants/ClientTableColumnsName.java +++ b/core/src/main/java/io/seata/core/constants/ClientTableColumnsName.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.constants; diff --git a/core/src/main/java/io/seata/core/constants/ConfigurationKeys.java b/core/src/main/java/io/seata/core/constants/ConfigurationKeys.java index 359514140c8..1ace5c63ccb 100644 --- a/core/src/main/java/io/seata/core/constants/ConfigurationKeys.java +++ b/core/src/main/java/io/seata/core/constants/ConfigurationKeys.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.constants; diff --git a/core/src/main/java/io/seata/core/constants/DBType.java b/core/src/main/java/io/seata/core/constants/DBType.java index a0171474033..88d245a3a0a 100644 --- a/core/src/main/java/io/seata/core/constants/DBType.java +++ b/core/src/main/java/io/seata/core/constants/DBType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.constants; diff --git a/core/src/main/java/io/seata/core/constants/DubboConstants.java b/core/src/main/java/io/seata/core/constants/DubboConstants.java index 33aef9d26c4..4b7e5127319 100644 --- a/core/src/main/java/io/seata/core/constants/DubboConstants.java +++ b/core/src/main/java/io/seata/core/constants/DubboConstants.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.constants; diff --git a/core/src/main/java/io/seata/core/constants/RedisKeyConstants.java b/core/src/main/java/io/seata/core/constants/RedisKeyConstants.java index ca2686a3225..6fc27b59095 100644 --- a/core/src/main/java/io/seata/core/constants/RedisKeyConstants.java +++ b/core/src/main/java/io/seata/core/constants/RedisKeyConstants.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.constants; diff --git a/core/src/main/java/io/seata/core/constants/RpcMessageConstants.java b/core/src/main/java/io/seata/core/constants/RpcMessageConstants.java index b2fbc6ec9cb..411983bff69 100644 --- a/core/src/main/java/io/seata/core/constants/RpcMessageConstants.java +++ b/core/src/main/java/io/seata/core/constants/RpcMessageConstants.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.constants; diff --git a/core/src/main/java/io/seata/core/constants/ServerTableColumnsName.java b/core/src/main/java/io/seata/core/constants/ServerTableColumnsName.java index 525f64fb7c2..c774804a77f 100644 --- a/core/src/main/java/io/seata/core/constants/ServerTableColumnsName.java +++ b/core/src/main/java/io/seata/core/constants/ServerTableColumnsName.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.constants; diff --git a/core/src/main/java/io/seata/core/context/ContextCore.java b/core/src/main/java/io/seata/core/context/ContextCore.java index 8b3f2fb0910..bcfaa45ac79 100644 --- a/core/src/main/java/io/seata/core/context/ContextCore.java +++ b/core/src/main/java/io/seata/core/context/ContextCore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.context; diff --git a/core/src/main/java/io/seata/core/context/ContextCoreLoader.java b/core/src/main/java/io/seata/core/context/ContextCoreLoader.java index 7b5ad1e3c50..a3a68982159 100644 --- a/core/src/main/java/io/seata/core/context/ContextCoreLoader.java +++ b/core/src/main/java/io/seata/core/context/ContextCoreLoader.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.context; diff --git a/core/src/main/java/io/seata/core/context/FastThreadLocalContextCore.java b/core/src/main/java/io/seata/core/context/FastThreadLocalContextCore.java index 7840f8fa804..7cc809c7ab9 100644 --- a/core/src/main/java/io/seata/core/context/FastThreadLocalContextCore.java +++ b/core/src/main/java/io/seata/core/context/FastThreadLocalContextCore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.context; diff --git a/core/src/main/java/io/seata/core/context/GlobalLockConfigHolder.java b/core/src/main/java/io/seata/core/context/GlobalLockConfigHolder.java index bc5dd6a9e2f..5fcea73e15e 100644 --- a/core/src/main/java/io/seata/core/context/GlobalLockConfigHolder.java +++ b/core/src/main/java/io/seata/core/context/GlobalLockConfigHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.context; diff --git a/core/src/main/java/io/seata/core/context/RootContext.java b/core/src/main/java/io/seata/core/context/RootContext.java index c2d03de4191..3930108c5ac 100644 --- a/core/src/main/java/io/seata/core/context/RootContext.java +++ b/core/src/main/java/io/seata/core/context/RootContext.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.context; diff --git a/core/src/main/java/io/seata/core/context/ThreadLocalContextCore.java b/core/src/main/java/io/seata/core/context/ThreadLocalContextCore.java index 7d75da9694f..e7354785e9f 100644 --- a/core/src/main/java/io/seata/core/context/ThreadLocalContextCore.java +++ b/core/src/main/java/io/seata/core/context/ThreadLocalContextCore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.context; diff --git a/core/src/main/java/io/seata/core/event/Event.java b/core/src/main/java/io/seata/core/event/Event.java index 7e73fd7855e..588db623d62 100644 --- a/core/src/main/java/io/seata/core/event/Event.java +++ b/core/src/main/java/io/seata/core/event/Event.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.event; diff --git a/core/src/main/java/io/seata/core/event/EventBus.java b/core/src/main/java/io/seata/core/event/EventBus.java index ae15d5ba91a..ce4b9d2d581 100644 --- a/core/src/main/java/io/seata/core/event/EventBus.java +++ b/core/src/main/java/io/seata/core/event/EventBus.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.event; diff --git a/core/src/main/java/io/seata/core/event/ExceptionEvent.java b/core/src/main/java/io/seata/core/event/ExceptionEvent.java index 8fc6187986a..f9664ff59d9 100644 --- a/core/src/main/java/io/seata/core/event/ExceptionEvent.java +++ b/core/src/main/java/io/seata/core/event/ExceptionEvent.java @@ -1,14 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on - * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.event; diff --git a/core/src/main/java/io/seata/core/event/GlobalTransactionEvent.java b/core/src/main/java/io/seata/core/event/GlobalTransactionEvent.java index 48e38de9bb0..987a0389362 100644 --- a/core/src/main/java/io/seata/core/event/GlobalTransactionEvent.java +++ b/core/src/main/java/io/seata/core/event/GlobalTransactionEvent.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.event; diff --git a/core/src/main/java/io/seata/core/event/GuavaEventBus.java b/core/src/main/java/io/seata/core/event/GuavaEventBus.java index 6f76f38bcd5..494a3d31085 100644 --- a/core/src/main/java/io/seata/core/event/GuavaEventBus.java +++ b/core/src/main/java/io/seata/core/event/GuavaEventBus.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.event; diff --git a/core/src/main/java/io/seata/core/exception/AbstractExceptionHandler.java b/core/src/main/java/io/seata/core/exception/AbstractExceptionHandler.java index b859e984a69..778746a235d 100644 --- a/core/src/main/java/io/seata/core/exception/AbstractExceptionHandler.java +++ b/core/src/main/java/io/seata/core/exception/AbstractExceptionHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.exception; diff --git a/core/src/main/java/io/seata/core/exception/BranchTransactionException.java b/core/src/main/java/io/seata/core/exception/BranchTransactionException.java index 49e6d30fa1a..d7220e83413 100644 --- a/core/src/main/java/io/seata/core/exception/BranchTransactionException.java +++ b/core/src/main/java/io/seata/core/exception/BranchTransactionException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.exception; diff --git a/core/src/main/java/io/seata/core/exception/DecodeException.java b/core/src/main/java/io/seata/core/exception/DecodeException.java index aacee94080b..c69cba7e15d 100644 --- a/core/src/main/java/io/seata/core/exception/DecodeException.java +++ b/core/src/main/java/io/seata/core/exception/DecodeException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.exception; diff --git a/core/src/main/java/io/seata/core/exception/GlobalTransactionException.java b/core/src/main/java/io/seata/core/exception/GlobalTransactionException.java index d0ba2bad486..3b83ff1b683 100644 --- a/core/src/main/java/io/seata/core/exception/GlobalTransactionException.java +++ b/core/src/main/java/io/seata/core/exception/GlobalTransactionException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.exception; diff --git a/core/src/main/java/io/seata/core/exception/RmTransactionException.java b/core/src/main/java/io/seata/core/exception/RmTransactionException.java index 2e5ee22f20a..935febb47d1 100644 --- a/core/src/main/java/io/seata/core/exception/RmTransactionException.java +++ b/core/src/main/java/io/seata/core/exception/RmTransactionException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.exception; diff --git a/core/src/main/java/io/seata/core/exception/TmTransactionException.java b/core/src/main/java/io/seata/core/exception/TmTransactionException.java index 35deb9f41c5..fa59a1c0847 100644 --- a/core/src/main/java/io/seata/core/exception/TmTransactionException.java +++ b/core/src/main/java/io/seata/core/exception/TmTransactionException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.exception; diff --git a/core/src/main/java/io/seata/core/exception/TransactionException.java b/core/src/main/java/io/seata/core/exception/TransactionException.java index d0940864deb..f435d2842c1 100644 --- a/core/src/main/java/io/seata/core/exception/TransactionException.java +++ b/core/src/main/java/io/seata/core/exception/TransactionException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.exception; diff --git a/core/src/main/java/io/seata/core/exception/TransactionExceptionCode.java b/core/src/main/java/io/seata/core/exception/TransactionExceptionCode.java index 860a0fb883a..8112d9d8e29 100644 --- a/core/src/main/java/io/seata/core/exception/TransactionExceptionCode.java +++ b/core/src/main/java/io/seata/core/exception/TransactionExceptionCode.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.exception; diff --git a/core/src/main/java/io/seata/core/lock/AbstractLocker.java b/core/src/main/java/io/seata/core/lock/AbstractLocker.java index a516db67540..e2fd9f181bb 100644 --- a/core/src/main/java/io/seata/core/lock/AbstractLocker.java +++ b/core/src/main/java/io/seata/core/lock/AbstractLocker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.lock; diff --git a/core/src/main/java/io/seata/core/lock/LocalDBLocker.java b/core/src/main/java/io/seata/core/lock/LocalDBLocker.java index af57c4ddbd7..fb49ef46e3f 100644 --- a/core/src/main/java/io/seata/core/lock/LocalDBLocker.java +++ b/core/src/main/java/io/seata/core/lock/LocalDBLocker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.lock; diff --git a/core/src/main/java/io/seata/core/lock/Locker.java b/core/src/main/java/io/seata/core/lock/Locker.java index 107c6de8842..045a051d4c2 100644 --- a/core/src/main/java/io/seata/core/lock/Locker.java +++ b/core/src/main/java/io/seata/core/lock/Locker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.lock; diff --git a/core/src/main/java/io/seata/core/lock/RowLock.java b/core/src/main/java/io/seata/core/lock/RowLock.java index 9028ff1c9f4..05a9b17bb38 100644 --- a/core/src/main/java/io/seata/core/lock/RowLock.java +++ b/core/src/main/java/io/seata/core/lock/RowLock.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.lock; diff --git a/core/src/main/java/io/seata/core/logger/StackTraceLogger.java b/core/src/main/java/io/seata/core/logger/StackTraceLogger.java index 8ce9773b5af..cb8ae0d0655 100644 --- a/core/src/main/java/io/seata/core/logger/StackTraceLogger.java +++ b/core/src/main/java/io/seata/core/logger/StackTraceLogger.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.logger; diff --git a/core/src/main/java/io/seata/core/model/BranchStatus.java b/core/src/main/java/io/seata/core/model/BranchStatus.java index dcd78f58929..b163423fba7 100644 --- a/core/src/main/java/io/seata/core/model/BranchStatus.java +++ b/core/src/main/java/io/seata/core/model/BranchStatus.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/main/java/io/seata/core/model/BranchType.java b/core/src/main/java/io/seata/core/model/BranchType.java index f7ecfa09848..57dfe2baf5d 100644 --- a/core/src/main/java/io/seata/core/model/BranchType.java +++ b/core/src/main/java/io/seata/core/model/BranchType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/main/java/io/seata/core/model/GlobalLockConfig.java b/core/src/main/java/io/seata/core/model/GlobalLockConfig.java index 0d802570473..28d6f68cac2 100644 --- a/core/src/main/java/io/seata/core/model/GlobalLockConfig.java +++ b/core/src/main/java/io/seata/core/model/GlobalLockConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/main/java/io/seata/core/model/GlobalStatus.java b/core/src/main/java/io/seata/core/model/GlobalStatus.java index 5d12aee2341..744388df710 100644 --- a/core/src/main/java/io/seata/core/model/GlobalStatus.java +++ b/core/src/main/java/io/seata/core/model/GlobalStatus.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/main/java/io/seata/core/model/LockStatus.java b/core/src/main/java/io/seata/core/model/LockStatus.java index aba9f74ba6f..e2fef7fa131 100644 --- a/core/src/main/java/io/seata/core/model/LockStatus.java +++ b/core/src/main/java/io/seata/core/model/LockStatus.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/main/java/io/seata/core/model/Resource.java b/core/src/main/java/io/seata/core/model/Resource.java index 26958d5d834..a1ccac3f513 100644 --- a/core/src/main/java/io/seata/core/model/Resource.java +++ b/core/src/main/java/io/seata/core/model/Resource.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/main/java/io/seata/core/model/ResourceManager.java b/core/src/main/java/io/seata/core/model/ResourceManager.java index 2c70320cf6d..06d77c4e13b 100644 --- a/core/src/main/java/io/seata/core/model/ResourceManager.java +++ b/core/src/main/java/io/seata/core/model/ResourceManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/main/java/io/seata/core/model/ResourceManagerInbound.java b/core/src/main/java/io/seata/core/model/ResourceManagerInbound.java index 2162bf4aa20..ddaf22cee98 100644 --- a/core/src/main/java/io/seata/core/model/ResourceManagerInbound.java +++ b/core/src/main/java/io/seata/core/model/ResourceManagerInbound.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/main/java/io/seata/core/model/ResourceManagerOutbound.java b/core/src/main/java/io/seata/core/model/ResourceManagerOutbound.java index a8330032469..f98aef520b8 100644 --- a/core/src/main/java/io/seata/core/model/ResourceManagerOutbound.java +++ b/core/src/main/java/io/seata/core/model/ResourceManagerOutbound.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/main/java/io/seata/core/model/Result.java b/core/src/main/java/io/seata/core/model/Result.java index fe9832f6a12..3ed9aa4476f 100644 --- a/core/src/main/java/io/seata/core/model/Result.java +++ b/core/src/main/java/io/seata/core/model/Result.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/main/java/io/seata/core/model/TransactionManager.java b/core/src/main/java/io/seata/core/model/TransactionManager.java index 8628b53e4fa..b91b495583a 100644 --- a/core/src/main/java/io/seata/core/model/TransactionManager.java +++ b/core/src/main/java/io/seata/core/model/TransactionManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/main/java/io/seata/core/protocol/AbstractIdentifyRequest.java b/core/src/main/java/io/seata/core/protocol/AbstractIdentifyRequest.java index b180489095e..1e464930473 100644 --- a/core/src/main/java/io/seata/core/protocol/AbstractIdentifyRequest.java +++ b/core/src/main/java/io/seata/core/protocol/AbstractIdentifyRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/AbstractIdentifyResponse.java b/core/src/main/java/io/seata/core/protocol/AbstractIdentifyResponse.java index 33d4281167f..5ef1d7cdb46 100644 --- a/core/src/main/java/io/seata/core/protocol/AbstractIdentifyResponse.java +++ b/core/src/main/java/io/seata/core/protocol/AbstractIdentifyResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/AbstractMessage.java b/core/src/main/java/io/seata/core/protocol/AbstractMessage.java index 2a3dbc276b2..f1cd6312176 100644 --- a/core/src/main/java/io/seata/core/protocol/AbstractMessage.java +++ b/core/src/main/java/io/seata/core/protocol/AbstractMessage.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/AbstractResultMessage.java b/core/src/main/java/io/seata/core/protocol/AbstractResultMessage.java index 64ad3594c53..154eafe9499 100644 --- a/core/src/main/java/io/seata/core/protocol/AbstractResultMessage.java +++ b/core/src/main/java/io/seata/core/protocol/AbstractResultMessage.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/BatchResultMessage.java b/core/src/main/java/io/seata/core/protocol/BatchResultMessage.java index c02384db4be..d0590c5a443 100644 --- a/core/src/main/java/io/seata/core/protocol/BatchResultMessage.java +++ b/core/src/main/java/io/seata/core/protocol/BatchResultMessage.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/HeartbeatMessage.java b/core/src/main/java/io/seata/core/protocol/HeartbeatMessage.java index e3e8eb840c9..b61785eb4c6 100644 --- a/core/src/main/java/io/seata/core/protocol/HeartbeatMessage.java +++ b/core/src/main/java/io/seata/core/protocol/HeartbeatMessage.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/IncompatibleVersionException.java b/core/src/main/java/io/seata/core/protocol/IncompatibleVersionException.java index 3fb55396dcd..260ba68bce3 100644 --- a/core/src/main/java/io/seata/core/protocol/IncompatibleVersionException.java +++ b/core/src/main/java/io/seata/core/protocol/IncompatibleVersionException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/MergeMessage.java b/core/src/main/java/io/seata/core/protocol/MergeMessage.java index 82b2a678bb3..7561234ce5f 100644 --- a/core/src/main/java/io/seata/core/protocol/MergeMessage.java +++ b/core/src/main/java/io/seata/core/protocol/MergeMessage.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/MergeResultMessage.java b/core/src/main/java/io/seata/core/protocol/MergeResultMessage.java index efda6599a1e..e3c0538fbaf 100644 --- a/core/src/main/java/io/seata/core/protocol/MergeResultMessage.java +++ b/core/src/main/java/io/seata/core/protocol/MergeResultMessage.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/MergedWarpMessage.java b/core/src/main/java/io/seata/core/protocol/MergedWarpMessage.java index ed42616ee6b..abc31046624 100644 --- a/core/src/main/java/io/seata/core/protocol/MergedWarpMessage.java +++ b/core/src/main/java/io/seata/core/protocol/MergedWarpMessage.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/MessageFuture.java b/core/src/main/java/io/seata/core/protocol/MessageFuture.java index 9fa8fc0e65f..8c8227f2afe 100644 --- a/core/src/main/java/io/seata/core/protocol/MessageFuture.java +++ b/core/src/main/java/io/seata/core/protocol/MessageFuture.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/MessageType.java b/core/src/main/java/io/seata/core/protocol/MessageType.java index b48b6eb0380..1b88c954325 100644 --- a/core/src/main/java/io/seata/core/protocol/MessageType.java +++ b/core/src/main/java/io/seata/core/protocol/MessageType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/MessageTypeAware.java b/core/src/main/java/io/seata/core/protocol/MessageTypeAware.java index dd6208004ff..286725920d1 100644 --- a/core/src/main/java/io/seata/core/protocol/MessageTypeAware.java +++ b/core/src/main/java/io/seata/core/protocol/MessageTypeAware.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/ProtocolConstants.java b/core/src/main/java/io/seata/core/protocol/ProtocolConstants.java index ef5d9a4ddd6..a68644f68a5 100644 --- a/core/src/main/java/io/seata/core/protocol/ProtocolConstants.java +++ b/core/src/main/java/io/seata/core/protocol/ProtocolConstants.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/RegisterRMRequest.java b/core/src/main/java/io/seata/core/protocol/RegisterRMRequest.java index 27877612c2e..bb6d0715255 100644 --- a/core/src/main/java/io/seata/core/protocol/RegisterRMRequest.java +++ b/core/src/main/java/io/seata/core/protocol/RegisterRMRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/RegisterRMResponse.java b/core/src/main/java/io/seata/core/protocol/RegisterRMResponse.java index f590084a5da..8894f5196ea 100644 --- a/core/src/main/java/io/seata/core/protocol/RegisterRMResponse.java +++ b/core/src/main/java/io/seata/core/protocol/RegisterRMResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/RegisterTMRequest.java b/core/src/main/java/io/seata/core/protocol/RegisterTMRequest.java index 746891f5189..609b37f0199 100644 --- a/core/src/main/java/io/seata/core/protocol/RegisterTMRequest.java +++ b/core/src/main/java/io/seata/core/protocol/RegisterTMRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/RegisterTMResponse.java b/core/src/main/java/io/seata/core/protocol/RegisterTMResponse.java index e109c366e42..e28b279f59f 100644 --- a/core/src/main/java/io/seata/core/protocol/RegisterTMResponse.java +++ b/core/src/main/java/io/seata/core/protocol/RegisterTMResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/ResultCode.java b/core/src/main/java/io/seata/core/protocol/ResultCode.java index aea5d09ae7f..46715256a15 100644 --- a/core/src/main/java/io/seata/core/protocol/ResultCode.java +++ b/core/src/main/java/io/seata/core/protocol/ResultCode.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/RpcMessage.java b/core/src/main/java/io/seata/core/protocol/RpcMessage.java index fe229b3662b..b0d9395c792 100644 --- a/core/src/main/java/io/seata/core/protocol/RpcMessage.java +++ b/core/src/main/java/io/seata/core/protocol/RpcMessage.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/Version.java b/core/src/main/java/io/seata/core/protocol/Version.java index 2d17156c02c..7e08274c2d9 100644 --- a/core/src/main/java/io/seata/core/protocol/Version.java +++ b/core/src/main/java/io/seata/core/protocol/Version.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/VersionInfo.java.template b/core/src/main/java/io/seata/core/protocol/VersionInfo.java.template index 218631b6e4d..ddf6443953f 100644 --- a/core/src/main/java/io/seata/core/protocol/VersionInfo.java.template +++ b/core/src/main/java/io/seata/core/protocol/VersionInfo.java.template @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndRequest.java index 6324473a0ee..bfa7b63f9a0 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndResponse.java index d5e54cd36ed..1055f1ff2f1 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndRequest.java index 7c8a98bf608..01a3a795ec9 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndResponse.java index 1936540b748..c8c3299b723 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequest.java index 03d23262f8d..46b8914fef6 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToRM.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToRM.java index cab10150900..23e746bd62b 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToRM.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToRM.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToTC.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToTC.java index 21d8435af52..508ca388300 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToTC.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToTC.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionResponse.java index e7d3b1f3feb..1058dcb8ac9 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitRequest.java index c5ed4005bbf..21916c1c8e0 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitResponse.java index 6788373a7cc..ce1c6f5f2c0 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterRequest.java index f6896bf6bd1..48073601322 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterResponse.java index 6c387484ac5..faea03509b9 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchReportRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchReportRequest.java index f6781fda20a..7e2db3f481f 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchReportRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchReportRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchReportResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchReportResponse.java index 5b556a46527..9c804973260 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchReportResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchReportResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackRequest.java index 886b1383095..64b02e9bd3d 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackResponse.java index 5bad4782292..a116efbf04d 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginRequest.java index 26f4cb57b33..589cf00cd15 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginResponse.java index 9e64cea24d6..bba86108d68 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitRequest.java index ed127e22c76..0d8f0d9224e 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitResponse.java index 4e32f11827d..b2916349335 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryRequest.java index 92534040c1b..87fd8e25875 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryResponse.java index 0ffaf742e73..5d4a5905fb8 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportRequest.java index 1f660326172..731e5dbefc9 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportResponse.java index a17a43f38fd..232ac368ea8 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackRequest.java index 47b980e8e4a..509107bb307 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackResponse.java index 6fdd04ff02d..fb3853e32dc 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusRequest.java index dd37b459307..0b7a2f0226b 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusResponse.java index b5ec3538124..c6cc46b7718 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/RMInboundHandler.java b/core/src/main/java/io/seata/core/protocol/transaction/RMInboundHandler.java index a462dfa3fb6..5bcdd4291be 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/RMInboundHandler.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/RMInboundHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/TCInboundHandler.java b/core/src/main/java/io/seata/core/protocol/transaction/TCInboundHandler.java index 75d50663766..9d83792b7b7 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/TCInboundHandler.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/TCInboundHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/protocol/transaction/UndoLogDeleteRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/UndoLogDeleteRequest.java index fbb50d6303c..07ae48cd572 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/UndoLogDeleteRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/UndoLogDeleteRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/main/java/io/seata/core/rpc/ClientMessageListener.java b/core/src/main/java/io/seata/core/rpc/ClientMessageListener.java index 2467e3ae7ea..8d75a84212d 100644 --- a/core/src/main/java/io/seata/core/rpc/ClientMessageListener.java +++ b/core/src/main/java/io/seata/core/rpc/ClientMessageListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/ClientMessageSender.java b/core/src/main/java/io/seata/core/rpc/ClientMessageSender.java index e1edc8708de..55cfb682c78 100644 --- a/core/src/main/java/io/seata/core/rpc/ClientMessageSender.java +++ b/core/src/main/java/io/seata/core/rpc/ClientMessageSender.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/ClientType.java b/core/src/main/java/io/seata/core/rpc/ClientType.java index 658989a466e..02ebf30abb1 100644 --- a/core/src/main/java/io/seata/core/rpc/ClientType.java +++ b/core/src/main/java/io/seata/core/rpc/ClientType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/DefaultServerMessageListenerImpl.java b/core/src/main/java/io/seata/core/rpc/DefaultServerMessageListenerImpl.java index c81f78fb5d4..1419285edc1 100644 --- a/core/src/main/java/io/seata/core/rpc/DefaultServerMessageListenerImpl.java +++ b/core/src/main/java/io/seata/core/rpc/DefaultServerMessageListenerImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/Disposable.java b/core/src/main/java/io/seata/core/rpc/Disposable.java index 03704192324..b38f71ec26e 100644 --- a/core/src/main/java/io/seata/core/rpc/Disposable.java +++ b/core/src/main/java/io/seata/core/rpc/Disposable.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/RegisterCheckAuthHandler.java b/core/src/main/java/io/seata/core/rpc/RegisterCheckAuthHandler.java index a398f457a58..23435c4dac8 100644 --- a/core/src/main/java/io/seata/core/rpc/RegisterCheckAuthHandler.java +++ b/core/src/main/java/io/seata/core/rpc/RegisterCheckAuthHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/RemotingBootstrap.java b/core/src/main/java/io/seata/core/rpc/RemotingBootstrap.java index b280e6e1e08..f7a9b6632f6 100644 --- a/core/src/main/java/io/seata/core/rpc/RemotingBootstrap.java +++ b/core/src/main/java/io/seata/core/rpc/RemotingBootstrap.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/RemotingClient.java b/core/src/main/java/io/seata/core/rpc/RemotingClient.java index fe6374ab2da..74f6bfd7789 100644 --- a/core/src/main/java/io/seata/core/rpc/RemotingClient.java +++ b/core/src/main/java/io/seata/core/rpc/RemotingClient.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/RemotingServer.java b/core/src/main/java/io/seata/core/rpc/RemotingServer.java index 2ad7431d086..9a6ce4d4758 100644 --- a/core/src/main/java/io/seata/core/rpc/RemotingServer.java +++ b/core/src/main/java/io/seata/core/rpc/RemotingServer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/RemotingService.java b/core/src/main/java/io/seata/core/rpc/RemotingService.java index b38df8a0b12..cedf83a8059 100644 --- a/core/src/main/java/io/seata/core/rpc/RemotingService.java +++ b/core/src/main/java/io/seata/core/rpc/RemotingService.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/RpcContext.java b/core/src/main/java/io/seata/core/rpc/RpcContext.java index 2fe3cca0769..e6f23c1f349 100644 --- a/core/src/main/java/io/seata/core/rpc/RpcContext.java +++ b/core/src/main/java/io/seata/core/rpc/RpcContext.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/ServerMessageListener.java b/core/src/main/java/io/seata/core/rpc/ServerMessageListener.java index efb3c4d3a86..315674df504 100644 --- a/core/src/main/java/io/seata/core/rpc/ServerMessageListener.java +++ b/core/src/main/java/io/seata/core/rpc/ServerMessageListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/ServerMessageSender.java b/core/src/main/java/io/seata/core/rpc/ServerMessageSender.java index cb04f35aee8..6e06f191755 100644 --- a/core/src/main/java/io/seata/core/rpc/ServerMessageSender.java +++ b/core/src/main/java/io/seata/core/rpc/ServerMessageSender.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/ShutdownHook.java b/core/src/main/java/io/seata/core/rpc/ShutdownHook.java index 6e39d16730c..2f11752abc8 100644 --- a/core/src/main/java/io/seata/core/rpc/ShutdownHook.java +++ b/core/src/main/java/io/seata/core/rpc/ShutdownHook.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/TransactionMessageHandler.java b/core/src/main/java/io/seata/core/rpc/TransactionMessageHandler.java index 63ce2516833..bdcdba679e9 100644 --- a/core/src/main/java/io/seata/core/rpc/TransactionMessageHandler.java +++ b/core/src/main/java/io/seata/core/rpc/TransactionMessageHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/TransportProtocolType.java b/core/src/main/java/io/seata/core/rpc/TransportProtocolType.java index 6c21d1a60d9..77d4efd54d2 100644 --- a/core/src/main/java/io/seata/core/rpc/TransportProtocolType.java +++ b/core/src/main/java/io/seata/core/rpc/TransportProtocolType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/TransportServerType.java b/core/src/main/java/io/seata/core/rpc/TransportServerType.java index 6873fdadb1e..cc3adc6b4d6 100644 --- a/core/src/main/java/io/seata/core/rpc/TransportServerType.java +++ b/core/src/main/java/io/seata/core/rpc/TransportServerType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/main/java/io/seata/core/rpc/hook/RpcHook.java b/core/src/main/java/io/seata/core/rpc/hook/RpcHook.java index d5303a69388..c22c44cf0f3 100644 --- a/core/src/main/java/io/seata/core/rpc/hook/RpcHook.java +++ b/core/src/main/java/io/seata/core/rpc/hook/RpcHook.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.hook; diff --git a/core/src/main/java/io/seata/core/rpc/hook/StatusRpcHook.java b/core/src/main/java/io/seata/core/rpc/hook/StatusRpcHook.java index 15025c7ace8..13605c4f475 100644 --- a/core/src/main/java/io/seata/core/rpc/hook/StatusRpcHook.java +++ b/core/src/main/java/io/seata/core/rpc/hook/StatusRpcHook.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.hook; diff --git a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java index a4bb348aae1..192bbccb96d 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java +++ b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java index 9b374c2cb5f..4c72ba64988 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java +++ b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingServer.java b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingServer.java index 4e67446b547..acba5b81bef 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingServer.java +++ b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingServer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/ChannelAuthHealthChecker.java b/core/src/main/java/io/seata/core/rpc/netty/ChannelAuthHealthChecker.java index 5008aaa6a48..5fc62867965 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/ChannelAuthHealthChecker.java +++ b/core/src/main/java/io/seata/core/rpc/netty/ChannelAuthHealthChecker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/ChannelEventListener.java b/core/src/main/java/io/seata/core/rpc/netty/ChannelEventListener.java index 19868ef027e..e14fd4b932f 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/ChannelEventListener.java +++ b/core/src/main/java/io/seata/core/rpc/netty/ChannelEventListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/ChannelManager.java b/core/src/main/java/io/seata/core/rpc/netty/ChannelManager.java index ef2f86a0148..87ea28b2293 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/ChannelManager.java +++ b/core/src/main/java/io/seata/core/rpc/netty/ChannelManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/ChannelUtil.java b/core/src/main/java/io/seata/core/rpc/netty/ChannelUtil.java index ca26a43700d..95e5dd55b42 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/ChannelUtil.java +++ b/core/src/main/java/io/seata/core/rpc/netty/ChannelUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyBaseConfig.java b/core/src/main/java/io/seata/core/rpc/netty/NettyBaseConfig.java index 70cc1de6245..0ef162790fd 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyBaseConfig.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyBaseConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyClientBootstrap.java b/core/src/main/java/io/seata/core/rpc/netty/NettyClientBootstrap.java index 2d52bb51b94..ae5ff72c3df 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyClientBootstrap.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyClientBootstrap.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyClientChannelManager.java b/core/src/main/java/io/seata/core/rpc/netty/NettyClientChannelManager.java index 35ad49f2a5e..287df6215bf 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyClientChannelManager.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyClientChannelManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyClientConfig.java b/core/src/main/java/io/seata/core/rpc/netty/NettyClientConfig.java index 96a4a7535c0..66f97dcc2e6 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyClientConfig.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyClientConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyPoolKey.java b/core/src/main/java/io/seata/core/rpc/netty/NettyPoolKey.java index 43d2e3e8cbf..f0eb4525054 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyPoolKey.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyPoolKey.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyPoolableFactory.java b/core/src/main/java/io/seata/core/rpc/netty/NettyPoolableFactory.java index 795a4e4452a..1c9af447143 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyPoolableFactory.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyPoolableFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyRemotingServer.java b/core/src/main/java/io/seata/core/rpc/netty/NettyRemotingServer.java index fb3ec2dffbd..cd593b1f8b0 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyRemotingServer.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyRemotingServer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyServerBootstrap.java b/core/src/main/java/io/seata/core/rpc/netty/NettyServerBootstrap.java index 1181435d0af..962dc6450ad 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyServerBootstrap.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyServerBootstrap.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyServerConfig.java b/core/src/main/java/io/seata/core/rpc/netty/NettyServerConfig.java index 96c91735905..dbf5bfa673a 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyServerConfig.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyServerConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/RegisterMsgListener.java b/core/src/main/java/io/seata/core/rpc/netty/RegisterMsgListener.java index f1fb4f1cf2e..beafeafcfcd 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/RegisterMsgListener.java +++ b/core/src/main/java/io/seata/core/rpc/netty/RegisterMsgListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/RmNettyRemotingClient.java b/core/src/main/java/io/seata/core/rpc/netty/RmNettyRemotingClient.java index 1887eeb170d..4a3771cb109 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/RmNettyRemotingClient.java +++ b/core/src/main/java/io/seata/core/rpc/netty/RmNettyRemotingClient.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/RpcEventLoopGroup.java b/core/src/main/java/io/seata/core/rpc/netty/RpcEventLoopGroup.java index 0ef16a80270..e3e294c992c 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/RpcEventLoopGroup.java +++ b/core/src/main/java/io/seata/core/rpc/netty/RpcEventLoopGroup.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/TmNettyRemotingClient.java b/core/src/main/java/io/seata/core/rpc/netty/TmNettyRemotingClient.java index 7c5ddf1af3b..ceaafe53166 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/TmNettyRemotingClient.java +++ b/core/src/main/java/io/seata/core/rpc/netty/TmNettyRemotingClient.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/main/java/io/seata/core/rpc/netty/v1/HeadMapSerializer.java b/core/src/main/java/io/seata/core/rpc/netty/v1/HeadMapSerializer.java index 363a50f58e8..60636a6bc71 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/v1/HeadMapSerializer.java +++ b/core/src/main/java/io/seata/core/rpc/netty/v1/HeadMapSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty.v1; diff --git a/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Decoder.java b/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Decoder.java index fa34cb16c51..d433af9df52 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Decoder.java +++ b/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Decoder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty.v1; diff --git a/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java b/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java index 9a775af09be..b274b65a3bb 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java +++ b/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty.v1; diff --git a/core/src/main/java/io/seata/core/rpc/processor/Pair.java b/core/src/main/java/io/seata/core/rpc/processor/Pair.java index 67396ae0330..90e404a82cb 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/Pair.java +++ b/core/src/main/java/io/seata/core/rpc/processor/Pair.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.processor; diff --git a/core/src/main/java/io/seata/core/rpc/processor/RemotingProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/RemotingProcessor.java index 77bf9a8b993..db93b9efb38 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/RemotingProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/RemotingProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.processor; diff --git a/core/src/main/java/io/seata/core/rpc/processor/client/ClientHeartbeatProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/client/ClientHeartbeatProcessor.java index 3af164e36a8..be5935ce0e7 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/client/ClientHeartbeatProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/client/ClientHeartbeatProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.processor.client; diff --git a/core/src/main/java/io/seata/core/rpc/processor/client/ClientOnResponseProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/client/ClientOnResponseProcessor.java index d8c9384bba1..2a8a2a62ef1 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/client/ClientOnResponseProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/client/ClientOnResponseProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.processor.client; diff --git a/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchCommitProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchCommitProcessor.java index 6aed69ace30..3220baae92c 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchCommitProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchCommitProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.processor.client; diff --git a/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchRollbackProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchRollbackProcessor.java index fd3cf6514f3..b972e1d0afd 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchRollbackProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchRollbackProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.processor.client; diff --git a/core/src/main/java/io/seata/core/rpc/processor/client/RmUndoLogProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/client/RmUndoLogProcessor.java index 7500caf01ac..9fe3aebe854 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/client/RmUndoLogProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/client/RmUndoLogProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.processor.client; diff --git a/core/src/main/java/io/seata/core/rpc/processor/server/BatchLogHandler.java b/core/src/main/java/io/seata/core/rpc/processor/server/BatchLogHandler.java index 9d9d7de8781..efcd5051fab 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/server/BatchLogHandler.java +++ b/core/src/main/java/io/seata/core/rpc/processor/server/BatchLogHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.processor.server; diff --git a/core/src/main/java/io/seata/core/rpc/processor/server/RegRmProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/server/RegRmProcessor.java index 1e4767387a2..69fc0bdf618 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/server/RegRmProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/server/RegRmProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.processor.server; diff --git a/core/src/main/java/io/seata/core/rpc/processor/server/RegTmProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/server/RegTmProcessor.java index 75c4fb71755..48efc9b003f 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/server/RegTmProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/server/RegTmProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.processor.server; diff --git a/core/src/main/java/io/seata/core/rpc/processor/server/ServerHeartbeatProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/server/ServerHeartbeatProcessor.java index c4ac853ee31..26c3c0781b6 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/server/ServerHeartbeatProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/server/ServerHeartbeatProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.processor.server; diff --git a/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnRequestProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnRequestProcessor.java index 5c1ee08d674..4c2a2d2249d 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnRequestProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnRequestProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.processor.server; diff --git a/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnResponseProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnResponseProcessor.java index 8f6f4e1cb61..884fe0c43eb 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnResponseProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnResponseProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.processor.server; diff --git a/core/src/main/java/io/seata/core/serializer/Serializer.java b/core/src/main/java/io/seata/core/serializer/Serializer.java index acd0e5f3f28..d8bead50fed 100644 --- a/core/src/main/java/io/seata/core/serializer/Serializer.java +++ b/core/src/main/java/io/seata/core/serializer/Serializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.serializer; diff --git a/core/src/main/java/io/seata/core/serializer/SerializerSecurityRegistry.java b/core/src/main/java/io/seata/core/serializer/SerializerSecurityRegistry.java index 0f922d97885..fd154141d3f 100644 --- a/core/src/main/java/io/seata/core/serializer/SerializerSecurityRegistry.java +++ b/core/src/main/java/io/seata/core/serializer/SerializerSecurityRegistry.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.serializer; diff --git a/core/src/main/java/io/seata/core/serializer/SerializerServiceLoader.java b/core/src/main/java/io/seata/core/serializer/SerializerServiceLoader.java index e602567d444..21fa0073827 100644 --- a/core/src/main/java/io/seata/core/serializer/SerializerServiceLoader.java +++ b/core/src/main/java/io/seata/core/serializer/SerializerServiceLoader.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.serializer; diff --git a/core/src/main/java/io/seata/core/serializer/SerializerType.java b/core/src/main/java/io/seata/core/serializer/SerializerType.java index 292c0f042ac..d32c89fbf0f 100644 --- a/core/src/main/java/io/seata/core/serializer/SerializerType.java +++ b/core/src/main/java/io/seata/core/serializer/SerializerType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.serializer; diff --git a/core/src/main/java/io/seata/core/store/BranchTransactionDO.java b/core/src/main/java/io/seata/core/store/BranchTransactionDO.java index b14efcfb826..f84e8e6a901 100644 --- a/core/src/main/java/io/seata/core/store/BranchTransactionDO.java +++ b/core/src/main/java/io/seata/core/store/BranchTransactionDO.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store; diff --git a/core/src/main/java/io/seata/core/store/DefaultDistributedLocker.java b/core/src/main/java/io/seata/core/store/DefaultDistributedLocker.java index 5f80298721e..f3b03c25a68 100644 --- a/core/src/main/java/io/seata/core/store/DefaultDistributedLocker.java +++ b/core/src/main/java/io/seata/core/store/DefaultDistributedLocker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store; diff --git a/core/src/main/java/io/seata/core/store/DistributedLockDO.java b/core/src/main/java/io/seata/core/store/DistributedLockDO.java index 9bd7245c310..46893f7a8c6 100644 --- a/core/src/main/java/io/seata/core/store/DistributedLockDO.java +++ b/core/src/main/java/io/seata/core/store/DistributedLockDO.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store; diff --git a/core/src/main/java/io/seata/core/store/DistributedLocker.java b/core/src/main/java/io/seata/core/store/DistributedLocker.java index 54612b8a043..fb837678791 100644 --- a/core/src/main/java/io/seata/core/store/DistributedLocker.java +++ b/core/src/main/java/io/seata/core/store/DistributedLocker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store; diff --git a/core/src/main/java/io/seata/core/store/GlobalTransactionDO.java b/core/src/main/java/io/seata/core/store/GlobalTransactionDO.java index 401a64da2f0..0edbcb769ae 100644 --- a/core/src/main/java/io/seata/core/store/GlobalTransactionDO.java +++ b/core/src/main/java/io/seata/core/store/GlobalTransactionDO.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store; diff --git a/core/src/main/java/io/seata/core/store/LockDO.java b/core/src/main/java/io/seata/core/store/LockDO.java index bc4807db024..21c7083e85f 100644 --- a/core/src/main/java/io/seata/core/store/LockDO.java +++ b/core/src/main/java/io/seata/core/store/LockDO.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store; diff --git a/core/src/main/java/io/seata/core/store/LockStore.java b/core/src/main/java/io/seata/core/store/LockStore.java index 62d5a962706..2a87f21e0d5 100644 --- a/core/src/main/java/io/seata/core/store/LockStore.java +++ b/core/src/main/java/io/seata/core/store/LockStore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store; diff --git a/core/src/main/java/io/seata/core/store/LogStore.java b/core/src/main/java/io/seata/core/store/LogStore.java index 5d85605802d..70ac73419e3 100644 --- a/core/src/main/java/io/seata/core/store/LogStore.java +++ b/core/src/main/java/io/seata/core/store/LogStore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store; diff --git a/core/src/main/java/io/seata/core/store/db/AbstractDataSourceProvider.java b/core/src/main/java/io/seata/core/store/db/AbstractDataSourceProvider.java index fee3c98f0b7..52df9fff334 100644 --- a/core/src/main/java/io/seata/core/store/db/AbstractDataSourceProvider.java +++ b/core/src/main/java/io/seata/core/store/db/AbstractDataSourceProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db; diff --git a/core/src/main/java/io/seata/core/store/db/DataSourceProvider.java b/core/src/main/java/io/seata/core/store/db/DataSourceProvider.java index 2d2d439ceca..0f350d57fc2 100644 --- a/core/src/main/java/io/seata/core/store/db/DataSourceProvider.java +++ b/core/src/main/java/io/seata/core/store/db/DataSourceProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db; diff --git a/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/BaseDistributedLockSql.java b/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/BaseDistributedLockSql.java index b4f25d2833f..8a729438a0f 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/BaseDistributedLockSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/BaseDistributedLockSql.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.distributed.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSql.java b/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSql.java index b03e11a51c6..cbf7f99edd9 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSql.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.distributed.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSqlFactory.java b/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSqlFactory.java index 97913c3679e..e0e30bc395e 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSqlFactory.java +++ b/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSqlFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.distributed.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/AbstractLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/AbstractLockStoreSql.java index 0a2b68e1028..611c2cd1bc2 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/AbstractLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/AbstractLockStoreSql.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/DmLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/DmLockStoreSql.java index 9fba8d0e1bd..aa3df0df70c 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/DmLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/DmLockStoreSql.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/H2LockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/H2LockStoreSql.java index 974d514a2dd..67b00105eaa 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/H2LockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/H2LockStoreSql.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSql.java index 995ae18ae82..0305296531f 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSql.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactory.java b/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactory.java index b13bac3a093..b6cc164aa6d 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactory.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/MariadbLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/MariadbLockStoreSql.java index 523d1533b6d..9ab7d39a1c9 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/MariadbLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/MariadbLockStoreSql.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/MysqlLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/MysqlLockStoreSql.java index 19d3d0d6b68..7aea65b065a 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/MysqlLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/MysqlLockStoreSql.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/OceanbaseLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/OceanbaseLockStoreSql.java index b98c53ec44c..29fd5a91ac7 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/OceanbaseLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/OceanbaseLockStoreSql.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/OracleLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/OracleLockStoreSql.java index 49e4a6f568e..bbd96cc11e9 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/OracleLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/OracleLockStoreSql.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/PolarDBXLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/PolarDBXLockStoreSql.java index 33b1bfccb6e..f3300428929 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/PolarDBXLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/PolarDBXLockStoreSql.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/PostgresqlLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/PostgresqlLockStoreSql.java index e8da65b20ed..1bfa3e84276 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/PostgresqlLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/PostgresqlLockStoreSql.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/SqlServerLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/SqlServerLockStoreSql.java index 3f0e45ae2d1..b88c549ae47 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/SqlServerLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/SqlServerLockStoreSql.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.lock; diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/AbstractLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/AbstractLogStoreSqls.java index 8eaafe76488..b4933f1f4b5 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/AbstractLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/AbstractLogStoreSqls.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.log; diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/DmLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/DmLogStoreSqls.java index f824851844b..2d96d555022 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/DmLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/DmLogStoreSqls.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.log; diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/H2LogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/H2LogStoreSqls.java index 894c40f41ba..a2b22d5d273 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/H2LogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/H2LogStoreSqls.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.log; diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqls.java index 43e3a5fcf40..59d5ab3cf42 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqls.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.log; diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactory.java b/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactory.java index 5fefdea7c19..ac5f3aec4ec 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactory.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.log; diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/MariadbLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/MariadbLogStoreSqls.java index 4681c86bbae..57aac371085 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/MariadbLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/MariadbLogStoreSqls.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.log; diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/MysqlLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/MysqlLogStoreSqls.java index 1a61fbd2895..d282f9a57bd 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/MysqlLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/MysqlLogStoreSqls.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.log; diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/OceanbaseLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/OceanbaseLogStoreSqls.java index c62f6a706f5..8ec602c0c94 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/OceanbaseLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/OceanbaseLogStoreSqls.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.log; diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/OracleLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/OracleLogStoreSqls.java index 1dc52f5fb61..1e88ea54d2a 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/OracleLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/OracleLogStoreSqls.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.log; diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/PolarDBXLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/PolarDBXLogStoreSqls.java index 9660b390ebb..aad93f939dd 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/PolarDBXLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/PolarDBXLogStoreSqls.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.log; diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/PostgresqlLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/PostgresqlLogStoreSqls.java index 5b1638c9e5b..e54f864fd42 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/PostgresqlLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/PostgresqlLogStoreSqls.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.log; diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/SqlServerLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/SqlServerLogStoreSqls.java index 9a908c123b0..7e2edc191e5 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/SqlServerLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/SqlServerLogStoreSqls.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.log; diff --git a/core/src/main/log4j.properties b/core/src/main/log4j.properties index 05ba0e365a1..3d4ab4dba72 100644 --- a/core/src/main/log4j.properties +++ b/core/src/main/log4j.properties @@ -1,17 +1,18 @@ # -# Copyright 1999-2019 Seata.io Group. +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # log4j.rootCategory=info,R diff --git a/core/src/main/logback.xml b/core/src/main/logback.xml index 409c0d43ce8..9f98113808b 100644 --- a/core/src/main/logback.xml +++ b/core/src/main/logback.xml @@ -1,20 +1,22 @@ - + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/core/src/test/java/io/seata/core/context/ContextCoreTest.java b/core/src/test/java/io/seata/core/context/ContextCoreTest.java index 8d99fc2311a..435a311cef6 100644 --- a/core/src/test/java/io/seata/core/context/ContextCoreTest.java +++ b/core/src/test/java/io/seata/core/context/ContextCoreTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.context; diff --git a/core/src/test/java/io/seata/core/context/GlobalLockConfigHolderTest.java b/core/src/test/java/io/seata/core/context/GlobalLockConfigHolderTest.java index 440f73938af..dedba6b9f6f 100644 --- a/core/src/test/java/io/seata/core/context/GlobalLockConfigHolderTest.java +++ b/core/src/test/java/io/seata/core/context/GlobalLockConfigHolderTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.context; diff --git a/core/src/test/java/io/seata/core/context/RootContextTest.java b/core/src/test/java/io/seata/core/context/RootContextTest.java index 710b63582cc..33cd0cd7ae2 100644 --- a/core/src/test/java/io/seata/core/context/RootContextTest.java +++ b/core/src/test/java/io/seata/core/context/RootContextTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.context; diff --git a/core/src/test/java/io/seata/core/event/GuavaEventBusTest.java b/core/src/test/java/io/seata/core/event/GuavaEventBusTest.java index a9b306d5aa3..2b6fbe2aa4a 100644 --- a/core/src/test/java/io/seata/core/event/GuavaEventBusTest.java +++ b/core/src/test/java/io/seata/core/event/GuavaEventBusTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.event; diff --git a/core/src/test/java/io/seata/core/message/BranchCommitRequestTest.java b/core/src/test/java/io/seata/core/message/BranchCommitRequestTest.java index 620d6beb72a..d3a361a2da9 100644 --- a/core/src/test/java/io/seata/core/message/BranchCommitRequestTest.java +++ b/core/src/test/java/io/seata/core/message/BranchCommitRequestTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.message; diff --git a/core/src/test/java/io/seata/core/message/BranchCommitResponseTest.java b/core/src/test/java/io/seata/core/message/BranchCommitResponseTest.java index 8cb897ddefa..60fdb66d460 100644 --- a/core/src/test/java/io/seata/core/message/BranchCommitResponseTest.java +++ b/core/src/test/java/io/seata/core/message/BranchCommitResponseTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.message; diff --git a/core/src/test/java/io/seata/core/message/BranchRegisterRequestTest.java b/core/src/test/java/io/seata/core/message/BranchRegisterRequestTest.java index 0f3ec1ad589..8921f5f7ef3 100644 --- a/core/src/test/java/io/seata/core/message/BranchRegisterRequestTest.java +++ b/core/src/test/java/io/seata/core/message/BranchRegisterRequestTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.message; diff --git a/core/src/test/java/io/seata/core/message/BranchRegisterResponseTest.java b/core/src/test/java/io/seata/core/message/BranchRegisterResponseTest.java index 88502f223a5..b4a029b9258 100644 --- a/core/src/test/java/io/seata/core/message/BranchRegisterResponseTest.java +++ b/core/src/test/java/io/seata/core/message/BranchRegisterResponseTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.message; diff --git a/core/src/test/java/io/seata/core/message/BranchReportRequestTest.java b/core/src/test/java/io/seata/core/message/BranchReportRequestTest.java index c4b0bfbb2a9..aab4e72fee7 100644 --- a/core/src/test/java/io/seata/core/message/BranchReportRequestTest.java +++ b/core/src/test/java/io/seata/core/message/BranchReportRequestTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.message; diff --git a/core/src/test/java/io/seata/core/message/GlobalBeginRequestTest.java b/core/src/test/java/io/seata/core/message/GlobalBeginRequestTest.java index fcd1f9ed8d1..43eda24f03c 100644 --- a/core/src/test/java/io/seata/core/message/GlobalBeginRequestTest.java +++ b/core/src/test/java/io/seata/core/message/GlobalBeginRequestTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.message; diff --git a/core/src/test/java/io/seata/core/message/GlobalCommitResponseTest.java b/core/src/test/java/io/seata/core/message/GlobalCommitResponseTest.java index bf4df81783b..c7b0c35d06d 100644 --- a/core/src/test/java/io/seata/core/message/GlobalCommitResponseTest.java +++ b/core/src/test/java/io/seata/core/message/GlobalCommitResponseTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.message; diff --git a/core/src/test/java/io/seata/core/message/GlobalRollbackRequestTest.java b/core/src/test/java/io/seata/core/message/GlobalRollbackRequestTest.java index 22ad1d6d7d3..1eb4f01e923 100644 --- a/core/src/test/java/io/seata/core/message/GlobalRollbackRequestTest.java +++ b/core/src/test/java/io/seata/core/message/GlobalRollbackRequestTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.message; diff --git a/core/src/test/java/io/seata/core/message/RegisterTMRequestTest.java b/core/src/test/java/io/seata/core/message/RegisterTMRequestTest.java index 3c1b49e8903..ed77e6d5019 100644 --- a/core/src/test/java/io/seata/core/message/RegisterTMRequestTest.java +++ b/core/src/test/java/io/seata/core/message/RegisterTMRequestTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.message; diff --git a/core/src/test/java/io/seata/core/message/RegisterTMResponseTest.java b/core/src/test/java/io/seata/core/message/RegisterTMResponseTest.java index c282c453a3b..e8808267a30 100644 --- a/core/src/test/java/io/seata/core/message/RegisterTMResponseTest.java +++ b/core/src/test/java/io/seata/core/message/RegisterTMResponseTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.message; diff --git a/core/src/test/java/io/seata/core/model/BranchStatusTest.java b/core/src/test/java/io/seata/core/model/BranchStatusTest.java index ccbaf9f94e5..88a2ddbd46c 100644 --- a/core/src/test/java/io/seata/core/model/BranchStatusTest.java +++ b/core/src/test/java/io/seata/core/model/BranchStatusTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/test/java/io/seata/core/model/BranchTypeTest.java b/core/src/test/java/io/seata/core/model/BranchTypeTest.java index 57111aa0b07..6511cf9ecf5 100644 --- a/core/src/test/java/io/seata/core/model/BranchTypeTest.java +++ b/core/src/test/java/io/seata/core/model/BranchTypeTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/test/java/io/seata/core/model/GlobalStatusTest.java b/core/src/test/java/io/seata/core/model/GlobalStatusTest.java index 12d2515341b..45bed6df5a4 100644 --- a/core/src/test/java/io/seata/core/model/GlobalStatusTest.java +++ b/core/src/test/java/io/seata/core/model/GlobalStatusTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/test/java/io/seata/core/model/TransactionExceptionCodeTest.java b/core/src/test/java/io/seata/core/model/TransactionExceptionCodeTest.java index 2bcdb555097..c348d679edd 100644 --- a/core/src/test/java/io/seata/core/model/TransactionExceptionCodeTest.java +++ b/core/src/test/java/io/seata/core/model/TransactionExceptionCodeTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.model; diff --git a/core/src/test/java/io/seata/core/protocol/BatchResultMessageTest.java b/core/src/test/java/io/seata/core/protocol/BatchResultMessageTest.java index 6c1b252c4b1..9299f9b4a88 100644 --- a/core/src/test/java/io/seata/core/protocol/BatchResultMessageTest.java +++ b/core/src/test/java/io/seata/core/protocol/BatchResultMessageTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/test/java/io/seata/core/protocol/HeartbeatMessageTest.java b/core/src/test/java/io/seata/core/protocol/HeartbeatMessageTest.java index 9198b72adaf..c70b32cc789 100644 --- a/core/src/test/java/io/seata/core/protocol/HeartbeatMessageTest.java +++ b/core/src/test/java/io/seata/core/protocol/HeartbeatMessageTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/test/java/io/seata/core/protocol/MergeResultMessageTest.java b/core/src/test/java/io/seata/core/protocol/MergeResultMessageTest.java index 114607f1548..94e853cf766 100644 --- a/core/src/test/java/io/seata/core/protocol/MergeResultMessageTest.java +++ b/core/src/test/java/io/seata/core/protocol/MergeResultMessageTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/test/java/io/seata/core/protocol/MergedWarpMessageTest.java b/core/src/test/java/io/seata/core/protocol/MergedWarpMessageTest.java index fa6bae53e04..feda90ae517 100644 --- a/core/src/test/java/io/seata/core/protocol/MergedWarpMessageTest.java +++ b/core/src/test/java/io/seata/core/protocol/MergedWarpMessageTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/test/java/io/seata/core/protocol/MessageFutureTest.java b/core/src/test/java/io/seata/core/protocol/MessageFutureTest.java index b7d3699cf3c..e4796ebbee6 100644 --- a/core/src/test/java/io/seata/core/protocol/MessageFutureTest.java +++ b/core/src/test/java/io/seata/core/protocol/MessageFutureTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/test/java/io/seata/core/protocol/RegisterRMRequestTest.java b/core/src/test/java/io/seata/core/protocol/RegisterRMRequestTest.java index 2c0d4c5e53a..bccefc365e5 100644 --- a/core/src/test/java/io/seata/core/protocol/RegisterRMRequestTest.java +++ b/core/src/test/java/io/seata/core/protocol/RegisterRMRequestTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/test/java/io/seata/core/protocol/RegisterRMResponseTest.java b/core/src/test/java/io/seata/core/protocol/RegisterRMResponseTest.java index 01c57554568..53f731e68eb 100644 --- a/core/src/test/java/io/seata/core/protocol/RegisterRMResponseTest.java +++ b/core/src/test/java/io/seata/core/protocol/RegisterRMResponseTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/test/java/io/seata/core/protocol/RegisterTMRequestTest.java b/core/src/test/java/io/seata/core/protocol/RegisterTMRequestTest.java index f17ddd9f0ca..72f9f1aba54 100644 --- a/core/src/test/java/io/seata/core/protocol/RegisterTMRequestTest.java +++ b/core/src/test/java/io/seata/core/protocol/RegisterTMRequestTest.java @@ -1,42 +1,43 @@ -/* - * Copyright 1999-2019 Seata.io Group. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package io.seata.core.protocol; - -import io.netty.buffer.ByteBuf; -import static io.netty.buffer.Unpooled.buffer; - -/** - * RegisterTMRequest Test - * - * @author kaitithoma - * @author Danaykap - * - * - */ - -public class RegisterTMRequestTest { - - private static RegisterTMRequest registerTMRequest; - private static AbstractIdentifyRequest air; - private static final String APP_ID = "applicationId"; - private static final String TSG = "transactionServiceGroup"; - private static final String ED = "extraData"; - private static final short TYPE_CODE = 101; - private static final ByteBuf BB = buffer(128); - - - -} +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.core.protocol; + +import io.netty.buffer.ByteBuf; +import static io.netty.buffer.Unpooled.buffer; + +/** + * RegisterTMRequest Test + * + * @author kaitithoma + * @author Danaykap + * + * + */ + +public class RegisterTMRequestTest { + + private static RegisterTMRequest registerTMRequest; + private static AbstractIdentifyRequest air; + private static final String APP_ID = "applicationId"; + private static final String TSG = "transactionServiceGroup"; + private static final String ED = "extraData"; + private static final short TYPE_CODE = 101; + private static final ByteBuf BB = buffer(128); + + + +} diff --git a/core/src/test/java/io/seata/core/protocol/ResultCodeTest.java b/core/src/test/java/io/seata/core/protocol/ResultCodeTest.java index fac13d0f12c..5c4d27baaf4 100644 --- a/core/src/test/java/io/seata/core/protocol/ResultCodeTest.java +++ b/core/src/test/java/io/seata/core/protocol/ResultCodeTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/test/java/io/seata/core/protocol/RpcMessageTest.java b/core/src/test/java/io/seata/core/protocol/RpcMessageTest.java index 0eb83a8864d..d0bedaf8625 100644 --- a/core/src/test/java/io/seata/core/protocol/RpcMessageTest.java +++ b/core/src/test/java/io/seata/core/protocol/RpcMessageTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/test/java/io/seata/core/protocol/VersionTest.java b/core/src/test/java/io/seata/core/protocol/VersionTest.java index d3505ed5edb..c96ab4a28b6 100644 --- a/core/src/test/java/io/seata/core/protocol/VersionTest.java +++ b/core/src/test/java/io/seata/core/protocol/VersionTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol; diff --git a/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackRequestTest.java b/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackRequestTest.java index 3c7c786e768..59a2fba13fc 100644 --- a/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackRequestTest.java +++ b/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackRequestTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackResponseTest.java b/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackResponseTest.java index ee6b480c575..44d4bed9c63 100644 --- a/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackResponseTest.java +++ b/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackResponseTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/test/java/io/seata/core/protocol/transaction/GlobalBeginResponseTest.java b/core/src/test/java/io/seata/core/protocol/transaction/GlobalBeginResponseTest.java index 022aedaf479..02dfa090fde 100644 --- a/core/src/test/java/io/seata/core/protocol/transaction/GlobalBeginResponseTest.java +++ b/core/src/test/java/io/seata/core/protocol/transaction/GlobalBeginResponseTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.protocol.transaction; diff --git a/core/src/test/java/io/seata/core/rpc/RpcContextTest.java b/core/src/test/java/io/seata/core/rpc/RpcContextTest.java index 8f277a9d474..382efdcc8c0 100644 --- a/core/src/test/java/io/seata/core/rpc/RpcContextTest.java +++ b/core/src/test/java/io/seata/core/rpc/RpcContextTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/test/java/io/seata/core/rpc/ShutdownHookTest.java b/core/src/test/java/io/seata/core/rpc/ShutdownHookTest.java index c5244cca7d2..a672fa3d89a 100644 --- a/core/src/test/java/io/seata/core/rpc/ShutdownHookTest.java +++ b/core/src/test/java/io/seata/core/rpc/ShutdownHookTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc; diff --git a/core/src/test/java/io/seata/core/rpc/netty/MessageCodecHandlerTest.java b/core/src/test/java/io/seata/core/rpc/netty/MessageCodecHandlerTest.java index 5feeb6ae9aa..f998af3ae2e 100644 --- a/core/src/test/java/io/seata/core/rpc/netty/MessageCodecHandlerTest.java +++ b/core/src/test/java/io/seata/core/rpc/netty/MessageCodecHandlerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ ///* // * Copyright 1999-2019 Seata.io Group. diff --git a/core/src/test/java/io/seata/core/rpc/netty/NettyBaseConfigTest.java b/core/src/test/java/io/seata/core/rpc/netty/NettyBaseConfigTest.java index 71eb3254022..995f7617e10 100644 --- a/core/src/test/java/io/seata/core/rpc/netty/NettyBaseConfigTest.java +++ b/core/src/test/java/io/seata/core/rpc/netty/NettyBaseConfigTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/test/java/io/seata/core/rpc/netty/NettyClientChannelManagerTest.java b/core/src/test/java/io/seata/core/rpc/netty/NettyClientChannelManagerTest.java index 36b809e20be..1ba6e3a95ca 100644 --- a/core/src/test/java/io/seata/core/rpc/netty/NettyClientChannelManagerTest.java +++ b/core/src/test/java/io/seata/core/rpc/netty/NettyClientChannelManagerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/test/java/io/seata/core/rpc/netty/NettyPoolKeyTest.java b/core/src/test/java/io/seata/core/rpc/netty/NettyPoolKeyTest.java index 1279434390f..08166112247 100644 --- a/core/src/test/java/io/seata/core/rpc/netty/NettyPoolKeyTest.java +++ b/core/src/test/java/io/seata/core/rpc/netty/NettyPoolKeyTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/test/java/io/seata/core/rpc/netty/RmNettyClientTest.java b/core/src/test/java/io/seata/core/rpc/netty/RmNettyClientTest.java index e87d38bd4af..d9858184f8a 100644 --- a/core/src/test/java/io/seata/core/rpc/netty/RmNettyClientTest.java +++ b/core/src/test/java/io/seata/core/rpc/netty/RmNettyClientTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java b/core/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java index 7b73fdfa49b..81e1e1e57e0 100644 --- a/core/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java +++ b/core/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.rpc.netty; diff --git a/core/src/test/java/io/seata/core/serializer/SerializerSecurityRegistryTest.java b/core/src/test/java/io/seata/core/serializer/SerializerSecurityRegistryTest.java index 19e8f8783a7..475457f51d1 100644 --- a/core/src/test/java/io/seata/core/serializer/SerializerSecurityRegistryTest.java +++ b/core/src/test/java/io/seata/core/serializer/SerializerSecurityRegistryTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.core.serializer; import io.seata.core.protocol.HeartbeatMessage; diff --git a/core/src/test/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactoryTest.java b/core/src/test/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactoryTest.java index 36d4cbf6ce6..0ab6854d50b 100644 --- a/core/src/test/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactoryTest.java +++ b/core/src/test/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactoryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.lock; diff --git a/core/src/test/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactoryTest.java b/core/src/test/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactoryTest.java index b895f2e59dd..5dab39613e1 100644 --- a/core/src/test/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactoryTest.java +++ b/core/src/test/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactoryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.core.store.db.sql.log; diff --git a/core/src/test/resources/file.conf b/core/src/test/resources/file.conf index a06899c4a03..f3dede5c189 100644 --- a/core/src/test/resources/file.conf +++ b/core/src/test/resources/file.conf @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # Copyright 1999-2019 Seata.io Group. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/core/src/test/resources/registry.conf b/core/src/test/resources/registry.conf index 7870e78a687..5ad014bf55a 100644 --- a/core/src/test/resources/registry.conf +++ b/core/src/test/resources/registry.conf @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa type = "file" diff --git a/dependencies/pom.xml b/dependencies/pom.xml index 4de38732ea6..26cfc899a0c 100644 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/discovery/pom.xml b/discovery/pom.xml index 754e5428034..08a5e2f49fe 100644 --- a/discovery/pom.xml +++ b/discovery/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/discovery/seata-discovery-all/pom.xml b/discovery/seata-discovery-all/pom.xml index f692dd9f694..7abf9edd88b 100644 --- a/discovery/seata-discovery-all/pom.xml +++ b/discovery/seata-discovery-all/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/discovery/seata-discovery-consul/pom.xml b/discovery/seata-discovery-consul/pom.xml index a70d9241bb2..390c03a1830 100644 --- a/discovery/seata-discovery-consul/pom.xml +++ b/discovery/seata-discovery-consul/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulListener.java b/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulListener.java index e7efca4aa91..a37a4b4f8c4 100644 --- a/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulListener.java +++ b/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.consul; diff --git a/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryProvider.java b/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryProvider.java index 65661102844..4046b057591 100644 --- a/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryProvider.java +++ b/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.consul; diff --git a/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImpl.java b/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImpl.java index c6b4637989d..0dadd5f3c99 100644 --- a/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImpl.java +++ b/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.consul; diff --git a/discovery/seata-discovery-consul/src/test/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImplTest.java b/discovery/seata-discovery-consul/src/test/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImplTest.java index 99f25023d88..9e1a0b6a79f 100644 --- a/discovery/seata-discovery-consul/src/test/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImplTest.java +++ b/discovery/seata-discovery-consul/src/test/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImplTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.consul; diff --git a/discovery/seata-discovery-consul/src/test/resources/file.conf b/discovery/seata-discovery-consul/src/test/resources/file.conf index a06899c4a03..f3dede5c189 100644 --- a/discovery/seata-discovery-consul/src/test/resources/file.conf +++ b/discovery/seata-discovery-consul/src/test/resources/file.conf @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # Copyright 1999-2019 Seata.io Group. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/discovery/seata-discovery-consul/src/test/resources/registry.conf b/discovery/seata-discovery-consul/src/test/resources/registry.conf index 7870e78a687..5ad014bf55a 100644 --- a/discovery/seata-discovery-consul/src/test/resources/registry.conf +++ b/discovery/seata-discovery-consul/src/test/resources/registry.conf @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa type = "file" diff --git a/discovery/seata-discovery-core/pom.xml b/discovery/seata-discovery-core/pom.xml index bf1d56c5365..5edde297162 100644 --- a/discovery/seata-discovery-core/pom.xml +++ b/discovery/seata-discovery-core/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/ConsistentHashLoadBalance.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/ConsistentHashLoadBalance.java index 421b57d3487..3020a0b7005 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/ConsistentHashLoadBalance.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/ConsistentHashLoadBalance.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.loadbalance; diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LeastActiveLoadBalance.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LeastActiveLoadBalance.java index 110d0e2dcdc..473ae620d68 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LeastActiveLoadBalance.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LeastActiveLoadBalance.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.loadbalance; diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalance.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalance.java index 8f8d09f4028..431c8df0b18 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalance.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalance.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.loadbalance; diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalanceFactory.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalanceFactory.java index 2256a20e790..f0a67f720ac 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalanceFactory.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalanceFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.loadbalance; diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RandomLoadBalance.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RandomLoadBalance.java index dbd3f37b3ee..5ad6473108b 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RandomLoadBalance.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RandomLoadBalance.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.loadbalance; diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RoundRobinLoadBalance.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RoundRobinLoadBalance.java index 2f7e260cad6..3c52fad42e5 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RoundRobinLoadBalance.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RoundRobinLoadBalance.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.loadbalance; diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/XIDLoadBalance.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/XIDLoadBalance.java index 2d4a45cf20c..dd9c7a51493 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/XIDLoadBalance.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/XIDLoadBalance.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.loadbalance; diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryProvider.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryProvider.java index 09628fdaf07..69916eed2b0 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryProvider.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry; diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryServiceImpl.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryServiceImpl.java index 9be433e9951..bfb15696c48 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryServiceImpl.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry; diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/MultiRegistryFactory.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/MultiRegistryFactory.java index dd8aaebabee..99f67e71298 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/MultiRegistryFactory.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/MultiRegistryFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry; diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryFactory.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryFactory.java index 9f8cd2e4f4a..aa41d542b44 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryFactory.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry; diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryHeartBeats.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryHeartBeats.java index 47956c25bf3..549e6f24116 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryHeartBeats.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryHeartBeats.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry; diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryProvider.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryProvider.java index 402eb48033b..0ed028d04d6 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryProvider.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry; diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryService.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryService.java index 4391bd86738..c9dcd29abbc 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryService.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryService.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry; diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryType.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryType.java index 7fec8ece77e..78b27493b55 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryType.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry; diff --git a/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java b/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java index 7b45ac9fac0..ffb6d0e5164 100644 --- a/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java +++ b/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config; diff --git a/discovery/seata-discovery-core/src/test/java/io/seata/discovery/loadbalance/LoadBalanceFactoryTest.java b/discovery/seata-discovery-core/src/test/java/io/seata/discovery/loadbalance/LoadBalanceFactoryTest.java index 55e57b37a3a..22ee8d18232 100644 --- a/discovery/seata-discovery-core/src/test/java/io/seata/discovery/loadbalance/LoadBalanceFactoryTest.java +++ b/discovery/seata-discovery-core/src/test/java/io/seata/discovery/loadbalance/LoadBalanceFactoryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.loadbalance; diff --git a/discovery/seata-discovery-core/src/test/java/io/seata/discovery/loadbalance/LoadBalanceTest.java b/discovery/seata-discovery-core/src/test/java/io/seata/discovery/loadbalance/LoadBalanceTest.java index 0b113c12b2d..55bbbb4a980 100644 --- a/discovery/seata-discovery-core/src/test/java/io/seata/discovery/loadbalance/LoadBalanceTest.java +++ b/discovery/seata-discovery-core/src/test/java/io/seata/discovery/loadbalance/LoadBalanceTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.loadbalance; diff --git a/discovery/seata-discovery-core/src/test/resources/apollo.properties b/discovery/seata-discovery-core/src/test/resources/apollo.properties index 36543568daf..a5704275b46 100644 --- a/discovery/seata-discovery-core/src/test/resources/apollo.properties +++ b/discovery/seata-discovery-core/src/test/resources/apollo.properties @@ -1,17 +1,18 @@ # -# Copyright 1999-2019 Seata.io Group. +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # #apollo config diff --git a/discovery/seata-discovery-core/src/test/resources/file.conf b/discovery/seata-discovery-core/src/test/resources/file.conf index 908d7c2a89c..c0f8fd33681 100644 --- a/discovery/seata-discovery-core/src/test/resources/file.conf +++ b/discovery/seata-discovery-core/src/test/resources/file.conf @@ -1,17 +1,18 @@ # -# Copyright 1999-2019 Seata.io Group. +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # #loadBalance config diff --git a/discovery/seata-discovery-core/src/test/resources/registry.conf b/discovery/seata-discovery-core/src/test/resources/registry.conf index 0b342316635..8b8a0f5b886 100644 --- a/discovery/seata-discovery-core/src/test/resources/registry.conf +++ b/discovery/seata-discovery-core/src/test/resources/registry.conf @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa type = "file" diff --git a/discovery/seata-discovery-custom/pom.xml b/discovery/seata-discovery-custom/pom.xml index 8de60a0c772..85be56b6877 100644 --- a/discovery/seata-discovery-custom/pom.xml +++ b/discovery/seata-discovery-custom/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/discovery/seata-discovery-custom/src/main/java/io/seata/discovery/registry/custom/CustomRegistryProvider.java b/discovery/seata-discovery-custom/src/main/java/io/seata/discovery/registry/custom/CustomRegistryProvider.java index 8b740b7aadb..866f7b2d27f 100644 --- a/discovery/seata-discovery-custom/src/main/java/io/seata/discovery/registry/custom/CustomRegistryProvider.java +++ b/discovery/seata-discovery-custom/src/main/java/io/seata/discovery/registry/custom/CustomRegistryProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.custom; diff --git a/discovery/seata-discovery-custom/src/test/java/io/seata/discovery/registry/custom/CustomRegistryProviderForTest.java b/discovery/seata-discovery-custom/src/test/java/io/seata/discovery/registry/custom/CustomRegistryProviderForTest.java index b13b3acc064..23bba7031e9 100644 --- a/discovery/seata-discovery-custom/src/test/java/io/seata/discovery/registry/custom/CustomRegistryProviderForTest.java +++ b/discovery/seata-discovery-custom/src/test/java/io/seata/discovery/registry/custom/CustomRegistryProviderForTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.custom; diff --git a/discovery/seata-discovery-custom/src/test/java/io/seata/discovery/registry/custom/CustomRegistryServiceForTest.java b/discovery/seata-discovery-custom/src/test/java/io/seata/discovery/registry/custom/CustomRegistryServiceForTest.java index 804ef1fd513..1dd6b527a84 100644 --- a/discovery/seata-discovery-custom/src/test/java/io/seata/discovery/registry/custom/CustomRegistryServiceForTest.java +++ b/discovery/seata-discovery-custom/src/test/java/io/seata/discovery/registry/custom/CustomRegistryServiceForTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.custom; diff --git a/discovery/seata-discovery-custom/src/test/java/io/seata/discovery/registry/custom/CustomRegistryTest.java b/discovery/seata-discovery-custom/src/test/java/io/seata/discovery/registry/custom/CustomRegistryTest.java index 0aa7d42e865..2f8fc813841 100644 --- a/discovery/seata-discovery-custom/src/test/java/io/seata/discovery/registry/custom/CustomRegistryTest.java +++ b/discovery/seata-discovery-custom/src/test/java/io/seata/discovery/registry/custom/CustomRegistryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.custom; diff --git a/discovery/seata-discovery-custom/src/test/resources/registry.conf b/discovery/seata-discovery-custom/src/test/resources/registry.conf index 7b903fcfc86..4223464d712 100644 --- a/discovery/seata-discovery-custom/src/test/resources/registry.conf +++ b/discovery/seata-discovery-custom/src/test/resources/registry.conf @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. registry { type = "custom" diff --git a/discovery/seata-discovery-etcd3/pom.xml b/discovery/seata-discovery-etcd3/pom.xml index f5c000bc50e..327852a8a95 100644 --- a/discovery/seata-discovery-etcd3/pom.xml +++ b/discovery/seata-discovery-etcd3/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryProvider.java b/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryProvider.java index 5cd80941541..f0be444167a 100644 --- a/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryProvider.java +++ b/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.etcd3; diff --git a/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryServiceImpl.java b/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryServiceImpl.java index 4330e9d6bda..338884cb31f 100644 --- a/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryServiceImpl.java +++ b/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.etcd3; diff --git a/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryProviderTest.java b/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryProviderTest.java index 8d5fa6142c9..9d8cb27e554 100644 --- a/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryProviderTest.java +++ b/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryProviderTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.etcd; diff --git a/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryServiceImplTest.java b/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryServiceImplTest.java index 3be4fa3b542..13948555720 100644 --- a/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryServiceImplTest.java +++ b/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryServiceImplTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.etcd; diff --git a/discovery/seata-discovery-etcd3/src/test/resources/file.conf b/discovery/seata-discovery-etcd3/src/test/resources/file.conf index a06899c4a03..f3dede5c189 100644 --- a/discovery/seata-discovery-etcd3/src/test/resources/file.conf +++ b/discovery/seata-discovery-etcd3/src/test/resources/file.conf @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # Copyright 1999-2019 Seata.io Group. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/discovery/seata-discovery-etcd3/src/test/resources/registry.conf b/discovery/seata-discovery-etcd3/src/test/resources/registry.conf index 0b342316635..8b8a0f5b886 100644 --- a/discovery/seata-discovery-etcd3/src/test/resources/registry.conf +++ b/discovery/seata-discovery-etcd3/src/test/resources/registry.conf @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa type = "file" diff --git a/discovery/seata-discovery-eureka/pom.xml b/discovery/seata-discovery-eureka/pom.xml index 82107292b87..0e01677204e 100644 --- a/discovery/seata-discovery-eureka/pom.xml +++ b/discovery/seata-discovery-eureka/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/CustomEurekaInstanceConfig.java b/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/CustomEurekaInstanceConfig.java index 2f197e71cef..1005501b010 100644 --- a/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/CustomEurekaInstanceConfig.java +++ b/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/CustomEurekaInstanceConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.eureka; diff --git a/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryProvider.java b/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryProvider.java index d55407f3cfd..185b3c6fd64 100644 --- a/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryProvider.java +++ b/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.eureka; diff --git a/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryServiceImpl.java b/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryServiceImpl.java index bd894b22409..d228f6dcba0 100644 --- a/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryServiceImpl.java +++ b/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.eureka; diff --git a/discovery/seata-discovery-nacos/pom.xml b/discovery/seata-discovery-nacos/pom.xml index 2c4df760e5c..a675482dd77 100644 --- a/discovery/seata-discovery-nacos/pom.xml +++ b/discovery/seata-discovery-nacos/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryProvider.java b/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryProvider.java index c07e0ce0aaa..3adf666fa9e 100644 --- a/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryProvider.java +++ b/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.nacos; diff --git a/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryServiceImpl.java b/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryServiceImpl.java index b94aa4df9f1..3314831f339 100644 --- a/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryServiceImpl.java +++ b/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.nacos; diff --git a/discovery/seata-discovery-nacos/src/test/java/io/seata/config/nacos/NacosRegistryServiceImplTest.java b/discovery/seata-discovery-nacos/src/test/java/io/seata/config/nacos/NacosRegistryServiceImplTest.java index caedcf19d16..fea8a752fb0 100644 --- a/discovery/seata-discovery-nacos/src/test/java/io/seata/config/nacos/NacosRegistryServiceImplTest.java +++ b/discovery/seata-discovery-nacos/src/test/java/io/seata/config/nacos/NacosRegistryServiceImplTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.config.nacos; diff --git a/discovery/seata-discovery-nacos/src/test/resources/registry.conf b/discovery/seata-discovery-nacos/src/test/resources/registry.conf index 94d3aebf0a3..1fbdb5694b1 100644 --- a/discovery/seata-discovery-nacos/src/test/resources/registry.conf +++ b/discovery/seata-discovery-nacos/src/test/resources/registry.conf @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa、custom diff --git a/discovery/seata-discovery-raft/pom.xml b/discovery/seata-discovery-raft/pom.xml index 81f2832dc5e..2b9b649e2c1 100644 --- a/discovery/seata-discovery-raft/pom.xml +++ b/discovery/seata-discovery-raft/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryProvider.java b/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryProvider.java index 26469bc7985..8ca61e39219 100644 --- a/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryProvider.java +++ b/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.raft; diff --git a/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java b/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java index 298d5667cf1..79e36286565 100644 --- a/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java +++ b/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.raft; diff --git a/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java b/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java index e44e8626d24..a168b6ed0ac 100644 --- a/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java +++ b/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.raft; diff --git a/discovery/seata-discovery-raft/src/test/resources/file.conf b/discovery/seata-discovery-raft/src/test/resources/file.conf index a06899c4a03..f3dede5c189 100644 --- a/discovery/seata-discovery-raft/src/test/resources/file.conf +++ b/discovery/seata-discovery-raft/src/test/resources/file.conf @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # Copyright 1999-2019 Seata.io Group. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/discovery/seata-discovery-raft/src/test/resources/registry.conf b/discovery/seata-discovery-raft/src/test/resources/registry.conf index 4381ab40df8..5a15b8eec3f 100644 --- a/discovery/seata-discovery-raft/src/test/resources/registry.conf +++ b/discovery/seata-discovery-raft/src/test/resources/registry.conf @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa、custom、raft diff --git a/discovery/seata-discovery-redis/pom.xml b/discovery/seata-discovery-redis/pom.xml index 3c7bd2f2919..058d6b21802 100644 --- a/discovery/seata-discovery-redis/pom.xml +++ b/discovery/seata-discovery-redis/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisListener.java b/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisListener.java index a6e66353a82..7287444c6a2 100644 --- a/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisListener.java +++ b/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.redis; diff --git a/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryProvider.java b/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryProvider.java index f7edd5848c9..e3aa95f11f5 100644 --- a/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryProvider.java +++ b/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.redis; diff --git a/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryServiceImpl.java b/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryServiceImpl.java index 336037f8c9d..4964af9d994 100644 --- a/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryServiceImpl.java +++ b/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.redis; diff --git a/discovery/seata-discovery-sofa/pom.xml b/discovery/seata-discovery-sofa/pom.xml index 81ce64d3561..6490e22b60a 100644 --- a/discovery/seata-discovery-sofa/pom.xml +++ b/discovery/seata-discovery-sofa/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryProvider.java b/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryProvider.java index 7b67e563813..516fb9d0867 100644 --- a/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryProvider.java +++ b/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.sofa; diff --git a/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryServiceImpl.java b/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryServiceImpl.java index a5011638214..482ca9e5821 100644 --- a/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryServiceImpl.java +++ b/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.sofa; diff --git a/discovery/seata-discovery-zk/pom.xml b/discovery/seata-discovery-zk/pom.xml index ebd7f892b96..dc478041727 100644 --- a/discovery/seata-discovery-zk/pom.xml +++ b/discovery/seata-discovery-zk/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImpl.java b/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImpl.java index fe2613a5fde..74860e01f14 100644 --- a/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImpl.java +++ b/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.zk; diff --git a/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegistryProvider.java b/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegistryProvider.java index fdab6790a8d..d560da68d82 100644 --- a/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegistryProvider.java +++ b/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegistryProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.zk; diff --git a/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImplTest.java b/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImplTest.java index 4698bbd0e20..b8d2b125c07 100644 --- a/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImplTest.java +++ b/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImplTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.zk; diff --git a/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegistryProviderTest.java b/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegistryProviderTest.java index 9cd0b817bf2..7b942fc492e 100644 --- a/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegistryProviderTest.java +++ b/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegistryProviderTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.discovery.registry.zk; diff --git a/discovery/seata-discovery-zk/src/test/resources/file.conf b/discovery/seata-discovery-zk/src/test/resources/file.conf index a06899c4a03..f3dede5c189 100644 --- a/discovery/seata-discovery-zk/src/test/resources/file.conf +++ b/discovery/seata-discovery-zk/src/test/resources/file.conf @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # Copyright 1999-2019 Seata.io Group. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/discovery/seata-discovery-zk/src/test/resources/registry.conf b/discovery/seata-discovery-zk/src/test/resources/registry.conf index 0b342316635..8b8a0f5b886 100644 --- a/discovery/seata-discovery-zk/src/test/resources/registry.conf +++ b/discovery/seata-discovery-zk/src/test/resources/registry.conf @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa type = "file" diff --git a/distribution/Dockerfile b/distribution/Dockerfile index 5e7f19dcaa7..25bc060a02c 100644 --- a/distribution/Dockerfile +++ b/distribution/Dockerfile @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# # the Dockerfile support x86 & arrch64 # build: diff --git a/distribution/bin/seata-server.bat b/distribution/bin/seata-server.bat index 3f99c8cfbea..f0fb66983bb 100644 --- a/distribution/bin/seata-server.bat +++ b/distribution/bin/seata-server.bat @@ -1,16 +1,19 @@ -@REM Copyright 1999-2019 Seata.io Group. @REM -@REM Licensed under the Apache License, Version 2.0 (the "License"); -@REM you may not use this file except in compliance with the License. -@REM You may obtain a copy of the License at +@REM Licensed to the Apache Software Foundation (ASF) under one or more +@REM contributor license agreements. See the NOTICE file distributed with +@REM this work for additional information regarding copyright ownership. +@REM The ASF licenses this file to You under the Apache License, Version 2.0 +@REM (the "License"); you may not use this file except in compliance with +@REM the License. You may obtain a copy of the License at @REM -@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, software @REM distributed under the License is distributed on an "AS IS" BASIS, @REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @REM See the License for the specific language governing permissions and @REM limitations under the License. +@REM @echo off diff --git a/distribution/bin/seata-server.sh b/distribution/bin/seata-server.sh index 9d111950541..3033220190e 100644 --- a/distribution/bin/seata-server.sh +++ b/distribution/bin/seata-server.sh @@ -1,17 +1,20 @@ #!/bin/bash -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# # resolve links - $0 may be a softlink PRG="$0" diff --git a/distribution/bin/seata-setup.sh b/distribution/bin/seata-setup.sh index 82f890a6707..65d53f02dd2 100644 --- a/distribution/bin/seata-setup.sh +++ b/distribution/bin/seata-setup.sh @@ -1,17 +1,20 @@ #!/bin/bash -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# # Setup JVM parameters for seata server diff --git a/distribution/pom.xml b/distribution/pom.xml index f2f8f6e5b58..e0b188b3931 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/distribution/release-seata.xml b/distribution/release-seata.xml index 2d2e78340de..f0924c31135 100644 --- a/distribution/release-seata.xml +++ b/distribution/release-seata.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> server-${project.version} true diff --git a/ext/apm-seata-skywalking-plugin/pom.xml b/ext/apm-seata-skywalking-plugin/pom.xml index 90ba3dfba03..6c4d92385e1 100644 --- a/ext/apm-seata-skywalking-plugin/pom.xml +++ b/ext/apm-seata-skywalking-plugin/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/DefaultCoreDoGlobalCommitInterceptor.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/DefaultCoreDoGlobalCommitInterceptor.java index dcac4c53310..3781c7f1774 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/DefaultCoreDoGlobalCommitInterceptor.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/DefaultCoreDoGlobalCommitInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.apm.skywalking.plugin; diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/NettyRemotingClientSendSyncInterceptor.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/NettyRemotingClientSendSyncInterceptor.java index 299eae5c55f..fe75d046010 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/NettyRemotingClientSendSyncInterceptor.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/NettyRemotingClientSendSyncInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.apm.skywalking.plugin; diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/RemotingProcessorProcessInterceptor.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/RemotingProcessorProcessInterceptor.java index 43c608c8189..77b1d98ab46 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/RemotingProcessorProcessInterceptor.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/RemotingProcessorProcessInterceptor.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.apm.skywalking.plugin; import com.alipay.sofa.common.profile.StringUtil; diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataConstants.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataConstants.java index af97a5aa169..5df4bb26450 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataConstants.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataConstants.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.apm.skywalking.plugin.common; diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataUtils.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataUtils.java index 49a76c96658..f5fc34afca5 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataUtils.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.apm.skywalking.plugin.common; diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SeataPluginConfig.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SeataPluginConfig.java index 8895484aa76..b42959ae324 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SeataPluginConfig.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SeataPluginConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.apm.skywalking.plugin.common; diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/AbstractNettyRemotingInstrumentation.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/AbstractNettyRemotingInstrumentation.java index e64c5e7892b..d9c7d26c497 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/AbstractNettyRemotingInstrumentation.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/AbstractNettyRemotingInstrumentation.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.apm.skywalking.plugin.define; diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/DefaultCoreInstrumentation.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/DefaultCoreInstrumentation.java index 72b92190363..667328c0cf3 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/DefaultCoreInstrumentation.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/DefaultCoreInstrumentation.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.apm.skywalking.plugin.define; diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/RemotingProcessorInstrumentation.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/RemotingProcessorInstrumentation.java index e3da4af281b..eb7735678d6 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/RemotingProcessorInstrumentation.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/RemotingProcessorInstrumentation.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.apm.skywalking.plugin.define; diff --git a/ext/apm-seata-skywalking-plugin/src/main/resources/skywalking-plugin.def b/ext/apm-seata-skywalking-plugin/src/main/resources/skywalking-plugin.def index 3af556cc3d1..b2be730c9ff 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/resources/skywalking-plugin.def +++ b/ext/apm-seata-skywalking-plugin/src/main/resources/skywalking-plugin.def @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. seata=io.seata.apm.skywalking.plugin.define.AbstractNettyRemotingInstrumentation seata=io.seata.apm.skywalking.plugin.define.DefaultCoreInstrumentation diff --git a/ext/apm-seata-skywalking-plugin/src/test/java/io/seata/apm/skywalking/plugin/common/SWSeataUtilsTest.java b/ext/apm-seata-skywalking-plugin/src/test/java/io/seata/apm/skywalking/plugin/common/SWSeataUtilsTest.java index e64fc5bdccb..14d8afc4525 100644 --- a/ext/apm-seata-skywalking-plugin/src/test/java/io/seata/apm/skywalking/plugin/common/SWSeataUtilsTest.java +++ b/ext/apm-seata-skywalking-plugin/src/test/java/io/seata/apm/skywalking/plugin/common/SWSeataUtilsTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.apm.skywalking.plugin.common; diff --git a/integration-tx-api/pom.xml b/integration-tx-api/pom.xml index f23b8f321a0..b255fc3468b 100644 --- a/integration-tx-api/pom.xml +++ b/integration-tx-api/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/AspectTransactional.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/AspectTransactional.java index b51b0f2c147..34337d33026 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/AspectTransactional.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/AspectTransactional.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.annotation; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/BusinessActionContextParameterDesc.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/BusinessActionContextParameterDesc.java index 497c91a4541..30c28ab3365 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/BusinessActionContextParameterDesc.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/BusinessActionContextParameterDesc.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.annotation; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/event/DegradeCheckEvent.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/event/DegradeCheckEvent.java index 17eaba69196..780e96b9d89 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/event/DegradeCheckEvent.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/event/DegradeCheckEvent.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.event; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/DefaultCommonFenceHandler.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/DefaultCommonFenceHandler.java index 338dd8f4d80..164db6ac181 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/DefaultCommonFenceHandler.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/DefaultCommonFenceHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.fence; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/FenceHandler.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/FenceHandler.java index 6c15bab23d4..215b1ad8de2 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/FenceHandler.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/FenceHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.fence; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/config/CommonFenceConfig.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/config/CommonFenceConfig.java index 040c72c4c31..38dd047a68d 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/config/CommonFenceConfig.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/config/CommonFenceConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.fence.config; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/constant/CommonFenceConstant.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/constant/CommonFenceConstant.java index a7cb0277eeb..b7c6e6d1077 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/constant/CommonFenceConstant.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/constant/CommonFenceConstant.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.fence.constant; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/exception/CommonFenceException.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/exception/CommonFenceException.java index c77fa639381..c5d67028112 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/exception/CommonFenceException.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/exception/CommonFenceException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.fence.exception; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceDO.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceDO.java index caa33cd9b1f..82836ed67f0 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceDO.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceDO.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.fence.store; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceStore.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceStore.java index a566b3911e4..7d4ec919ab3 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceStore.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceStore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.fence.store; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/CommonFenceStoreDataBaseDAO.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/CommonFenceStoreDataBaseDAO.java index 2feb4c1042a..fc92c7fc58b 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/CommonFenceStoreDataBaseDAO.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/CommonFenceStoreDataBaseDAO.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.fence.store.db; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/sql/CommonFenceStoreSqls.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/sql/CommonFenceStoreSqls.java index ba6bd25bbf6..fb0be38d188 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/sql/CommonFenceStoreSqls.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/sql/CommonFenceStoreSqls.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.fence.store.db.sql; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextFilter.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextFilter.java index 60f64fffc8c..9600490c1f2 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextFilter.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextFilter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextUtil.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextUtil.java index cf0ca183cbb..b7d1c238fac 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextUtil.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java index 1f850f564f1..cc0f41ce888 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapper.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapper.java index 9849974b5a8..84998acea90 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapper.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapper.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/InvocationWrapper.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/InvocationWrapper.java index d38190e7c18..15d628ab137 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/InvocationWrapper.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/InvocationWrapper.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptor.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptor.java index ec6edcff485..16908db6cee 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptor.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptorPosition.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptorPosition.java index e28046e4ff3..7b5bed367e6 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptorPosition.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptorPosition.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TwoPhaseBusinessActionParam.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TwoPhaseBusinessActionParam.java index 4f0eb0e4ac5..ee79cd5c0af 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TwoPhaseBusinessActionParam.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TwoPhaseBusinessActionParam.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TxBeanParserUtils.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TxBeanParserUtils.java index 3824a67a53d..a0f85366231 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TxBeanParserUtils.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TxBeanParserUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/AbstractProxyInvocationHandler.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/AbstractProxyInvocationHandler.java index d18381a1230..7124291ad06 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/AbstractProxyInvocationHandler.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/AbstractProxyInvocationHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.handler; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/DefaultInvocationHandler.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/DefaultInvocationHandler.java index a8133da63cb..1a4f2829c0f 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/DefaultInvocationHandler.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/DefaultInvocationHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.handler; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/GlobalTransactionalInterceptorHandler.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/GlobalTransactionalInterceptorHandler.java index a9da0ed3d36..64c24430fe6 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/GlobalTransactionalInterceptorHandler.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/GlobalTransactionalInterceptorHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.handler; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/ProxyInvocationHandler.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/ProxyInvocationHandler.java index 78dcd8bd4ef..f23ce701af5 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/ProxyInvocationHandler.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/ProxyInvocationHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.handler; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultInterfaceParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultInterfaceParser.java index f07799dae0a..eccbb124b4d 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultInterfaceParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultInterfaceParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.parser; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultResourceRegisterParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultResourceRegisterParser.java index 2bce82a34b0..4bbc65c13ca 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultResourceRegisterParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultResourceRegisterParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.parser; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultTargetClassParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultTargetClassParser.java index fb85c247d7f..5fed243d548 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultTargetClassParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultTargetClassParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.parser; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParser.java index 6e879dd7dea..bee79b6ac13 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.parser; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/InterfaceParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/InterfaceParser.java index 18c30df3a34..81067438f87 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/InterfaceParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/InterfaceParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.parser; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/RegisterResourceParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/RegisterResourceParser.java index 1f84ccc3ef3..00ad30abc0f 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/RegisterResourceParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/RegisterResourceParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.parser; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/TargetClassParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/TargetClassParser.java index 3035756e8b9..ba9549fac6f 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/TargetClassParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/TargetClassParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.parser; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParser.java index 38b66c003fc..a2b7f3c5d1b 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.json; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserFactory.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserFactory.java index 5cb6b0bc884..90309e443ff 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserFactory.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.json; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserWrap.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserWrap.java index bd844ffb824..23ca18addc3 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserWrap.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserWrap.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.json; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/Protocols.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/Protocols.java index 8751af079bb..d4f773b2eb7 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/Protocols.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/Protocols.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.remoting; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingDesc.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingDesc.java index 6e9ba588d67..dd480261984 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingDesc.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingDesc.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.remoting; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingParser.java index 4d65ca8362b..6a8b4a6ab6a 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.remoting; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/TwoPhaseResult.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/TwoPhaseResult.java index 91f5ac43df5..ae015c722c7 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/TwoPhaseResult.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/TwoPhaseResult.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.remoting; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/AbstractedRemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/AbstractedRemotingParser.java index 497fae5f0c3..5389b18bef6 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/AbstractedRemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/AbstractedRemotingParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.remoting.parser; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DefaultRemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DefaultRemotingParser.java index cb635612a18..37bffbb6756 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DefaultRemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DefaultRemotingParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.remoting.parser; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DubboRemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DubboRemotingParser.java index 419f1923aea..1df21ddf375 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DubboRemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DubboRemotingParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.remoting.parser; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/HSFRemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/HSFRemotingParser.java index 8a6c54bda4c..5d52a381850 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/HSFRemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/HSFRemotingParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.remoting.parser; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/SofaRpcRemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/SofaRpcRemotingParser.java index 13cb5504d8f..d8a7ee8883b 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/SofaRpcRemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/SofaRpcRemotingParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.remoting.parser; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ClassUtils.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ClassUtils.java index 61387e44607..bebf707e300 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ClassUtils.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ClassUtils.java @@ -1,66 +1,67 @@ -/* - * Copyright 1999-2019 Seata.io Group. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package io.seata.integration.tx.api.util; - -import javax.annotation.Nullable; -import java.lang.reflect.Method; -import java.lang.reflect.Modifier; - -/** - * from spring utils - */ -public class ClassUtils { - - private static final char PACKAGE_SEPARATOR = '.'; - - public static Method getMostSpecificMethod(Method method, Class targetClass) { - if (targetClass != null && targetClass != method.getDeclaringClass() && isOverridable(method, targetClass)) { - try { - if (Modifier.isPublic(method.getModifiers())) { - try { - return targetClass.getMethod(method.getName(), method.getParameterTypes()); - } catch (NoSuchMethodException ex) { - return method; - } - } else { - return method; - } - } catch (SecurityException ex) { - // Security settings are disallowing reflective access; fall back to 'method' below. - } - } - return method; - } - - private static boolean isOverridable(Method method, @Nullable Class targetClass) { - if (Modifier.isPrivate(method.getModifiers())) { - return false; - } - if (Modifier.isPublic(method.getModifiers()) || Modifier.isProtected(method.getModifiers())) { - return true; - } - return targetClass == null || getPackageName(method.getDeclaringClass()).equals(getPackageName(targetClass)); - } - - public static String getPackageName(Class clazz) { - return getPackageName(clazz.getName()); - } - - public static String getPackageName(String fqClassName) { - int lastDotIndex = fqClassName.lastIndexOf(PACKAGE_SEPARATOR); - return lastDotIndex != -1 ? fqClassName.substring(0, lastDotIndex) : ""; - } -} +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.integration.tx.api.util; + +import javax.annotation.Nullable; +import java.lang.reflect.Method; +import java.lang.reflect.Modifier; + +/** + * from spring utils + */ +public class ClassUtils { + + private static final char PACKAGE_SEPARATOR = '.'; + + public static Method getMostSpecificMethod(Method method, Class targetClass) { + if (targetClass != null && targetClass != method.getDeclaringClass() && isOverridable(method, targetClass)) { + try { + if (Modifier.isPublic(method.getModifiers())) { + try { + return targetClass.getMethod(method.getName(), method.getParameterTypes()); + } catch (NoSuchMethodException ex) { + return method; + } + } else { + return method; + } + } catch (SecurityException ex) { + // Security settings are disallowing reflective access; fall back to 'method' below. + } + } + return method; + } + + private static boolean isOverridable(Method method, @Nullable Class targetClass) { + if (Modifier.isPrivate(method.getModifiers())) { + return false; + } + if (Modifier.isPublic(method.getModifiers()) || Modifier.isProtected(method.getModifiers())) { + return true; + } + return targetClass == null || getPackageName(method.getDeclaringClass()).equals(getPackageName(targetClass)); + } + + public static String getPackageName(Class clazz) { + return getPackageName(clazz.getName()); + } + + public static String getPackageName(String fqClassName) { + int lastDotIndex = fqClassName.lastIndexOf(PACKAGE_SEPARATOR); + return lastDotIndex != -1 ? fqClassName.substring(0, lastDotIndex) : ""; + } +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/DubboUtil.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/DubboUtil.java index d2f7cf57101..aad19214839 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/DubboUtil.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/DubboUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.util; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/JsonUtil.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/JsonUtil.java index 8ce4686a7fc..71510ddb061 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/JsonUtil.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/JsonUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.util; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ProxyUtil.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ProxyUtil.java index 2ed74da1f69..24c4b1bce47 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ProxyUtil.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ProxyUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.util; diff --git a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContext.java b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContext.java index 98ddb5f2961..3fd6cb9f888 100644 --- a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContext.java +++ b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContext.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.tcc.api; diff --git a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextParameter.java b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextParameter.java index 4406b177d04..8e0eb7ef116 100644 --- a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextParameter.java +++ b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextParameter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.tcc.api; diff --git a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextUtil.java b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextUtil.java index 65d8933c5bf..8189aed782d 100644 --- a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextUtil.java +++ b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.tcc.api; diff --git a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/ParamType.java b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/ParamType.java index 87b65c07da1..f3d69965d84 100644 --- a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/ParamType.java +++ b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/ParamType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.tcc.api; diff --git a/integration-tx-api/src/main/java/io/seata/spring/annotation/GlobalLock.java b/integration-tx-api/src/main/java/io/seata/spring/annotation/GlobalLock.java index 561d15a4ccb..98645940310 100644 --- a/integration-tx-api/src/main/java/io/seata/spring/annotation/GlobalLock.java +++ b/integration-tx-api/src/main/java/io/seata/spring/annotation/GlobalLock.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation; diff --git a/integration-tx-api/src/main/java/io/seata/spring/annotation/GlobalTransactional.java b/integration-tx-api/src/main/java/io/seata/spring/annotation/GlobalTransactional.java index 3e80fda88b1..1690c467eee 100644 --- a/integration-tx-api/src/main/java/io/seata/spring/annotation/GlobalTransactional.java +++ b/integration-tx-api/src/main/java/io/seata/spring/annotation/GlobalTransactional.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation; diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandlerTest.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandlerTest.java index 15f883ceb31..dbaf9c3c3c0 100644 --- a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandlerTest.java +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandlerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor; diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapperTest.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapperTest.java index ab6142cc86a..91a6b0c9b3a 100644 --- a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapperTest.java +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapperTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor; diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestAction.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestAction.java index 52592dcf3b1..7c02cd3d118 100644 --- a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestAction.java +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestAction.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor; diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestParam.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestParam.java index 3c4d082414a..6a099b4d573 100644 --- a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestParam.java +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestParam.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor; diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/Business.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/Business.java index 16f80401c7b..dec0026815c 100644 --- a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/Business.java +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/Business.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.parser; diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/BusinessImpl.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/BusinessImpl.java index bb23eb8a758..2cc312b8333 100644 --- a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/BusinessImpl.java +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/BusinessImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.parser; diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParserTest.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParserTest.java index b426b304a32..cba75a3e322 100644 --- a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParserTest.java +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParserTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.parser; diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/ProxyUtilsGlobalTransactionalTest.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/ProxyUtilsGlobalTransactionalTest.java index 0e862635d85..ff637c9bcaa 100644 --- a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/ProxyUtilsGlobalTransactionalTest.java +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/ProxyUtilsGlobalTransactionalTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.tx.api.interceptor.parser; diff --git a/integration-tx-api/src/test/resources/file.conf b/integration-tx-api/src/test/resources/file.conf index a06899c4a03..f3dede5c189 100644 --- a/integration-tx-api/src/test/resources/file.conf +++ b/integration-tx-api/src/test/resources/file.conf @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # Copyright 1999-2019 Seata.io Group. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/integration-tx-api/src/test/resources/registry.conf b/integration-tx-api/src/test/resources/registry.conf index 7870e78a687..5ad014bf55a 100644 --- a/integration-tx-api/src/test/resources/registry.conf +++ b/integration-tx-api/src/test/resources/registry.conf @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa type = "file" diff --git a/integration/brpc/pom.xml b/integration/brpc/pom.xml index cd66805c900..67e37d3efdc 100644 --- a/integration/brpc/pom.xml +++ b/integration/brpc/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationClientInterceptor.java b/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationClientInterceptor.java index 4d3b703cc53..67ca4c19bd4 100644 --- a/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationClientInterceptor.java +++ b/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationClientInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.brpc; diff --git a/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationServerInterceptor.java b/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationServerInterceptor.java index 88d3f3475fb..6dc7cb7e1ed 100644 --- a/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationServerInterceptor.java +++ b/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationServerInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.brpc; diff --git a/integration/brpc/src/test/java/io/seata/integration/brpc/TransactionInterceptorTest.java b/integration/brpc/src/test/java/io/seata/integration/brpc/TransactionInterceptorTest.java index 2d712efa7c6..ebdd08436da 100644 --- a/integration/brpc/src/test/java/io/seata/integration/brpc/TransactionInterceptorTest.java +++ b/integration/brpc/src/test/java/io/seata/integration/brpc/TransactionInterceptorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.brpc; diff --git a/integration/brpc/src/test/java/io/seata/integration/brpc/dto/Echo.java b/integration/brpc/src/test/java/io/seata/integration/brpc/dto/Echo.java index d1668837a6b..e46a93ed266 100644 --- a/integration/brpc/src/test/java/io/seata/integration/brpc/dto/Echo.java +++ b/integration/brpc/src/test/java/io/seata/integration/brpc/dto/Echo.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: src/test/proto/Echo.proto diff --git a/integration/brpc/src/test/java/io/seata/integration/brpc/server/EchoService.java b/integration/brpc/src/test/java/io/seata/integration/brpc/server/EchoService.java index 2418dce96c8..2de2bc9d4b2 100644 --- a/integration/brpc/src/test/java/io/seata/integration/brpc/server/EchoService.java +++ b/integration/brpc/src/test/java/io/seata/integration/brpc/server/EchoService.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.brpc.server; diff --git a/integration/brpc/src/test/java/io/seata/integration/brpc/server/impl/EchoServiceImpl.java b/integration/brpc/src/test/java/io/seata/integration/brpc/server/impl/EchoServiceImpl.java index 413ffc8a44a..a19d3a971a6 100644 --- a/integration/brpc/src/test/java/io/seata/integration/brpc/server/impl/EchoServiceImpl.java +++ b/integration/brpc/src/test/java/io/seata/integration/brpc/server/impl/EchoServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.brpc.server.impl; diff --git a/integration/dubbo-alibaba/pom.xml b/integration/dubbo-alibaba/pom.xml index ed8f726a881..f7b67e8284c 100644 --- a/integration/dubbo-alibaba/pom.xml +++ b/integration/dubbo-alibaba/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/integration/dubbo-alibaba/src/main/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilter.java b/integration/dubbo-alibaba/src/main/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilter.java index f00d79933a3..06bdcc3a4b9 100644 --- a/integration/dubbo-alibaba/src/main/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilter.java +++ b/integration/dubbo-alibaba/src/main/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.dubbo.alibaba; diff --git a/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilterTest.java b/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilterTest.java index 955a5567c0c..862ce9b96dd 100644 --- a/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilterTest.java +++ b/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilterTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.dubbo.alibaba; diff --git a/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/mock/MockInvoker.java b/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/mock/MockInvoker.java index 1cb8b93a543..3baecba2237 100644 --- a/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/mock/MockInvoker.java +++ b/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/mock/MockInvoker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.dubbo.alibaba.mock; diff --git a/integration/dubbo/pom.xml b/integration/dubbo/pom.xml index c146949ef9e..1311b0d26b7 100644 --- a/integration/dubbo/pom.xml +++ b/integration/dubbo/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/integration/grpc/pom.xml b/integration/grpc/pom.xml index 5b827e73594..874ae5aef93 100644 --- a/integration/grpc/pom.xml +++ b/integration/grpc/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/GrpcHeaderKey.java b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/GrpcHeaderKey.java index 4e84cd4ffc2..54ceab4dbe0 100644 --- a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/GrpcHeaderKey.java +++ b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/GrpcHeaderKey.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.grpc.interceptor; diff --git a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/client/ClientTransactionInterceptor.java b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/client/ClientTransactionInterceptor.java index 9b0b5e35bb2..14721d088c0 100644 --- a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/client/ClientTransactionInterceptor.java +++ b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/client/ClientTransactionInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.grpc.interceptor.client; diff --git a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerListenerProxy.java b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerListenerProxy.java index 3f2978d0e41..0ff8d317a50 100644 --- a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerListenerProxy.java +++ b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerListenerProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.grpc.interceptor.server; diff --git a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerTransactionInterceptor.java b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerTransactionInterceptor.java index 3c50fcc55b7..e4dfc4f5a29 100644 --- a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerTransactionInterceptor.java +++ b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerTransactionInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.grpc.interceptor.server; diff --git a/integration/grpc/src/test/java/io/seata/integration/grpc/interceptor/GrpcTest.java b/integration/grpc/src/test/java/io/seata/integration/grpc/interceptor/GrpcTest.java index b300e22b5e1..c3c6c956121 100644 --- a/integration/grpc/src/test/java/io/seata/integration/grpc/interceptor/GrpcTest.java +++ b/integration/grpc/src/test/java/io/seata/integration/grpc/interceptor/GrpcTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.grpc.interceptor; diff --git a/integration/hsf/pom.xml b/integration/hsf/pom.xml index 97f4e89348e..082fc9b2f62 100644 --- a/integration/hsf/pom.xml +++ b/integration/hsf/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/integration/hsf/src/main/java/io/seata/integration/hsf/HsfTransactionFilter.java b/integration/hsf/src/main/java/io/seata/integration/hsf/HsfTransactionFilter.java index cfd86db79b9..ef832829aa2 100644 --- a/integration/hsf/src/main/java/io/seata/integration/hsf/HsfTransactionFilter.java +++ b/integration/hsf/src/main/java/io/seata/integration/hsf/HsfTransactionFilter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.hsf; diff --git a/integration/http-jakarta/pom.xml b/integration/http-jakarta/pom.xml index c67ad004208..07314feb433 100644 --- a/integration/http-jakarta/pom.xml +++ b/integration/http-jakarta/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaSeataWebMvcConfigurer.java b/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaSeataWebMvcConfigurer.java index eaf5e227817..d2ea32b78b4 100644 --- a/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaSeataWebMvcConfigurer.java +++ b/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaSeataWebMvcConfigurer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaTransactionPropagationInterceptor.java b/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaTransactionPropagationInterceptor.java index e3c2f198050..2ff33c839f7 100644 --- a/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaTransactionPropagationInterceptor.java +++ b/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaTransactionPropagationInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/pom.xml b/integration/http/pom.xml index 64ed3840b18..c0df22359f0 100644 --- a/integration/http/pom.xml +++ b/integration/http/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/integration/http/src/main/java/io/seata/integration/http/AbstractHttpExecutor.java b/integration/http/src/main/java/io/seata/integration/http/AbstractHttpExecutor.java index 2958def37ec..5c57b73ffc2 100644 --- a/integration/http/src/main/java/io/seata/integration/http/AbstractHttpExecutor.java +++ b/integration/http/src/main/java/io/seata/integration/http/AbstractHttpExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/main/java/io/seata/integration/http/DefaultHttpExecutor.java b/integration/http/src/main/java/io/seata/integration/http/DefaultHttpExecutor.java index 1dd3af2b2a2..b0b796d650f 100644 --- a/integration/http/src/main/java/io/seata/integration/http/DefaultHttpExecutor.java +++ b/integration/http/src/main/java/io/seata/integration/http/DefaultHttpExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/main/java/io/seata/integration/http/HandlerInterceptorAdapter.java b/integration/http/src/main/java/io/seata/integration/http/HandlerInterceptorAdapter.java index b43e4420dec..2a01b2ada90 100644 --- a/integration/http/src/main/java/io/seata/integration/http/HandlerInterceptorAdapter.java +++ b/integration/http/src/main/java/io/seata/integration/http/HandlerInterceptorAdapter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/main/java/io/seata/integration/http/HttpExecutor.java b/integration/http/src/main/java/io/seata/integration/http/HttpExecutor.java index 991a1df060f..db36412c024 100644 --- a/integration/http/src/main/java/io/seata/integration/http/HttpExecutor.java +++ b/integration/http/src/main/java/io/seata/integration/http/HttpExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/main/java/io/seata/integration/http/SeataWebMvcConfigurer.java b/integration/http/src/main/java/io/seata/integration/http/SeataWebMvcConfigurer.java index b6e11f4067e..552f96f3ef6 100644 --- a/integration/http/src/main/java/io/seata/integration/http/SeataWebMvcConfigurer.java +++ b/integration/http/src/main/java/io/seata/integration/http/SeataWebMvcConfigurer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/main/java/io/seata/integration/http/TransactionPropagationInterceptor.java b/integration/http/src/main/java/io/seata/integration/http/TransactionPropagationInterceptor.java index d4251ca4384..97039a932fe 100644 --- a/integration/http/src/main/java/io/seata/integration/http/TransactionPropagationInterceptor.java +++ b/integration/http/src/main/java/io/seata/integration/http/TransactionPropagationInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/main/java/io/seata/integration/http/WebMvcConfigurerAdapter.java b/integration/http/src/main/java/io/seata/integration/http/WebMvcConfigurerAdapter.java index ed9c2ea7146..6f823ce0c00 100644 --- a/integration/http/src/main/java/io/seata/integration/http/WebMvcConfigurerAdapter.java +++ b/integration/http/src/main/java/io/seata/integration/http/WebMvcConfigurerAdapter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/main/java/io/seata/integration/http/XidResource.java b/integration/http/src/main/java/io/seata/integration/http/XidResource.java index 2e8edda93e1..10eb7457a81 100644 --- a/integration/http/src/main/java/io/seata/integration/http/XidResource.java +++ b/integration/http/src/main/java/io/seata/integration/http/XidResource.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/test/java/io/seata/integration/http/HttpTest.java b/integration/http/src/test/java/io/seata/integration/http/HttpTest.java index 5ff8cc23f8c..d5f58da7d10 100644 --- a/integration/http/src/test/java/io/seata/integration/http/HttpTest.java +++ b/integration/http/src/test/java/io/seata/integration/http/HttpTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/test/java/io/seata/integration/http/MockController.java b/integration/http/src/test/java/io/seata/integration/http/MockController.java index 50b1fc01dc5..949f0e67981 100644 --- a/integration/http/src/test/java/io/seata/integration/http/MockController.java +++ b/integration/http/src/test/java/io/seata/integration/http/MockController.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/test/java/io/seata/integration/http/MockHttpExecuter.java b/integration/http/src/test/java/io/seata/integration/http/MockHttpExecuter.java index 97fbfc873b8..5e87bbf2866 100644 --- a/integration/http/src/test/java/io/seata/integration/http/MockHttpExecuter.java +++ b/integration/http/src/test/java/io/seata/integration/http/MockHttpExecuter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/test/java/io/seata/integration/http/MockHttpServletRequest.java b/integration/http/src/test/java/io/seata/integration/http/MockHttpServletRequest.java index fbfaf27f3f9..4fa64895b03 100644 --- a/integration/http/src/test/java/io/seata/integration/http/MockHttpServletRequest.java +++ b/integration/http/src/test/java/io/seata/integration/http/MockHttpServletRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/test/java/io/seata/integration/http/MockRequest.java b/integration/http/src/test/java/io/seata/integration/http/MockRequest.java index 59430e20ed7..0bcc27f50d8 100644 --- a/integration/http/src/test/java/io/seata/integration/http/MockRequest.java +++ b/integration/http/src/test/java/io/seata/integration/http/MockRequest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/test/java/io/seata/integration/http/MockResponse.java b/integration/http/src/test/java/io/seata/integration/http/MockResponse.java index eb40905a072..af5dac0336a 100644 --- a/integration/http/src/test/java/io/seata/integration/http/MockResponse.java +++ b/integration/http/src/test/java/io/seata/integration/http/MockResponse.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/test/java/io/seata/integration/http/MockWebServer.java b/integration/http/src/test/java/io/seata/integration/http/MockWebServer.java index 11f4e2aa122..60b513f1eb4 100644 --- a/integration/http/src/test/java/io/seata/integration/http/MockWebServer.java +++ b/integration/http/src/test/java/io/seata/integration/http/MockWebServer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/http/src/test/java/io/seata/integration/http/ServletMapping.java b/integration/http/src/test/java/io/seata/integration/http/ServletMapping.java index f20b6f69eaa..6b7be4c353d 100644 --- a/integration/http/src/test/java/io/seata/integration/http/ServletMapping.java +++ b/integration/http/src/test/java/io/seata/integration/http/ServletMapping.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.http; diff --git a/integration/motan/pom.xml b/integration/motan/pom.xml index 849d7a77eab..56014131592 100644 --- a/integration/motan/pom.xml +++ b/integration/motan/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/integration/motan/src/main/java/io/seata/integration/motan/MotanTransactionFilter.java b/integration/motan/src/main/java/io/seata/integration/motan/MotanTransactionFilter.java index 7736c6e381e..1ab81f538dc 100644 --- a/integration/motan/src/main/java/io/seata/integration/motan/MotanTransactionFilter.java +++ b/integration/motan/src/main/java/io/seata/integration/motan/MotanTransactionFilter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.motan; diff --git a/integration/motan/src/test/java/io/seata/integration/motan/MotanTransactionFilterTest.java b/integration/motan/src/test/java/io/seata/integration/motan/MotanTransactionFilterTest.java index ef0544223e1..0387bc5e4ad 100644 --- a/integration/motan/src/test/java/io/seata/integration/motan/MotanTransactionFilterTest.java +++ b/integration/motan/src/test/java/io/seata/integration/motan/MotanTransactionFilterTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.motan; diff --git a/integration/motan/src/test/java/io/seata/integration/motan/XIDService.java b/integration/motan/src/test/java/io/seata/integration/motan/XIDService.java index 7afea1257d8..6eb082f6031 100644 --- a/integration/motan/src/test/java/io/seata/integration/motan/XIDService.java +++ b/integration/motan/src/test/java/io/seata/integration/motan/XIDService.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.motan; diff --git a/integration/motan/src/test/java/io/seata/integration/motan/XIDServiceImpl.java b/integration/motan/src/test/java/io/seata/integration/motan/XIDServiceImpl.java index 0758af2658e..7ae14e29279 100644 --- a/integration/motan/src/test/java/io/seata/integration/motan/XIDServiceImpl.java +++ b/integration/motan/src/test/java/io/seata/integration/motan/XIDServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.motan; diff --git a/integration/rpc-core/pom.xml b/integration/rpc-core/pom.xml index e3e233656cd..e442c7013fa 100644 --- a/integration/rpc-core/pom.xml +++ b/integration/rpc-core/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/BaseRpcFilter.java b/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/BaseRpcFilter.java index 4ddbb62964d..a41cdb0acb9 100644 --- a/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/BaseRpcFilter.java +++ b/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/BaseRpcFilter.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.integration.rpc.core; import java.util.Map; diff --git a/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/ConsumerRpcFilter.java b/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/ConsumerRpcFilter.java index fc90f962bbc..df3fdc77168 100644 --- a/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/ConsumerRpcFilter.java +++ b/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/ConsumerRpcFilter.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.integration.rpc.core; import java.util.HashMap; diff --git a/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/ProviderRpcFilter.java b/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/ProviderRpcFilter.java index d39991d0387..545327db90d 100644 --- a/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/ProviderRpcFilter.java +++ b/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/ProviderRpcFilter.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.integration.rpc.core; import java.util.HashMap; diff --git a/integration/sofa-rpc/pom.xml b/integration/sofa-rpc/pom.xml index cf97d72ba18..f619d254f02 100644 --- a/integration/sofa-rpc/pom.xml +++ b/integration/sofa-rpc/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextConsumerFilter.java b/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextConsumerFilter.java index d9c95cb2c83..78a20684131 100644 --- a/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextConsumerFilter.java +++ b/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextConsumerFilter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.sofa.rpc; diff --git a/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextProviderFilter.java b/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextProviderFilter.java index 5d0f38f99bb..0e7e560782a 100644 --- a/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextProviderFilter.java +++ b/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextProviderFilter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.sofa.rpc; diff --git a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloService.java b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloService.java index 18d58a57529..64ba5bb47bc 100644 --- a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloService.java +++ b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloService.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.sofa.rpc; diff --git a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceImpl.java b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceImpl.java index 7ec7b2a5bcf..9024125adfa 100644 --- a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceImpl.java +++ b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.sofa.rpc; diff --git a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceProxy.java b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceProxy.java index b7570063cc9..279ae6e7295 100644 --- a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceProxy.java +++ b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.sofa.rpc; diff --git a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/TransactionContextFilterTest.java b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/TransactionContextFilterTest.java index c6444076898..11ab3795faf 100644 --- a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/TransactionContextFilterTest.java +++ b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/TransactionContextFilterTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.integration.sofa.rpc; diff --git a/metrics/pom.xml b/metrics/pom.xml index 6e8a3a725ed..573bce8ebdd 100644 --- a/metrics/pom.xml +++ b/metrics/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/metrics/seata-metrics-all/pom.xml b/metrics/seata-metrics-all/pom.xml index ac34ea282ba..8c1a72dabf3 100644 --- a/metrics/seata-metrics-all/pom.xml +++ b/metrics/seata-metrics-all/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/metrics/seata-metrics-api/pom.xml b/metrics/seata-metrics-api/pom.xml index 79e2916eef2..9b177f0fe18 100644 --- a/metrics/seata-metrics-api/pom.xml +++ b/metrics/seata-metrics-api/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Clock.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Clock.java index 27fd8ae1c6d..b5e9289d885 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Clock.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Clock.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics; diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Counter.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Counter.java index fa8d1f7a71c..91c43710f51 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Counter.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Counter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics; diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Gauge.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Gauge.java index b5913dc4c49..4550c1687e1 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Gauge.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Gauge.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics; diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Id.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Id.java index 98ef6745719..3df03422112 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Id.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Id.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics; diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/IdConstants.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/IdConstants.java index 77decde7883..6dfcd90f134 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/IdConstants.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/IdConstants.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics; diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Measurement.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Measurement.java index 544473e3ac0..e6fe49e0658 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Measurement.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Measurement.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics; diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Meter.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Meter.java index 6da5e1b7a06..fb72e306cc2 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Meter.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Meter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics; diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Summary.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Summary.java index 0ffcbe3e3fc..163260c8c53 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Summary.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Summary.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics; diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/SystemClock.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/SystemClock.java index b5084f831eb..632cc546340 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/SystemClock.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/SystemClock.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics; diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Timer.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Timer.java index de6c6f2682d..f1d2aa2fa51 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Timer.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Timer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics; diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/exporter/Exporter.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/exporter/Exporter.java index 75a5d56ad35..ad8d429602c 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/exporter/Exporter.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/exporter/Exporter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.exporter; diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/registry/Registry.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/registry/Registry.java index 1382c88c5d4..ead481855a9 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/registry/Registry.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/registry/Registry.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.registry; diff --git a/metrics/seata-metrics-core/pom.xml b/metrics/seata-metrics-core/pom.xml index cf1f03b6135..2368dd424be 100644 --- a/metrics/seata-metrics-core/pom.xml +++ b/metrics/seata-metrics-core/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterFactory.java b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterFactory.java index c873c0badb6..57a634fd8b6 100644 --- a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterFactory.java +++ b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.exporter; diff --git a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterType.java b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterType.java index a147a4d5039..42c0d7c0715 100644 --- a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterType.java +++ b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.exporter; diff --git a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryFactory.java b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryFactory.java index 500428c04e1..3681338d64f 100644 --- a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryFactory.java +++ b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.registry; diff --git a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryType.java b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryType.java index 6c3f5bc6193..d2ead775fbe 100644 --- a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryType.java +++ b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.registry; diff --git a/metrics/seata-metrics-core/src/test/java/io/seata/metrics/exporter/ExporterTypeTest.java b/metrics/seata-metrics-core/src/test/java/io/seata/metrics/exporter/ExporterTypeTest.java index 92a445d9f2f..75cecd653d5 100644 --- a/metrics/seata-metrics-core/src/test/java/io/seata/metrics/exporter/ExporterTypeTest.java +++ b/metrics/seata-metrics-core/src/test/java/io/seata/metrics/exporter/ExporterTypeTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.exporter; diff --git a/metrics/seata-metrics-core/src/test/java/io/seata/metrics/registry/RegistryTypeTest.java b/metrics/seata-metrics-core/src/test/java/io/seata/metrics/registry/RegistryTypeTest.java index d1c066bbb69..7e0c77c5681 100644 --- a/metrics/seata-metrics-core/src/test/java/io/seata/metrics/registry/RegistryTypeTest.java +++ b/metrics/seata-metrics-core/src/test/java/io/seata/metrics/registry/RegistryTypeTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.registry; diff --git a/metrics/seata-metrics-exporter-prometheus/pom.xml b/metrics/seata-metrics-exporter-prometheus/pom.xml index 6f423260c61..9e2adedd2a9 100644 --- a/metrics/seata-metrics-exporter-prometheus/pom.xml +++ b/metrics/seata-metrics-exporter-prometheus/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/metrics/seata-metrics-exporter-prometheus/src/main/java/io/seata/metrics/exporter/prometheus/PrometheusExporter.java b/metrics/seata-metrics-exporter-prometheus/src/main/java/io/seata/metrics/exporter/prometheus/PrometheusExporter.java index e4c5144d15f..e3df743c1b7 100644 --- a/metrics/seata-metrics-exporter-prometheus/src/main/java/io/seata/metrics/exporter/prometheus/PrometheusExporter.java +++ b/metrics/seata-metrics-exporter-prometheus/src/main/java/io/seata/metrics/exporter/prometheus/PrometheusExporter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.exporter.prometheus; diff --git a/metrics/seata-metrics-exporter-prometheus/src/test/java/io/seata/metrics/exporter/prometheus/PrometheusExporterTest.java b/metrics/seata-metrics-exporter-prometheus/src/test/java/io/seata/metrics/exporter/prometheus/PrometheusExporterTest.java index dfbba6b377b..0f799369edc 100644 --- a/metrics/seata-metrics-exporter-prometheus/src/test/java/io/seata/metrics/exporter/prometheus/PrometheusExporterTest.java +++ b/metrics/seata-metrics-exporter-prometheus/src/test/java/io/seata/metrics/exporter/prometheus/PrometheusExporterTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.exporter.prometheus; diff --git a/metrics/seata-metrics-registry-compact/pom.xml b/metrics/seata-metrics-registry-compact/pom.xml index 464d7219064..b3db5135428 100644 --- a/metrics/seata-metrics-registry-compact/pom.xml +++ b/metrics/seata-metrics-registry-compact/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactCounter.java b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactCounter.java index a8ac6f2995c..0474d25e168 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactCounter.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactCounter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.registry.compact; diff --git a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactGauge.java b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactGauge.java index b7d9e329854..8b4e753e2bb 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactGauge.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactGauge.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.registry.compact; diff --git a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactRegistry.java b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactRegistry.java index b3f2e173bdf..8903d08070f 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactRegistry.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactRegistry.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.registry.compact; diff --git a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactSummary.java b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactSummary.java index db77fa1eab2..62e15b86382 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactSummary.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactSummary.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.registry.compact; diff --git a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactTimer.java b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactTimer.java index 4c0931372ee..3f61236384e 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactTimer.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactTimer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.registry.compact; diff --git a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/SummaryValue.java b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/SummaryValue.java index dc65a8e297f..c61a54f89be 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/SummaryValue.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/SummaryValue.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.registry.compact; diff --git a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/TimerValue.java b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/TimerValue.java index 9b7d6edb469..a853b3a1f28 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/TimerValue.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/TimerValue.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.metrics.registry.compact; diff --git a/pom.xml b/pom.xml index 4d7b21b35e8..049bfccac5b 100644 --- a/pom.xml +++ b/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> @@ -228,6 +231,17 @@ **/src/main/java/** **/src/test/java/** + **/*.xml + **/*.sql + **/*.conf + **/*.yml + **/*.yaml + **/*.sh + **/*.bat + **/*.lua + **/*.properties + **/*.txt + **/*.def **/generated/** @@ -238,6 +252,9 @@ true SLASHSTAR_STYLE + DOUBLEBAR_STYLE + SCRIPT_STYLE + SCRIPT_STYLE diff --git a/rm-datasource/pom.xml b/rm-datasource/pom.xml index fe1acf6c1a6..afc6f86c543 100644 --- a/rm-datasource/pom.xml +++ b/rm-datasource/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/rm-datasource/src/main/java/io/seata/rm/BaseDataSourceResource.java b/rm-datasource/src/main/java/io/seata/rm/BaseDataSourceResource.java index 91041c5c90e..3ff53c2f643 100644 --- a/rm-datasource/src/main/java/io/seata/rm/BaseDataSourceResource.java +++ b/rm-datasource/src/main/java/io/seata/rm/BaseDataSourceResource.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm; diff --git a/rm-datasource/src/main/java/io/seata/rm/GlobalLockExecutor.java b/rm-datasource/src/main/java/io/seata/rm/GlobalLockExecutor.java index 3d6357db6c7..65fdd878410 100644 --- a/rm-datasource/src/main/java/io/seata/rm/GlobalLockExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/GlobalLockExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm; diff --git a/rm-datasource/src/main/java/io/seata/rm/GlobalLockTemplate.java b/rm-datasource/src/main/java/io/seata/rm/GlobalLockTemplate.java index 4985f5d70b4..0f8b44ed17c 100644 --- a/rm-datasource/src/main/java/io/seata/rm/GlobalLockTemplate.java +++ b/rm-datasource/src/main/java/io/seata/rm/GlobalLockTemplate.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm; diff --git a/rm-datasource/src/main/java/io/seata/rm/RMHandlerAT.java b/rm-datasource/src/main/java/io/seata/rm/RMHandlerAT.java index cc9d1971890..d5a6958146e 100644 --- a/rm-datasource/src/main/java/io/seata/rm/RMHandlerAT.java +++ b/rm-datasource/src/main/java/io/seata/rm/RMHandlerAT.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm; diff --git a/rm-datasource/src/main/java/io/seata/rm/RMHandlerXA.java b/rm-datasource/src/main/java/io/seata/rm/RMHandlerXA.java index 8a6b0dcd87a..ab80f0b34d1 100644 --- a/rm-datasource/src/main/java/io/seata/rm/RMHandlerXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/RMHandlerXA.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractConnectionProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractConnectionProxy.java index 4d0109e379c..7cc64905c15 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractConnectionProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractConnectionProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceCacheResourceManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceCacheResourceManager.java index 4180b382fa2..eeb6d1dd69f 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceCacheResourceManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceCacheResourceManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceProxy.java index 3987f97f267..10c27c343e4 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractPreparedStatementProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractPreparedStatementProxy.java index 708769c7cbd..d440bf64b0f 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractPreparedStatementProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractPreparedStatementProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractStatementProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractStatementProxy.java index c6a52300c04..3d9e9f9c23d 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractStatementProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractStatementProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/AsyncWorker.java b/rm-datasource/src/main/java/io/seata/rm/datasource/AsyncWorker.java index 19b3bb3b859..49b8211b5bd 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/AsyncWorker.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/AsyncWorker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionContext.java b/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionContext.java index a8f6024d65d..46877c01810 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionContext.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionContext.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionProxy.java index e93fcd5cf66..bded16f0f12 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/DataCompareUtils.java b/rm-datasource/src/main/java/io/seata/rm/datasource/DataCompareUtils.java index 5d66094fecc..d7d974abb29 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/DataCompareUtils.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/DataCompareUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceManager.java index c988248b4b7..d7bf153bfb1 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceProxy.java index 295a22e77b5..499871da98f 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/PreparedStatementProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/PreparedStatementProxy.java index 1272ca672eb..5ee7d3cabff 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/PreparedStatementProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/PreparedStatementProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/SeataDataSourceProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/SeataDataSourceProxy.java index b4c9e403971..8905527cd55 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/SeataDataSourceProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/SeataDataSourceProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/SqlGenerateUtils.java b/rm-datasource/src/main/java/io/seata/rm/datasource/SqlGenerateUtils.java index 3451aee5d21..29de93598ca 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/SqlGenerateUtils.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/SqlGenerateUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/StatementProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/StatementProxy.java index b306254b4b7..8ca392ce8d0 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/StatementProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/StatementProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exception/TableMetaException.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exception/TableMetaException.java index 7d321f2b60e..4e3cbce1b8f 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exception/TableMetaException.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exception/TableMetaException.java @@ -1,14 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on - * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exception; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutor.java index 305ef95622b..e38c6466940 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseInsertExecutor.java index 9432af0995c..2b35c6ca6ad 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java index 3b2e1f746f0..23da18a913c 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/DeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/DeleteExecutor.java index 5093843ad03..a5985c376f9 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/DeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/DeleteExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/ExecuteTemplate.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/ExecuteTemplate.java index 4cf85b553bf..c9876dce8a4 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/ExecuteTemplate.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/ExecuteTemplate.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/Executor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/Executor.java index c4ef3bbb3a7..c393e03764f 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/Executor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/Executor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/InsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/InsertExecutor.java index 05546e2692e..38d12899840 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/InsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/InsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockConflictException.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockConflictException.java index 98bf901ee09..576f0c780cf 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockConflictException.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockConflictException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockRetryController.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockRetryController.java index 14d757ead4f..c65852de1ee 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockRetryController.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockRetryController.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockWaitTimeoutException.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockWaitTimeoutException.java index a6e859231a2..279c890cd4b 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockWaitTimeoutException.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockWaitTimeoutException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiDeleteExecutor.java index 42345605075..d6b7f8ac0c1 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiDeleteExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiExecutor.java index 3b582b87d65..56231c45f7d 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiUpdateExecutor.java index 1283f3700c4..0e6afb18ff2 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/PlainExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/PlainExecutor.java index 48bf88a40d6..3bc451e7e22 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/PlainExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/PlainExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java index da4c8a8d3b1..a78859036e8 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/StatementCallback.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/StatementCallback.java index 208bf69ab20..e601325ce3c 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/StatementCallback.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/StatementCallback.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/UpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/UpdateExecutor.java index 5643a0e54a5..5966cb0bc03 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/UpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/UpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/dm/DmInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/dm/DmInsertExecutor.java index 7e3d1cac5d3..315d850f666 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/dm/DmInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/dm/DmInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.dm; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertExecutor.java index 7aae4f77faa..220256a802e 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.mariadb; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertOnDuplicateUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertOnDuplicateUpdateExecutor.java index 2e94ac3cf04..cfc4b5eed47 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertOnDuplicateUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertOnDuplicateUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.mariadb; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbUpdateJoinExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbUpdateJoinExecutor.java index 7e168fb2ecf..3b450191064 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbUpdateJoinExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbUpdateJoinExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.mariadb; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertExecutor.java index 68752b71801..813210bcf6c 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.mysql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertOnDuplicateUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertOnDuplicateUpdateExecutor.java index c3047e77c40..67a54cd4977 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertOnDuplicateUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertOnDuplicateUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.mysql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLUpdateJoinExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLUpdateJoinExecutor.java index e307bc4f371..ed11f4a39fc 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLUpdateJoinExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLUpdateJoinExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.mysql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleInsertExecutor.java index deec875345e..f4bbda301d6 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.oracle; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleJdbcType.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleJdbcType.java index a083cb8f540..40257e33276 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleJdbcType.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleJdbcType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.oracle; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertExecutor.java index 53efadd2396..23bf917f533 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.polardbx; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertOnDuplicateUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertOnDuplicateUpdateExecutor.java index d0f022925d2..e1575eb32de 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertOnDuplicateUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertOnDuplicateUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.polardbx; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXUpdateJoinExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXUpdateJoinExecutor.java index 992e2be779d..b8ce2855a8a 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXUpdateJoinExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXUpdateJoinExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.polardbx; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/postgresql/PostgresqlInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/postgresql/PostgresqlInsertExecutor.java index f8a25a49def..e4b0112b90e 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/postgresql/PostgresqlInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/postgresql/PostgresqlInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.postgresql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerDeleteExecutor.java index 08a21478376..45450e1138c 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerDeleteExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.sqlserver; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerInsertExecutor.java index b00aef526d2..44ee8f11ebc 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.sqlserver; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiDeleteExecutor.java index 3fd99932ddb..608ee55d291 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiDeleteExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.sqlserver; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiUpdateExecutor.java index 7ec81a5fb48..8100670c4a8 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.sqlserver; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerSelectForUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerSelectForUpdateExecutor.java index 21bacfb997d..431000f5423 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerSelectForUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerSelectForUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.sqlserver; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerUpdateExecutor.java index b9b6c4190eb..8d2c002dab8 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec.sqlserver; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/SQLVisitorFactory.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/SQLVisitorFactory.java index f1bf7963152..5f98bb08014 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/SQLVisitorFactory.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/SQLVisitorFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/dm/DmEscapeHandler.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/dm/DmEscapeHandler.java index a8b63a4462d..ab75db79633 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/dm/DmEscapeHandler.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/dm/DmEscapeHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.handler.dm; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mariadb/MariadbEscapeHandler.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mariadb/MariadbEscapeHandler.java index a9f3ada884c..096bddfea8b 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mariadb/MariadbEscapeHandler.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mariadb/MariadbEscapeHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.handler.mariadb; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mysql/MySQLEscapeHandler.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mysql/MySQLEscapeHandler.java index fbd346b9359..f4263bcff2a 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mysql/MySQLEscapeHandler.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mysql/MySQLEscapeHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.handler.mysql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/oracle/OracleEscapeHandler.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/oracle/OracleEscapeHandler.java index 7887dc50ff1..8052c514e0f 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/oracle/OracleEscapeHandler.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/oracle/OracleEscapeHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.handler.oracle; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/polardbx/PolarDBXEscapeHandler.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/polardbx/PolarDBXEscapeHandler.java index cf2454234db..048ef3014e6 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/polardbx/PolarDBXEscapeHandler.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/polardbx/PolarDBXEscapeHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.handler.polardbx; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/postgresql/PostgresqlEscapeHandler.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/postgresql/PostgresqlEscapeHandler.java index f29b9c996c1..27597308048 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/postgresql/PostgresqlEscapeHandler.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/postgresql/PostgresqlEscapeHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.handler.postgresql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/sqlserver/SqlServerEscapeHandler.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/sqlserver/SqlServerEscapeHandler.java index 657bfe3de49..5bfe16ca6a8 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/sqlserver/SqlServerEscapeHandler.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/sqlserver/SqlServerEscapeHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.handler.sqlserver; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/serial/SerialArray.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/serial/SerialArray.java index a9afd5b7a2e..dc293cdd438 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/serial/SerialArray.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/serial/SerialArray.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.serial; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Field.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Field.java index 4c6c2bc9701..91c5b5b2425 100755 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Field.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Field.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/KeyType.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/KeyType.java index 3bce24ffc84..fe5e9b2d713 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/KeyType.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/KeyType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Row.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Row.java index 28a59e6bf5c..45924b634b4 100755 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Row.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Row.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactory.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactory.java index 848ce378084..8da94f02642 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactory.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableRecords.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableRecords.java index 6dcada792e7..5bb871d71f9 100755 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableRecords.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableRecords.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/AbstractTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/AbstractTableMetaCache.java index 033aa2e4f09..b13ae659ace 100755 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/AbstractTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/AbstractTableMetaCache.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct.cache; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCache.java index e685d0684af..8b8f4a309fc 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCache.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct.cache; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCache.java index b8874ddc8f0..2bc6da56f94 100755 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCache.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct.cache; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCache.java index c1f0c4ff510..c235feaa505 100755 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCache.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct.cache; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCache.java index 3477add9a6a..32af0bef053 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCache.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct.cache; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PolarDBXTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PolarDBXTableMetaCache.java index 7e73ff81731..b9ebeca2e2b 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PolarDBXTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PolarDBXTableMetaCache.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct.cache; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCache.java index 0a8a14ce0ed..a31cbc625c9 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCache.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct.cache; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCache.java index 68f80c6145c..3c544439b9c 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCache.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct.cache; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoExecutor.java index 9210f507e76..92d60f521ae 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoLogManager.java index 3f6d640fe22..66759fae4bc 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoLogManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/BranchUndoLog.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/BranchUndoLog.java index f8251afc3e9..65d95ac558f 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/BranchUndoLog.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/BranchUndoLog.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoDirtyException.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoDirtyException.java index 9030b5088b7..39c57226c40 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoDirtyException.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoDirtyException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoLog.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoLog.java index 61efb55bdbd..876746851ee 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoLog.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoLog.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorFactory.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorFactory.java index 8f368d4c74a..c9969fd5cb5 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorFactory.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolder.java index 2594beda415..368a68d6bea 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolderFactory.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolderFactory.java index d3e72b8d309..eff17e19406 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolderFactory.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolderFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogConstants.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogConstants.java index 6e30c7fd19a..7afc29a738e 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogConstants.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogConstants.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManager.java index 4c15de8c4b4..b3ab435512a 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManagerFactory.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManagerFactory.java index c41c1577b9f..cd2aab223d7 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManagerFactory.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManagerFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParser.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParser.java index 6728b30a372..5d3481919a2 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParser.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParserFactory.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParserFactory.java index b70fc114040..007fe506925 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParserFactory.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParserFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoDeleteExecutor.java index c03865bd45f..e49dd01b4b6 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoDeleteExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.dm; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoExecutorHolder.java index 1d015c08f71..d64f4c3b904 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoExecutorHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.dm; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoInsertExecutor.java index 9f60369ff69..ee85bb0e789 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.dm; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoLogManager.java index 39053e8b173..945954f8e88 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoLogManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.dm; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoUpdateExecutor.java index 08d38c9ae11..9d56afaec9c 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.dm; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutor.java index 2ee18d95e4a..1c328aee6ba 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mariadb; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoExecutorHolder.java index 427ea8cf42b..4087b781706 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoExecutorHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mariadb; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoInsertExecutor.java index 097c1903a29..aeb68363073 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mariadb; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManager.java index 7216768efda..9ee553e0825 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mariadb; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutor.java index 722676f3e1f..62b4ae24dbb 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mariadb; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutor.java index 056f762752b..0f0ef79c128 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mysql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoExecutorHolder.java index 1e00e0a3014..8b0257fa5ad 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoExecutorHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mysql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutor.java index ae2a45c969f..7627b6e38b7 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mysql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManager.java index 606a7a9babc..16b8db51987 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mysql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutor.java index e97387a99dd..6498e32c31b 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mysql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutor.java index 40dd3fe28e6..df2954a47e3 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.oracle; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoExecutorHolder.java index eae89c50da1..6aa2f4d5238 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoExecutorHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.oracle; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutor.java index 6840c0ac7b0..3f3bc6a52a6 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.oracle; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoLogManager.java index 2f6159e6575..82b159c6a87 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoLogManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.oracle; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutor.java index 33db960be2d..d2ab021b9f4 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.oracle; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParser.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParser.java index a542d1e5315..621791785aa 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParser.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.parser; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParser.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParser.java index 45e4eaa1950..7cba772c137 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParser.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.parser; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializer.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializer.java index 868d99b0d96..a136f50dfbe 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializer.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.parser; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializerFactory.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializerFactory.java index 744fa43d81b..9ef0bd98900 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializerFactory.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializerFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.parser; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParser.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParser.java index 2ab834eef8d..bc877f4832a 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParser.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.parser; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParser.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParser.java index 608722cb1c0..7cb4ada4c4b 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParser.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.parser; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/UndoLogSerializerClassRegistry.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/UndoLogSerializerClassRegistry.java index 445a961f76f..e0926f4acf0 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/UndoLogSerializerClassRegistry.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/UndoLogSerializerClassRegistry.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.parser; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/JacksonSerializer.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/JacksonSerializer.java index adb2460cab3..eef17b1b955 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/JacksonSerializer.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/JacksonSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.parser.spi; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/KryoTypeSerializer.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/KryoTypeSerializer.java index 9908a789a0f..d0af05f1842 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/KryoTypeSerializer.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/KryoTypeSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.parser.spi; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/ProtostuffDelegate.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/ProtostuffDelegate.java index 0cf217d71a8..3b6d753c019 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/ProtostuffDelegate.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/ProtostuffDelegate.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.parser.spi; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutor.java index bc4bb15d59b..f21049f9ba3 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.polardbx; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoExecutorHolder.java index 0f329826798..d802f733d7d 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoExecutorHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.polardbx; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutor.java index 184e4b21a77..dce805628fe 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.polardbx; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManager.java index 773b5d36b0d..1f79d5d25b3 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.polardbx; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutor.java index 8d59823aa93..3cc50d49acf 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.polardbx; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoDeleteExecutor.java index 791195d4835..68d83b689d5 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoDeleteExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.postgresql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoExecutorHolder.java index f5165067fcb..356959662ff 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoExecutorHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.postgresql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoInsertExecutor.java index 47fe4fa535e..2e8157fa0a3 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.postgresql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoLogManager.java index 0facf727a61..9d0b8236605 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoLogManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.postgresql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoUpdateExecutor.java index 8b16fe9c2a4..63450de8695 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.postgresql; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/BaseSqlServerUndoExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/BaseSqlServerUndoExecutor.java index e016229ec5e..a74f9d2e64d 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/BaseSqlServerUndoExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/BaseSqlServerUndoExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.sqlserver; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutor.java index 8d61e9b884a..c39ea746d2d 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.sqlserver; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoExecutorHolder.java index b6b5a2e5192..b17ea9176d7 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoExecutorHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.sqlserver; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutor.java index 34952eab5ea..f4824e67524 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.sqlserver; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoLogManager.java index 737d8e85d7c..e316bd42c72 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoLogManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.sqlserver; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutor.java index 58cbd9a1a81..dedd599a30e 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.sqlserver; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/util/JdbcUtils.java b/rm-datasource/src/main/java/io/seata/rm/datasource/util/JdbcUtils.java index 1c3a9e73cbc..801b2d892ad 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/util/JdbcUtils.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/util/JdbcUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.util; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/util/OffsetTimeUtils.java b/rm-datasource/src/main/java/io/seata/rm/datasource/util/OffsetTimeUtils.java index 535d347a0c8..716e9561dd4 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/util/OffsetTimeUtils.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/util/OffsetTimeUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.util; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/util/SeataXAResource.java b/rm-datasource/src/main/java/io/seata/rm/datasource/util/SeataXAResource.java index 924fec80795..7745eaa0132 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/util/SeataXAResource.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/util/SeataXAResource.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.util; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/util/XAUtils.java b/rm-datasource/src/main/java/io/seata/rm/datasource/util/XAUtils.java index 35ba79856ad..f2c65878b8d 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/util/XAUtils.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/util/XAUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.util; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractConnectionProxyXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractConnectionProxyXA.java index 2aee173d97d..61f1f5ea947 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractConnectionProxyXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractConnectionProxyXA.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.xa; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractDataSourceProxyXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractDataSourceProxyXA.java index 0ed521b53f1..3ba9a0d249c 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractDataSourceProxyXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractDataSourceProxyXA.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.xa; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ConnectionProxyXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ConnectionProxyXA.java index ca5a9a6f877..e087cabcfe3 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ConnectionProxyXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ConnectionProxyXA.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.xa; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXA.java index 43f592aacc3..67b10438c69 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXA.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.xa; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXANative.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXANative.java index 57b65d404c8..c4abf0cf8a1 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXANative.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXANative.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.xa; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ExecuteTemplateXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ExecuteTemplateXA.java index 8936347d626..5e747686cf3 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ExecuteTemplateXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ExecuteTemplateXA.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.xa; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/Holdable.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/Holdable.java index 2f0e52705db..9c8a7cf0267 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/Holdable.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/Holdable.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.xa; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/Holder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/Holder.java index 2d842172279..6ec6ea39ca3 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/Holder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/Holder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.xa; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/PreparedStatementProxyXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/PreparedStatementProxyXA.java index d1f19e8673e..d9944a1dabc 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/PreparedStatementProxyXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/PreparedStatementProxyXA.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.xa; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ResourceManagerXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ResourceManagerXA.java index e7d59e863dc..a1142006d5e 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ResourceManagerXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ResourceManagerXA.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.xa; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/StatementProxyXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/StatementProxyXA.java index e1798ab27ed..294b67a4b8a 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/StatementProxyXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/StatementProxyXA.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.xa; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XABranchXid.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XABranchXid.java index 6a724c9bed8..edb0be6e470 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XABranchXid.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XABranchXid.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.xa; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXid.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXid.java index 43a43cac03e..8c1bf34be68 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXid.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXid.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.xa; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXidBuilder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXidBuilder.java index 56edbd45666..7adf126b1ac 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXidBuilder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXidBuilder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.xa; diff --git a/rm-datasource/src/test/java/io/seata/rm/GlobalLockTemplateTest.java b/rm-datasource/src/test/java/io/seata/rm/GlobalLockTemplateTest.java index 61fa23bdec5..ee1a15e1f9c 100644 --- a/rm-datasource/src/test/java/io/seata/rm/GlobalLockTemplateTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/GlobalLockTemplateTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm; diff --git a/rm-datasource/src/test/java/io/seata/rm/RMHandlerATTest.java b/rm-datasource/src/test/java/io/seata/rm/RMHandlerATTest.java index f3d34f25c22..fd6f6da9829 100644 --- a/rm-datasource/src/test/java/io/seata/rm/RMHandlerATTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/RMHandlerATTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/AsyncWorkerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/AsyncWorkerTest.java index a7b831de320..1d828be0ee2 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/AsyncWorkerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/AsyncWorkerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/ColumnUtilsTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/ColumnUtilsTest.java index 69e20ccd84d..8e4efdd50b3 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/ColumnUtilsTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/ColumnUtilsTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionContextProxyTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionContextProxyTest.java index 50ef8ea3829..e6e82cb90fd 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionContextProxyTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionContextProxyTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionProxyTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionProxyTest.java index 81d62d618b5..4bf0f45d2a9 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionProxyTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionProxyTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/DataCompareUtilsTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/DataCompareUtilsTest.java index bc728d5c845..5c617fbd2a6 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/DataCompareUtilsTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/DataCompareUtilsTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java index e351f674bee..5e713afcaa0 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/PreparedStatementProxyTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/PreparedStatementProxyTest.java index 3ef88b2e1c8..3a869d9e65a 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/PreparedStatementProxyTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/PreparedStatementProxyTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/SqlGenerateUtilsTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/SqlGenerateUtilsTest.java index 0a56ec3c6a4..2431bb897a6 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/SqlGenerateUtilsTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/SqlGenerateUtilsTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/StatementProxyTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/StatementProxyTest.java index 54646a9ddc3..37d090750ad 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/StatementProxyTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/StatementProxyTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutorTest.java index dbc6a4a6642..d3caec9af01 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/BaseTransactionalExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/BaseTransactionalExecutorTest.java index 37e3dbabf83..778ba256bb5 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/BaseTransactionalExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/BaseTransactionalExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/BatchInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/BatchInsertExecutorTest.java index b6bf45b7cbc..b4a110d03b3 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/BatchInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/BatchInsertExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java index 21ea5851fcf..0d7b514e075 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DmInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DmInsertExecutorTest.java index ff4e250cbbb..3570b1c88ee 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DmInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DmInsertExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/LockRetryControllerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/LockRetryControllerTest.java index 200033f0f6d..8879eff713c 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/LockRetryControllerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/LockRetryControllerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertExecutorTest.java index 36fc4fbb736..aa80b4fae2b 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertOnDuplicateUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertOnDuplicateUpdateExecutorTest.java index 702881fdc9e..24cf87897f4 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertOnDuplicateUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertOnDuplicateUpdateExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MultiExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MultiExecutorTest.java index 980aee46f69..1a46f2b9aea 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MultiExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MultiExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertExecutorTest.java index 7010f71acda..b35951629ed 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertOnDuplicateUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertOnDuplicateUpdateExecutorTest.java index d3b37c7c527..81b727be081 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertOnDuplicateUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertOnDuplicateUpdateExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/OracleInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/OracleInsertExecutorTest.java index 906b87ceb3d..1bb49e883e4 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/OracleInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/OracleInsertExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PlainExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PlainExecutorTest.java index 22b18549ca5..2ea9af69008 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PlainExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PlainExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertExecutorTest.java index 9a594204d95..cb74b08cfd6 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertOnDuplicateUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertOnDuplicateUpdateExecutorTest.java index b2339d20dab..9b34f86ac28 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertOnDuplicateUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertOnDuplicateUpdateExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PostgresqlInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PostgresqlInsertExecutorTest.java index b10d703e2e5..ddf161ebe0a 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PostgresqlInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PostgresqlInsertExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SelectForUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SelectForUpdateExecutorTest.java index c53d382f1dd..fb3232d0e3d 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SelectForUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SelectForUpdateExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SqlServerInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SqlServerInsertExecutorTest.java index 45d536cd07f..57f0bfd9643 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SqlServerInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SqlServerInsertExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java index 482ce56afb7..67da4655e7f 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateJoinExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateJoinExecutorTest.java index fbde0a4bd96..ee6498cad66 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateJoinExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateJoinExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.exec; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockBlob.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockBlob.java index a92c7e83d6f..48fa977c4a5 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockBlob.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockBlob.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.mock; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockClob.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockClob.java index 00a1908d1ef..aab39054367 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockClob.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockClob.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.mock; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnection.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnection.java index c638d259779..b4d94939a0f 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnection.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnection.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.mock; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnectionProxy.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnectionProxy.java index 5b287e2d952..4defa5cedcb 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnectionProxy.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnectionProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.mock; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDataSource.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDataSource.java index 1deebb95e12..cca73fda5ab 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDataSource.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDataSource.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.mock; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDatabaseMetaData.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDatabaseMetaData.java index 714a7966bc1..6e67dfc34d3 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDatabaseMetaData.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDatabaseMetaData.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.mock; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDriver.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDriver.java index 7d9c7397375..5774a363f79 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDriver.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDriver.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.mock; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockExecuteHandlerImpl.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockExecuteHandlerImpl.java index 1e5ea57595d..9af9e7b0504 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockExecuteHandlerImpl.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockExecuteHandlerImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.mock; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockLockConflictConnectionProxy.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockLockConflictConnectionProxy.java index 80f35374b8e..fd96145623a 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockLockConflictConnectionProxy.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockLockConflictConnectionProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.mock; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockMariadbDataSource.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockMariadbDataSource.java index 16331ca50e2..afb62a5ed39 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockMariadbDataSource.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockMariadbDataSource.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.mock; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockParameterMetaData.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockParameterMetaData.java index a4469a0a1f0..42bc305dd2c 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockParameterMetaData.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockParameterMetaData.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.mock; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockPreparedStatement.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockPreparedStatement.java index 7ee88f3db53..0873effbc38 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockPreparedStatement.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockPreparedStatement.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.mock; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSet.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSet.java index 78f3f8cf69b..4b08b3a1cc1 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSet.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSet.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.mock; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSetMetaData.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSetMetaData.java index 802b9d25e01..9b0d06eb17e 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSetMetaData.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSetMetaData.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.mock; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/SQLVisitorFactoryTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/SQLVisitorFactoryTest.java index a39f9001405..199ff6eed07 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/SQLVisitorFactoryTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/SQLVisitorFactoryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmDeleteRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmDeleteRecognizerTest.java index 4895fcfabd1..56ad7c2622a 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmDeleteRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmDeleteRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.druid.dm; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmInsertRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmInsertRecognizerTest.java index 1efacb31eaf..a4d61b219f4 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmInsertRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmInsertRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.druid.dm; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmSelectForUpdateRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmSelectForUpdateRecognizerTest.java index ba87879df29..003eb53deb8 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmSelectForUpdateRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmSelectForUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.druid.dm; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmUpdateRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmUpdateRecognizerTest.java index dbd4cdd7b57..9a39e47ee75 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmUpdateRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.druid.dm; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleDeleteRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleDeleteRecognizerTest.java index 7d3d12cb72f..2800da0d766 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleDeleteRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleDeleteRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.druid.oracle; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleInsertRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleInsertRecognizerTest.java index c45e22d6e69..27d47bfd700 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleInsertRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleInsertRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.druid.oracle; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleSelectForUpdateRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleSelectForUpdateRecognizerTest.java index cd85c5b9602..2a1ffbf578b 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleSelectForUpdateRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleSelectForUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.druid.oracle; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleUpdateRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleUpdateRecognizerTest.java index 62eec43748a..8056cb61eed 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleUpdateRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.druid.oracle; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlDeleteRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlDeleteRecognizerTest.java index 2fddbcd09c0..55997c94a57 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlDeleteRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlDeleteRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.druid.postgresql; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlInsertRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlInsertRecognizerTest.java index 179aff5a633..07ce547b806 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlInsertRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlInsertRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.druid.postgresql; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlSelectForUpdateRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlSelectForUpdateRecognizerTest.java index 11a402f63ed..4a4327f3add 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlSelectForUpdateRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlSelectForUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.druid.postgresql; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlUpdateRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlUpdateRecognizerTest.java index d48cadad8ba..73e70a25e6d 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlUpdateRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.druid.postgresql; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/handler/EscapeHandlerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/handler/EscapeHandlerTest.java index 946700fc954..9a843ce3072 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/handler/EscapeHandlerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/handler/EscapeHandlerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.handler; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/ColumnMetaTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/ColumnMetaTest.java index 335deb15a55..057b8c5b10c 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/ColumnMetaTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/ColumnMetaTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexMetaTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexMetaTest.java index 0de56359867..17cd242f4c1 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexMetaTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexMetaTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexTypeTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexTypeTest.java index 9adb04602bd..85ebd134dc6 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexTypeTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexTypeTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactoryTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactoryTest.java index fc176627f4c..70c4956cd3f 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactoryTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactoryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaTest.java index 8e337b10cc9..3294064a19c 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableRecordsTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableRecordsTest.java index bc02c64016a..db64bca880b 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableRecordsTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableRecordsTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCacheTest.java index 8973b130516..35cf70a4566 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCacheTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct.cache; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCacheTest.java index 01144502bc9..6f6acb2eef5 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCacheTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct.cache; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCacheTest.java index 0dbe2400ef7..fe4d851a4d6 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCacheTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct.cache; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCacheTest.java index fd7877acac9..1ae071a3df4 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCacheTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct.cache; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCacheTest.java index bf1a116c47f..04920788c17 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCacheTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct.cache; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCacheTest.java index 4cb0f26d85c..4cbe67d32ee 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCacheTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.sql.struct.cache; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/AbstractUndoExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/AbstractUndoExecutorTest.java index 2382a550232..e2de57bb55e 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/AbstractUndoExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/AbstractUndoExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseExecutorTest.java index e5ecfdebd44..aade064c19a 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseH2Test.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseH2Test.java index 412cc06bbbb..fda2e278af7 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseH2Test.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseH2Test.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseUndoLogParserTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseUndoLogParserTest.java index cca60178642..8a6939cbd85 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseUndoLogParserTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseUndoLogParserTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BranchUndoLogTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BranchUndoLogTest.java index 9b8138772c4..29eff4a3d13 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BranchUndoLogTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BranchUndoLogTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/EscapeHandlerFactoryTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/EscapeHandlerFactoryTest.java index 96ca13c4063..16c81106788 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/EscapeHandlerFactoryTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/EscapeHandlerFactoryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoExecutorTest.java index 6d95e6b898b..002ade43d8b 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogManagerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogManagerTest.java index 8498485296f..da3a5da2bbf 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogManagerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogManagerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserFactoryTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserFactoryTest.java index 8ea9de9e3f2..a7dc09a2150 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserFactoryTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserFactoryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserProviderTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserProviderTest.java index d9ac97284d4..ee7ddc6ea7d 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserProviderTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserProviderTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/h2/keyword/H2EscapeHandler.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/h2/keyword/H2EscapeHandler.java index aae2da3fcff..fbf38a214bb 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/h2/keyword/H2EscapeHandler.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/h2/keyword/H2EscapeHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.h2.keyword; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbLUndoInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbLUndoInsertExecutorTest.java index 0459abd3708..a2f4c61ffc4 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbLUndoInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbLUndoInsertExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mariadb; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutorTest.java index d62c433d909..d8722695cd0 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mariadb; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManagerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManagerTest.java index a80799cdbe6..877f428c9e0 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManagerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManagerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mariadb; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutorTest.java index ce19d895684..3bd0802d007 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mariadb; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/keyword/MariadbEscapeHandlerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/keyword/MariadbEscapeHandlerTest.java index ada29ff7c5c..4cdd1927a97 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/keyword/MariadbEscapeHandlerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/keyword/MariadbEscapeHandlerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mariadb.keyword; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutorTest.java index c0ef428748e..44c9ab7bc58 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mysql; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutorTest.java index 1fbcf5311e3..ac2fec5a2a8 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mysql; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManagerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManagerTest.java index aa6ceeb168a..07ad2854319 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManagerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManagerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mysql; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutorTest.java index 5c90dc64a8c..e1683300567 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mysql; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/keyword/MySQLEscapeHandlerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/keyword/MySQLEscapeHandlerTest.java index 3d48a0582e1..8f469cab9e9 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/keyword/MySQLEscapeHandlerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/keyword/MySQLEscapeHandlerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.mysql.keyword; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutorTest.java index b67b3618df0..29c5a058b57 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.oracle; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutorTest.java index ac55b953ff9..59626c6d188 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.oracle; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutorTest.java index 1533f9af962..ad54e61fbca 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.oracle; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/keyword/OracleEscapeHandlerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/keyword/OracleEscapeHandlerTest.java index a11c20cc8f9..d27f18205e6 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/keyword/OracleEscapeHandlerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/keyword/OracleEscapeHandlerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.oracle.keyword; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParserTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParserTest.java index 5e495404d04..4837407ac8a 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParserTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParserTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.parser; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParserTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParserTest.java index fa00d1a8e98..6fd4ad093f1 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParserTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParserTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.parser; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParserTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParserTest.java index 2c85be8c105..bcc7cac3298 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParserTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParserTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.parser; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParserTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParserTest.java index 65b5ab45546..7aaa832aae5 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParserTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParserTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.parser; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutorTest.java index 36daebeffe6..2e8489f8b65 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.polardbx; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutorTest.java index f9f0a81d176..4a05725b52c 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.polardbx; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManagerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManagerTest.java index cb8b2a41a76..bb649e216ea 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManagerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManagerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.polardbx; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutorTest.java index b3715881419..78fe00bfec4 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.polardbx; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/keyword/PolarDBXEscapeHandlerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/keyword/PolarDBXEscapeHandlerTest.java index c2375e9f17f..634f6fcc1f2 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/keyword/PolarDBXEscapeHandlerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/keyword/PolarDBXEscapeHandlerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.polardbx.keyword; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/postgresql/keyword/PostgresqlEscapeHandlerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/postgresql/keyword/PostgresqlEscapeHandlerTest.java index c4626255e72..dc1bbcaec97 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/postgresql/keyword/PostgresqlEscapeHandlerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/postgresql/keyword/PostgresqlEscapeHandlerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.postgresql.keyword; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutorTest.java index 898ad52f52d..a327931415b 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.sqlserver; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutorTest.java index d95454210e3..c3ca98a3333 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.sqlserver; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutorTest.java index 73d94566e6a..b324559be06 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.sqlserver; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/keyword/SqlServerKeywordCheckerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/keyword/SqlServerKeywordCheckerTest.java index 1ed625411f3..d771766b8cf 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/keyword/SqlServerKeywordCheckerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/keyword/SqlServerKeywordCheckerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.undo.sqlserver.keyword; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/util/JdbcUtilsTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/util/JdbcUtilsTest.java index 9f2125b4293..a8c0e575bbf 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/util/JdbcUtilsTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/util/JdbcUtilsTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.datasource.util; diff --git a/rm-datasource/src/test/java/io/seata/rm/xa/ConnectionProxyXATest.java b/rm-datasource/src/test/java/io/seata/rm/xa/ConnectionProxyXATest.java index 66eea05ac43..4fe00a477f6 100644 --- a/rm-datasource/src/test/java/io/seata/rm/xa/ConnectionProxyXATest.java +++ b/rm-datasource/src/test/java/io/seata/rm/xa/ConnectionProxyXATest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.xa; diff --git a/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXANativeTest.java b/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXANativeTest.java index e90a693fc38..ddc7cdc7aae 100644 --- a/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXANativeTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXANativeTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.xa; diff --git a/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXATest.java b/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXATest.java index 4b4183cb14d..f129202dc02 100644 --- a/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXATest.java +++ b/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXATest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.xa; diff --git a/rm-datasource/src/test/java/io/seata/rm/xa/XAXidBuilderTest.java b/rm-datasource/src/test/java/io/seata/rm/xa/XAXidBuilderTest.java index e3e9eaeb476..1acbcd21096 100644 --- a/rm-datasource/src/test/java/io/seata/rm/xa/XAXidBuilderTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/xa/XAXidBuilderTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.xa; diff --git a/rm-datasource/src/test/resources/file.conf b/rm-datasource/src/test/resources/file.conf index a06899c4a03..f3dede5c189 100644 --- a/rm-datasource/src/test/resources/file.conf +++ b/rm-datasource/src/test/resources/file.conf @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # Copyright 1999-2019 Seata.io Group. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/rm-datasource/src/test/resources/registry.conf b/rm-datasource/src/test/resources/registry.conf index 7870e78a687..5ad014bf55a 100644 --- a/rm-datasource/src/test/resources/registry.conf +++ b/rm-datasource/src/test/resources/registry.conf @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa type = "file" diff --git a/rm/pom.xml b/rm/pom.xml index 99522ab3234..fe727454481 100644 --- a/rm/pom.xml +++ b/rm/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/rm/src/main/java/io/seata/rm/AbstractRMHandler.java b/rm/src/main/java/io/seata/rm/AbstractRMHandler.java index a80db885dcf..49cf7e99911 100644 --- a/rm/src/main/java/io/seata/rm/AbstractRMHandler.java +++ b/rm/src/main/java/io/seata/rm/AbstractRMHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm; diff --git a/rm/src/main/java/io/seata/rm/AbstractResourceManager.java b/rm/src/main/java/io/seata/rm/AbstractResourceManager.java index 3d3100c26d6..2f425d34958 100644 --- a/rm/src/main/java/io/seata/rm/AbstractResourceManager.java +++ b/rm/src/main/java/io/seata/rm/AbstractResourceManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm; diff --git a/rm/src/main/java/io/seata/rm/DefaultRMHandler.java b/rm/src/main/java/io/seata/rm/DefaultRMHandler.java index 6888847141b..8f8c78d0838 100644 --- a/rm/src/main/java/io/seata/rm/DefaultRMHandler.java +++ b/rm/src/main/java/io/seata/rm/DefaultRMHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm; diff --git a/rm/src/main/java/io/seata/rm/DefaultResourceManager.java b/rm/src/main/java/io/seata/rm/DefaultResourceManager.java index 36d23d806b8..ee0792bc0ea 100644 --- a/rm/src/main/java/io/seata/rm/DefaultResourceManager.java +++ b/rm/src/main/java/io/seata/rm/DefaultResourceManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm; diff --git a/rm/src/main/java/io/seata/rm/RMClient.java b/rm/src/main/java/io/seata/rm/RMClient.java index 96600094f89..45318e839a0 100644 --- a/rm/src/main/java/io/seata/rm/RMClient.java +++ b/rm/src/main/java/io/seata/rm/RMClient.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm; diff --git a/saga/pom.xml b/saga/pom.xml index 9f781e5f84f..c425c344e76 100644 --- a/saga/pom.xml +++ b/saga/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/saga/seata-saga-engine-store/pom.xml b/saga/seata-saga-engine-store/pom.xml index 2a7c1216e08..cbd5fa5572f 100644 --- a/saga/seata-saga-engine-store/pom.xml +++ b/saga/seata-saga-engine-store/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/config/DbStateMachineConfig.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/config/DbStateMachineConfig.java index 7a7a476e922..b757f1660a1 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/config/DbStateMachineConfig.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/config/DbStateMachineConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.config; diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/pcext/interceptors/InSagaBranchHandlerInterceptor.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/pcext/interceptors/InSagaBranchHandlerInterceptor.java index 3109b0bb323..1fff4e4a654 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/pcext/interceptors/InSagaBranchHandlerInterceptor.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/pcext/interceptors/InSagaBranchHandlerInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.interceptors; diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/Serializer.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/Serializer.java index 669725a1226..c0d241196b3 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/Serializer.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/Serializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.serializer; diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ExceptionSerializer.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ExceptionSerializer.java index 7c281d96106..0c5f77ffad5 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ExceptionSerializer.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ExceptionSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.serializer.impl; diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ParamsSerializer.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ParamsSerializer.java index bce52e954c5..47c979eae01 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ParamsSerializer.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ParamsSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.serializer.impl; diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/AbstractStore.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/AbstractStore.java index 85ccc96a9b6..7a3293c5be3 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/AbstractStore.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/AbstractStore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.store.db; diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbAndReportTcStateLogStore.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbAndReportTcStateLogStore.java index dfd3153650e..c4e00f674bc 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbAndReportTcStateLogStore.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbAndReportTcStateLogStore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.store.db; diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbStateLangStore.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbStateLangStore.java index 086edfd69b9..935180c2c34 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbStateLangStore.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbStateLangStore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.store.db; diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLangStoreSqls.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLangStoreSqls.java index ea453f7f874..a24a1b8ebf5 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLangStoreSqls.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLangStoreSqls.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.store.db; diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLogStoreSqls.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLogStoreSqls.java index 3c237ae64a0..aeeabe47428 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLogStoreSqls.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLogStoreSqls.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.store.db; diff --git a/saga/seata-saga-engine/pom.xml b/saga/seata-saga-engine/pom.xml index 455ae6ef1bb..2bf62fd9fec 100644 --- a/saga/seata-saga-engine/pom.xml +++ b/saga/seata-saga-engine/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/AsyncCallback.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/AsyncCallback.java index e450e87a3c7..4f24a9d5f20 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/AsyncCallback.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/AsyncCallback.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineConfig.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineConfig.java index b78d140e6f5..216b1a3b21f 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineConfig.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineEngine.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineEngine.java index 39ec4a0e462..61df64c5ad3 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineEngine.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineEngine.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/EngineExecutionException.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/EngineExecutionException.java index 48f1a7bdbec..66098506d8e 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/EngineExecutionException.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/EngineExecutionException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.exception; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/ForwardInvalidException.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/ForwardInvalidException.java index 21aa6f1b6fc..92ceb5eee61 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/ForwardInvalidException.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/ForwardInvalidException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.exception; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/Expression.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/Expression.java index 51943283101..1dcd1d7a6f8 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/Expression.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/Expression.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.expression; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactory.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactory.java index 3b9b0903437..142fd14e2a3 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactory.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.expression; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactoryManager.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactoryManager.java index 05c980a79fa..348a801244d 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactoryManager.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactoryManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.expression; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionResolver.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionResolver.java index 2f262f93cb3..881702893c3 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionResolver.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionResolver.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.saga.engine.expression; /** diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpression.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpression.java index a1b454c1ab2..f6c3838638b 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpression.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpression.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.saga.engine.expression.exception; import io.seata.common.exception.FrameworkErrorCode; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpressionFactory.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpressionFactory.java index 74585acf24b..3a973d8af30 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpressionFactory.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpressionFactory.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.saga.engine.expression.exception; import io.seata.saga.engine.expression.Expression; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/impl/DefaultExpressionResolver.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/impl/DefaultExpressionResolver.java index 4bbd56c02f3..06bb7d7778e 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/impl/DefaultExpressionResolver.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/impl/DefaultExpressionResolver.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.saga.engine.expression.impl; import io.seata.saga.engine.expression.Expression; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpression.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpression.java index 097087725d4..385f8c1c95f 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpression.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpression.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.expression.seq; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpressionFactory.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpressionFactory.java index cbd2374fcd4..7114ec2ed33 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpressionFactory.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpressionFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.expression.seq; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpression.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpression.java index 60d44ce3372..fe498353473 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpression.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpression.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.expression.spel; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpressionFactory.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpressionFactory.java index 69b0ab463b4..6224a7e50cb 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpressionFactory.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpressionFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.expression.spel; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/DefaultStateMachineConfig.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/DefaultStateMachineConfig.java index 10e98c6ac4f..8a7af0989fb 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/DefaultStateMachineConfig.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/DefaultStateMachineConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.impl; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/ProcessCtrlStateMachineEngine.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/ProcessCtrlStateMachineEngine.java index f75290b6a67..db0984959d7 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/ProcessCtrlStateMachineEngine.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/ProcessCtrlStateMachineEngine.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.impl; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvoker.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvoker.java index 9083e727034..0b521178a68 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvoker.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvoker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.invoker; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvokerManager.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvokerManager.java index d1651164322..5169dc69929 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvokerManager.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvokerManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.invoker; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/impl/SpringBeanServiceInvoker.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/impl/SpringBeanServiceInvoker.java index 15577499181..9ee39cf0553 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/impl/SpringBeanServiceInvoker.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/impl/SpringBeanServiceInvoker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.invoker.impl; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateHandler.java index 33c70f20c9a..52a2831f4f4 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateRouter.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateRouter.java index 96d8d4f130b..3835802576b 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateRouter.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateRouter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandler.java index 9cea74e1665..27135b536d3 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandlerInterceptor.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandlerInterceptor.java index 8243b4c6be7..edc50cda4ca 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandlerInterceptor.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandlerInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateInstruction.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateInstruction.java index 8a82392b5c7..64f1464982c 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateInstruction.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateInstruction.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessHandler.java index 9bee552b32b..4c7cb838986 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessRouter.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessRouter.java index b36081fc4a8..ce083a7cfdd 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessRouter.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessRouter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouter.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouter.java index 8f17817e112..b38ecf736fd 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouter.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouterInterceptor.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouterInterceptor.java index 0a1b205fbe0..ec6d5dee2e5 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouterInterceptor.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouterInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ChoiceStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ChoiceStateHandler.java index 48eb1be8174..083e26d48ba 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ChoiceStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ChoiceStateHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.handlers; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/CompensationTriggerStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/CompensationTriggerStateHandler.java index fc2e6fd6eb5..cac3fbcae6f 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/CompensationTriggerStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/CompensationTriggerStateHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.handlers; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/FailEndStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/FailEndStateHandler.java index 19249ebcc62..aaf70b6194e 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/FailEndStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/FailEndStateHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.handlers; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/LoopStartStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/LoopStartStateHandler.java index cdfebf32f13..28b0397ffec 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/LoopStartStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/LoopStartStateHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.handlers; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ScriptTaskStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ScriptTaskStateHandler.java index b0ab8e482a9..dda804078ff 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ScriptTaskStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ScriptTaskStateHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.handlers; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ServiceTaskStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ServiceTaskStateHandler.java index 7d842421f1c..2d9db1b42a9 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ServiceTaskStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ServiceTaskStateHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.handlers; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SubStateMachineHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SubStateMachineHandler.java index 00e6506d969..62e1dd92b77 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SubStateMachineHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SubStateMachineHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.handlers; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SucceedEndStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SucceedEndStateHandler.java index 6da4d16c49e..6a3a4991d96 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SucceedEndStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SucceedEndStateHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.handlers; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/EndStateRouterInterceptor.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/EndStateRouterInterceptor.java index d9b967454ae..0183b9d85b5 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/EndStateRouterInterceptor.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/EndStateRouterInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.interceptors; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/LoopTaskHandlerInterceptor.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/LoopTaskHandlerInterceptor.java index a21fda4eaa7..d7725101381 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/LoopTaskHandlerInterceptor.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/LoopTaskHandlerInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.interceptors; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ScriptTaskHandlerInterceptor.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ScriptTaskHandlerInterceptor.java index f5647df2ac4..1f28cd41376 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ScriptTaskHandlerInterceptor.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ScriptTaskHandlerInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.interceptors; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ServiceTaskHandlerInterceptor.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ServiceTaskHandlerInterceptor.java index 2af9e2b9641..432f3d24fe3 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ServiceTaskHandlerInterceptor.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ServiceTaskHandlerInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.interceptors; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/EndStateRouter.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/EndStateRouter.java index a3b8c2cafe2..bd2fc88c51b 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/EndStateRouter.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/EndStateRouter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.routers; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/TaskStateRouter.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/TaskStateRouter.java index 8fc1689b0a6..2578110bca6 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/TaskStateRouter.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/TaskStateRouter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.routers; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/CompensationHolder.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/CompensationHolder.java index 177f41f119c..55b4b6101d9 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/CompensationHolder.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/CompensationHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.utils; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/EngineUtils.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/EngineUtils.java index b8e4b7d2297..ac6d1c380a2 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/EngineUtils.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/EngineUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.utils; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopContextHolder.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopContextHolder.java index fdd69f44f48..df3e82755ed 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopContextHolder.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopContextHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.utils; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopTaskUtils.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopTaskUtils.java index 6c36cbcd877..d40a60f7f09 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopTaskUtils.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopTaskUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.utils; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/ParameterUtils.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/ParameterUtils.java index 62cf57cae45..8e1ff8d95e7 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/ParameterUtils.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/ParameterUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.pcext.utils; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateLogRepository.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateLogRepository.java index fd2b8daca77..4e91fe095ad 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateLogRepository.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateLogRepository.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.repo; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateMachineRepository.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateMachineRepository.java index e865152f951..e2441316571 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateMachineRepository.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateMachineRepository.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.repo; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateLogRepositoryImpl.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateLogRepositoryImpl.java index a036e330b92..56d585319c6 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateLogRepositoryImpl.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateLogRepositoryImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.repo.impl; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateMachineRepositoryImpl.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateMachineRepositoryImpl.java index 1435028ad05..809a8ea72bb 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateMachineRepositoryImpl.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateMachineRepositoryImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.repo.impl; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SeqGenerator.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SeqGenerator.java index bf312980eac..2d2d3d6a1ae 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SeqGenerator.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SeqGenerator.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.sequence; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SpringJvmUUIDSeqGenerator.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SpringJvmUUIDSeqGenerator.java index 09b2a6fced7..4c797bd2a4a 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SpringJvmUUIDSeqGenerator.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SpringJvmUUIDSeqGenerator.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.sequence; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLangStore.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLangStore.java index 45565ec4b2e..7c12f3d947b 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLangStore.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLangStore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.store; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLogStore.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLogStore.java index 7eb0b702f92..cdaca063f1a 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLogStore.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLogStore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.store; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/StatusDecisionStrategy.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/StatusDecisionStrategy.java index ba3902001b5..00fc01e3a7b 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/StatusDecisionStrategy.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/StatusDecisionStrategy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.strategy; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/impl/DefaultStatusDecisionStrategy.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/impl/DefaultStatusDecisionStrategy.java index dd8ce444fed..a6786331b7e 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/impl/DefaultStatusDecisionStrategy.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/impl/DefaultStatusDecisionStrategy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.strategy.impl; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ExceptionUtils.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ExceptionUtils.java index 977168de72c..a11dbf6eab8 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ExceptionUtils.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ExceptionUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.utils; diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ProcessContextBuilder.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ProcessContextBuilder.java index fac7a2708ba..3ca336eb566 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ProcessContextBuilder.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ProcessContextBuilder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.engine.utils; diff --git a/saga/seata-saga-processctrl/pom.xml b/saga/seata-saga-processctrl/pom.xml index c7245569088..26e2cf8db4b 100644 --- a/saga/seata-saga-processctrl/pom.xml +++ b/saga/seata-saga-processctrl/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/HierarchicalProcessContext.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/HierarchicalProcessContext.java index bb21fa36cb6..a46b9f80b6b 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/HierarchicalProcessContext.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/HierarchicalProcessContext.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/Instruction.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/Instruction.java index b9aa015e9d7..7121fae84b1 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/Instruction.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/Instruction.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessContext.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessContext.java index 48e98869041..f4c53bd921b 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessContext.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessContext.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessController.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessController.java index 0b964a41ee6..0a1c708935d 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessController.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessController.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessRouter.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessRouter.java index 0c976dbbcab..49f60befbc1 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessRouter.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessRouter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessType.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessType.java index e5ba6c13cd0..e4a6d24282b 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessType.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventBus.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventBus.java index 01acdce1aa5..04a402ade64 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventBus.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventBus.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.eventing; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventConsumer.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventConsumer.java index 219436a6273..910c6e44959 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventConsumer.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventConsumer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.eventing; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventPublisher.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventPublisher.java index fe6c7dc8193..829f9978eef 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventPublisher.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventPublisher.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.eventing; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AbstractEventBus.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AbstractEventBus.java index fc6950eda03..e0b0f5b5586 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AbstractEventBus.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AbstractEventBus.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.eventing.impl; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AsyncEventBus.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AsyncEventBus.java index e4cdc25a5b0..df592d6e665 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AsyncEventBus.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AsyncEventBus.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.eventing.impl; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/DirectEventBus.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/DirectEventBus.java index ca28c45e736..2f0d4c97b12 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/DirectEventBus.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/DirectEventBus.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.eventing.impl; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventConsumer.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventConsumer.java index c6b043899e1..c23e863614f 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventConsumer.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventConsumer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.eventing.impl; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventPublisher.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventPublisher.java index 31c6ac4b95d..363aa6ecd56 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventPublisher.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventPublisher.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.eventing.impl; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/DefaultRouterHandler.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/DefaultRouterHandler.java index 793f6ca29d9..d40bce55eb8 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/DefaultRouterHandler.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/DefaultRouterHandler.java @@ -1,91 +1,92 @@ -/* - * Copyright 1999-2019 Seata.io Group. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package io.seata.saga.proctrl.handler; - -import java.util.Map; - -import io.seata.common.exception.FrameworkErrorCode; -import io.seata.common.exception.FrameworkException; -import io.seata.saga.proctrl.Instruction; -import io.seata.saga.proctrl.ProcessContext; -import io.seata.saga.proctrl.ProcessRouter; -import io.seata.saga.proctrl.ProcessType; -import io.seata.saga.proctrl.eventing.EventPublisher; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -/** - * Default Router handler - * - * @author jin.xie - * @author lorne.cl - */ -public class DefaultRouterHandler implements RouterHandler { - - private static final Logger LOGGER = LoggerFactory.getLogger(DefaultRouterHandler.class); - - private EventPublisher eventPublisher; - private Map processRouters; - - public static ProcessType matchProcessType(ProcessContext context) { - ProcessType processType = (ProcessType)context.getVariable(ProcessContext.VAR_NAME_PROCESS_TYPE); - if (processType == null) { - processType = ProcessType.STATE_LANG; - } - return processType; - } - - @Override - public void route(ProcessContext context) throws FrameworkException { - - try { - ProcessType processType = matchProcessType(context); - if (processType == null) { - if (LOGGER.isWarnEnabled()) { - LOGGER.warn("Process type not found, context= {}", context); - } - throw new FrameworkException(FrameworkErrorCode.ProcessTypeNotFound); - } - - ProcessRouter processRouter = processRouters.get(processType.getCode()); - if (processRouter == null) { - LOGGER.error("Cannot find process router by type {}, context = {}", processType.getCode(), context); - throw new FrameworkException(FrameworkErrorCode.ProcessRouterNotFound); - } - - Instruction instruction = processRouter.route(context); - if (instruction == null) { - LOGGER.info("route instruction is null, process end"); - } else { - context.setInstruction(instruction); - - eventPublisher.publish(context); - } - } catch (FrameworkException e) { - throw e; - } catch (Exception ex) { - throw new FrameworkException(ex, ex.getMessage(), FrameworkErrorCode.UnknownAppError); - } - } - - public void setEventPublisher(EventPublisher eventPublisher) { - this.eventPublisher = eventPublisher; - } - - public void setProcessRouters(Map processRouters) { - this.processRouters = processRouters; - } -} +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.saga.proctrl.handler; + +import java.util.Map; + +import io.seata.common.exception.FrameworkErrorCode; +import io.seata.common.exception.FrameworkException; +import io.seata.saga.proctrl.Instruction; +import io.seata.saga.proctrl.ProcessContext; +import io.seata.saga.proctrl.ProcessRouter; +import io.seata.saga.proctrl.ProcessType; +import io.seata.saga.proctrl.eventing.EventPublisher; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Default Router handler + * + * @author jin.xie + * @author lorne.cl + */ +public class DefaultRouterHandler implements RouterHandler { + + private static final Logger LOGGER = LoggerFactory.getLogger(DefaultRouterHandler.class); + + private EventPublisher eventPublisher; + private Map processRouters; + + public static ProcessType matchProcessType(ProcessContext context) { + ProcessType processType = (ProcessType)context.getVariable(ProcessContext.VAR_NAME_PROCESS_TYPE); + if (processType == null) { + processType = ProcessType.STATE_LANG; + } + return processType; + } + + @Override + public void route(ProcessContext context) throws FrameworkException { + + try { + ProcessType processType = matchProcessType(context); + if (processType == null) { + if (LOGGER.isWarnEnabled()) { + LOGGER.warn("Process type not found, context= {}", context); + } + throw new FrameworkException(FrameworkErrorCode.ProcessTypeNotFound); + } + + ProcessRouter processRouter = processRouters.get(processType.getCode()); + if (processRouter == null) { + LOGGER.error("Cannot find process router by type {}, context = {}", processType.getCode(), context); + throw new FrameworkException(FrameworkErrorCode.ProcessRouterNotFound); + } + + Instruction instruction = processRouter.route(context); + if (instruction == null) { + LOGGER.info("route instruction is null, process end"); + } else { + context.setInstruction(instruction); + + eventPublisher.publish(context); + } + } catch (FrameworkException e) { + throw e; + } catch (Exception ex) { + throw new FrameworkException(ex, ex.getMessage(), FrameworkErrorCode.UnknownAppError); + } + } + + public void setEventPublisher(EventPublisher eventPublisher) { + this.eventPublisher = eventPublisher; + } + + public void setProcessRouters(Map processRouters) { + this.processRouters = processRouters; + } +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/ProcessHandler.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/ProcessHandler.java index e626929c4ee..8bbe399a77a 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/ProcessHandler.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/ProcessHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.handler; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/RouterHandler.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/RouterHandler.java index 2894d96a903..9cbc21316e2 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/RouterHandler.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/RouterHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.handler; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessContextImpl.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessContextImpl.java index 2495d5b37a9..8b6c3626dff 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessContextImpl.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessContextImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.impl; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessControllerImpl.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessControllerImpl.java index 6361369e227..01dbeb6b6cd 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessControllerImpl.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessControllerImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.impl; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/BusinessProcessor.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/BusinessProcessor.java index 229aa6db772..c7a620812e7 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/BusinessProcessor.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/BusinessProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.process; diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/impl/CustomizeBusinessProcessor.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/impl/CustomizeBusinessProcessor.java index 26b4b57a02a..2159ebe3221 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/impl/CustomizeBusinessProcessor.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/impl/CustomizeBusinessProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.process.impl; diff --git a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/ProcessControllerTests.java b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/ProcessControllerTests.java index cb0f8669164..a132c32a6cf 100644 --- a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/ProcessControllerTests.java +++ b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/ProcessControllerTests.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl; diff --git a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockInstruction.java b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockInstruction.java index a92f154b0bd..4e2f9842b23 100644 --- a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockInstruction.java +++ b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockInstruction.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.mock; diff --git a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessHandler.java b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessHandler.java index 170a0c4e9f4..c5c4fd97018 100644 --- a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessHandler.java +++ b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.mock; diff --git a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessRouter.java b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessRouter.java index 7fbf5f2c51b..e635ebe69c6 100644 --- a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessRouter.java +++ b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessRouter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.proctrl.mock; diff --git a/saga/seata-saga-rm/pom.xml b/saga/seata-saga-rm/pom.xml index 0956f235865..929fa46e093 100644 --- a/saga/seata-saga-rm/pom.xml +++ b/saga/seata-saga-rm/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/RMHandlerSaga.java b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/RMHandlerSaga.java index d25975f2f0b..dd6f0b37a81 100644 --- a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/RMHandlerSaga.java +++ b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/RMHandlerSaga.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.rm; diff --git a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResource.java b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResource.java index 8a087c3b8c4..1aef957d548 100644 --- a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResource.java +++ b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResource.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.rm; diff --git a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResourceManager.java b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResourceManager.java index b64b6ec2905..c5059daffcc 100644 --- a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResourceManager.java +++ b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResourceManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.rm; diff --git a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/StateMachineEngineHolder.java b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/StateMachineEngineHolder.java index 971a28102a1..49895d84508 100644 --- a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/StateMachineEngineHolder.java +++ b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/StateMachineEngineHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.rm; diff --git a/saga/seata-saga-statelang/pom.xml b/saga/seata-saga-statelang/pom.xml index 83d5a344ad3..add55efa175 100644 --- a/saga/seata-saga-statelang/pom.xml +++ b/saga/seata-saga-statelang/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ChoiceState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ChoiceState.java index 9a56cd3ac31..bd27a2d54d4 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ChoiceState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ChoiceState.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensateSubStateMachineState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensateSubStateMachineState.java index 4f9e5340614..a4d8925d9b5 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensateSubStateMachineState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensateSubStateMachineState.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensationTriggerState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensationTriggerState.java index 1759305fa37..fe15b53675d 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensationTriggerState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensationTriggerState.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/DomainConstants.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/DomainConstants.java index 333c5461473..04acdb8b833 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/DomainConstants.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/DomainConstants.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/EndState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/EndState.java index 4b50d3def81..af76aa2695f 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/EndState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/EndState.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ExecutionStatus.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ExecutionStatus.java index 35706fb032f..cea4a27b749 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ExecutionStatus.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ExecutionStatus.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/FailEndState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/FailEndState.java index 86ad28d7744..99725cd61db 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/FailEndState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/FailEndState.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/LoopStartState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/LoopStartState.java index f86d30c2e7b..ce5c4153a1a 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/LoopStartState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/LoopStartState.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/RecoverStrategy.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/RecoverStrategy.java index 1ab9b5640c7..7929b3fce66 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/RecoverStrategy.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/RecoverStrategy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ScriptTaskState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ScriptTaskState.java index 1891db34817..b95bdf61849 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ScriptTaskState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ScriptTaskState.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ServiceTaskState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ServiceTaskState.java index 1854c3d81c7..e8e65e215a9 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ServiceTaskState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ServiceTaskState.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/State.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/State.java index 3f806cc2ccd..981f6dd0e76 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/State.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/State.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateInstance.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateInstance.java index 02a91bf5b97..c5f46ef146b 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateInstance.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateInstance.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachine.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachine.java index 25874a95c2b..7a8c87ce595 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachine.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachine.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachineInstance.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachineInstance.java index 9cce82e5367..c1a69c79185 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachineInstance.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachineInstance.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SubStateMachine.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SubStateMachine.java index 4a8a3cda93b..282a445d9e0 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SubStateMachine.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SubStateMachine.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SucceedEndState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SucceedEndState.java index 9e8856ccbc8..1a11e11e6b4 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SucceedEndState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SucceedEndState.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/TaskState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/TaskState.java index 4bd40da1e63..30b14425cc6 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/TaskState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/TaskState.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/AbstractTaskState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/AbstractTaskState.java index e509cd9314e..51845f235d5 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/AbstractTaskState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/AbstractTaskState.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/BaseState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/BaseState.java index 06e984b20a4..a6e625a015b 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/BaseState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/BaseState.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ChoiceStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ChoiceStateImpl.java index d8769aa11cc..257dbb68f59 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ChoiceStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ChoiceStateImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensateSubStateMachineStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensateSubStateMachineStateImpl.java index 22a04b9db1c..40678c0348d 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensateSubStateMachineStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensateSubStateMachineStateImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensationTriggerStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensationTriggerStateImpl.java index 63cdb0cd72b..ff5ec61c746 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensationTriggerStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensationTriggerStateImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/FailEndStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/FailEndStateImpl.java index 53963a1c5e4..dc92255233b 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/FailEndStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/FailEndStateImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/LoopStartStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/LoopStartStateImpl.java index e765ed54800..34acb7ac629 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/LoopStartStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/LoopStartStateImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ScriptTaskStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ScriptTaskStateImpl.java index 99a395acbbd..a439eb80584 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ScriptTaskStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ScriptTaskStateImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ServiceTaskStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ServiceTaskStateImpl.java index b012487de46..4ec791a4fb1 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ServiceTaskStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ServiceTaskStateImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateInstanceImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateInstanceImpl.java index 8222619efc3..e10453fe029 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateInstanceImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateInstanceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineImpl.java index 159e81e3657..c4e2574fe86 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineInstanceImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineInstanceImpl.java index 3b9760fd2db..27fa0085ead 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineInstanceImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineInstanceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SubStateMachineImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SubStateMachineImpl.java index a61d1cbe336..2e2b4f31d3f 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SubStateMachineImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SubStateMachineImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SucceedEndStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SucceedEndStateImpl.java index c4533cd4289..5e4411d11c3 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SucceedEndStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SucceedEndStateImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.domain.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParser.java index fefd5ff8695..9112842d87e 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParserFactory.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParserFactory.java index e70475ea2af..fb0406e523a 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParserFactory.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParserFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParser.java index 2a573b0730e..59c17e8d3ea 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParserFactory.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParserFactory.java index 9cce7f34314..f3480f6391b 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParserFactory.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParserFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParser.java index 8bcf47785c4..8834063cedd 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParserFactory.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParserFactory.java index a43fc54cb4c..7060a358e35 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParserFactory.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParserFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/AbstractTaskStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/AbstractTaskStateParser.java index e6d36bc0698..d20ed01bd8d 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/AbstractTaskStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/AbstractTaskStateParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/BaseStatePaser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/BaseStatePaser.java index 648b3caf238..f92f021cab4 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/BaseStatePaser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/BaseStatePaser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ChoiceStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ChoiceStateParser.java index 1b73829c2fb..610d3ffb7ed 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ChoiceStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ChoiceStateParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensateSubStateMachineStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensateSubStateMachineStateParser.java index eae4af27989..de7c804b9cf 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensateSubStateMachineStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensateSubStateMachineStateParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensationTriggerStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensationTriggerStateParser.java index 1c43a27bfd8..0078899ef20 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensationTriggerStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensationTriggerStateParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FailEndStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FailEndStateParser.java index 94aa45a85b1..80acb8f76d4 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FailEndStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FailEndStateParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FastjsonParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FastjsonParser.java index 1341624ada9..fe96238b128 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FastjsonParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FastjsonParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/JacksonJsonParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/JacksonJsonParser.java index 800661e273d..7de8f24ca20 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/JacksonJsonParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/JacksonJsonParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ScriptTaskStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ScriptTaskStateParser.java index 12e13272065..d8351b7056c 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ScriptTaskStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ScriptTaskStateParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ServiceTaskStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ServiceTaskStateParser.java index dd527e320c4..4cb8e48968b 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ServiceTaskStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ServiceTaskStateParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/StateMachineParserImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/StateMachineParserImpl.java index 783dfe34ead..cf018edf53c 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/StateMachineParserImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/StateMachineParserImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SubStateMachineParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SubStateMachineParser.java index f2e7822ba8a..cfc0568a525 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SubStateMachineParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SubStateMachineParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SucceedEndStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SucceedEndStateParser.java index ddaac051cfc..2819562cff1 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SucceedEndStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SucceedEndStateParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.impl; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/DesignerJsonTransformer.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/DesignerJsonTransformer.java index e5cd356b53e..fd0d3920454 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/DesignerJsonTransformer.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/DesignerJsonTransformer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.utils; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/IOUtils.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/IOUtils.java index fda091f8c20..6ef456b9365 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/IOUtils.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/IOUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.utils; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/ResourceUtil.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/ResourceUtil.java index 55e0cd5ab06..b7268fe88c4 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/ResourceUtil.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/ResourceUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.utils; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/StateMachineUtils.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/StateMachineUtils.java index c7179841f0c..ebb4bf0d4fc 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/StateMachineUtils.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/StateMachineUtils.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.saga.statelang.parser.utils; import io.seata.common.util.StringUtils; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/Rule.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/Rule.java index e4c13977430..a5050b3214c 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/Rule.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/Rule.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.saga.statelang.validator; import io.seata.saga.statelang.domain.StateMachine; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/RuleFactory.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/RuleFactory.java index 74bf3548f06..cf47a5afaef 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/RuleFactory.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/RuleFactory.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.saga.statelang.validator; import io.seata.common.loader.EnhancedServiceLoader; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/StateMachineValidator.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/StateMachineValidator.java index 1403644dd0e..612b3c40181 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/StateMachineValidator.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/StateMachineValidator.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.saga.statelang.validator; import io.seata.saga.statelang.domain.StateMachine; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/ValidationException.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/ValidationException.java index ef654550b35..9c429751ead 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/ValidationException.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/ValidationException.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.saga.statelang.validator; import io.seata.common.util.StringUtils; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/AbstractRule.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/AbstractRule.java index 99105b8b867..496437d2750 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/AbstractRule.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/AbstractRule.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.saga.statelang.validator.impl; import io.seata.saga.statelang.validator.Rule; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/FiniteTerminationRule.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/FiniteTerminationRule.java index 61650acb816..f743641b35b 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/FiniteTerminationRule.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/FiniteTerminationRule.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.saga.statelang.validator.impl; import io.seata.saga.statelang.domain.State; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/NoRecursiveSubStateMachineRule.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/NoRecursiveSubStateMachineRule.java index 821dd5b41c2..5f0bec232f9 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/NoRecursiveSubStateMachineRule.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/NoRecursiveSubStateMachineRule.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.saga.statelang.validator.impl; import io.seata.saga.statelang.domain.DomainConstants; diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/StateNameExistsRule.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/StateNameExistsRule.java index 51a95447c97..6708b096e45 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/StateNameExistsRule.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/StateNameExistsRule.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.saga.statelang.validator.impl; import io.seata.saga.statelang.domain.State; diff --git a/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/StateParserTests.java b/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/StateParserTests.java index 4f1edb489d3..5aaeacc5e6b 100644 --- a/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/StateParserTests.java +++ b/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/StateParserTests.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser; diff --git a/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/utils/ResourceUtilTests.java b/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/utils/ResourceUtilTests.java index f1ec7b277c1..4cc8a72d0e6 100644 --- a/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/utils/ResourceUtilTests.java +++ b/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/utils/ResourceUtilTests.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.statelang.parser.utils; diff --git a/saga/seata-saga-statelang/src/test/resources/logback-test.xml b/saga/seata-saga-statelang/src/test/resources/logback-test.xml index 43d49129c49..e565af0f00e 100644 --- a/saga/seata-saga-statelang/src/test/resources/logback-test.xml +++ b/saga/seata-saga-statelang/src/test/resources/logback-test.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/saga/seata-saga-tm/pom.xml b/saga/seata-saga-tm/pom.xml index 4cd1b281b42..d20d0f2bce1 100644 --- a/saga/seata-saga-tm/pom.xml +++ b/saga/seata-saga-tm/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/DefaultSagaTransactionalTemplate.java b/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/DefaultSagaTransactionalTemplate.java index 7076c5fb95c..b00a80ad4c2 100644 --- a/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/DefaultSagaTransactionalTemplate.java +++ b/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/DefaultSagaTransactionalTemplate.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.tm; diff --git a/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/SagaTransactionalTemplate.java b/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/SagaTransactionalTemplate.java index 3e1ff2c1fc7..188b9fab828 100644 --- a/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/SagaTransactionalTemplate.java +++ b/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/SagaTransactionalTemplate.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.saga.tm; diff --git a/script/client/at/db/dm.sql b/script/client/at/db/dm.sql index 534e94e0a54..27316296bf8 100644 --- a/script/client/at/db/dm.sql +++ b/script/client/at/db/dm.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + CREATE TABLE IF NOT EXISTS "UNDO_LOG" ( "ID" BIGINT IDENTITY(1, 1) NOT NULL, diff --git a/script/client/at/db/mysql.sql b/script/client/at/db/mysql.sql index 45b03761c6e..3cd606c1419 100644 --- a/script/client/at/db/mysql.sql +++ b/script/client/at/db/mysql.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + -- for AT mode you must to init this sql for you business database. the seata server not need it. CREATE TABLE IF NOT EXISTS `undo_log` ( diff --git a/script/client/at/db/oracle.sql b/script/client/at/db/oracle.sql index 364dc68b74a..d9c94f37caa 100644 --- a/script/client/at/db/oracle.sql +++ b/script/client/at/db/oracle.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + -- for AT mode you must to init this sql for you business database. the seata server not need it. CREATE TABLE undo_log ( diff --git a/script/client/at/db/postgresql.sql b/script/client/at/db/postgresql.sql index bf562bcbdc3..106dff737fc 100644 --- a/script/client/at/db/postgresql.sql +++ b/script/client/at/db/postgresql.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + -- for AT mode you must to init this sql for you business database. the seata server not need it. CREATE TABLE IF NOT EXISTS public.undo_log ( diff --git a/script/client/at/db/sqlserver.sql b/script/client/at/db/sqlserver.sql index d3ee0980f0e..7088391afbb 100644 --- a/script/client/at/db/sqlserver.sql +++ b/script/client/at/db/sqlserver.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + -- for AT mode you must to init this sql for you business database. the seata server not need it. CREATE TABLE [undo_log] ( diff --git a/script/client/conf/file.conf b/script/client/conf/file.conf index 535c77bda14..8a076b33349 100644 --- a/script/client/conf/file.conf +++ b/script/client/conf/file.conf @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. transport { # tcp, unix-domain-socket diff --git a/script/client/conf/registry.conf b/script/client/conf/registry.conf index 29df10f2a2b..a7047aed35f 100644 --- a/script/client/conf/registry.conf +++ b/script/client/conf/registry.conf @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa、custom、raft diff --git a/script/client/saga/db/db2.sql b/script/client/saga/db/db2.sql index 3a8d48d0a65..1b2d913ebad 100644 --- a/script/client/saga/db/db2.sql +++ b/script/client/saga/db/db2.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + create table seata_state_machine_def ( id varchar(32) not null, diff --git a/script/client/saga/db/h2.sql b/script/client/saga/db/h2.sql index 8493c64277c..742f62d464f 100644 --- a/script/client/saga/db/h2.sql +++ b/script/client/saga/db/h2.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + create table if not exists seata_state_machine_def ( id varchar(32) not null comment 'id', diff --git a/script/client/saga/db/mysql.sql b/script/client/saga/db/mysql.sql index 6cc0e603c6b..4becc8a32e0 100644 --- a/script/client/saga/db/mysql.sql +++ b/script/client/saga/db/mysql.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + -- -------------------------------- The script used for sage -------------------------------- diff --git a/script/client/saga/db/oracle.sql b/script/client/saga/db/oracle.sql index 6e16506b44e..db29e40c5f7 100644 --- a/script/client/saga/db/oracle.sql +++ b/script/client/saga/db/oracle.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + CREATE TABLE seata_state_machine_def ( id VARCHAR(32) NOT NULL, diff --git a/script/client/saga/db/postgresql.sql b/script/client/saga/db/postgresql.sql index 3110c8713e1..5fd02da0ddc 100644 --- a/script/client/saga/db/postgresql.sql +++ b/script/client/saga/db/postgresql.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + -- -------------------------------- The script used for sage -------------------------------- CREATE TABLE IF NOT EXISTS public.seata_state_machine_def ( diff --git a/script/client/spring/application.properties b/script/client/spring/application.properties index be269b459bd..46b275d522a 100755 --- a/script/client/spring/application.properties +++ b/script/client/spring/application.properties @@ -1,17 +1,18 @@ # -# Copyright 1999-2019 Seata.io Group. +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # seata.enabled=true diff --git a/script/client/spring/application.yml b/script/client/spring/application.yml index 2d8e8379efe..bbfa3d00f91 100755 --- a/script/client/spring/application.yml +++ b/script/client/spring/application.yml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + seata: enabled: true application-id: applicationName diff --git a/script/client/tcc/db/mysql.sql b/script/client/tcc/db/mysql.sql index 66b421f9b1a..d5e77b23298 100644 --- a/script/client/tcc/db/mysql.sql +++ b/script/client/tcc/db/mysql.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + -- -------------------------------- The script use tcc fence -------------------------------- CREATE TABLE IF NOT EXISTS `tcc_fence_log` ( diff --git a/script/client/tcc/db/oracle.sql b/script/client/tcc/db/oracle.sql index d2e059531b1..f4b5b566348 100644 --- a/script/client/tcc/db/oracle.sql +++ b/script/client/tcc/db/oracle.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + CREATE TABLE tcc_fence_log ( xid VARCHAR2(128) NOT NULL, diff --git a/script/client/tcc/db/postgresql.sql b/script/client/tcc/db/postgresql.sql index cfc897d6f00..61e50eebdc5 100644 --- a/script/client/tcc/db/postgresql.sql +++ b/script/client/tcc/db/postgresql.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + -- -------------------------------- The script used for tcc fence -------------------------------- CREATE TABLE IF NOT EXISTS public.tcc_fence_log ( diff --git a/script/config-center/apollo/apollo-config-interactive.sh b/script/config-center/apollo/apollo-config-interactive.sh index a97dbd56256..28f81f421f0 100644 --- a/script/config-center/apollo/apollo-config-interactive.sh +++ b/script/config-center/apollo/apollo-config-interactive.sh @@ -1,17 +1,20 @@ #!/usr/bin/env bash -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at、 +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# # apollo open api, click on the link for details: diff --git a/script/config-center/apollo/apollo-config.sh b/script/config-center/apollo/apollo-config.sh index e02b2b5013b..a3c783c6b98 100755 --- a/script/config-center/apollo/apollo-config.sh +++ b/script/config-center/apollo/apollo-config.sh @@ -1,17 +1,20 @@ #!/usr/bin/env bash -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at、 +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# # apollo open api, click on the link for details: diff --git a/script/config-center/consul/consul-config-interactive.sh b/script/config-center/consul/consul-config-interactive.sh index aa306475ae8..22ac2472780 100644 --- a/script/config-center/consul/consul-config-interactive.sh +++ b/script/config-center/consul/consul-config-interactive.sh @@ -1,17 +1,21 @@ #!/usr/bin/env bash -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at、 +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# + echo -e "Please enter the host of consul.\n请输入consul的host [localhost]:" read -p ">>> " host echo -e "Please enter the port of consul.\n请输入consul的port [8500]:" diff --git a/script/config-center/consul/consul-config.sh b/script/config-center/consul/consul-config.sh index 3d967a58e42..0c5aa9cdab4 100755 --- a/script/config-center/consul/consul-config.sh +++ b/script/config-center/consul/consul-config.sh @@ -1,17 +1,20 @@ #!/usr/bin/env bash -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at、 +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# while getopts ":h:p:" opt do diff --git a/script/config-center/etcd3/etcd3-config-interactive.sh b/script/config-center/etcd3/etcd3-config-interactive.sh index eae3e013c09..275834200a5 100644 --- a/script/config-center/etcd3/etcd3-config-interactive.sh +++ b/script/config-center/etcd3/etcd3-config-interactive.sh @@ -1,17 +1,20 @@ #!/usr/bin/env bash -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at、 +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# # etcd REST API v3. # author:wangyuewen diff --git a/script/config-center/etcd3/etcd3-config.sh b/script/config-center/etcd3/etcd3-config.sh index cca712f4fe1..85d3bfb677c 100755 --- a/script/config-center/etcd3/etcd3-config.sh +++ b/script/config-center/etcd3/etcd3-config.sh @@ -1,17 +1,20 @@ #!/usr/bin/env bash -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at、 +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# # etcd REST API v3. diff --git a/script/config-center/nacos/nacos-config-interactive.sh b/script/config-center/nacos/nacos-config-interactive.sh index 03f8a7374fe..8ea84a28e37 100644 --- a/script/config-center/nacos/nacos-config-interactive.sh +++ b/script/config-center/nacos/nacos-config-interactive.sh @@ -1,17 +1,20 @@ #!/bin/sh -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at、 +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# # author:wangyuewen diff --git a/script/config-center/nacos/nacos-config.sh b/script/config-center/nacos/nacos-config.sh index e1704e0df30..3b49bb21472 100644 --- a/script/config-center/nacos/nacos-config.sh +++ b/script/config-center/nacos/nacos-config.sh @@ -1,17 +1,20 @@ #!/bin/sh -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at、 +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# while getopts ":h:p:g:t:u:w:" opt do diff --git a/script/config-center/zk/zk-config-interactive.sh b/script/config-center/zk/zk-config-interactive.sh index 75ba7b0ae00..4d4b7e5697b 100644 --- a/script/config-center/zk/zk-config-interactive.sh +++ b/script/config-center/zk/zk-config-interactive.sh @@ -1,17 +1,20 @@ #!/usr/bin/env bash -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at、 +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# # The purpose is to sync the local configuration(config.txt) to zk. diff --git a/script/config-center/zk/zk-config.sh b/script/config-center/zk/zk-config.sh index a1571e97a96..5b6c3c280e9 100755 --- a/script/config-center/zk/zk-config.sh +++ b/script/config-center/zk/zk-config.sh @@ -1,17 +1,20 @@ #!/usr/bin/env bash -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at、 +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# # The purpose is to sync the local configuration(config.txt) to zk. diff --git a/script/logstash/config/logstash-kafka.conf b/script/logstash/config/logstash-kafka.conf index 8423163b0d9..cf6364c1557 100644 --- a/script/logstash/config/logstash-kafka.conf +++ b/script/logstash/config/logstash-kafka.conf @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. # App(Logback KafkaAppender) -> Kafka -> Logstash -> Elasticsearch pipeline. diff --git a/script/logstash/config/logstash-logback.conf b/script/logstash/config/logstash-logback.conf index 340f150d432..eda526ed659 100644 --- a/script/logstash/config/logstash-logback.conf +++ b/script/logstash/config/logstash-logback.conf @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. # App(Logback LogstashTcpSocketAppender) -> Logstash -> Elasticsearch pipeline. diff --git a/script/server/db/dm.sql b/script/server/db/dm.sql index 34e00e565dc..fd9d067abd0 100644 --- a/script/server/db/dm.sql +++ b/script/server/db/dm.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + -- -------------------------------- The script used when storeMode is 'db' -------------------------------- -- the table to store GlobalSession data diff --git a/script/server/db/mysql.sql b/script/server/db/mysql.sql index bf4bbb35cd2..bc2e3926f81 100644 --- a/script/server/db/mysql.sql +++ b/script/server/db/mysql.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + -- -------------------------------- The script used when storeMode is 'db' -------------------------------- -- the table to store GlobalSession data CREATE TABLE IF NOT EXISTS `global_table` diff --git a/script/server/db/oracle.sql b/script/server/db/oracle.sql index 462d6b892ca..143a7f22f70 100644 --- a/script/server/db/oracle.sql +++ b/script/server/db/oracle.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + -- -------------------------------- The script used when storeMode is 'db' -------------------------------- -- the table to store GlobalSession data CREATE TABLE global_table diff --git a/script/server/db/postgresql.sql b/script/server/db/postgresql.sql index f716f0dc6e3..d6d513f8b6e 100644 --- a/script/server/db/postgresql.sql +++ b/script/server/db/postgresql.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + -- -------------------------------- The script used when storeMode is 'db' -------------------------------- -- the table to store GlobalSession data CREATE TABLE IF NOT EXISTS public.global_table diff --git a/script/server/db/sqlserver.sql b/script/server/db/sqlserver.sql index 1ba15550bf1..013ff1b04fa 100644 --- a/script/server/db/sqlserver.sql +++ b/script/server/db/sqlserver.sql @@ -1,3 +1,20 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + -- -------------------------------- The script used when storeMode is 'db' -------------------------------- -- the table to store GlobalSession data CREATE TABLE [global_table] diff --git a/script/server/docker-compose/docker-compose.yaml b/script/server/docker-compose/docker-compose.yaml index e1791293cc4..3091cc7a99e 100644 --- a/script/server/docker-compose/docker-compose.yaml +++ b/script/server/docker-compose/docker-compose.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + version: "3" services: seata-server: diff --git a/script/server/helm/seata-server/Chart.yaml b/script/server/helm/seata-server/Chart.yaml index f282fc461d9..3148da71919 100644 --- a/script/server/helm/seata-server/Chart.yaml +++ b/script/server/helm/seata-server/Chart.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + apiVersion: v1 appVersion: "1.0" description: Seata Server diff --git a/script/server/helm/seata-server/templates/deployment.yaml b/script/server/helm/seata-server/templates/deployment.yaml index 17f53d34442..eedafe3ef7f 100644 --- a/script/server/helm/seata-server/templates/deployment.yaml +++ b/script/server/helm/seata-server/templates/deployment.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/script/server/helm/seata-server/templates/service.yaml b/script/server/helm/seata-server/templates/service.yaml index ab9c121fc2a..1a8391147cb 100644 --- a/script/server/helm/seata-server/templates/service.yaml +++ b/script/server/helm/seata-server/templates/service.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + apiVersion: v1 kind: Service metadata: diff --git a/script/server/helm/seata-server/templates/tests/test-connection.yaml b/script/server/helm/seata-server/templates/tests/test-connection.yaml index 5fb79ccfd6b..c460506c460 100644 --- a/script/server/helm/seata-server/templates/tests/test-connection.yaml +++ b/script/server/helm/seata-server/templates/tests/test-connection.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + apiVersion: v1 kind: Pod metadata: diff --git a/script/server/helm/seata-server/values.yaml b/script/server/helm/seata-server/values.yaml index e9f9829064c..f0ad9119113 100644 --- a/script/server/helm/seata-server/values.yaml +++ b/script/server/helm/seata-server/values.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + replicaCount: 1 image: diff --git a/script/server/kubernetes/seata-server.yaml b/script/server/kubernetes/seata-server.yaml index a5548ed1e02..d0117d15db4 100644 --- a/script/server/kubernetes/seata-server.yaml +++ b/script/server/kubernetes/seata-server.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + apiVersion: v1 kind: Service metadata: diff --git a/seata-plugin/pom.xml b/seata-plugin/pom.xml index cfb9f5e6f5a..c582c3510d3 100644 --- a/seata-plugin/pom.xml +++ b/seata-plugin/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/seata-plugin/seata-jackson-parser-oracle/pom.xml b/seata-plugin/seata-jackson-parser-oracle/pom.xml index a86ecee82c5..372cb144da6 100644 --- a/seata-plugin/seata-jackson-parser-oracle/pom.xml +++ b/seata-plugin/seata-jackson-parser-oracle/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/seata-plugin/seata-jackson-parser-oracle/src/main/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializer.java b/seata-plugin/seata-jackson-parser-oracle/src/main/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializer.java index de65116d969..7f6ff847315 100644 --- a/seata-plugin/seata-jackson-parser-oracle/src/main/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializer.java +++ b/seata-plugin/seata-jackson-parser-oracle/src/main/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.plugin.jackson.parser.oracle; diff --git a/seata-plugin/seata-jackson-parser-oracle/src/test/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializerTest.java b/seata-plugin/seata-jackson-parser-oracle/src/test/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializerTest.java index 551b20f050d..657f8c3414d 100644 --- a/seata-plugin/seata-jackson-parser-oracle/src/test/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializerTest.java +++ b/seata-plugin/seata-jackson-parser-oracle/src/test/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.plugin.jackson.parser.oracle; diff --git a/seata-spring-autoconfigure/pom.xml b/seata-spring-autoconfigure/pom.xml index 51a85e66d37..49c2399146c 100644 --- a/seata-spring-autoconfigure/pom.xml +++ b/seata-spring-autoconfigure/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/pom.xml b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/pom.xml index 9699ee1984d..df848b8151b 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/pom.xml +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataClientEnvironmentPostProcessor.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataClientEnvironmentPostProcessor.java index 1730ebaa3de..6050fdbdae8 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataClientEnvironmentPostProcessor.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataClientEnvironmentPostProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataSpringFenceAutoConfiguration.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataSpringFenceAutoConfiguration.java index 5fa975d3483..7a9428433da 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataSpringFenceAutoConfiguration.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataSpringFenceAutoConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SagaAsyncThreadPoolProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SagaAsyncThreadPoolProperties.java index c625093f82f..966d532ce91 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SagaAsyncThreadPoolProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SagaAsyncThreadPoolProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SeataProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SeataProperties.java index a93dd819782..6429470ed5f 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SeataProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SeataProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SpringCloudAlibabaConfiguration.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SpringCloudAlibabaConfiguration.java index 9b03403badf..a1beb6c33d5 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SpringCloudAlibabaConfiguration.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SpringCloudAlibabaConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalanceProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalanceProperties.java index 51ffd2858fc..8d2e729c01c 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalanceProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalanceProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.client; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LockProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LockProperties.java index 534e1ced308..ef865df2b7a 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LockProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LockProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.client; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/RmProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/RmProperties.java index e8fa5e9d637..afd4ff6f33d 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/RmProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/RmProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.client; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/ServiceProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/ServiceProperties.java index 669fe9cfbaf..529622320b1 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/ServiceProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/ServiceProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.client; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/TmProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/TmProperties.java index aabe2002f67..cf08076d87e 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/TmProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/TmProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.client; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoCompressProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoCompressProperties.java index 1e490e95087..d3e7e8d4691 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoCompressProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoCompressProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.client; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoProperties.java index a44a6b5f7cf..b184bda1e18 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.client; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java index ceeb90f6d66..116e0137b3f 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalancePropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalancePropertiesTest.java index a427af72ae9..f673f32c97f 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalancePropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalancePropertiesTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.client; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/pom.xml b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/pom.xml index c69dbcea8bf..68f8b4a2082 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/pom.xml +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreAutoConfiguration.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreAutoConfiguration.java index 48a41efc978..534561c4a86 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreAutoConfiguration.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreAutoConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreEnvironmentPostProcessor.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreEnvironmentPostProcessor.java index cb9faed95d8..ec81405ffea 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreEnvironmentPostProcessor.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreEnvironmentPostProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/StarterConstants.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/StarterConstants.java index 759fe66e206..8c2ff64d768 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/StarterConstants.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/StarterConstants.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/LogProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/LogProperties.java index eaf43491647..db2b51b7c30 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/LogProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/LogProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ShutdownProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ShutdownProperties.java index 8dec76f747a..3c325db901d 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ShutdownProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ShutdownProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ThreadFactoryProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ThreadFactoryProperties.java index b398e1a6a78..d0a783ba151 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ThreadFactoryProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ThreadFactoryProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/TransportProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/TransportProperties.java index 83bf0495386..985e952c875 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/TransportProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/TransportProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigApolloProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigApolloProperties.java index 4b42e6ef6d5..e4d2a7ab493 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigApolloProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigApolloProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigConsulProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigConsulProperties.java index 876ac475932..440f2909d69 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigConsulProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigConsulProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigCustomProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigCustomProperties.java index 915cdcf8da0..888e918ca78 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigCustomProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigCustomProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigEtcd3Properties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigEtcd3Properties.java index 5caf700f271..deb06170073 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigEtcd3Properties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigEtcd3Properties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigFileProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigFileProperties.java index 0bc4177ad21..612704e3c6a 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigFileProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigFileProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigNacosProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigNacosProperties.java index 06c46252f54..7404cd32dcb 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigNacosProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigNacosProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigProperties.java index bf2e9e902ff..e11a565b416 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigZooKeeperProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigZooKeeperProperties.java index e4c1556b588..7ed43f5396c 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigZooKeeperProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigZooKeeperProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryConsulProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryConsulProperties.java index 35ef0949e4b..d25cf99e3d9 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryConsulProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryConsulProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.registry; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryCustomProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryCustomProperties.java index a9d9182b91a..eeb2c6e51ac 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryCustomProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryCustomProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.registry; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEtcd3Properties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEtcd3Properties.java index c014c0df8aa..8cf548ca856 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEtcd3Properties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEtcd3Properties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.registry; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEurekaProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEurekaProperties.java index 0a500abcca5..ae344f29fa4 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEurekaProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEurekaProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.registry; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryNacosProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryNacosProperties.java index 279b2e5e878..2f7a158b5d5 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryNacosProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryNacosProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.registry; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryProperties.java index 54a7b0c3f76..eb19e972395 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.registry; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRaftProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRaftProperties.java index 71c30ad32da..636cb28380c 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRaftProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRaftProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.registry; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRedisProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRedisProperties.java index 33f4ad78b4c..a8c258311fa 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRedisProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRedisProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.registry; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistrySofaProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistrySofaProperties.java index 11a07936ca6..3cb9fc958c5 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistrySofaProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistrySofaProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.registry; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryZooKeeperProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryZooKeeperProperties.java index 90c494a9f29..01a6a7d7321 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryZooKeeperProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryZooKeeperProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.registry; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringApplicationContextProvider.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringApplicationContextProvider.java index a3b36822d88..a361c0ecdec 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringApplicationContextProvider.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringApplicationContextProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.provider; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringBootConfigurationProvider.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringBootConfigurationProvider.java index 4268bca0133..1d2bcb93a0e 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringBootConfigurationProvider.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringBootConfigurationProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.provider; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/BasePropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/BasePropertiesTest.java index e450017a2bb..ec02316f03b 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/BasePropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/BasePropertiesTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/CorePropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/CorePropertiesTest.java index 1570bae18dd..b1a92512897 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/CorePropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/CorePropertiesTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ApolloPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ApolloPropertiesTest.java index cc8425ad3df..4e4860222dd 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ApolloPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ApolloPropertiesTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config.test; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConfigPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConfigPropertiesTest.java index 511d12f48b5..5c649497a03 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConfigPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConfigPropertiesTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config.test; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConsulPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConsulPropertiesTest.java index 8670ef57579..8efbed4cbec 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConsulPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConsulPropertiesTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config.test; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/CustomPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/CustomPropertiesTest.java index fd362508bf6..5b80d6f293a 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/CustomPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/CustomPropertiesTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config.test; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/Etcd3PropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/Etcd3PropertiesTest.java index 99c5cb6b2fd..f89fca0e89b 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/Etcd3PropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/Etcd3PropertiesTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config.test; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/FilePropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/FilePropertiesTest.java index 2e9bd5c0db5..df06b7232db 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/FilePropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/FilePropertiesTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config.test; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/NacosPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/NacosPropertiesTest.java index 6cbb2635221..09d0cb90774 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/NacosPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/NacosPropertiesTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config.test; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ZooKeeperPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ZooKeeperPropertiesTest.java index a86afbae9ca..a80cb5894c9 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ZooKeeperPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ZooKeeperPropertiesTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.config.test; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/resources/application-test.properties b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/resources/application-test.properties index 7cf2dfb7552..8467d6cc7b9 100755 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/resources/application-test.properties +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/resources/application-test.properties @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + seata.config.type=file seata.config.data-type=bbb seata.config.file.name=aaa diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/pom.xml b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/pom.xml index 46c7d5909c3..fc3e173ba9d 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/pom.xml +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/SeataServerEnvironmentPostProcessor.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/SeataServerEnvironmentPostProcessor.java index 66d5a0801d7..d47a4a2df28 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/SeataServerEnvironmentPostProcessor.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/SeataServerEnvironmentPostProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/MetricsProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/MetricsProperties.java index 1af92c0a63c..e3f7ac62c26 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/MetricsProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/MetricsProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.server; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerProperties.java index 7b8da906ebe..7145dbc9c9e 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.server; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRaftProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRaftProperties.java index e1d01da1b4c..f6bf1db82f1 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRaftProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRaftProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.server; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRecoveryProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRecoveryProperties.java index 9935f1402e0..7d1b99d07b5 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRecoveryProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRecoveryProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.server; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerUndoProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerUndoProperties.java index 895b60d9216..72e30553d46 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerUndoProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerUndoProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.server; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/session/SessionProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/session/SessionProperties.java index 366236c4b6c..adbee17148e 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/session/SessionProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/session/SessionProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.server.session; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreDBProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreDBProperties.java index 68771a0764a..c5f8110d118 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreDBProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreDBProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.server.store; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreFileProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreFileProperties.java index d1b25a7c12f..385405104c6 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreFileProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreFileProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.server.store; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreProperties.java index 19000a1268b..2ff26b02d5f 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.server.store; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreRedisProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreRedisProperties.java index 13090e8c178..2398cc7e911 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreRedisProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreRedisProperties.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure.properties.server.store; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/test/java/io/seata/spring/boot/autoconfigure/ServerPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/test/java/io/seata/spring/boot/autoconfigure/ServerPropertiesTest.java index ef397182293..1da23a5fe74 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/test/java/io/seata/spring/boot/autoconfigure/ServerPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/test/java/io/seata/spring/boot/autoconfigure/ServerPropertiesTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-boot-starter/pom.xml b/seata-spring-boot-starter/pom.xml index ec144db0d90..493ff486b98 100644 --- a/seata-spring-boot-starter/pom.xml +++ b/seata-spring-boot-starter/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataAutoConfiguration.java b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataAutoConfiguration.java index 21d058a7bde..6c272805e53 100644 --- a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataAutoConfiguration.java +++ b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataAutoConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataDataSourceAutoConfiguration.java b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataDataSourceAutoConfiguration.java index a0dd9b9eb51..54b5ed56774 100644 --- a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataDataSourceAutoConfiguration.java +++ b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataDataSourceAutoConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataHttpAutoConfiguration.java b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataHttpAutoConfiguration.java index bd5b541b2bb..89a30f0cc08 100644 --- a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataHttpAutoConfiguration.java +++ b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataHttpAutoConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataSagaAutoConfiguration.java b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataSagaAutoConfiguration.java index 4a2788266d7..acc3c3e08f9 100644 --- a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataSagaAutoConfiguration.java +++ b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataSagaAutoConfiguration.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/PropertyBeanPostProcessorTest.java b/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/PropertyBeanPostProcessorTest.java index 194c85eb503..7a9b5a11b34 100644 --- a/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/PropertyBeanPostProcessorTest.java +++ b/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/PropertyBeanPostProcessorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/RedisAutoInjectionTypeConvertTest.java b/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/RedisAutoInjectionTypeConvertTest.java index 61f8baef129..61332538b9e 100644 --- a/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/RedisAutoInjectionTypeConvertTest.java +++ b/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/RedisAutoInjectionTypeConvertTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.boot.autoconfigure; diff --git a/serializer/pom.xml b/serializer/pom.xml index f1d0b349d64..d2638d9539d 100644 --- a/serializer/pom.xml +++ b/serializer/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/serializer/seata-serializer-all/pom.xml b/serializer/seata-serializer-all/pom.xml index 4ddc9fa33e2..e357fea7c04 100644 --- a/serializer/seata-serializer-all/pom.xml +++ b/serializer/seata-serializer-all/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/serializer/seata-serializer-hessian/pom.xml b/serializer/seata-serializer-hessian/pom.xml index 860555341d2..96248239367 100644 --- a/serializer/seata-serializer-hessian/pom.xml +++ b/serializer/seata-serializer-hessian/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/serializer/seata-serializer-hessian/src/main/java/io/seata/serializer/hessian/HessianSerializer.java b/serializer/seata-serializer-hessian/src/main/java/io/seata/serializer/hessian/HessianSerializer.java index d2eb064b795..dd9ee161c23 100644 --- a/serializer/seata-serializer-hessian/src/main/java/io/seata/serializer/hessian/HessianSerializer.java +++ b/serializer/seata-serializer-hessian/src/main/java/io/seata/serializer/hessian/HessianSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.hessian; diff --git a/serializer/seata-serializer-hessian/src/main/java/io/seata/serializer/hessian/HessianSerializerFactory.java b/serializer/seata-serializer-hessian/src/main/java/io/seata/serializer/hessian/HessianSerializerFactory.java index 1399155c87e..d9d7f068197 100644 --- a/serializer/seata-serializer-hessian/src/main/java/io/seata/serializer/hessian/HessianSerializerFactory.java +++ b/serializer/seata-serializer-hessian/src/main/java/io/seata/serializer/hessian/HessianSerializerFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.hessian; diff --git a/serializer/seata-serializer-hessian/src/test/java/io/seata/serializer/hessian/HessianSerializerTest.java b/serializer/seata-serializer-hessian/src/test/java/io/seata/serializer/hessian/HessianSerializerTest.java index c5a34f50777..5fad0846e7f 100644 --- a/serializer/seata-serializer-hessian/src/test/java/io/seata/serializer/hessian/HessianSerializerTest.java +++ b/serializer/seata-serializer-hessian/src/test/java/io/seata/serializer/hessian/HessianSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.hessian; diff --git a/serializer/seata-serializer-kryo/pom.xml b/serializer/seata-serializer-kryo/pom.xml index 395b0090e7b..906678f244b 100644 --- a/serializer/seata-serializer-kryo/pom.xml +++ b/serializer/seata-serializer-kryo/pom.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoInnerSerializer.java b/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoInnerSerializer.java index 032cbf2f4d8..99ca268e8c5 100644 --- a/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoInnerSerializer.java +++ b/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoInnerSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.kryo; diff --git a/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializer.java b/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializer.java index 6cc58ec68a9..9562d7c239c 100644 --- a/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializer.java +++ b/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.kryo; diff --git a/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializerFactory.java b/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializerFactory.java index e35af2687f0..3e4daaa536b 100644 --- a/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializerFactory.java +++ b/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializerFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.kryo; diff --git a/serializer/seata-serializer-kryo/src/test/java/io/seata/serializer/kryo/KryoSerializerTest.java b/serializer/seata-serializer-kryo/src/test/java/io/seata/serializer/kryo/KryoSerializerTest.java index 74eb4eac343..6ef8c2eaed3 100644 --- a/serializer/seata-serializer-kryo/src/test/java/io/seata/serializer/kryo/KryoSerializerTest.java +++ b/serializer/seata-serializer-kryo/src/test/java/io/seata/serializer/kryo/KryoSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.kryo; diff --git a/serializer/seata-serializer-protobuf/pom.xml b/serializer/seata-serializer-protobuf/pom.xml index b763beda9ad..add2ac73c52 100644 --- a/serializer/seata-serializer-protobuf/pom.xml +++ b/serializer/seata-serializer-protobuf/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufHelper.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufHelper.java index 4e924929db4..ac882405b5a 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufHelper.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufHelper.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufInnerSerializer.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufInnerSerializer.java index be550dfd622..04e73b21c72 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufInnerSerializer.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufInnerSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufSerializer.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufSerializer.java index a81ce621c92..106cf1037b0 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufSerializer.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertor.java index 4cef1145ddd..e63fa42d6ed 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertor.java index 9f5f70c0e25..6e89bb258e9 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertor.java index 854f2f249f3..6d78f37eaff 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertor.java index 3348e706cfb..7b94fa3ba2d 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertor.java index a241f10abf8..d6ce2b3c098 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertor.java index d199f05b141..a2a79e25c04 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertor.java index 47a0db2c017..87780ef4c62 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertor.java index 04eaeb95e2e..c0cd8815cdb 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertor.java index 852773bba3a..2c4833caa63 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertor.java index d5245c21847..682fef375d3 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertor.java index 8167b879163..eb6c78391dd 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertor.java index f918fda69e7..7a574e1cf7a 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertor.java index 43c7e13a800..449babb1cf7 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertor.java index 0cfd25dcfe1..92144725e5d 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertor.java index b85bbb110c0..3b0ba25c713 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportRequestConvertor.java index 8fc59d06d87..9bc748a1587 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportRequestConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportResponseConvertor.java index 1945ac2fe9c..c38ad04b263 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportResponseConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertor.java index 3661a771cdf..0c90577e9fc 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertor.java index cba23b0ec21..4ddadf62612 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertor.java index afa6fef305e..642a7cd2859 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertor.java index 1b90ea1ff11..c4be30cf895 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertor.java index be77772fac5..4a361451527 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertor.java index 2bfebbcdf47..07cd92a8b07 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergedWarpMessageConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergedWarpMessageConvertor.java index 955d3eae707..37239d34e81 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergedWarpMessageConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergedWarpMessageConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/PbConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/PbConvertor.java index c4e8ba4e05b..22ea8c85bf1 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/PbConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/PbConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertor.java index 95cecd56dae..581a59ef1f3 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertor.java index 51951c56a11..969037ca2c1 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertor.java index d42b1f91e8c..32f0b6aa15e 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertor.java index 965a9bc7861..64726fe900b 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertor.java index 3f9564ddcc6..666acd44081 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/manager/ProtobufConvertManager.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/manager/ProtobufConvertManager.java index 66df718af4e..03a5f54dacb 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/manager/ProtobufConvertManager.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/manager/ProtobufConvertManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.manager; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertorTest.java index 96fc1fb1a1f..d7c9334290e 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertorTest.java index 2fed9004326..371ad66ef11 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertorTest.java index ff2f8d5bc5e..dda0ace2d5c 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertorTest.java index 7de3193976d..047ac8cd9a7 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertorTest.java index c37864e17ad..6a06275a858 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertorTest.java index 5a9aea39d69..a114aaa7a2b 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertorTest.java index a96e9a386a9..afb1726d463 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertorTest.java index 398d63f41a3..0148cebcdad 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertorTest.java index 675c40fd81b..b1501dbb8fe 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertorTest.java index c9efae94c57..ec73db05c2a 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertorTest.java index c0138611806..c207aac2aa7 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertorTest.java index 757d868b84d..dbd25191835 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertorTest.java index 1e55df8b9ee..d2a8266d84c 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertorTest.java index 1544dc45998..1a9aabfe332 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertorTest.java index 25a418ef193..cf0bec7d1ef 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertorTest.java index bda70bc18b7..e769d71bbf1 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertorTest.java index d3486682f88..c8a5ad426ad 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertorTest.java index 356d42da145..b0500032820 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertorTest.java index 50148e51145..08eae55de6f 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertorTest.java index 578a6272723..90572e18c0c 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeMessageConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeMessageConvertorTest.java index d3ee35f37c0..748705ca8cc 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeMessageConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeMessageConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertorTest.java index 606d288127b..18215b80989 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertorTest.java index fafca975648..8f1dc143d9c 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertorTest.java index 63967d4b108..8900561ef18 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertorTest.java index 2d61be4f644..049a1b59cde 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertorTest.java index 7fa27b67fcc..f142b4f382f 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertorTest.java index 0fc82d61398..75a53c8e1f0 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.protobuf.convertor; diff --git a/serializer/seata-serializer-seata/pom.xml b/serializer/seata-serializer-seata/pom.xml index 9073a3f4bf9..d169aa37e2d 100644 --- a/serializer/seata-serializer-seata/pom.xml +++ b/serializer/seata-serializer-seata/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/MessageCodecFactory.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/MessageCodecFactory.java index e40253fd322..65fe0960809 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/MessageCodecFactory.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/MessageCodecFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/MessageSeataCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/MessageSeataCodec.java index e2e03a04bd2..ed3b5a1ce72 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/MessageSeataCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/MessageSeataCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/SeataSerializer.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/SeataSerializer.java index b3d81d6c163..eb6b8930383 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/SeataSerializer.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/SeataSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractIdentifyRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractIdentifyRequestCodec.java index 0ec122e075c..4c574e7c0d5 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractIdentifyRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractIdentifyRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractIdentifyResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractIdentifyResponseCodec.java index 29e1fb7cfbb..55989568eff 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractIdentifyResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractIdentifyResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractMessageCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractMessageCodec.java index efdb2dcad80..ffc3ece7f96 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractMessageCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractMessageCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractResultMessageCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractResultMessageCodec.java index dbd1bc9a320..a06d08a9d0e 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractResultMessageCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractResultMessageCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/BatchResultMessageCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/BatchResultMessageCodec.java index f2f211d7439..b3457bb6763 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/BatchResultMessageCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/BatchResultMessageCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergeResultMessageCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergeResultMessageCodec.java index 9290d5da986..fb608976263 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergeResultMessageCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergeResultMessageCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergedWarpMessageCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergedWarpMessageCodec.java index d8e97d88e11..9119c6836c0 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergedWarpMessageCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergedWarpMessageCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMRequestCodec.java index ea098161094..b00fd925b78 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMResponseCodec.java index 6f34f10e6a7..b3d0d599f05 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMRequestCodec.java index b3c8796b9fc..b129f12ce4e 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMResponseCodec.java index 118c42f7648..0d696b1e8b5 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndRequestCodec.java index 9cb19b2e4ea..c1e7aa6a104 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndResponseCodec.java index 7f23a015c9a..e919153c95d 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndRequestCodec.java index 4c1457c3dd6..7e47278f4fd 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndResponseCodec.java index 3f79c29905f..c8527612c7d 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestCodec.java index c79f77d868a..313c3ca2998 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToRMCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToRMCodec.java index 87bf909c7ef..93f8f9c5d3f 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToRMCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToRMCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToTCCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToTCCodec.java index ef5a12bdb69..54016d7d4c6 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToTCCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToTCCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionResponseCodec.java index e1fda9343ec..0fc913dcc9b 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestCodec.java index 8e10f199a35..9a9cc7e468e 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseCodec.java index b65c6957b56..2c5527f2f19 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestCodec.java index 0741a45a7aa..734ddaecd39 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseCodec.java index cade2a78a50..1dad52a6ffb 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestCodec.java index 0b34a38ce2c..ae7f40f72b4 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseCodec.java index 4fbaa6c4f4a..4ab28605606 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestCodec.java index 801b1da6f0d..8ca8c6a0c25 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseCodec.java index 31b0b86c5d9..91efc388f1c 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestCodec.java index 3f84a3967f8..daf43ef8224 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseCodec.java index ce2fdeeec78..6521f9194b0 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodec.java index 38fb5305dd6..a369400dd48 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseCodec.java index 783f1f4bf49..6fb183f6345 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestCodec.java index 0f5ff42e221..6f4282d37b4 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseCodec.java index 83d8b31847d..fb82ba7b4c9 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportRequestCodec.java index ce972a8d758..a1a00b2dd34 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportResponseCodec.java index 8e0e8979b99..c00397d647e 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodec.java index f867bfa88cf..e6ce652b13c 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseCodec.java index d8d07b3ec52..aa267fbaaca 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodec.java index 905e5c23923..7bc4b1e59ce 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseCodec.java index d4320693e26..7c6ef0e4149 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestCodec.java index 7da2df6d58d..05a942a5077 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestCodec.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/BatchResultMessageSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/BatchResultMessageSerializerTest.java index c102342f71a..9b19c1c16c7 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/BatchResultMessageSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/BatchResultMessageSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergeResultMessageSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergeResultMessageSerializerTest.java index 5e9fff4a211..d7e9eb26b78 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergeResultMessageSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergeResultMessageSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergedWarpMessageSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergedWarpMessageSerializerTest.java index 3e0fc3b7994..d83ee1d3901 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergedWarpMessageSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergedWarpMessageSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMRequestSerializerTest.java index c2c27b06228..c06f91a1111 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMRequestSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMResponseSerializerTest.java index 8b58f9f44e9..74ba5fb9821 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMResponseSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMRequestSerializerTest.java index 99ed2a61374..52e30efc34e 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMRequestSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMResponseSerializerTest.java index a2a968e296c..867bfd5cd33 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMResponseSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestSerializerTest.java index 8cadec8fb41..1d5138be447 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseSerializerTest.java index 7ed87e201b3..512b2fc5c41 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestSerializerTest.java index 81e844f4d8b..dc917161d25 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseSerializerTest.java index 23a277daa9c..4b499035c41 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestSerializerTest.java index fb8fcd00c82..ee4e774c630 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseSerializerTest.java index 41140639c5a..0bf352c0ded 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestSerializerTest.java index 41ad6db2cdf..1b4a058826b 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseSerializerTest.java index 8276be9dad6..2d89af84fc4 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestSerializerTest.java index 4167ed2a929..6d63471713e 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseSerializerTest.java index cc2ec27675c..3eac6f2455b 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodecTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodecTest.java index 885568ff46b..918cd04bbfa 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodecTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodecTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseSerializerTest.java index 310a5cfc52f..931d1d0c169 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestSerializerTest.java index 2a1ac53e925..a6c9ee001fc 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseSerializerTest.java index 706197808b5..70e98a248c8 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodecTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodecTest.java index 06a54065855..fce2a44aea9 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodecTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodecTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseSerializerTest.java index cd8849e6f41..5336a3aac47 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodecTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodecTest.java index 37f52de98e3..f55f3a50505 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodecTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodecTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseSerializerTest.java index cc2cba4f460..a5a038be855 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestSerializerTest.java index 742efe229cc..3c0e9905a48 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.serializer.seata.protocol.transaction; diff --git a/serializer/seata-serializer-seata/src/test/resources/file.conf b/serializer/seata-serializer-seata/src/test/resources/file.conf index 9fa60fe0af5..46c3e0401cc 100644 --- a/serializer/seata-serializer-seata/src/test/resources/file.conf +++ b/serializer/seata-serializer-seata/src/test/resources/file.conf @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. service { #transaction service group mapping diff --git a/serializer/seata-serializer-seata/src/test/resources/registry.conf b/serializer/seata-serializer-seata/src/test/resources/registry.conf index c5d674ec60b..d8367d98115 100644 --- a/serializer/seata-serializer-seata/src/test/resources/registry.conf +++ b/serializer/seata-serializer-seata/src/test/resources/registry.conf @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa diff --git a/server/pom.xml b/server/pom.xml index de2f9961221..cc8c2e870b7 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/server/src/main/java/io/seata/server/AbstractTCInboundHandler.java b/server/src/main/java/io/seata/server/AbstractTCInboundHandler.java index 856a5b125ba..7fc391928eb 100644 --- a/server/src/main/java/io/seata/server/AbstractTCInboundHandler.java +++ b/server/src/main/java/io/seata/server/AbstractTCInboundHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server; diff --git a/server/src/main/java/io/seata/server/ParameterParser.java b/server/src/main/java/io/seata/server/ParameterParser.java index 55690fcaf31..5f72ad6e384 100644 --- a/server/src/main/java/io/seata/server/ParameterParser.java +++ b/server/src/main/java/io/seata/server/ParameterParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server; diff --git a/server/src/main/java/io/seata/server/Server.java b/server/src/main/java/io/seata/server/Server.java index 650c57a6442..8ab8959f1f6 100644 --- a/server/src/main/java/io/seata/server/Server.java +++ b/server/src/main/java/io/seata/server/Server.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server; diff --git a/server/src/main/java/io/seata/server/ServerApplication.java b/server/src/main/java/io/seata/server/ServerApplication.java index e168ad65c06..1ece114e617 100644 --- a/server/src/main/java/io/seata/server/ServerApplication.java +++ b/server/src/main/java/io/seata/server/ServerApplication.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server; diff --git a/server/src/main/java/io/seata/server/ServerRunner.java b/server/src/main/java/io/seata/server/ServerRunner.java index 941d8cee788..69801cbaf1d 100644 --- a/server/src/main/java/io/seata/server/ServerRunner.java +++ b/server/src/main/java/io/seata/server/ServerRunner.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server; diff --git a/server/src/main/java/io/seata/server/UUIDGenerator.java b/server/src/main/java/io/seata/server/UUIDGenerator.java index 11aa492e934..08da15e57f6 100644 --- a/server/src/main/java/io/seata/server/UUIDGenerator.java +++ b/server/src/main/java/io/seata/server/UUIDGenerator.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server; diff --git a/server/src/main/java/io/seata/server/auth/AbstractCheckAuthHandler.java b/server/src/main/java/io/seata/server/auth/AbstractCheckAuthHandler.java index ecfbfc12dab..4f02b847d57 100644 --- a/server/src/main/java/io/seata/server/auth/AbstractCheckAuthHandler.java +++ b/server/src/main/java/io/seata/server/auth/AbstractCheckAuthHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.auth; diff --git a/server/src/main/java/io/seata/server/auth/DefaultCheckAuthHandler.java b/server/src/main/java/io/seata/server/auth/DefaultCheckAuthHandler.java index ed3e9343c2c..1aa67dd2509 100644 --- a/server/src/main/java/io/seata/server/auth/DefaultCheckAuthHandler.java +++ b/server/src/main/java/io/seata/server/auth/DefaultCheckAuthHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.auth; diff --git a/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeEvent.java b/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeEvent.java index ab49f465e4a..8c58a40d309 100644 --- a/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeEvent.java +++ b/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeEvent.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.listener; diff --git a/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeListener.java b/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeListener.java index bc6a432ebee..84b497672cf 100644 --- a/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeListener.java +++ b/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.listener; diff --git a/server/src/main/java/io/seata/server/cluster/manager/ClusterWatcherManager.java b/server/src/main/java/io/seata/server/cluster/manager/ClusterWatcherManager.java index 86d7fe3be8a..eb6c3e566a9 100644 --- a/server/src/main/java/io/seata/server/cluster/manager/ClusterWatcherManager.java +++ b/server/src/main/java/io/seata/server/cluster/manager/ClusterWatcherManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.manager; diff --git a/server/src/main/java/io/seata/server/cluster/raft/RaftServer.java b/server/src/main/java/io/seata/server/cluster/raft/RaftServer.java index 8ae7ee10a35..19cc3ae4638 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/RaftServer.java +++ b/server/src/main/java/io/seata/server/cluster/raft/RaftServer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft; diff --git a/server/src/main/java/io/seata/server/cluster/raft/RaftServerManager.java b/server/src/main/java/io/seata/server/cluster/raft/RaftServerManager.java index 03476684b40..dbe74cf8d49 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/RaftServerManager.java +++ b/server/src/main/java/io/seata/server/cluster/raft/RaftServerManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft; diff --git a/server/src/main/java/io/seata/server/cluster/raft/RaftStateMachine.java b/server/src/main/java/io/seata/server/cluster/raft/RaftStateMachine.java index b292e0e8c8f..e1a23288c3b 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/RaftStateMachine.java +++ b/server/src/main/java/io/seata/server/cluster/raft/RaftStateMachine.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft; diff --git a/server/src/main/java/io/seata/server/cluster/raft/context/SeataClusterContext.java b/server/src/main/java/io/seata/server/cluster/raft/context/SeataClusterContext.java index d6f7f585623..984bb8487d7 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/context/SeataClusterContext.java +++ b/server/src/main/java/io/seata/server/cluster/raft/context/SeataClusterContext.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.context; diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/AbstractRaftMsgExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/AbstractRaftMsgExecute.java index ad24b314f1a..0c50c87e7e9 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/AbstractRaftMsgExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/AbstractRaftMsgExecute.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.execute; diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/RaftMsgExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/RaftMsgExecute.java index 78eacdb56d3..5aee39064c2 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/RaftMsgExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/RaftMsgExecute.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.execute; diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/branch/AddBranchSessionExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/branch/AddBranchSessionExecute.java index 5cca618a283..fd42019e0ff 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/branch/AddBranchSessionExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/branch/AddBranchSessionExecute.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.execute.branch; diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/branch/RemoveBranchSessionExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/branch/RemoveBranchSessionExecute.java index 6dece9960e6..512a8da7e3c 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/branch/RemoveBranchSessionExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/branch/RemoveBranchSessionExecute.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.execute.branch; diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/branch/UpdateBranchSessionExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/branch/UpdateBranchSessionExecute.java index 3608dd2681d..39c5e7e105c 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/branch/UpdateBranchSessionExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/branch/UpdateBranchSessionExecute.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.execute.branch; diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/global/AddGlobalSessionExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/global/AddGlobalSessionExecute.java index 7b8d50dd6a6..f0e96dc2142 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/global/AddGlobalSessionExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/global/AddGlobalSessionExecute.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.execute.global; diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/global/RemoveGlobalSessionExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/global/RemoveGlobalSessionExecute.java index 46b2640381a..f8ba8fb7f9b 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/global/RemoveGlobalSessionExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/global/RemoveGlobalSessionExecute.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.execute.global; diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/global/UpdateGlobalSessionExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/global/UpdateGlobalSessionExecute.java index dce38897013..a0896645816 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/global/UpdateGlobalSessionExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/global/UpdateGlobalSessionExecute.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.execute.global; diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/lock/BranchReleaseLockExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/lock/BranchReleaseLockExecute.java index e52a9aaaf3b..c2528958468 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/lock/BranchReleaseLockExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/lock/BranchReleaseLockExecute.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.execute.lock; diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/lock/GlobalReleaseLockExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/lock/GlobalReleaseLockExecute.java index 061ab461a76..20d73c0ad62 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/lock/GlobalReleaseLockExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/lock/GlobalReleaseLockExecute.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.execute.lock; diff --git a/server/src/main/java/io/seata/server/cluster/raft/serializer/JacksonSerializer.java b/server/src/main/java/io/seata/server/cluster/raft/serializer/JacksonSerializer.java index ffdc82dbf13..7cfd4a0cce4 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/serializer/JacksonSerializer.java +++ b/server/src/main/java/io/seata/server/cluster/raft/serializer/JacksonSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.serializer; diff --git a/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshot.java b/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshot.java index 483805f87f1..10cc8586b06 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshot.java +++ b/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshot.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.snapshot; diff --git a/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshotSerializer.java b/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshotSerializer.java index 90b5f570326..5b84c97b8ea 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshotSerializer.java +++ b/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshotSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.snapshot; diff --git a/server/src/main/java/io/seata/server/cluster/raft/snapshot/StoreSnapshotFile.java b/server/src/main/java/io/seata/server/cluster/raft/snapshot/StoreSnapshotFile.java index a2d82eb9a57..8defb0a106a 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/snapshot/StoreSnapshotFile.java +++ b/server/src/main/java/io/seata/server/cluster/raft/snapshot/StoreSnapshotFile.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.snapshot; diff --git a/server/src/main/java/io/seata/server/cluster/raft/snapshot/metadata/LeaderMetadataSnapshotFile.java b/server/src/main/java/io/seata/server/cluster/raft/snapshot/metadata/LeaderMetadataSnapshotFile.java index f5a2d7a14ec..a7a14b8c32c 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/snapshot/metadata/LeaderMetadataSnapshotFile.java +++ b/server/src/main/java/io/seata/server/cluster/raft/snapshot/metadata/LeaderMetadataSnapshotFile.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.snapshot.metadata; diff --git a/server/src/main/java/io/seata/server/cluster/raft/snapshot/session/RaftSessionSnapshot.java b/server/src/main/java/io/seata/server/cluster/raft/snapshot/session/RaftSessionSnapshot.java index 5d975ea4538..72383f892ef 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/snapshot/session/RaftSessionSnapshot.java +++ b/server/src/main/java/io/seata/server/cluster/raft/snapshot/session/RaftSessionSnapshot.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.snapshot.session; diff --git a/server/src/main/java/io/seata/server/cluster/raft/snapshot/session/SessionSnapshotFile.java b/server/src/main/java/io/seata/server/cluster/raft/snapshot/session/SessionSnapshotFile.java index 12504a8eabf..5f1f5623ba3 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/snapshot/session/SessionSnapshotFile.java +++ b/server/src/main/java/io/seata/server/cluster/raft/snapshot/session/SessionSnapshotFile.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.snapshot.session; diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/RaftSyncMessageSerializer.java b/server/src/main/java/io/seata/server/cluster/raft/sync/RaftSyncMessageSerializer.java index 87ac596cf9d..e4e455b41d9 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/RaftSyncMessageSerializer.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/RaftSyncMessageSerializer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.sync; diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBaseMsg.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBaseMsg.java index 9cc6c2491bd..93708748dec 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBaseMsg.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBaseMsg.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.sync.msg; diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBranchSessionSyncMsg.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBranchSessionSyncMsg.java index f81d6310492..8450a5c56b5 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBranchSessionSyncMsg.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBranchSessionSyncMsg.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.sync.msg; diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftClusterMetadataMsg.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftClusterMetadataMsg.java index 349c7e756af..f893844c9d1 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftClusterMetadataMsg.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftClusterMetadataMsg.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.sync.msg; diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftGlobalSessionSyncMsg.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftGlobalSessionSyncMsg.java index 4a30eaa5c0c..176ca182505 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftGlobalSessionSyncMsg.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftGlobalSessionSyncMsg.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.sync.msg; diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMessage.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMessage.java index 3683d390874..33e549676cd 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMessage.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMessage.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.sync.msg; diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMsgType.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMsgType.java index 4be80e69b5e..2b3a00d537b 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMsgType.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMsgType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.sync.msg; diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/BranchTransactionDTO.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/BranchTransactionDTO.java index b465a4c0824..b7e4e3f6abe 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/BranchTransactionDTO.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/BranchTransactionDTO.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.sync.msg.dto; diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/GlobalTransactionDTO.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/GlobalTransactionDTO.java index 4d1a0e3a470..b5e0e6d2ce7 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/GlobalTransactionDTO.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/GlobalTransactionDTO.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.sync.msg.dto; diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/RaftClusterMetadata.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/RaftClusterMetadata.java index 94fd74628f4..01c026dbc34 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/RaftClusterMetadata.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/RaftClusterMetadata.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.sync.msg.dto; diff --git a/server/src/main/java/io/seata/server/cluster/raft/util/RaftTaskUtil.java b/server/src/main/java/io/seata/server/cluster/raft/util/RaftTaskUtil.java index d4f630f4365..f8b83aecdff 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/util/RaftTaskUtil.java +++ b/server/src/main/java/io/seata/server/cluster/raft/util/RaftTaskUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.raft.util; diff --git a/server/src/main/java/io/seata/server/cluster/watch/Watcher.java b/server/src/main/java/io/seata/server/cluster/watch/Watcher.java index dc7a2023c3a..196f106309d 100644 --- a/server/src/main/java/io/seata/server/cluster/watch/Watcher.java +++ b/server/src/main/java/io/seata/server/cluster/watch/Watcher.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.cluster.watch; diff --git a/server/src/main/java/io/seata/server/console/controller/BranchSessionController.java b/server/src/main/java/io/seata/server/console/controller/BranchSessionController.java index 62ffac67c06..2b9dcedf09e 100644 --- a/server/src/main/java/io/seata/server/console/controller/BranchSessionController.java +++ b/server/src/main/java/io/seata/server/console/controller/BranchSessionController.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.controller; diff --git a/server/src/main/java/io/seata/server/console/controller/GlobalLockController.java b/server/src/main/java/io/seata/server/console/controller/GlobalLockController.java index ac20ebf14ba..5ef8fec9bd9 100644 --- a/server/src/main/java/io/seata/server/console/controller/GlobalLockController.java +++ b/server/src/main/java/io/seata/server/console/controller/GlobalLockController.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.controller; diff --git a/server/src/main/java/io/seata/server/console/controller/GlobalSessionController.java b/server/src/main/java/io/seata/server/console/controller/GlobalSessionController.java index 9bd79d95622..9a71782c72f 100644 --- a/server/src/main/java/io/seata/server/console/controller/GlobalSessionController.java +++ b/server/src/main/java/io/seata/server/console/controller/GlobalSessionController.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.controller; diff --git a/server/src/main/java/io/seata/server/console/impl/db/BranchSessionDBServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/db/BranchSessionDBServiceImpl.java index 214bceb9d40..18b5dd98a6f 100644 --- a/server/src/main/java/io/seata/server/console/impl/db/BranchSessionDBServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/db/BranchSessionDBServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.impl.db; diff --git a/server/src/main/java/io/seata/server/console/impl/db/GlobalLockDBServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/db/GlobalLockDBServiceImpl.java index 58e2183db4f..90bea1bc19f 100644 --- a/server/src/main/java/io/seata/server/console/impl/db/GlobalLockDBServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/db/GlobalLockDBServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.impl.db; diff --git a/server/src/main/java/io/seata/server/console/impl/db/GlobalSessionDBServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/db/GlobalSessionDBServiceImpl.java index 7583cf3c2b1..52a7843f81e 100644 --- a/server/src/main/java/io/seata/server/console/impl/db/GlobalSessionDBServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/db/GlobalSessionDBServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.impl.db; diff --git a/server/src/main/java/io/seata/server/console/impl/file/BranchSessionFileServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/file/BranchSessionFileServiceImpl.java index a8a93e7e1ff..4cb1086a90f 100644 --- a/server/src/main/java/io/seata/server/console/impl/file/BranchSessionFileServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/file/BranchSessionFileServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.impl.file; diff --git a/server/src/main/java/io/seata/server/console/impl/file/GlobalLockFileServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/file/GlobalLockFileServiceImpl.java index 60309581584..964eee5950b 100644 --- a/server/src/main/java/io/seata/server/console/impl/file/GlobalLockFileServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/file/GlobalLockFileServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.impl.file; diff --git a/server/src/main/java/io/seata/server/console/impl/file/GlobalSessionFileServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/file/GlobalSessionFileServiceImpl.java index 0487aaccc5e..8b82b74bac0 100644 --- a/server/src/main/java/io/seata/server/console/impl/file/GlobalSessionFileServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/file/GlobalSessionFileServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.impl.file; diff --git a/server/src/main/java/io/seata/server/console/impl/raft/BranchSessionRaftServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/raft/BranchSessionRaftServiceImpl.java index 7fa33a14538..02aa8a05eed 100644 --- a/server/src/main/java/io/seata/server/console/impl/raft/BranchSessionRaftServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/raft/BranchSessionRaftServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.impl.raft; diff --git a/server/src/main/java/io/seata/server/console/impl/raft/GlobalLockRaftServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/raft/GlobalLockRaftServiceImpl.java index c1754a86604..de5b34c4d67 100644 --- a/server/src/main/java/io/seata/server/console/impl/raft/GlobalLockRaftServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/raft/GlobalLockRaftServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.impl.raft; diff --git a/server/src/main/java/io/seata/server/console/impl/raft/GlobalSessionRaftServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/raft/GlobalSessionRaftServiceImpl.java index d625e64ff07..3df0226668c 100644 --- a/server/src/main/java/io/seata/server/console/impl/raft/GlobalSessionRaftServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/raft/GlobalSessionRaftServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.impl.raft; diff --git a/server/src/main/java/io/seata/server/console/impl/redis/BranchSessionRedisServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/redis/BranchSessionRedisServiceImpl.java index de50ec05b03..7265049e77a 100644 --- a/server/src/main/java/io/seata/server/console/impl/redis/BranchSessionRedisServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/redis/BranchSessionRedisServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.impl.redis; diff --git a/server/src/main/java/io/seata/server/console/impl/redis/GlobalLockRedisServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/redis/GlobalLockRedisServiceImpl.java index 111e9c018b2..2f7076ac3a7 100644 --- a/server/src/main/java/io/seata/server/console/impl/redis/GlobalLockRedisServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/redis/GlobalLockRedisServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.impl.redis; diff --git a/server/src/main/java/io/seata/server/console/impl/redis/GlobalSessionRedisServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/redis/GlobalSessionRedisServiceImpl.java index 736470e42a6..b602ca47451 100644 --- a/server/src/main/java/io/seata/server/console/impl/redis/GlobalSessionRedisServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/redis/GlobalSessionRedisServiceImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.impl.redis; diff --git a/server/src/main/java/io/seata/server/console/param/GlobalLockParam.java b/server/src/main/java/io/seata/server/console/param/GlobalLockParam.java index 9a2e845d80a..189f0223cc9 100644 --- a/server/src/main/java/io/seata/server/console/param/GlobalLockParam.java +++ b/server/src/main/java/io/seata/server/console/param/GlobalLockParam.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.param; diff --git a/server/src/main/java/io/seata/server/console/param/GlobalSessionParam.java b/server/src/main/java/io/seata/server/console/param/GlobalSessionParam.java index 6081d92a1b0..3182c8bbf54 100644 --- a/server/src/main/java/io/seata/server/console/param/GlobalSessionParam.java +++ b/server/src/main/java/io/seata/server/console/param/GlobalSessionParam.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.param; diff --git a/server/src/main/java/io/seata/server/console/service/BranchSessionService.java b/server/src/main/java/io/seata/server/console/service/BranchSessionService.java index 0a8b3105a73..58ea6ef696d 100644 --- a/server/src/main/java/io/seata/server/console/service/BranchSessionService.java +++ b/server/src/main/java/io/seata/server/console/service/BranchSessionService.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.service; diff --git a/server/src/main/java/io/seata/server/console/service/GlobalLockService.java b/server/src/main/java/io/seata/server/console/service/GlobalLockService.java index 1b774919922..34af9d03783 100644 --- a/server/src/main/java/io/seata/server/console/service/GlobalLockService.java +++ b/server/src/main/java/io/seata/server/console/service/GlobalLockService.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.service; diff --git a/server/src/main/java/io/seata/server/console/service/GlobalSessionService.java b/server/src/main/java/io/seata/server/console/service/GlobalSessionService.java index 2f700b6767f..706217d5dba 100644 --- a/server/src/main/java/io/seata/server/console/service/GlobalSessionService.java +++ b/server/src/main/java/io/seata/server/console/service/GlobalSessionService.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.service; diff --git a/server/src/main/java/io/seata/server/console/vo/BranchSessionVO.java b/server/src/main/java/io/seata/server/console/vo/BranchSessionVO.java index f80f27798de..8afe4430580 100644 --- a/server/src/main/java/io/seata/server/console/vo/BranchSessionVO.java +++ b/server/src/main/java/io/seata/server/console/vo/BranchSessionVO.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.vo; diff --git a/server/src/main/java/io/seata/server/console/vo/GlobalLockVO.java b/server/src/main/java/io/seata/server/console/vo/GlobalLockVO.java index 3a4432d9275..bcd7c7671a2 100644 --- a/server/src/main/java/io/seata/server/console/vo/GlobalLockVO.java +++ b/server/src/main/java/io/seata/server/console/vo/GlobalLockVO.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.vo; diff --git a/server/src/main/java/io/seata/server/console/vo/GlobalSessionVO.java b/server/src/main/java/io/seata/server/console/vo/GlobalSessionVO.java index e12b80e0041..ea9226a494d 100644 --- a/server/src/main/java/io/seata/server/console/vo/GlobalSessionVO.java +++ b/server/src/main/java/io/seata/server/console/vo/GlobalSessionVO.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.console.vo; diff --git a/server/src/main/java/io/seata/server/controller/ClusterController.java b/server/src/main/java/io/seata/server/controller/ClusterController.java index 65f568ea8a9..b80c08604f7 100644 --- a/server/src/main/java/io/seata/server/controller/ClusterController.java +++ b/server/src/main/java/io/seata/server/controller/ClusterController.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.controller; diff --git a/server/src/main/java/io/seata/server/controller/HealthController.java b/server/src/main/java/io/seata/server/controller/HealthController.java index 155045af3c6..2c3346cde4d 100644 --- a/server/src/main/java/io/seata/server/controller/HealthController.java +++ b/server/src/main/java/io/seata/server/controller/HealthController.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.controller; diff --git a/server/src/main/java/io/seata/server/coordinator/AbstractCore.java b/server/src/main/java/io/seata/server/coordinator/AbstractCore.java index 847f8c94044..84025840fe2 100644 --- a/server/src/main/java/io/seata/server/coordinator/AbstractCore.java +++ b/server/src/main/java/io/seata/server/coordinator/AbstractCore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.coordinator; diff --git a/server/src/main/java/io/seata/server/coordinator/Core.java b/server/src/main/java/io/seata/server/coordinator/Core.java index 8ad19cbd0f5..a788fe9332b 100644 --- a/server/src/main/java/io/seata/server/coordinator/Core.java +++ b/server/src/main/java/io/seata/server/coordinator/Core.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.coordinator; diff --git a/server/src/main/java/io/seata/server/coordinator/DefaultCoordinator.java b/server/src/main/java/io/seata/server/coordinator/DefaultCoordinator.java index 90c11bb724b..f7e50389268 100644 --- a/server/src/main/java/io/seata/server/coordinator/DefaultCoordinator.java +++ b/server/src/main/java/io/seata/server/coordinator/DefaultCoordinator.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.coordinator; diff --git a/server/src/main/java/io/seata/server/coordinator/DefaultCore.java b/server/src/main/java/io/seata/server/coordinator/DefaultCore.java index 9c0dcedcb7d..7ca41a8de89 100644 --- a/server/src/main/java/io/seata/server/coordinator/DefaultCore.java +++ b/server/src/main/java/io/seata/server/coordinator/DefaultCore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.coordinator; diff --git a/server/src/main/java/io/seata/server/coordinator/RaftCoordinator.java b/server/src/main/java/io/seata/server/coordinator/RaftCoordinator.java index a205bbaad1b..132aafc6c3d 100644 --- a/server/src/main/java/io/seata/server/coordinator/RaftCoordinator.java +++ b/server/src/main/java/io/seata/server/coordinator/RaftCoordinator.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.coordinator; diff --git a/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorInbound.java b/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorInbound.java index d8c9932b10d..6714e8b9eca 100644 --- a/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorInbound.java +++ b/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorInbound.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.coordinator; diff --git a/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorOutbound.java b/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorOutbound.java index a213bd403d4..5345a07f34c 100644 --- a/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorOutbound.java +++ b/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorOutbound.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.coordinator; diff --git a/server/src/main/java/io/seata/server/env/ContainerHelper.java b/server/src/main/java/io/seata/server/env/ContainerHelper.java index a95242da335..8f6dc3d9889 100644 --- a/server/src/main/java/io/seata/server/env/ContainerHelper.java +++ b/server/src/main/java/io/seata/server/env/ContainerHelper.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.env; diff --git a/server/src/main/java/io/seata/server/env/PortHelper.java b/server/src/main/java/io/seata/server/env/PortHelper.java index 6f5a6b23948..36b8cf7a284 100644 --- a/server/src/main/java/io/seata/server/env/PortHelper.java +++ b/server/src/main/java/io/seata/server/env/PortHelper.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.env; diff --git a/server/src/main/java/io/seata/server/event/EventBusManager.java b/server/src/main/java/io/seata/server/event/EventBusManager.java index 5500bc7592a..10466a54aca 100644 --- a/server/src/main/java/io/seata/server/event/EventBusManager.java +++ b/server/src/main/java/io/seata/server/event/EventBusManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.event; diff --git a/server/src/main/java/io/seata/server/lock/AbstractLockManager.java b/server/src/main/java/io/seata/server/lock/AbstractLockManager.java index 1334d39bb5e..ee5aff1462d 100644 --- a/server/src/main/java/io/seata/server/lock/AbstractLockManager.java +++ b/server/src/main/java/io/seata/server/lock/AbstractLockManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.lock; diff --git a/server/src/main/java/io/seata/server/lock/LockManager.java b/server/src/main/java/io/seata/server/lock/LockManager.java index c35338e9e20..0c8a7ae9a7a 100644 --- a/server/src/main/java/io/seata/server/lock/LockManager.java +++ b/server/src/main/java/io/seata/server/lock/LockManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.lock; diff --git a/server/src/main/java/io/seata/server/lock/LockerManagerFactory.java b/server/src/main/java/io/seata/server/lock/LockerManagerFactory.java index d75cbb85384..bb727c86486 100644 --- a/server/src/main/java/io/seata/server/lock/LockerManagerFactory.java +++ b/server/src/main/java/io/seata/server/lock/LockerManagerFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.lock; diff --git a/server/src/main/java/io/seata/server/lock/distributed/DistributedLockerFactory.java b/server/src/main/java/io/seata/server/lock/distributed/DistributedLockerFactory.java index 362d21327d2..901c76e3b14 100644 --- a/server/src/main/java/io/seata/server/lock/distributed/DistributedLockerFactory.java +++ b/server/src/main/java/io/seata/server/lock/distributed/DistributedLockerFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.lock.distributed; diff --git a/server/src/main/java/io/seata/server/logging/listener/SystemPropertyLoggerContextListener.java b/server/src/main/java/io/seata/server/logging/listener/SystemPropertyLoggerContextListener.java index c0c9659877e..b6282a95421 100644 --- a/server/src/main/java/io/seata/server/logging/listener/SystemPropertyLoggerContextListener.java +++ b/server/src/main/java/io/seata/server/logging/listener/SystemPropertyLoggerContextListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.logging.listener; diff --git a/server/src/main/java/io/seata/server/logging/logback/ExtendedWhitespaceThrowableProxyConverter.java b/server/src/main/java/io/seata/server/logging/logback/ExtendedWhitespaceThrowableProxyConverter.java index c6bb4a10603..a9b9375eba6 100644 --- a/server/src/main/java/io/seata/server/logging/logback/ExtendedWhitespaceThrowableProxyConverter.java +++ b/server/src/main/java/io/seata/server/logging/logback/ExtendedWhitespaceThrowableProxyConverter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.logging.logback; diff --git a/server/src/main/java/io/seata/server/logging/logback/appender/EnhancedLogstashEncoder.java b/server/src/main/java/io/seata/server/logging/logback/appender/EnhancedLogstashEncoder.java index 665affe7ec0..716b9a952bc 100644 --- a/server/src/main/java/io/seata/server/logging/logback/appender/EnhancedLogstashEncoder.java +++ b/server/src/main/java/io/seata/server/logging/logback/appender/EnhancedLogstashEncoder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.logging.logback.appender; diff --git a/server/src/main/java/io/seata/server/logging/logback/appender/MetricLogbackAppender.java b/server/src/main/java/io/seata/server/logging/logback/appender/MetricLogbackAppender.java index ecdbd9cadf1..ba3e7bfaefc 100644 --- a/server/src/main/java/io/seata/server/logging/logback/appender/MetricLogbackAppender.java +++ b/server/src/main/java/io/seata/server/logging/logback/appender/MetricLogbackAppender.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.logging.logback.appender; diff --git a/server/src/main/java/io/seata/server/metrics/MeterIdConstants.java b/server/src/main/java/io/seata/server/metrics/MeterIdConstants.java index 5525d716291..02d04ec461c 100644 --- a/server/src/main/java/io/seata/server/metrics/MeterIdConstants.java +++ b/server/src/main/java/io/seata/server/metrics/MeterIdConstants.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.metrics; diff --git a/server/src/main/java/io/seata/server/metrics/MetricsManager.java b/server/src/main/java/io/seata/server/metrics/MetricsManager.java index ba5b3a67a2d..f55e71370f8 100644 --- a/server/src/main/java/io/seata/server/metrics/MetricsManager.java +++ b/server/src/main/java/io/seata/server/metrics/MetricsManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.metrics; diff --git a/server/src/main/java/io/seata/server/metrics/MetricsPublisher.java b/server/src/main/java/io/seata/server/metrics/MetricsPublisher.java index f0db1e52361..b98f401e45a 100644 --- a/server/src/main/java/io/seata/server/metrics/MetricsPublisher.java +++ b/server/src/main/java/io/seata/server/metrics/MetricsPublisher.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.metrics; diff --git a/server/src/main/java/io/seata/server/metrics/MetricsSubscriber.java b/server/src/main/java/io/seata/server/metrics/MetricsSubscriber.java index 840c748e470..40b3759a5cb 100644 --- a/server/src/main/java/io/seata/server/metrics/MetricsSubscriber.java +++ b/server/src/main/java/io/seata/server/metrics/MetricsSubscriber.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.metrics; diff --git a/server/src/main/java/io/seata/server/session/AbstractSessionManager.java b/server/src/main/java/io/seata/server/session/AbstractSessionManager.java index dc2f6a506d0..f66f0dc4ae2 100644 --- a/server/src/main/java/io/seata/server/session/AbstractSessionManager.java +++ b/server/src/main/java/io/seata/server/session/AbstractSessionManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/main/java/io/seata/server/session/BranchSession.java b/server/src/main/java/io/seata/server/session/BranchSession.java index ead43a145c7..0b1c3dd62e3 100644 --- a/server/src/main/java/io/seata/server/session/BranchSession.java +++ b/server/src/main/java/io/seata/server/session/BranchSession.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/main/java/io/seata/server/session/BranchSessionHandler.java b/server/src/main/java/io/seata/server/session/BranchSessionHandler.java index 3523018b21a..3f6b55f0cf8 100644 --- a/server/src/main/java/io/seata/server/session/BranchSessionHandler.java +++ b/server/src/main/java/io/seata/server/session/BranchSessionHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/main/java/io/seata/server/session/GlobalSession.java b/server/src/main/java/io/seata/server/session/GlobalSession.java index 6e73f450aeb..3773d424d61 100644 --- a/server/src/main/java/io/seata/server/session/GlobalSession.java +++ b/server/src/main/java/io/seata/server/session/GlobalSession.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/main/java/io/seata/server/session/GlobalSessionHandler.java b/server/src/main/java/io/seata/server/session/GlobalSessionHandler.java index 515b155bbc4..ab1942ab312 100644 --- a/server/src/main/java/io/seata/server/session/GlobalSessionHandler.java +++ b/server/src/main/java/io/seata/server/session/GlobalSessionHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/main/java/io/seata/server/session/Lockable.java b/server/src/main/java/io/seata/server/session/Lockable.java index d023e632f85..597ad863ef0 100644 --- a/server/src/main/java/io/seata/server/session/Lockable.java +++ b/server/src/main/java/io/seata/server/session/Lockable.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/main/java/io/seata/server/session/Reloadable.java b/server/src/main/java/io/seata/server/session/Reloadable.java index 5701c69d6ae..8972dc2a939 100644 --- a/server/src/main/java/io/seata/server/session/Reloadable.java +++ b/server/src/main/java/io/seata/server/session/Reloadable.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/main/java/io/seata/server/session/SessionCondition.java b/server/src/main/java/io/seata/server/session/SessionCondition.java index 6542a72c352..9264ea5645b 100644 --- a/server/src/main/java/io/seata/server/session/SessionCondition.java +++ b/server/src/main/java/io/seata/server/session/SessionCondition.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/main/java/io/seata/server/session/SessionHelper.java b/server/src/main/java/io/seata/server/session/SessionHelper.java index 364d772ecec..7f86f73271b 100644 --- a/server/src/main/java/io/seata/server/session/SessionHelper.java +++ b/server/src/main/java/io/seata/server/session/SessionHelper.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/main/java/io/seata/server/session/SessionHolder.java b/server/src/main/java/io/seata/server/session/SessionHolder.java index 87a560d3525..05c72a62a34 100644 --- a/server/src/main/java/io/seata/server/session/SessionHolder.java +++ b/server/src/main/java/io/seata/server/session/SessionHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/main/java/io/seata/server/session/SessionLifecycle.java b/server/src/main/java/io/seata/server/session/SessionLifecycle.java index eb9bfcddfb9..13b3fe4f6f7 100644 --- a/server/src/main/java/io/seata/server/session/SessionLifecycle.java +++ b/server/src/main/java/io/seata/server/session/SessionLifecycle.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/main/java/io/seata/server/session/SessionLifecycleListener.java b/server/src/main/java/io/seata/server/session/SessionLifecycleListener.java index 156f09df564..4163d815d7d 100644 --- a/server/src/main/java/io/seata/server/session/SessionLifecycleListener.java +++ b/server/src/main/java/io/seata/server/session/SessionLifecycleListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/main/java/io/seata/server/session/SessionManager.java b/server/src/main/java/io/seata/server/session/SessionManager.java index 1415bc9680f..bfb3b917b30 100644 --- a/server/src/main/java/io/seata/server/session/SessionManager.java +++ b/server/src/main/java/io/seata/server/session/SessionManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/main/java/io/seata/server/session/SessionStatusValidator.java b/server/src/main/java/io/seata/server/session/SessionStatusValidator.java index 20323a7e7bf..6114a2a6bf4 100644 --- a/server/src/main/java/io/seata/server/session/SessionStatusValidator.java +++ b/server/src/main/java/io/seata/server/session/SessionStatusValidator.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/main/java/io/seata/server/spring/listener/SeataPropertiesLoader.java b/server/src/main/java/io/seata/server/spring/listener/SeataPropertiesLoader.java index 7d7c31cc73c..fefbd174dc7 100644 --- a/server/src/main/java/io/seata/server/spring/listener/SeataPropertiesLoader.java +++ b/server/src/main/java/io/seata/server/spring/listener/SeataPropertiesLoader.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.spring.listener; diff --git a/server/src/main/java/io/seata/server/spring/listener/ServerApplicationListener.java b/server/src/main/java/io/seata/server/spring/listener/ServerApplicationListener.java index 0ee1b9588d1..0a34d6da6fe 100644 --- a/server/src/main/java/io/seata/server/spring/listener/ServerApplicationListener.java +++ b/server/src/main/java/io/seata/server/spring/listener/ServerApplicationListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.spring.listener; diff --git a/server/src/main/java/io/seata/server/storage/SessionConverter.java b/server/src/main/java/io/seata/server/storage/SessionConverter.java index 030b1c64c07..c7daece3219 100644 --- a/server/src/main/java/io/seata/server/storage/SessionConverter.java +++ b/server/src/main/java/io/seata/server/storage/SessionConverter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage; diff --git a/server/src/main/java/io/seata/server/storage/db/lock/DataBaseDistributedLocker.java b/server/src/main/java/io/seata/server/storage/db/lock/DataBaseDistributedLocker.java index 70f101edf63..df52e997c28 100644 --- a/server/src/main/java/io/seata/server/storage/db/lock/DataBaseDistributedLocker.java +++ b/server/src/main/java/io/seata/server/storage/db/lock/DataBaseDistributedLocker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.db.lock; diff --git a/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLockManager.java b/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLockManager.java index 1e4736fbe07..9718906a5ce 100644 --- a/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLockManager.java +++ b/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLockManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.db.lock; diff --git a/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLocker.java b/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLocker.java index ab61e918d41..224eed5a9f4 100644 --- a/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLocker.java +++ b/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLocker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.db.lock; diff --git a/server/src/main/java/io/seata/server/storage/db/lock/LockStoreDataBaseDAO.java b/server/src/main/java/io/seata/server/storage/db/lock/LockStoreDataBaseDAO.java index 5ad6eaa41ac..c49024c31da 100644 --- a/server/src/main/java/io/seata/server/storage/db/lock/LockStoreDataBaseDAO.java +++ b/server/src/main/java/io/seata/server/storage/db/lock/LockStoreDataBaseDAO.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.db.lock; diff --git a/server/src/main/java/io/seata/server/storage/db/session/DataBaseSessionManager.java b/server/src/main/java/io/seata/server/storage/db/session/DataBaseSessionManager.java index 18fb8ebb9b9..211314fb4e2 100644 --- a/server/src/main/java/io/seata/server/storage/db/session/DataBaseSessionManager.java +++ b/server/src/main/java/io/seata/server/storage/db/session/DataBaseSessionManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.db.session; diff --git a/server/src/main/java/io/seata/server/storage/db/store/DataBaseTransactionStoreManager.java b/server/src/main/java/io/seata/server/storage/db/store/DataBaseTransactionStoreManager.java index b7e172a5c8f..a05fbd6dd5c 100644 --- a/server/src/main/java/io/seata/server/storage/db/store/DataBaseTransactionStoreManager.java +++ b/server/src/main/java/io/seata/server/storage/db/store/DataBaseTransactionStoreManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.db.store; diff --git a/server/src/main/java/io/seata/server/storage/db/store/LogStoreDataBaseDAO.java b/server/src/main/java/io/seata/server/storage/db/store/LogStoreDataBaseDAO.java index 8c6e27edf82..8f7ef7b380a 100644 --- a/server/src/main/java/io/seata/server/storage/db/store/LogStoreDataBaseDAO.java +++ b/server/src/main/java/io/seata/server/storage/db/store/LogStoreDataBaseDAO.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.db.store; diff --git a/server/src/main/java/io/seata/server/storage/file/FlushDiskMode.java b/server/src/main/java/io/seata/server/storage/file/FlushDiskMode.java index 9fdb50ee2f2..e994e3c0e14 100644 --- a/server/src/main/java/io/seata/server/storage/file/FlushDiskMode.java +++ b/server/src/main/java/io/seata/server/storage/file/FlushDiskMode.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.file; diff --git a/server/src/main/java/io/seata/server/storage/file/ReloadableStore.java b/server/src/main/java/io/seata/server/storage/file/ReloadableStore.java index be45305cf57..6a48bfdb175 100644 --- a/server/src/main/java/io/seata/server/storage/file/ReloadableStore.java +++ b/server/src/main/java/io/seata/server/storage/file/ReloadableStore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.file; diff --git a/server/src/main/java/io/seata/server/storage/file/TransactionWriteStore.java b/server/src/main/java/io/seata/server/storage/file/TransactionWriteStore.java index 177d0e52dd1..7b2e0d782ed 100644 --- a/server/src/main/java/io/seata/server/storage/file/TransactionWriteStore.java +++ b/server/src/main/java/io/seata/server/storage/file/TransactionWriteStore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.file; diff --git a/server/src/main/java/io/seata/server/storage/file/lock/FileLockManager.java b/server/src/main/java/io/seata/server/storage/file/lock/FileLockManager.java index 8b8e4e7a307..a0753824464 100644 --- a/server/src/main/java/io/seata/server/storage/file/lock/FileLockManager.java +++ b/server/src/main/java/io/seata/server/storage/file/lock/FileLockManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.file.lock; diff --git a/server/src/main/java/io/seata/server/storage/file/lock/FileLocker.java b/server/src/main/java/io/seata/server/storage/file/lock/FileLocker.java index ebf41517176..d5d1b3f7119 100644 --- a/server/src/main/java/io/seata/server/storage/file/lock/FileLocker.java +++ b/server/src/main/java/io/seata/server/storage/file/lock/FileLocker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.file.lock; diff --git a/server/src/main/java/io/seata/server/storage/file/session/FileSessionManager.java b/server/src/main/java/io/seata/server/storage/file/session/FileSessionManager.java index 453a62e5cb1..878e0bd1138 100644 --- a/server/src/main/java/io/seata/server/storage/file/session/FileSessionManager.java +++ b/server/src/main/java/io/seata/server/storage/file/session/FileSessionManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.file.session; diff --git a/server/src/main/java/io/seata/server/storage/file/store/FileTransactionStoreManager.java b/server/src/main/java/io/seata/server/storage/file/store/FileTransactionStoreManager.java index 3beb2cd7203..f7650884237 100644 --- a/server/src/main/java/io/seata/server/storage/file/store/FileTransactionStoreManager.java +++ b/server/src/main/java/io/seata/server/storage/file/store/FileTransactionStoreManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.file.store; diff --git a/server/src/main/java/io/seata/server/storage/raft/lock/RaftDistributedLocker.java b/server/src/main/java/io/seata/server/storage/raft/lock/RaftDistributedLocker.java index e2a2b130123..74becd1ab11 100644 --- a/server/src/main/java/io/seata/server/storage/raft/lock/RaftDistributedLocker.java +++ b/server/src/main/java/io/seata/server/storage/raft/lock/RaftDistributedLocker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.raft.lock; diff --git a/server/src/main/java/io/seata/server/storage/raft/lock/RaftLockManager.java b/server/src/main/java/io/seata/server/storage/raft/lock/RaftLockManager.java index 605ebdb0c32..22ea12bcf9e 100644 --- a/server/src/main/java/io/seata/server/storage/raft/lock/RaftLockManager.java +++ b/server/src/main/java/io/seata/server/storage/raft/lock/RaftLockManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.raft.lock; diff --git a/server/src/main/java/io/seata/server/storage/raft/session/RaftSessionManager.java b/server/src/main/java/io/seata/server/storage/raft/session/RaftSessionManager.java index c20f6fd8d08..f39a0cd4612 100644 --- a/server/src/main/java/io/seata/server/storage/raft/session/RaftSessionManager.java +++ b/server/src/main/java/io/seata/server/storage/raft/session/RaftSessionManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.raft.session; diff --git a/server/src/main/java/io/seata/server/storage/redis/JedisPooledFactory.java b/server/src/main/java/io/seata/server/storage/redis/JedisPooledFactory.java index a4a2d400326..0fd5e38b95d 100644 --- a/server/src/main/java/io/seata/server/storage/redis/JedisPooledFactory.java +++ b/server/src/main/java/io/seata/server/storage/redis/JedisPooledFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.redis; diff --git a/server/src/main/java/io/seata/server/storage/redis/LuaParser.java b/server/src/main/java/io/seata/server/storage/redis/LuaParser.java index 40392e83405..4c0117e0c32 100644 --- a/server/src/main/java/io/seata/server/storage/redis/LuaParser.java +++ b/server/src/main/java/io/seata/server/storage/redis/LuaParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.redis; diff --git a/server/src/main/java/io/seata/server/storage/redis/lock/RedisDistributedLocker.java b/server/src/main/java/io/seata/server/storage/redis/lock/RedisDistributedLocker.java index ecd60cacdbd..d46dfca76fb 100644 --- a/server/src/main/java/io/seata/server/storage/redis/lock/RedisDistributedLocker.java +++ b/server/src/main/java/io/seata/server/storage/redis/lock/RedisDistributedLocker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.redis.lock; diff --git a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockManager.java b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockManager.java index c6906235da4..c5fc7330908 100644 --- a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockManager.java +++ b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.redis.lock; diff --git a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLocker.java b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLocker.java index 4b610bb4603..78838fd7804 100644 --- a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLocker.java +++ b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLocker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.redis.lock; diff --git a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockerFactory.java b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockerFactory.java index ebfd481ea71..b3cee56c061 100644 --- a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockerFactory.java +++ b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockerFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.redis.lock; diff --git a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLuaLocker.java b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLuaLocker.java index 465eaeeef30..1d7219ef6f1 100644 --- a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLuaLocker.java +++ b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLuaLocker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.redis.lock; diff --git a/server/src/main/java/io/seata/server/storage/redis/session/RedisSessionManager.java b/server/src/main/java/io/seata/server/storage/redis/session/RedisSessionManager.java index 62616f6448a..b4cab3e0c1d 100644 --- a/server/src/main/java/io/seata/server/storage/redis/session/RedisSessionManager.java +++ b/server/src/main/java/io/seata/server/storage/redis/session/RedisSessionManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.redis.session; diff --git a/server/src/main/java/io/seata/server/storage/redis/store/RedisLuaTransactionStoreManager.java b/server/src/main/java/io/seata/server/storage/redis/store/RedisLuaTransactionStoreManager.java index 332c475be2d..a257e23952b 100644 --- a/server/src/main/java/io/seata/server/storage/redis/store/RedisLuaTransactionStoreManager.java +++ b/server/src/main/java/io/seata/server/storage/redis/store/RedisLuaTransactionStoreManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.redis.store; diff --git a/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManager.java b/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManager.java index c893b27c0d6..772f6e2ca3a 100644 --- a/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManager.java +++ b/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.redis.store; diff --git a/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManagerFactory.java b/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManagerFactory.java index 6d6a87bd27b..22929c1fc1a 100644 --- a/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManagerFactory.java +++ b/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManagerFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.storage.redis.store; diff --git a/server/src/main/java/io/seata/server/store/AbstractTransactionStoreManager.java b/server/src/main/java/io/seata/server/store/AbstractTransactionStoreManager.java index 3595a72c4e0..302fe9be25b 100644 --- a/server/src/main/java/io/seata/server/store/AbstractTransactionStoreManager.java +++ b/server/src/main/java/io/seata/server/store/AbstractTransactionStoreManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.store; diff --git a/server/src/main/java/io/seata/server/store/DbcpDataSourceProvider.java b/server/src/main/java/io/seata/server/store/DbcpDataSourceProvider.java index 3d6fc5c96bd..17e50f927e6 100644 --- a/server/src/main/java/io/seata/server/store/DbcpDataSourceProvider.java +++ b/server/src/main/java/io/seata/server/store/DbcpDataSourceProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.store; diff --git a/server/src/main/java/io/seata/server/store/DruidDataSourceProvider.java b/server/src/main/java/io/seata/server/store/DruidDataSourceProvider.java index ec19aa0b93a..64504bb43cc 100644 --- a/server/src/main/java/io/seata/server/store/DruidDataSourceProvider.java +++ b/server/src/main/java/io/seata/server/store/DruidDataSourceProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.store; diff --git a/server/src/main/java/io/seata/server/store/HikariDataSourceProvider.java b/server/src/main/java/io/seata/server/store/HikariDataSourceProvider.java index 60eb0d4372a..deecdf176c6 100644 --- a/server/src/main/java/io/seata/server/store/HikariDataSourceProvider.java +++ b/server/src/main/java/io/seata/server/store/HikariDataSourceProvider.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.store; diff --git a/server/src/main/java/io/seata/server/store/SessionStorable.java b/server/src/main/java/io/seata/server/store/SessionStorable.java index cdcebeb0805..315d401be60 100644 --- a/server/src/main/java/io/seata/server/store/SessionStorable.java +++ b/server/src/main/java/io/seata/server/store/SessionStorable.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.store; diff --git a/server/src/main/java/io/seata/server/store/StoreConfig.java b/server/src/main/java/io/seata/server/store/StoreConfig.java index c125cc17c33..c79062c0046 100644 --- a/server/src/main/java/io/seata/server/store/StoreConfig.java +++ b/server/src/main/java/io/seata/server/store/StoreConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.store; diff --git a/server/src/main/java/io/seata/server/store/TransactionStoreManager.java b/server/src/main/java/io/seata/server/store/TransactionStoreManager.java index 2fb6473bc54..5d6dd0b1090 100644 --- a/server/src/main/java/io/seata/server/store/TransactionStoreManager.java +++ b/server/src/main/java/io/seata/server/store/TransactionStoreManager.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.store; diff --git a/server/src/main/java/io/seata/server/transaction/at/ATCore.java b/server/src/main/java/io/seata/server/transaction/at/ATCore.java index 81163b99f9c..85932b2df70 100644 --- a/server/src/main/java/io/seata/server/transaction/at/ATCore.java +++ b/server/src/main/java/io/seata/server/transaction/at/ATCore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.transaction.at; diff --git a/server/src/main/java/io/seata/server/transaction/saga/SagaCore.java b/server/src/main/java/io/seata/server/transaction/saga/SagaCore.java index 201f03fda29..e06a3192d4a 100644 --- a/server/src/main/java/io/seata/server/transaction/saga/SagaCore.java +++ b/server/src/main/java/io/seata/server/transaction/saga/SagaCore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.transaction.saga; diff --git a/server/src/main/java/io/seata/server/transaction/tcc/TccCore.java b/server/src/main/java/io/seata/server/transaction/tcc/TccCore.java index e0171aa5710..5ffce7272f3 100644 --- a/server/src/main/java/io/seata/server/transaction/tcc/TccCore.java +++ b/server/src/main/java/io/seata/server/transaction/tcc/TccCore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.transaction.tcc; diff --git a/server/src/main/java/io/seata/server/transaction/xa/XACore.java b/server/src/main/java/io/seata/server/transaction/xa/XACore.java index de4620d42ad..fb7789fcd26 100644 --- a/server/src/main/java/io/seata/server/transaction/xa/XACore.java +++ b/server/src/main/java/io/seata/server/transaction/xa/XACore.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.transaction.xa; diff --git a/server/src/main/resources/application.example.yml b/server/src/main/resources/application.example.yml index ae048868270..3d61dc00d41 100644 --- a/server/src/main/resources/application.example.yml +++ b/server/src/main/resources/application.example.yml @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. server: port: 7091 diff --git a/server/src/main/resources/application.raft.example.yml b/server/src/main/resources/application.raft.example.yml index 4a154ec0785..8b313be3500 100644 --- a/server/src/main/resources/application.raft.example.yml +++ b/server/src/main/resources/application.raft.example.yml @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. server: port: 7091 diff --git a/server/src/main/resources/application.yml b/server/src/main/resources/application.yml index bd9188af0b5..bfca330b356 100644 --- a/server/src/main/resources/application.yml +++ b/server/src/main/resources/application.yml @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. server: port: 7091 diff --git a/server/src/main/resources/docker/seata-server-entrypoint.sh b/server/src/main/resources/docker/seata-server-entrypoint.sh index af0f6934c9b..82c388ad31d 100644 --- a/server/src/main/resources/docker/seata-server-entrypoint.sh +++ b/server/src/main/resources/docker/seata-server-entrypoint.sh @@ -1,17 +1,20 @@ #!/bin/bash -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# # entrypoint for server diff --git a/server/src/main/resources/logback-spring.xml b/server/src/main/resources/logback-spring.xml index 490141ac6c5..af69f940b23 100644 --- a/server/src/main/resources/logback-spring.xml +++ b/server/src/main/resources/logback-spring.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/server/src/main/resources/logback/console-appender.xml b/server/src/main/resources/logback/console-appender.xml index 542b1b46afa..6aaec286d9b 100644 --- a/server/src/main/resources/logback/console-appender.xml +++ b/server/src/main/resources/logback/console-appender.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/server/src/main/resources/lua/redisStore/deleteTransactionDO.lua b/server/src/main/resources/lua/redisStore/deleteTransactionDO.lua index 9845198e4d1..2a6f8a1d6e9 100644 --- a/server/src/main/resources/lua/redisStore/deleteTransactionDO.lua +++ b/server/src/main/resources/lua/redisStore/deleteTransactionDO.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/25 diff --git a/server/src/main/resources/lua/redisStore/insertTransactionDO.lua b/server/src/main/resources/lua/redisStore/insertTransactionDO.lua index 75388ea68ad..50a6c086ff2 100644 --- a/server/src/main/resources/lua/redisStore/insertTransactionDO.lua +++ b/server/src/main/resources/lua/redisStore/insertTransactionDO.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/25 diff --git a/server/src/main/resources/lua/redisStore/rollbackGlobalTransactionDO.lua b/server/src/main/resources/lua/redisStore/rollbackGlobalTransactionDO.lua index 5e6c4a6a057..ef4eb18732a 100644 --- a/server/src/main/resources/lua/redisStore/rollbackGlobalTransactionDO.lua +++ b/server/src/main/resources/lua/redisStore/rollbackGlobalTransactionDO.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/27 diff --git a/server/src/main/resources/lua/redisStore/updateBranchTransactionDO.lua b/server/src/main/resources/lua/redisStore/updateBranchTransactionDO.lua index 24e3083cde8..b601a40cb02 100644 --- a/server/src/main/resources/lua/redisStore/updateBranchTransactionDO.lua +++ b/server/src/main/resources/lua/redisStore/updateBranchTransactionDO.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/27 diff --git a/server/src/main/resources/lua/redisStore/updateGlobalTransactionDO.lua b/server/src/main/resources/lua/redisStore/updateGlobalTransactionDO.lua index 438029625c9..ffb8a980cf8 100644 --- a/server/src/main/resources/lua/redisStore/updateGlobalTransactionDO.lua +++ b/server/src/main/resources/lua/redisStore/updateGlobalTransactionDO.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/27 diff --git a/server/src/main/resources/lua/redislocker/acquireRedisLock.lua b/server/src/main/resources/lua/redislocker/acquireRedisLock.lua index cb1668cf6e3..2a1ad4fe08a 100644 --- a/server/src/main/resources/lua/redislocker/acquireRedisLock.lua +++ b/server/src/main/resources/lua/redislocker/acquireRedisLock.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: tianyu.li;conghuhu -- Date: 2022/7/1 diff --git a/server/src/main/resources/lua/redislocker/isLockable.lua b/server/src/main/resources/lua/redislocker/isLockable.lua index 7325966f276..5fedfd9d3b5 100644 --- a/server/src/main/resources/lua/redislocker/isLockable.lua +++ b/server/src/main/resources/lua/redislocker/isLockable.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/7 diff --git a/server/src/main/resources/lua/redislocker/releaseRedisLock.lua b/server/src/main/resources/lua/redislocker/releaseRedisLock.lua index 72176dcdd52..57e022f5a46 100644 --- a/server/src/main/resources/lua/redislocker/releaseRedisLock.lua +++ b/server/src/main/resources/lua/redislocker/releaseRedisLock.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/7 diff --git a/server/src/main/resources/lua/redislocker/updateLockStatus.lua b/server/src/main/resources/lua/redislocker/updateLockStatus.lua index d3170d33958..328bef8e8e4 100644 --- a/server/src/main/resources/lua/redislocker/updateLockStatus.lua +++ b/server/src/main/resources/lua/redislocker/updateLockStatus.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/7 diff --git a/server/src/test/java/ServerTest.java b/server/src/test/java/ServerTest.java index 70209f819ed..b383a55748e 100644 --- a/server/src/test/java/ServerTest.java +++ b/server/src/test/java/ServerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import io.seata.common.XID; import io.seata.common.util.NetUtil; diff --git a/server/src/test/java/WriteStoreMultithreadTest.java b/server/src/test/java/WriteStoreMultithreadTest.java index 25eb1a968be..eff0086dba5 100644 --- a/server/src/test/java/WriteStoreMultithreadTest.java +++ b/server/src/test/java/WriteStoreMultithreadTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import io.seata.core.exception.TransactionException; import io.seata.core.model.BranchStatus; diff --git a/server/src/test/java/WriteStoreTest.java b/server/src/test/java/WriteStoreTest.java index ecdde2ee32d..2a81e2dd9d5 100644 --- a/server/src/test/java/WriteStoreTest.java +++ b/server/src/test/java/WriteStoreTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import java.io.IOException; import java.util.ArrayList; diff --git a/server/src/test/java/io/seata/server/LoaderConfTest.java b/server/src/test/java/io/seata/server/LoaderConfTest.java index 4160ae8afd5..ca3842b3cc8 100644 --- a/server/src/test/java/io/seata/server/LoaderConfTest.java +++ b/server/src/test/java/io/seata/server/LoaderConfTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server; diff --git a/server/src/test/java/io/seata/server/ParameterParserTest.java b/server/src/test/java/io/seata/server/ParameterParserTest.java index c953d878940..e52f71d18ae 100644 --- a/server/src/test/java/io/seata/server/ParameterParserTest.java +++ b/server/src/test/java/io/seata/server/ParameterParserTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server; diff --git a/server/src/test/java/io/seata/server/UUIDGeneratorOverflowTest.java b/server/src/test/java/io/seata/server/UUIDGeneratorOverflowTest.java index c6ac358403b..a4f2da4ee81 100644 --- a/server/src/test/java/io/seata/server/UUIDGeneratorOverflowTest.java +++ b/server/src/test/java/io/seata/server/UUIDGeneratorOverflowTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server; diff --git a/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorMetricsTest.java b/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorMetricsTest.java index 2650548bab5..1d7f2f86f8d 100644 --- a/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorMetricsTest.java +++ b/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorMetricsTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.coordinator; diff --git a/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorTest.java b/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorTest.java index 19b9fab39e6..da857ff4616 100644 --- a/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorTest.java +++ b/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.coordinator; diff --git a/server/src/test/java/io/seata/server/coordinator/DefaultCoreTest.java b/server/src/test/java/io/seata/server/coordinator/DefaultCoreTest.java index fafc13af8b3..262d020ce27 100644 --- a/server/src/test/java/io/seata/server/coordinator/DefaultCoreTest.java +++ b/server/src/test/java/io/seata/server/coordinator/DefaultCoreTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.coordinator; diff --git a/server/src/test/java/io/seata/server/env/PortHelperTest.java b/server/src/test/java/io/seata/server/env/PortHelperTest.java index 560028e965f..30be0219cc1 100644 --- a/server/src/test/java/io/seata/server/env/PortHelperTest.java +++ b/server/src/test/java/io/seata/server/env/PortHelperTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.env; diff --git a/server/src/test/java/io/seata/server/event/DefaultCoreForEventBusTest.java b/server/src/test/java/io/seata/server/event/DefaultCoreForEventBusTest.java index bb9c4a154ad..e315fd6d39a 100644 --- a/server/src/test/java/io/seata/server/event/DefaultCoreForEventBusTest.java +++ b/server/src/test/java/io/seata/server/event/DefaultCoreForEventBusTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.event; diff --git a/server/src/test/java/io/seata/server/lock/DistributedLockerFactoryTest.java b/server/src/test/java/io/seata/server/lock/DistributedLockerFactoryTest.java index f56c12360bb..ba06064743b 100644 --- a/server/src/test/java/io/seata/server/lock/DistributedLockerFactoryTest.java +++ b/server/src/test/java/io/seata/server/lock/DistributedLockerFactoryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.lock; diff --git a/server/src/test/java/io/seata/server/lock/LockManagerTest.java b/server/src/test/java/io/seata/server/lock/LockManagerTest.java index d661455298f..8382b22e80b 100644 --- a/server/src/test/java/io/seata/server/lock/LockManagerTest.java +++ b/server/src/test/java/io/seata/server/lock/LockManagerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.lock; diff --git a/server/src/test/java/io/seata/server/lock/db/DataBaseLockManagerImplTest.java b/server/src/test/java/io/seata/server/lock/db/DataBaseLockManagerImplTest.java index 3047e382039..939c70f59a4 100644 --- a/server/src/test/java/io/seata/server/lock/db/DataBaseLockManagerImplTest.java +++ b/server/src/test/java/io/seata/server/lock/db/DataBaseLockManagerImplTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.lock.db; diff --git a/server/src/test/java/io/seata/server/lock/db/DataBaseLockStoreDAOTest.java b/server/src/test/java/io/seata/server/lock/db/DataBaseLockStoreDAOTest.java index 1ad9b5eb585..6431aef46c1 100644 --- a/server/src/test/java/io/seata/server/lock/db/DataBaseLockStoreDAOTest.java +++ b/server/src/test/java/io/seata/server/lock/db/DataBaseLockStoreDAOTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.lock.db; diff --git a/server/src/test/java/io/seata/server/lock/file/FileLockManagerForTest.java b/server/src/test/java/io/seata/server/lock/file/FileLockManagerForTest.java index fc00518b1fd..9256012e7b9 100644 --- a/server/src/test/java/io/seata/server/lock/file/FileLockManagerForTest.java +++ b/server/src/test/java/io/seata/server/lock/file/FileLockManagerForTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.lock.file; diff --git a/server/src/test/java/io/seata/server/lock/file/FileLockManagerImplTest.java b/server/src/test/java/io/seata/server/lock/file/FileLockManagerImplTest.java index d838cf2aae8..4fb45d61e02 100644 --- a/server/src/test/java/io/seata/server/lock/file/FileLockManagerImplTest.java +++ b/server/src/test/java/io/seata/server/lock/file/FileLockManagerImplTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.lock.file; diff --git a/server/src/test/java/io/seata/server/lock/redis/RedisLockManagerTest.java b/server/src/test/java/io/seata/server/lock/redis/RedisLockManagerTest.java index 32502f815db..13b15897983 100644 --- a/server/src/test/java/io/seata/server/lock/redis/RedisLockManagerTest.java +++ b/server/src/test/java/io/seata/server/lock/redis/RedisLockManagerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.lock.redis; diff --git a/server/src/test/java/io/seata/server/lock/redis/RedisLuaLockManagerTest.java b/server/src/test/java/io/seata/server/lock/redis/RedisLuaLockManagerTest.java index 525f94c7c28..8c35f366aab 100644 --- a/server/src/test/java/io/seata/server/lock/redis/RedisLuaLockManagerTest.java +++ b/server/src/test/java/io/seata/server/lock/redis/RedisLuaLockManagerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.lock.redis; diff --git a/server/src/test/java/io/seata/server/metrics/RegistryMeterKeyTest.java b/server/src/test/java/io/seata/server/metrics/RegistryMeterKeyTest.java index dd717f16cb3..c2ab372819d 100644 --- a/server/src/test/java/io/seata/server/metrics/RegistryMeterKeyTest.java +++ b/server/src/test/java/io/seata/server/metrics/RegistryMeterKeyTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.metrics; diff --git a/server/src/test/java/io/seata/server/raft/RaftServerTest.java b/server/src/test/java/io/seata/server/raft/RaftServerTest.java index d5e96a422d5..2ca1f739c8c 100644 --- a/server/src/test/java/io/seata/server/raft/RaftServerTest.java +++ b/server/src/test/java/io/seata/server/raft/RaftServerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.raft; diff --git a/server/src/test/java/io/seata/server/raft/RaftSyncMessageTest.java b/server/src/test/java/io/seata/server/raft/RaftSyncMessageTest.java index 98ae9a4abe4..6da321af68b 100644 --- a/server/src/test/java/io/seata/server/raft/RaftSyncMessageTest.java +++ b/server/src/test/java/io/seata/server/raft/RaftSyncMessageTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.raft; diff --git a/server/src/test/java/io/seata/server/raft/execute/BranchSessionExecuteTest.java b/server/src/test/java/io/seata/server/raft/execute/BranchSessionExecuteTest.java index 33d7a74cb88..11d52d18ad8 100644 --- a/server/src/test/java/io/seata/server/raft/execute/BranchSessionExecuteTest.java +++ b/server/src/test/java/io/seata/server/raft/execute/BranchSessionExecuteTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.server.raft.execute; import io.seata.common.util.NetUtil; diff --git a/server/src/test/java/io/seata/server/raft/execute/GlobalSessionExecuteTest.java b/server/src/test/java/io/seata/server/raft/execute/GlobalSessionExecuteTest.java index e15dd71520f..cbbbd6d50ba 100644 --- a/server/src/test/java/io/seata/server/raft/execute/GlobalSessionExecuteTest.java +++ b/server/src/test/java/io/seata/server/raft/execute/GlobalSessionExecuteTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.server.raft.execute; import io.seata.common.util.NetUtil; diff --git a/server/src/test/java/io/seata/server/raft/execute/LockExecuteTest.java b/server/src/test/java/io/seata/server/raft/execute/LockExecuteTest.java index c84ecadf084..f3948f60088 100644 --- a/server/src/test/java/io/seata/server/raft/execute/LockExecuteTest.java +++ b/server/src/test/java/io/seata/server/raft/execute/LockExecuteTest.java @@ -1,19 +1,19 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ - package io.seata.server.raft.execute; import io.seata.common.util.NetUtil; diff --git a/server/src/test/java/io/seata/server/session/BranchSessionTest.java b/server/src/test/java/io/seata/server/session/BranchSessionTest.java index 9a69d451a67..5d1bfa887fe 100644 --- a/server/src/test/java/io/seata/server/session/BranchSessionTest.java +++ b/server/src/test/java/io/seata/server/session/BranchSessionTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/test/java/io/seata/server/session/FileSessionManagerTest.java b/server/src/test/java/io/seata/server/session/FileSessionManagerTest.java index bdd246fdb5f..1efca5b763d 100644 --- a/server/src/test/java/io/seata/server/session/FileSessionManagerTest.java +++ b/server/src/test/java/io/seata/server/session/FileSessionManagerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/test/java/io/seata/server/session/GlobalSessionTest.java b/server/src/test/java/io/seata/server/session/GlobalSessionTest.java index 4ed88665833..d1f6a68b4de 100644 --- a/server/src/test/java/io/seata/server/session/GlobalSessionTest.java +++ b/server/src/test/java/io/seata/server/session/GlobalSessionTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/test/java/io/seata/server/session/SessionHolderTest.java b/server/src/test/java/io/seata/server/session/SessionHolderTest.java index 99070bd6bfd..c46f3e42d65 100644 --- a/server/src/test/java/io/seata/server/session/SessionHolderTest.java +++ b/server/src/test/java/io/seata/server/session/SessionHolderTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/test/java/io/seata/server/session/SessionStatusValidatorTest.java b/server/src/test/java/io/seata/server/session/SessionStatusValidatorTest.java index 213f7e4b24e..1774680e597 100644 --- a/server/src/test/java/io/seata/server/session/SessionStatusValidatorTest.java +++ b/server/src/test/java/io/seata/server/session/SessionStatusValidatorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session; diff --git a/server/src/test/java/io/seata/server/session/db/DataBaseSessionManagerTest.java b/server/src/test/java/io/seata/server/session/db/DataBaseSessionManagerTest.java index 44a701da58f..234b6f14715 100644 --- a/server/src/test/java/io/seata/server/session/db/DataBaseSessionManagerTest.java +++ b/server/src/test/java/io/seata/server/session/db/DataBaseSessionManagerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session.db; diff --git a/server/src/test/java/io/seata/server/session/redis/MockRedisServer.java b/server/src/test/java/io/seata/server/session/redis/MockRedisServer.java index 11642136b88..dd6b9657373 100644 --- a/server/src/test/java/io/seata/server/session/redis/MockRedisServer.java +++ b/server/src/test/java/io/seata/server/session/redis/MockRedisServer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session.redis; diff --git a/server/src/test/java/io/seata/server/session/redis/RedisDistributedLockerTest.java b/server/src/test/java/io/seata/server/session/redis/RedisDistributedLockerTest.java index 693b9f46923..f958812aedd 100644 --- a/server/src/test/java/io/seata/server/session/redis/RedisDistributedLockerTest.java +++ b/server/src/test/java/io/seata/server/session/redis/RedisDistributedLockerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session.redis; diff --git a/server/src/test/java/io/seata/server/session/redis/RedisLuaTransactionStoreManagerTest.java b/server/src/test/java/io/seata/server/session/redis/RedisLuaTransactionStoreManagerTest.java index 9283c246fc1..5fe6b0d5463 100644 --- a/server/src/test/java/io/seata/server/session/redis/RedisLuaTransactionStoreManagerTest.java +++ b/server/src/test/java/io/seata/server/session/redis/RedisLuaTransactionStoreManagerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session.redis; diff --git a/server/src/test/java/io/seata/server/session/redis/RedisQueryConsolTest.java b/server/src/test/java/io/seata/server/session/redis/RedisQueryConsolTest.java index 606fcccf20e..df380aedacf 100644 --- a/server/src/test/java/io/seata/server/session/redis/RedisQueryConsolTest.java +++ b/server/src/test/java/io/seata/server/session/redis/RedisQueryConsolTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session.redis; diff --git a/server/src/test/java/io/seata/server/session/redis/RedisSessionManagerTest.java b/server/src/test/java/io/seata/server/session/redis/RedisSessionManagerTest.java index 60f769edb08..ba44db77345 100644 --- a/server/src/test/java/io/seata/server/session/redis/RedisSessionManagerTest.java +++ b/server/src/test/java/io/seata/server/session/redis/RedisSessionManagerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session.redis; diff --git a/server/src/test/java/io/seata/server/session/redis/RedisTransactionStoreManagerTest.java b/server/src/test/java/io/seata/server/session/redis/RedisTransactionStoreManagerTest.java index ab17a0d6cb7..450fa5605fe 100644 --- a/server/src/test/java/io/seata/server/session/redis/RedisTransactionStoreManagerTest.java +++ b/server/src/test/java/io/seata/server/session/redis/RedisTransactionStoreManagerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session.redis; diff --git a/server/src/test/java/io/seata/server/session/redis/SessionConverterTest.java b/server/src/test/java/io/seata/server/session/redis/SessionConverterTest.java index b62c9a43b3e..55b3b6438f8 100644 --- a/server/src/test/java/io/seata/server/session/redis/SessionConverterTest.java +++ b/server/src/test/java/io/seata/server/session/redis/SessionConverterTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.session.redis; diff --git a/server/src/test/java/io/seata/server/store/RaftSyncMessageSerializerTest.java b/server/src/test/java/io/seata/server/store/RaftSyncMessageSerializerTest.java index 9369d710ec8..85b20eea28d 100644 --- a/server/src/test/java/io/seata/server/store/RaftSyncMessageSerializerTest.java +++ b/server/src/test/java/io/seata/server/store/RaftSyncMessageSerializerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.store; diff --git a/server/src/test/java/io/seata/server/store/SessionStoreTest.java b/server/src/test/java/io/seata/server/store/SessionStoreTest.java index 04b2de8baee..b24a2cd5726 100644 --- a/server/src/test/java/io/seata/server/store/SessionStoreTest.java +++ b/server/src/test/java/io/seata/server/store/SessionStoreTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.store; diff --git a/server/src/test/java/io/seata/server/store/db/AbstractDataSourceProviderTest.java b/server/src/test/java/io/seata/server/store/db/AbstractDataSourceProviderTest.java index 71c5cc37fe2..5099be396fe 100644 --- a/server/src/test/java/io/seata/server/store/db/AbstractDataSourceProviderTest.java +++ b/server/src/test/java/io/seata/server/store/db/AbstractDataSourceProviderTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.store.db; diff --git a/server/src/test/java/io/seata/server/store/db/LogStoreDataBaseDAOTest.java b/server/src/test/java/io/seata/server/store/db/LogStoreDataBaseDAOTest.java index 73c5e518e1b..610c43349a1 100644 --- a/server/src/test/java/io/seata/server/store/db/LogStoreDataBaseDAOTest.java +++ b/server/src/test/java/io/seata/server/store/db/LogStoreDataBaseDAOTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.store.db; diff --git a/server/src/test/java/io/seata/server/store/file/FileTransactionStoreManagerTest.java b/server/src/test/java/io/seata/server/store/file/FileTransactionStoreManagerTest.java index dbe750b416f..bcc0701afb5 100644 --- a/server/src/test/java/io/seata/server/store/file/FileTransactionStoreManagerTest.java +++ b/server/src/test/java/io/seata/server/store/file/FileTransactionStoreManagerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.store.file; diff --git a/server/src/test/java/io/seata/server/util/StoreUtil.java b/server/src/test/java/io/seata/server/util/StoreUtil.java index 8f59da908f9..af061cca321 100644 --- a/server/src/test/java/io/seata/server/util/StoreUtil.java +++ b/server/src/test/java/io/seata/server/util/StoreUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.server.util; diff --git a/server/src/test/resources/application.properties b/server/src/test/resources/application.properties index 4514f890732..79fb60b6633 100644 --- a/server/src/test/resources/application.properties +++ b/server/src/test/resources/application.properties @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # Copyright 1999-2019 Seata.io Group. # diff --git a/server/src/test/resources/file.conf b/server/src/test/resources/file.conf index 51bc6687861..422c6dd5836 100644 --- a/server/src/test/resources/file.conf +++ b/server/src/test/resources/file.conf @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. #reduce delay for test ## transaction log store, only used in seata-server diff --git a/server/src/test/resources/junit-platform.properties b/server/src/test/resources/junit-platform.properties index 08caa039910..44637138e9f 100644 --- a/server/src/test/resources/junit-platform.properties +++ b/server/src/test/resources/junit-platform.properties @@ -1,17 +1,18 @@ # -# Copyright 1999-2019 Seata.io Group. +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # junit.jupiter.execution.parallel.enabled = false diff --git a/server/src/test/resources/lua/redisStore/deleteTransactionDO.lua b/server/src/test/resources/lua/redisStore/deleteTransactionDO.lua index a689bb4ab92..6ce81bf4fe3 100644 --- a/server/src/test/resources/lua/redisStore/deleteTransactionDO.lua +++ b/server/src/test/resources/lua/redisStore/deleteTransactionDO.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/25 diff --git a/server/src/test/resources/lua/redisStore/insertTransactionDO.lua b/server/src/test/resources/lua/redisStore/insertTransactionDO.lua index 8c2c3cbc858..3e235a88871 100644 --- a/server/src/test/resources/lua/redisStore/insertTransactionDO.lua +++ b/server/src/test/resources/lua/redisStore/insertTransactionDO.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/25 diff --git a/server/src/test/resources/lua/redisStore/rollbackGlobalTransactionDO.lua b/server/src/test/resources/lua/redisStore/rollbackGlobalTransactionDO.lua index 5e6c4a6a057..ef4eb18732a 100644 --- a/server/src/test/resources/lua/redisStore/rollbackGlobalTransactionDO.lua +++ b/server/src/test/resources/lua/redisStore/rollbackGlobalTransactionDO.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/27 diff --git a/server/src/test/resources/lua/redisStore/updateBranchTransactionDO.lua b/server/src/test/resources/lua/redisStore/updateBranchTransactionDO.lua index 24e3083cde8..b601a40cb02 100644 --- a/server/src/test/resources/lua/redisStore/updateBranchTransactionDO.lua +++ b/server/src/test/resources/lua/redisStore/updateBranchTransactionDO.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/27 diff --git a/server/src/test/resources/lua/redisStore/updateGlobalTransactionDO.lua b/server/src/test/resources/lua/redisStore/updateGlobalTransactionDO.lua index c511d8f541e..0603c0ad777 100644 --- a/server/src/test/resources/lua/redisStore/updateGlobalTransactionDO.lua +++ b/server/src/test/resources/lua/redisStore/updateGlobalTransactionDO.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/27 diff --git a/server/src/test/resources/lua/redislocker/acquireRedisLock.lua b/server/src/test/resources/lua/redislocker/acquireRedisLock.lua index cb1668cf6e3..2a1ad4fe08a 100644 --- a/server/src/test/resources/lua/redislocker/acquireRedisLock.lua +++ b/server/src/test/resources/lua/redislocker/acquireRedisLock.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: tianyu.li;conghuhu -- Date: 2022/7/1 diff --git a/server/src/test/resources/lua/redislocker/isLockable.lua b/server/src/test/resources/lua/redislocker/isLockable.lua index 7325966f276..5fedfd9d3b5 100644 --- a/server/src/test/resources/lua/redislocker/isLockable.lua +++ b/server/src/test/resources/lua/redislocker/isLockable.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/7 diff --git a/server/src/test/resources/lua/redislocker/releaseRedisLock.lua b/server/src/test/resources/lua/redislocker/releaseRedisLock.lua index 72176dcdd52..57e022f5a46 100644 --- a/server/src/test/resources/lua/redislocker/releaseRedisLock.lua +++ b/server/src/test/resources/lua/redislocker/releaseRedisLock.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/7 diff --git a/server/src/test/resources/lua/redislocker/updateLockStatus.lua b/server/src/test/resources/lua/redislocker/updateLockStatus.lua index d3170d33958..328bef8e8e4 100644 --- a/server/src/test/resources/lua/redislocker/updateLockStatus.lua +++ b/server/src/test/resources/lua/redislocker/updateLockStatus.lua @@ -1,16 +1,19 @@ --- Copyright 1999-2019 Seata.io Group. -- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements. See the NOTICE file distributed with +-- this work for additional information regarding copyright ownership. +-- The ASF licenses this file to You under the Apache License, Version 2.0 +-- (the "License"); you may not use this file except in compliance with +-- the License. You may obtain a copy of the License at -- --- http://www.apache.org/licenses/LICENSE-2.0 +-- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. +-- -- User: conghuhu -- Date: 2022/7/7 diff --git a/server/src/test/resources/registry.conf b/server/src/test/resources/registry.conf index 2897b267b98..ceb312b5e7e 100644 --- a/server/src/test/resources/registry.conf +++ b/server/src/test/resources/registry.conf @@ -1,16 +1,19 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. config { type = "file" diff --git a/spring/pom.xml b/spring/pom.xml index 73b71d26b1c..d9c76b0539e 100644 --- a/spring/pom.xml +++ b/spring/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/spring/src/main/java/io/seata/rm/fence/SpringFenceConfig.java b/spring/src/main/java/io/seata/rm/fence/SpringFenceConfig.java index 8f19a76548b..a20062023f5 100644 --- a/spring/src/main/java/io/seata/rm/fence/SpringFenceConfig.java +++ b/spring/src/main/java/io/seata/rm/fence/SpringFenceConfig.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.fence; diff --git a/spring/src/main/java/io/seata/rm/fence/SpringFenceHandler.java b/spring/src/main/java/io/seata/rm/fence/SpringFenceHandler.java index c67eb209d37..4b9a6d5debe 100644 --- a/spring/src/main/java/io/seata/rm/fence/SpringFenceHandler.java +++ b/spring/src/main/java/io/seata/rm/fence/SpringFenceHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.rm.fence; diff --git a/spring/src/main/java/io/seata/spring/SpringTargetClassParser.java b/spring/src/main/java/io/seata/spring/SpringTargetClassParser.java index bd79244ca9c..f0ea5a91da6 100644 --- a/spring/src/main/java/io/seata/spring/SpringTargetClassParser.java +++ b/spring/src/main/java/io/seata/spring/SpringTargetClassParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring; diff --git a/spring/src/main/java/io/seata/spring/annotation/AdapterInvocationWrapper.java b/spring/src/main/java/io/seata/spring/annotation/AdapterInvocationWrapper.java index f4159f39c0e..b7410e097f3 100644 --- a/spring/src/main/java/io/seata/spring/annotation/AdapterInvocationWrapper.java +++ b/spring/src/main/java/io/seata/spring/annotation/AdapterInvocationWrapper.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation; diff --git a/spring/src/main/java/io/seata/spring/annotation/AdapterSpringSeataInterceptor.java b/spring/src/main/java/io/seata/spring/annotation/AdapterSpringSeataInterceptor.java index fc7a95eb429..6e01e3c42fb 100644 --- a/spring/src/main/java/io/seata/spring/annotation/AdapterSpringSeataInterceptor.java +++ b/spring/src/main/java/io/seata/spring/annotation/AdapterSpringSeataInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation; diff --git a/spring/src/main/java/io/seata/spring/annotation/AspectTransactionalInterceptor.java b/spring/src/main/java/io/seata/spring/annotation/AspectTransactionalInterceptor.java index 15ea43cd82f..07efc2e000f 100644 --- a/spring/src/main/java/io/seata/spring/annotation/AspectTransactionalInterceptor.java +++ b/spring/src/main/java/io/seata/spring/annotation/AspectTransactionalInterceptor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation; diff --git a/spring/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java b/spring/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java index e51365dcb4b..7e2e01de128 100644 --- a/spring/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java +++ b/spring/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation; diff --git a/spring/src/main/java/io/seata/spring/annotation/MethodDesc.java b/spring/src/main/java/io/seata/spring/annotation/MethodDesc.java index 18a50d3b99c..470f3beedd1 100644 --- a/spring/src/main/java/io/seata/spring/annotation/MethodDesc.java +++ b/spring/src/main/java/io/seata/spring/annotation/MethodDesc.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation; diff --git a/spring/src/main/java/io/seata/spring/annotation/ScannerChecker.java b/spring/src/main/java/io/seata/spring/annotation/ScannerChecker.java index 0604d4af671..d671b91ea86 100644 --- a/spring/src/main/java/io/seata/spring/annotation/ScannerChecker.java +++ b/spring/src/main/java/io/seata/spring/annotation/ScannerChecker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation; diff --git a/spring/src/main/java/io/seata/spring/annotation/datasource/AutoDataSourceProxyRegistrar.java b/spring/src/main/java/io/seata/spring/annotation/datasource/AutoDataSourceProxyRegistrar.java index 18cacd5c9a8..87af4751018 100644 --- a/spring/src/main/java/io/seata/spring/annotation/datasource/AutoDataSourceProxyRegistrar.java +++ b/spring/src/main/java/io/seata/spring/annotation/datasource/AutoDataSourceProxyRegistrar.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation.datasource; diff --git a/spring/src/main/java/io/seata/spring/annotation/datasource/DataSourceProxyHolder.java b/spring/src/main/java/io/seata/spring/annotation/datasource/DataSourceProxyHolder.java index af516aaa594..908d622b838 100644 --- a/spring/src/main/java/io/seata/spring/annotation/datasource/DataSourceProxyHolder.java +++ b/spring/src/main/java/io/seata/spring/annotation/datasource/DataSourceProxyHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation.datasource; diff --git a/spring/src/main/java/io/seata/spring/annotation/datasource/EnableAutoDataSourceProxy.java b/spring/src/main/java/io/seata/spring/annotation/datasource/EnableAutoDataSourceProxy.java index 23b1a130bed..86ac5ad07c8 100644 --- a/spring/src/main/java/io/seata/spring/annotation/datasource/EnableAutoDataSourceProxy.java +++ b/spring/src/main/java/io/seata/spring/annotation/datasource/EnableAutoDataSourceProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation.datasource; diff --git a/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyAdvice.java b/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyAdvice.java index d9db9af061f..1e10e0d7674 100644 --- a/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyAdvice.java +++ b/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyAdvice.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation.datasource; diff --git a/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyCreator.java b/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyCreator.java index b5fdb69d4d3..ca0902b2578 100644 --- a/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyCreator.java +++ b/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyCreator.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation.datasource; diff --git a/spring/src/main/java/io/seata/spring/annotation/datasource/SeataProxy.java b/spring/src/main/java/io/seata/spring/annotation/datasource/SeataProxy.java index 39622d0f610..22fbc3d07f1 100644 --- a/spring/src/main/java/io/seata/spring/annotation/datasource/SeataProxy.java +++ b/spring/src/main/java/io/seata/spring/annotation/datasource/SeataProxy.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation.datasource; diff --git a/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ConfigBeansScannerChecker.java b/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ConfigBeansScannerChecker.java index 4fa1f7eb26a..66a2ed5ecc8 100644 --- a/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ConfigBeansScannerChecker.java +++ b/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ConfigBeansScannerChecker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation.scannercheckers; diff --git a/spring/src/main/java/io/seata/spring/annotation/scannercheckers/PackageScannerChecker.java b/spring/src/main/java/io/seata/spring/annotation/scannercheckers/PackageScannerChecker.java index 30c849be5de..532fe596818 100644 --- a/spring/src/main/java/io/seata/spring/annotation/scannercheckers/PackageScannerChecker.java +++ b/spring/src/main/java/io/seata/spring/annotation/scannercheckers/PackageScannerChecker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation.scannercheckers; diff --git a/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ScopeBeansScannerChecker.java b/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ScopeBeansScannerChecker.java index 6483ca494de..750b5c276b1 100644 --- a/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ScopeBeansScannerChecker.java +++ b/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ScopeBeansScannerChecker.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation.scannercheckers; diff --git a/spring/src/main/java/io/seata/spring/kt/support/TransactionCoroutineContext.kt b/spring/src/main/java/io/seata/spring/kt/support/TransactionCoroutineContext.kt index 6107c0aab9d..b1afdb42fd7 100644 --- a/spring/src/main/java/io/seata/spring/kt/support/TransactionCoroutineContext.kt +++ b/spring/src/main/java/io/seata/spring/kt/support/TransactionCoroutineContext.kt @@ -1,17 +1,18 @@ -/** - * Copyright 1999-2019 Seata.io Group. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.kt.support diff --git a/spring/src/main/java/io/seata/spring/kt/support/TransactionDsl.kt b/spring/src/main/java/io/seata/spring/kt/support/TransactionDsl.kt index 5cbfc348d08..e4ef71c2a2f 100644 --- a/spring/src/main/java/io/seata/spring/kt/support/TransactionDsl.kt +++ b/spring/src/main/java/io/seata/spring/kt/support/TransactionDsl.kt @@ -1,17 +1,18 @@ -/** - * Copyright 1999-2019 Seata.io Group. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.kt.support diff --git a/spring/src/main/java/io/seata/spring/remoting/parser/RemotingFactoryBeanParser.java b/spring/src/main/java/io/seata/spring/remoting/parser/RemotingFactoryBeanParser.java index f077149d950..743231a8c16 100644 --- a/spring/src/main/java/io/seata/spring/remoting/parser/RemotingFactoryBeanParser.java +++ b/spring/src/main/java/io/seata/spring/remoting/parser/RemotingFactoryBeanParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.remoting.parser; diff --git a/spring/src/main/java/io/seata/spring/tcc/TccAnnotationProcessor.java b/spring/src/main/java/io/seata/spring/tcc/TccAnnotationProcessor.java index 2eb5acb8430..d0a968908ec 100644 --- a/spring/src/main/java/io/seata/spring/tcc/TccAnnotationProcessor.java +++ b/spring/src/main/java/io/seata/spring/tcc/TccAnnotationProcessor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.tcc; diff --git a/spring/src/main/java/io/seata/spring/util/OrderUtil.java b/spring/src/main/java/io/seata/spring/util/OrderUtil.java index 0bf82f668e7..a83e34a4d6a 100644 --- a/spring/src/main/java/io/seata/spring/util/OrderUtil.java +++ b/spring/src/main/java/io/seata/spring/util/OrderUtil.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.util; diff --git a/spring/src/main/java/io/seata/spring/util/SpringProxyUtils.java b/spring/src/main/java/io/seata/spring/util/SpringProxyUtils.java index 37bc4f16cb0..bf7b7a218c3 100644 --- a/spring/src/main/java/io/seata/spring/util/SpringProxyUtils.java +++ b/spring/src/main/java/io/seata/spring/util/SpringProxyUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.util; diff --git a/spring/src/test/java/io/seata/spring/annotation/AdapterSpringSeataInterceptorTest.java b/spring/src/test/java/io/seata/spring/annotation/AdapterSpringSeataInterceptorTest.java index 6096de8d912..999791f241e 100644 --- a/spring/src/test/java/io/seata/spring/annotation/AdapterSpringSeataInterceptorTest.java +++ b/spring/src/test/java/io/seata/spring/annotation/AdapterSpringSeataInterceptorTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation; diff --git a/spring/src/test/java/io/seata/spring/annotation/MethodDescTest.java b/spring/src/test/java/io/seata/spring/annotation/MethodDescTest.java index 1733e7149e0..1844a893bcb 100644 --- a/spring/src/test/java/io/seata/spring/annotation/MethodDescTest.java +++ b/spring/src/test/java/io/seata/spring/annotation/MethodDescTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation; diff --git a/spring/src/test/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyTest.java b/spring/src/test/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyTest.java index 5bffeaea5a0..40d18931eb2 100644 --- a/spring/src/test/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyTest.java +++ b/spring/src/test/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.annotation.datasource; diff --git a/spring/src/test/java/io/seata/spring/kt/TransactionScopeTest.kt b/spring/src/test/java/io/seata/spring/kt/TransactionScopeTest.kt index be9b01a82f1..351d3d0658c 100644 --- a/spring/src/test/java/io/seata/spring/kt/TransactionScopeTest.kt +++ b/spring/src/test/java/io/seata/spring/kt/TransactionScopeTest.kt @@ -1,17 +1,18 @@ -/** - * Copyright 1999-2019 Seata.io Group. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.kt diff --git a/spring/src/test/java/io/seata/spring/tcc/NormalTccAction.java b/spring/src/test/java/io/seata/spring/tcc/NormalTccAction.java index 5067b21662b..dd801b24c15 100644 --- a/spring/src/test/java/io/seata/spring/tcc/NormalTccAction.java +++ b/spring/src/test/java/io/seata/spring/tcc/NormalTccAction.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.tcc; diff --git a/spring/src/test/java/io/seata/spring/tcc/NormalTccActionImpl.java b/spring/src/test/java/io/seata/spring/tcc/NormalTccActionImpl.java index 53aa57a4c7a..3deede20d4a 100644 --- a/spring/src/test/java/io/seata/spring/tcc/NormalTccActionImpl.java +++ b/spring/src/test/java/io/seata/spring/tcc/NormalTccActionImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.tcc; diff --git a/spring/src/test/java/io/seata/spring/util/MockAdvice1.java b/spring/src/test/java/io/seata/spring/util/MockAdvice1.java index d099a2f13a0..f183c592b07 100644 --- a/spring/src/test/java/io/seata/spring/util/MockAdvice1.java +++ b/spring/src/test/java/io/seata/spring/util/MockAdvice1.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.util; diff --git a/spring/src/test/java/io/seata/spring/util/MockAdvice2.java b/spring/src/test/java/io/seata/spring/util/MockAdvice2.java index 8ceecdbbe53..1c856cd19dc 100644 --- a/spring/src/test/java/io/seata/spring/util/MockAdvice2.java +++ b/spring/src/test/java/io/seata/spring/util/MockAdvice2.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.util; diff --git a/spring/src/test/java/io/seata/spring/util/MockAdvisor.java b/spring/src/test/java/io/seata/spring/util/MockAdvisor.java index 35883513205..71c8e474b73 100644 --- a/spring/src/test/java/io/seata/spring/util/MockAdvisor.java +++ b/spring/src/test/java/io/seata/spring/util/MockAdvisor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.util; diff --git a/spring/src/test/java/io/seata/spring/util/MockAnnotationOrdered.java b/spring/src/test/java/io/seata/spring/util/MockAnnotationOrdered.java index 0819ef2c984..8855e22e16e 100644 --- a/spring/src/test/java/io/seata/spring/util/MockAnnotationOrdered.java +++ b/spring/src/test/java/io/seata/spring/util/MockAnnotationOrdered.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.util; diff --git a/spring/src/test/java/io/seata/spring/util/MockOrdered.java b/spring/src/test/java/io/seata/spring/util/MockOrdered.java index db7bae54996..15b5d2072a4 100644 --- a/spring/src/test/java/io/seata/spring/util/MockOrdered.java +++ b/spring/src/test/java/io/seata/spring/util/MockOrdered.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.util; diff --git a/spring/src/test/java/io/seata/spring/util/OrderUtilTest.java b/spring/src/test/java/io/seata/spring/util/OrderUtilTest.java index c633a3090d3..216ca7285c1 100644 --- a/spring/src/test/java/io/seata/spring/util/OrderUtilTest.java +++ b/spring/src/test/java/io/seata/spring/util/OrderUtilTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.spring.util; diff --git a/spring/src/test/resources/file.conf b/spring/src/test/resources/file.conf index a06899c4a03..f3dede5c189 100644 --- a/spring/src/test/resources/file.conf +++ b/spring/src/test/resources/file.conf @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # Copyright 1999-2019 Seata.io Group. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/spring/src/test/resources/registry.conf b/spring/src/test/resources/registry.conf index 7870e78a687..5ad014bf55a 100644 --- a/spring/src/test/resources/registry.conf +++ b/spring/src/test/resources/registry.conf @@ -1,16 +1,20 @@ -# Copyright 1999-2019 Seata.io Group. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + registry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa type = "file" diff --git a/sqlparser/pom.xml b/sqlparser/pom.xml index 1b9e88e5fe6..f3c46b987f0 100644 --- a/sqlparser/pom.xml +++ b/sqlparser/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/sqlparser/seata-sqlparser-antlr/pom.xml b/sqlparser/seata-sqlparser-antlr/pom.xml index 0df0f7b3008..59a21a186cb 100644 --- a/sqlparser/seata-sqlparser-antlr/pom.xml +++ b/sqlparser/seata-sqlparser-antlr/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/AntlrDelegatingSQLRecognizerFactory.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/AntlrDelegatingSQLRecognizerFactory.java index 773c11db42a..40cd652ec66 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/AntlrDelegatingSQLRecognizerFactory.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/AntlrDelegatingSQLRecognizerFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolder.java index 4db91889bae..579f7310b0c 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolderFactory.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolderFactory.java index e73cec8d18b..88987413aad 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolderFactory.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolderFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLDeleteRecognizer.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLDeleteRecognizer.java index 84f4fd33dab..646759fb969 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLDeleteRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr.mysql; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLInsertRecognizer.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLInsertRecognizer.java index 14933644880..319f50d0f77 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLInsertRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr.mysql; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLRecognizerFactory.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLRecognizerFactory.java index 4643fa86b8f..e4abdfb7eed 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLRecognizerFactory.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLRecognizerFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr.mysql; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLSelectRecognizer.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLSelectRecognizer.java index a11c81ec27c..659fd333f39 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLSelectRecognizer.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLSelectRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr.mysql; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLUpdateRecognizer.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLUpdateRecognizer.java index 0f974f9245a..031cb740dd6 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr.mysql; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySQLOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySQLOperateRecognizerHolder.java index 8c7caa3b11e..a5014591e32 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySQLOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySQLOperateRecognizerHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr.mysql; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySqlContext.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySqlContext.java index 2a4aec98d77..eac8f4300cb 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySqlContext.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySqlContext.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr.mysql; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/DeleteSpecificationSqlListener.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/DeleteSpecificationSqlListener.java index 762b6b5f554..ec937b8a18b 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/DeleteSpecificationSqlListener.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/DeleteSpecificationSqlListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr.mysql.listener; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/SelectSpecificationSqlListener.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/SelectSpecificationSqlListener.java index 9adb2f96ae7..a9a0e4d114c 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/SelectSpecificationSqlListener.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/SelectSpecificationSqlListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr.mysql.listener; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/UpdateSpecificationSqlListener.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/UpdateSpecificationSqlListener.java index 74a1b45861e..da8097ebb4f 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/UpdateSpecificationSqlListener.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/UpdateSpecificationSqlListener.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr.mysql.listener; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/stream/ANTLRNoCaseStringStream.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/stream/ANTLRNoCaseStringStream.java index 7bda2d9c234..36381c1ce53 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/stream/ANTLRNoCaseStringStream.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/stream/ANTLRNoCaseStringStream.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr.mysql.stream; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertSpecificationSqlVisitor.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertSpecificationSqlVisitor.java index 366d964f262..1fc9d431ab3 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertSpecificationSqlVisitor.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertSpecificationSqlVisitor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr.mysql.visit; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertStatementSqlVisitor.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertStatementSqlVisitor.java index 28ef7160b32..fc5398529b3 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertStatementSqlVisitor.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertStatementSqlVisitor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr.mysql.visit; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/StatementSqlVisitor.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/StatementSqlVisitor.java index a348ede491e..861d12535e3 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/StatementSqlVisitor.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/StatementSqlVisitor.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr.mysql.visit; diff --git a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/AntlrIsolationTest.java b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/AntlrIsolationTest.java index aafeb3529fd..49cf16fc766 100644 --- a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/AntlrIsolationTest.java +++ b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/AntlrIsolationTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr; diff --git a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLDeleteRecognizerTest.java b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLDeleteRecognizerTest.java index 7b94d833b7c..5928021587c 100644 --- a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLDeleteRecognizerTest.java +++ b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLDeleteRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr; diff --git a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLInsertRecognizerTest.java b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLInsertRecognizerTest.java index d0904c7110d..9bde6547009 100644 --- a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLInsertRecognizerTest.java +++ b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLInsertRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr; diff --git a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLSelectForUpdateRecognizerForListenerTest.java b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLSelectForUpdateRecognizerForListenerTest.java index a6dd04588ec..c4d0671bbb9 100644 --- a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLSelectForUpdateRecognizerForListenerTest.java +++ b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLSelectForUpdateRecognizerForListenerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr; diff --git a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLUpdateRecognizerTest.java b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLUpdateRecognizerTest.java index d2a3bec69ce..e9f99a97944 100644 --- a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLUpdateRecognizerTest.java +++ b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.antlr; diff --git a/sqlparser/seata-sqlparser-core/pom.xml b/sqlparser/seata-sqlparser-core/pom.xml index e744ad7d4c0..47381291e08 100644 --- a/sqlparser/seata-sqlparser-core/pom.xml +++ b/sqlparser/seata-sqlparser-core/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandler.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandler.java index da19be45c9d..96223e060c5 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandler.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandler.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandlerFactory.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandlerFactory.java index 14e161701f7..60d4daf1300 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandlerFactory.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandlerFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeSymbol.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeSymbol.java index a6e659a1342..b805de194e4 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeSymbol.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeSymbol.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/JoinRecognizer.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/JoinRecognizer.java index 4e496ea2364..c1f7dc790fc 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/JoinRecognizer.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/JoinRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/ParametersHolder.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/ParametersHolder.java index 5c7f04d42a1..1b5b1173410 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/ParametersHolder.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/ParametersHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLDeleteRecognizer.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLDeleteRecognizer.java index 1c7af283827..065ec18d9e2 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLDeleteRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLInsertRecognizer.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLInsertRecognizer.java index aff1f78f4ec..335e5ebb830 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLInsertRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLParsingException.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLParsingException.java index 94d1e19f7d9..58c100a9a2c 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLParsingException.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLParsingException.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizer.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizer.java index 2d4bbfdb3f5..95995875fc4 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizer.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizerFactory.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizerFactory.java index a1613d36ed2..8e5d7589379 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizerFactory.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizerFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLSelectRecognizer.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLSelectRecognizer.java index 9c231217c28..608dd6d67e9 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLSelectRecognizer.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLSelectRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLType.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLType.java index 520fc87748e..c2fc84d05c8 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLType.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLUpdateRecognizer.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLUpdateRecognizer.java index 54cce0ebedd..28276937e39 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SqlParserType.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SqlParserType.java index dd6fa9d056d..48a5241bd40 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SqlParserType.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SqlParserType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/WhereRecognizer.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/WhereRecognizer.java index fa27ede3f99..b2705efe55b 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/WhereRecognizer.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/WhereRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/ColumnMeta.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/ColumnMeta.java index 6cff6eeaaee..409b8cb4541 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/ColumnMeta.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/ColumnMeta.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.struct; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Defaultable.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Defaultable.java index 65bba6ecb07..3bd5cec5f75 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Defaultable.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Defaultable.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.struct; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexMeta.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexMeta.java index 18ba58fb1fa..e97d943991c 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexMeta.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexMeta.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.struct; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexType.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexType.java index ae0109d60c2..58f480b4318 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexType.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexType.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.struct; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/NotPlaceholderExpr.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/NotPlaceholderExpr.java index 5d67c0b7e44..a46920a8a6b 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/NotPlaceholderExpr.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/NotPlaceholderExpr.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.struct; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Null.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Null.java index 4f3feabaf80..b86a7b8ed3f 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Null.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Null.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.struct; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Sequenceable.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Sequenceable.java index 299279fb0b9..5d82a03c4a8 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Sequenceable.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Sequenceable.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.struct; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlDefaultExpr.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlDefaultExpr.java index 6775f65ea09..ec154b42982 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlDefaultExpr.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlDefaultExpr.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.struct; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlMethodExpr.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlMethodExpr.java index 47877ead704..3a754c223e5 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlMethodExpr.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlMethodExpr.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.struct; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlSequenceExpr.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlSequenceExpr.java index d00440beb0c..4f74aeaa55f 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlSequenceExpr.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlSequenceExpr.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.struct; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMeta.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMeta.java index 67a6b5f04be..973f8ba3e9b 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMeta.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMeta.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.struct; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMetaCache.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMetaCache.java index f4999ade230..e3bb3dc1daf 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMetaCache.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMetaCache.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.struct; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/ColumnUtils.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/ColumnUtils.java index 17529a239ff..6097a7aa405 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/ColumnUtils.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/ColumnUtils.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.util; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/DbTypeParser.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/DbTypeParser.java index 93a373c25b7..7445a1bb962 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/DbTypeParser.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/DbTypeParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.util; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/JdbcConstants.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/JdbcConstants.java index bfbf60dc1e2..35224f8f765 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/JdbcConstants.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/JdbcConstants.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.util; diff --git a/sqlparser/seata-sqlparser-druid/pom.xml b/sqlparser/seata-sqlparser-druid/pom.xml index 75a6259ef26..92d307acbf7 100644 --- a/sqlparser/seata-sqlparser-druid/pom.xml +++ b/sqlparser/seata-sqlparser-druid/pom.xml @@ -1,19 +1,22 @@ + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/BaseRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/BaseRecognizer.java index ed4365ce156..e7dd9d9885d 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/BaseRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/BaseRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DefaultDruidLoader.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DefaultDruidLoader.java index c19ca7d34af..2caa3aa2243 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DefaultDruidLoader.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DefaultDruidLoader.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeAdapter.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeAdapter.java index a980a09c467..3bbc5093857 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeAdapter.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeAdapter.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeParserImpl.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeParserImpl.java index 44fadac2720..f87346c85ee 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeParserImpl.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeParserImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingDbTypeParser.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingDbTypeParser.java index d2229453e66..96bbee74bdd 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingDbTypeParser.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingDbTypeParser.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingSQLRecognizerFactory.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingSQLRecognizerFactory.java index 0683a01ffcb..45f39c0aa4b 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingSQLRecognizerFactory.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingSQLRecognizerFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidIsolationClassLoader.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidIsolationClassLoader.java index 28aa5f90a57..5e745f37dbb 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidIsolationClassLoader.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidIsolationClassLoader.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidLoader.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidLoader.java index 27c94d721a5..a4948df554c 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidLoader.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidLoader.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidSQLRecognizerFactoryImpl.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidSQLRecognizerFactoryImpl.java index 21899dd3d0c..fe9215b5cb1 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidSQLRecognizerFactoryImpl.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidSQLRecognizerFactoryImpl.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolder.java index eb4cd28c0b6..445fd890a1d 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolderFactory.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolderFactory.java index 7a7dbf508b1..d33d8b78df6 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolderFactory.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolderFactory.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SupportSqlWhereMethod.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SupportSqlWhereMethod.java index 5f6a2d4a262..8755af82316 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SupportSqlWhereMethod.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SupportSqlWhereMethod.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/BaseDmRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/BaseDmRecognizer.java index 217480ac10f..3375f4c7282 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/BaseDmRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/BaseDmRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.dm; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmDeleteRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmDeleteRecognizer.java index 84fa192c6b8..024f4c6de56 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmDeleteRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.dm; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmInsertRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmInsertRecognizer.java index b0b2675d6ac..5a19ae6bc27 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmInsertRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.dm; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmOperateRecognizerHolder.java index 4b4b25aaf32..591e501237a 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmOperateRecognizerHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.dm; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmSelectForUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmSelectForUpdateRecognizer.java index 0a3eb8b3b38..44880daf297 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmSelectForUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmSelectForUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.dm; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmUpdateRecognizer.java index b77d9156367..0f117c1a63f 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.dm; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbDeleteRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbDeleteRecognizer.java index a8492d2f2f8..3640b2d748e 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbDeleteRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.mariadb; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbInsertRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbInsertRecognizer.java index f6c89b929b6..2aed7e66091 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbInsertRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.mariadb; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbOperateRecognizerHolder.java index df3015ae3b0..a9166a51e90 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbOperateRecognizerHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.mariadb; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbSelectForUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbSelectForUpdateRecognizer.java index f59734cb7a1..f41a01b206c 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbSelectForUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbSelectForUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.mariadb; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbUpdateRecognizer.java index 60892b3e760..39897e30b9b 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.mariadb; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/BaseMySQLRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/BaseMySQLRecognizer.java index e2881cd655f..1b17985da05 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/BaseMySQLRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/BaseMySQLRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.mysql; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLDeleteRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLDeleteRecognizer.java index ed42d6984cc..917e82d0bf8 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLDeleteRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.mysql; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLInsertRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLInsertRecognizer.java index 190c19a9d31..a54dd0343f7 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLInsertRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.mysql; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLOperateRecognizerHolder.java index 3dc78765a23..c4a1830a13e 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLOperateRecognizerHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.mysql; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLSelectForUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLSelectForUpdateRecognizer.java index c1acd16a38e..625ffa52b24 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLSelectForUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLSelectForUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.mysql; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLUpdateRecognizer.java index d01a5192014..316e02848af 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.mysql; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/BaseOracleRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/BaseOracleRecognizer.java index da41ef4fdb9..e6903f378b7 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/BaseOracleRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/BaseOracleRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.oracle; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleDeleteRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleDeleteRecognizer.java index 77257bacc71..a483dc7beca 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleDeleteRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.oracle; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleInsertRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleInsertRecognizer.java index 45a370ce1d7..1cb6c8557b4 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleInsertRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.oracle; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleOperateRecognizerHolder.java index 1c2249aee34..70d747c938b 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleOperateRecognizerHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.oracle; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleSelectForUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleSelectForUpdateRecognizer.java index 5514c81c5fa..e08df33724a 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleSelectForUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleSelectForUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.oracle; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleUpdateRecognizer.java index 555e1b271c7..d6c276ad197 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.oracle; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizer.java index 6f9cb1985d0..e80ca9c6c1b 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.polardbx; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizer.java index 750c0c9128a..d39fae69691 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.polardbx; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolder.java index 0aa82927b89..3d32f6ed909 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.polardbx; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizer.java index 831a35badae..91a07e2f5a6 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.polardbx; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizer.java index 77f50ff272a..e7a0a17c145 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.polardbx; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/BasePostgresqlRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/BasePostgresqlRecognizer.java index f44307a1544..460ca60e746 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/BasePostgresqlRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/BasePostgresqlRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.postgresql; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlDeleteRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlDeleteRecognizer.java index 7574d324869..4d4296e45ae 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlDeleteRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.postgresql; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlInsertRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlInsertRecognizer.java index 935a6aeb135..c56012d6e8a 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlInsertRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.postgresql; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlOperateRecognizerHolder.java index c511ae9b7d0..abeb142b63d 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlOperateRecognizerHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.postgresql; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlSelectForUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlSelectForUpdateRecognizer.java index 36cc483e9ed..f93b06add39 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlSelectForUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlSelectForUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.postgresql; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlUpdateRecognizer.java index 562bef63b83..21506efa1cb 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.postgresql; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/BaseSqlServerRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/BaseSqlServerRecognizer.java index 0dcb79141bc..1fe2d67d99b 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/BaseSqlServerRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/BaseSqlServerRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.sqlserver; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizer.java index 9df062dafa0..8d60ce5869c 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.sqlserver; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizer.java index d81fe49c92b..10a56685b3f 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.sqlserver; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolder.java index b9bea563fa6..49081a84b24 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolder.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.sqlserver; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizer.java index 27c01e52db2..2259e8b95b1 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.sqlserver; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizer.java index 01657bc5930..d8ca9f24a42 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizer.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.sqlserver; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/AbstractRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/AbstractRecognizerTest.java index b6bfb3a275f..cdf9c01be5d 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/AbstractRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/AbstractRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidDbTypeParserTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidDbTypeParserTest.java index 5fe28e78779..b891fe9f001 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidDbTypeParserTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidDbTypeParserTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidIsolationTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidIsolationTest.java index 35a3d7d3a8e..baed5661009 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidIsolationTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidIsolationTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidLoaderForTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidLoaderForTest.java index a4db50f909e..78a9a2a457e 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidLoaderForTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidLoaderForTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidSQLRecognizerFactoryTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidSQLRecognizerFactoryTest.java index 3a02691e643..d47bae92f17 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidSQLRecognizerFactoryTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidSQLRecognizerFactoryTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbDeleteRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbDeleteRecognizerTest.java index a5e7e2e2717..634c73f0d81 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbDeleteRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbDeleteRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbInsertRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbInsertRecognizerTest.java index cff8a3cd187..bae0fb5ce19 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbInsertRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbInsertRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbSelectForUpdateRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbSelectForUpdateRecognizerTest.java index 94d7d760da4..64b9e3cf171 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbSelectForUpdateRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbSelectForUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbUpdateRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbUpdateRecognizerTest.java index f279c47cf9b..6741097585c 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbUpdateRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLDeleteRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLDeleteRecognizerTest.java index 0c9e598e2f9..e8f632eae37 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLDeleteRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLDeleteRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLInsertRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLInsertRecognizerTest.java index e153f72c96a..08d1f5e5b57 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLInsertRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLInsertRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLSelectForUpdateRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLSelectForUpdateRecognizerTest.java index 0e7ff281d16..0687904e52f 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLSelectForUpdateRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLSelectForUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLUpdateRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLUpdateRecognizerTest.java index 379cd9918d4..82684359a3c 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLUpdateRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/AbstractPolarDBXRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/AbstractPolarDBXRecognizerTest.java index 7a49a50fac0..cb24b042fb2 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/AbstractPolarDBXRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/AbstractPolarDBXRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.polardbx; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizerTest.java index f8b46b05501..9217a3b46d2 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.polardbx; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizerTest.java index 46f2655ce66..559ee5632b1 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.polardbx; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolderTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolderTest.java index 21334789afe..3e14937358e 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolderTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolderTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.polardbx; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizerTest.java index f58a2a5da31..8a4dadf5ae3 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.polardbx; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizerTest.java index 0a851cd8a38..a036bb159fb 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.polardbx; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizerTest.java index 453634d1786..3d05961cc3e 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.sqlserver; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizerTest.java index edecc68622d..d332cf9d1b8 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.sqlserver; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolderTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolderTest.java index a5ce972904a..2adb39f09ac 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolderTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolderTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.sqlserver; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizerTest.java index 1b08a7112f4..c067bb47072 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.sqlserver; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizerTest.java index c52bc7c7631..dfd96f275de 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizerTest.java @@ -1,17 +1,18 @@ /* - * Copyright 1999-2019 Seata.io Group. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.seata.sqlparser.druid.sqlserver; diff --git a/style/copyright b/style/copyright index 0868accfc45..0ed96c451f6 100644 --- a/style/copyright +++ b/style/copyright @@ -1,13 +1,14 @@ - Copyright 1999-2019 Seata.io Group. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/style/seata_checkstyle.xml b/style/seata_checkstyle.xml index 64e731611c7..4e8aca1d236 100644 --- a/style/seata_checkstyle.xml +++ b/style/seata_checkstyle.xml @@ -1,20 +1,22 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> @@ -28,12 +30,12 @@ - + - + diff --git a/style/seata_codeStyle.xml b/style/seata_codeStyle.xml index ff8a90c62a0..3a9729f8954 100644 --- a/style/seata_codeStyle.xml +++ b/style/seata_codeStyle.xml @@ -1,19 +1,21 @@ + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> + + com.github.microwww + redis-server + test + diff --git a/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryServiceImpl.java b/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryServiceImpl.java index 4964af9d994..e6719a7462f 100644 --- a/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryServiceImpl.java +++ b/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryServiceImpl.java @@ -19,8 +19,6 @@ import java.lang.management.ManagementFactory; import java.net.InetSocketAddress; import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; @@ -30,8 +28,10 @@ import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; +import io.seata.common.ConfigurationKeys; import io.seata.common.exception.ShouldNeverHappenException; import io.seata.common.thread.NamedThreadFactory; +import io.seata.common.util.CollectionUtils; import io.seata.common.util.NetUtil; import io.seata.common.util.StringUtils; import io.seata.config.Configuration; @@ -72,7 +72,7 @@ public class RedisRegistryServiceImpl implements RegistryService private static volatile JedisPool jedisPool; // redis registry key live 5 seconds, auto refresh key every 2 seconds - private static final int KEY_TTL = 5; + private static final long KEY_TTL = 5L; private static final long KEY_REFRESH_PERIOD = 2000L; private ScheduledExecutorService threadPoolExecutorForSubscribe = new ScheduledThreadPoolExecutor(1, @@ -188,7 +188,7 @@ public void unregister(InetSocketAddress address) { @Override public void subscribe(String cluster, RedisListener listener) { String redisRegistryKey = REDIS_FILEKEY_PREFIX + cluster; - LISTENER_SERVICE_MAP.computeIfAbsent(cluster, key -> new ArrayList<>()) + CollectionUtils.computeIfAbsent(LISTENER_SERVICE_MAP, cluster, key -> new ArrayList<>()) .add(listener); @@ -241,17 +241,45 @@ List lookupByCluster(String clusterName) { String eventType = msgr[1]; switch (eventType) { case RedisListener.REGISTER: - CLUSTER_ADDRESS_MAP.get(clusterName).add(NetUtil.toInetSocketAddress(serverAddr)); + CollectionUtils.computeIfAbsent(CLUSTER_ADDRESS_MAP, clusterName, value -> ConcurrentHashMap.newKeySet(2)) + .add(NetUtil.toInetSocketAddress(serverAddr)); break; case RedisListener.UN_REGISTER: - CLUSTER_ADDRESS_MAP.get(clusterName).remove(NetUtil.toInetSocketAddress(serverAddr)); + removeServerAddressByPushEmptyProtection(clusterName, serverAddr); break; default: throw new ShouldNeverHappenException("unknown redis msg:" + msg); } }); } - return new ArrayList<>(CLUSTER_ADDRESS_MAP.getOrDefault(clusterName, Collections.emptySet())); + return new ArrayList<>(CollectionUtils.computeIfAbsent(CLUSTER_ADDRESS_MAP, clusterName, value -> ConcurrentHashMap.newKeySet(2))); + } + + /** + * + * if the serverAddr is unique in the address list and + * the callback cluster is current cluster, then enable push-empty protection + * Otherwise, remove it. + * + * @param notifyCluserName notifyCluserName + * @param serverAddr serverAddr + */ + private void removeServerAddressByPushEmptyProtection(String notifyCluserName, String serverAddr) { + + Set socketAddresses = CollectionUtils.computeIfAbsent(CLUSTER_ADDRESS_MAP, notifyCluserName, value -> ConcurrentHashMap.newKeySet(2)); + InetSocketAddress inetSocketAddress = NetUtil.toInetSocketAddress(serverAddr); + if (socketAddresses.size() == 1 && socketAddresses.contains(inetSocketAddress)) { + String txServiceGroupName = ConfigurationFactory.getInstance() + .getConfig(ConfigurationKeys.TX_SERVICE_GROUP); + + if (StringUtils.isNotEmpty(txServiceGroupName)) { + String clusterName = getServiceGroup(txServiceGroupName); + if (notifyCluserName.equals(clusterName)) { + return; + } + } + } + CLUSTER_ADDRESS_MAP.get(notifyCluserName).remove(inetSocketAddress); } @Override @@ -292,7 +320,7 @@ private void updateClusterAddressMap(Jedis jedis, String redisRegistryKey, Strin scanParams.count(10); scanParams.match(redisRegistryKey + "_*"); String cursor = ScanParams.SCAN_POINTER_START; - Set newAddressSet = new HashSet<>(); + Set newAddressSet = ConcurrentHashMap.newKeySet(2); do { ScanResult scanResult = jedis.scan(cursor, scanParams); cursor = scanResult.getCursor(); @@ -308,7 +336,7 @@ private void updateClusterAddressMap(Jedis jedis, String redisRegistryKey, Strin } } while (!cursor.equals(ScanParams.SCAN_POINTER_START)); - if (!newAddressSet.equals(CLUSTER_ADDRESS_MAP.get(clusterName))) { + if (CollectionUtils.isNotEmpty(newAddressSet) && !newAddressSet.equals(CLUSTER_ADDRESS_MAP.get(clusterName))) { CLUSTER_ADDRESS_MAP.put(clusterName, newAddressSet); } } diff --git a/discovery/seata-discovery-redis/src/test/java/io/seata/discovery/registry/redis/RedisRegisterServiceImplTest.java b/discovery/seata-discovery-redis/src/test/java/io/seata/discovery/registry/redis/RedisRegisterServiceImplTest.java new file mode 100644 index 00000000000..3f3aa580024 --- /dev/null +++ b/discovery/seata-discovery-redis/src/test/java/io/seata/discovery/registry/redis/RedisRegisterServiceImplTest.java @@ -0,0 +1,120 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.discovery.registry.redis; + +import com.github.microwww.redis.RedisServer; +import io.seata.common.util.NetUtil; +import io.seata.config.Configuration; +import io.seata.config.ConfigurationFactory; +import org.junit.jupiter.api.*; +import org.mockito.MockedStatic; +import org.mockito.internal.util.collections.Sets; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.io.IOException; +import java.lang.reflect.Field; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import java.net.InetSocketAddress; +import java.util.Set; +import java.util.concurrent.ConcurrentMap; + +import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.mockStatic; +import static org.mockito.Mockito.when; + +/** + * @author laywin + */ +public class RedisRegisterServiceImplTest { + + private static RedisRegistryServiceImpl redisRegistryService; + + private static RedisServer server; + + + @BeforeAll + public static void init() throws IOException { + System.setProperty("config.type", "file"); + System.setProperty("config.file.name", "file.conf"); + System.setProperty("txServiceGroup", "default_tx_group"); + System.setProperty("service.vgroupMapping.default_tx_group", "default"); + System.setProperty("registry.redis.serverAddr", "127.0.0.1:6789"); + System.setProperty("registry.redis.cluster", "default"); + RedisServer server = new RedisServer(); + server.listener("127.0.0.1", 6789); + redisRegistryService = RedisRegistryServiceImpl.getInstance(); + } + + @Test + public void testFlow() { + + redisRegistryService.register(new InetSocketAddress(NetUtil.getLocalIp(), 8091)); + + Assertions.assertTrue(redisRegistryService.lookup("default_tx_group").size() > 0); + + redisRegistryService.unregister(new InetSocketAddress(NetUtil.getLocalIp(), 8091)); + + Assertions.assertTrue(redisRegistryService.lookup("default_tx_group").size() > 0); + } + + @Test + public void testRemoveServerAddressByPushEmptyProtection() + throws NoSuchFieldException, NoSuchMethodException, InvocationTargetException, IllegalAccessException { + + MockedStatic configurationFactoryMockedStatic = mockStatic(ConfigurationFactory.class); + Configuration configuration = mock(Configuration.class); + when(configuration.getConfig(anyString())).thenReturn("cluster"); + + configurationFactoryMockedStatic.when(ConfigurationFactory::getInstance).thenReturn(configuration); + + Field field = RedisRegistryServiceImpl.class.getDeclaredField("CLUSTER_ADDRESS_MAP"); + field.setAccessible(true); + + ConcurrentMap> CLUSTER_ADDRESS_MAP = (ConcurrentMap>)field.get(null); + CLUSTER_ADDRESS_MAP.put("cluster", Sets.newSet(NetUtil.toInetSocketAddress("127.0.0.1:8091"))); + + Method method = RedisRegistryServiceImpl.class.getDeclaredMethod("removeServerAddressByPushEmptyProtection", String.class, String.class); + method.setAccessible(true); + method.invoke(redisRegistryService, "cluster", "127.0.0.1:8091"); + + // test the push empty protection situation + Assertions.assertEquals(1, CLUSTER_ADDRESS_MAP.get("cluster").size()); + + + when(configuration.getConfig(anyString())).thenReturn("mycluster"); + + method.invoke(redisRegistryService, "cluster", "127.0.0.1:8091"); + configurationFactoryMockedStatic.close(); + + // test the normal remove situation + Assertions.assertEquals(0, CLUSTER_ADDRESS_MAP.get("cluster").size()); + } + + @AfterAll + public static void afterAll() { + if (server != null) { + try { + server.close(); + } catch (IOException e) { + e.printStackTrace(); + } + } + } +} From 97b9ad931a58f9c8c7a6ea7aed21692e133ef065 Mon Sep 17 00:00:00 2001 From: jimin Date: Thu, 21 Dec 2023 14:07:53 +0800 Subject: [PATCH 028/183] optimize: add ASF basic config (#6174) --- .asf.yaml | 60 ++++++++++++++++++++++++++++++++++++++++++++ changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + 3 files changed, 62 insertions(+) create mode 100644 .asf.yaml diff --git a/.asf.yaml b/.asf.yaml new file mode 100644 index 00000000000..fc197d0053f --- /dev/null +++ b/.asf.yaml @@ -0,0 +1,60 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +github: + description: ":fire: Seata is an easy-to-use, high-performance, open source distributed transaction solution." + homepage: https://seata.apache.org/ + labels: + - "mode: AT" + - "mode: TCC" + - "mode: SAGA" + - "mode: XA" + enabled_merge_buttons: + squash: true + merge: false + rebase: false + dependabot_alerts: true + dependabot_updates: false + protected_branches: + master: + required_status_checks: + strict: true + contexts: + - Required + required_pull_request_reviews: + dismiss_stale_reviews: true + required_approving_review_count: 1 + develop: + required_status_checks: + strict: true + contexts: + - Required + required_pull_request_reviews: + dismiss_stale_reviews: true + required_approving_review_count: 1 + 2.x: + required_status_checks: + strict: true + contexts: + - Required + required_pull_request_reviews: + dismiss_stale_reviews: true + required_approving_review_count: 1 + notifications: + commits: notifications@seata.apache.org + issues: dev@seata.apache.org + pullrequests: dev@seata.apache.org + discussions: dev@seata.apache.org \ No newline at end of file diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index ceb4b67c269..2c6448a0dc7 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -26,6 +26,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6116](https://github.com/seata/seata/pull/6034)] remove lgtm.com stuff - [[#6145](https://github.com/seata/seata/pull/6145)] upgrade jettison to 1.5.4 - [[#6164](https://github.com/seata/seata/pull/6164)] redis registry push empty protection optimize +- [[#6174](https://github.com/seata/seata/pull/6174)] add ASF basic config ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index ae4faa975ce..ab368d0982c 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -25,6 +25,7 @@ - [[#6034](https://github.com/seata/seata/pull/6034)] 使用helm图表进行部署时使用命令行中的命名空间 - [[#6116](https://github.com/seata/seata/pull/6034)] 移除 lgtm.com - [[#6164](https://github.com/seata/seata/pull/6164)] redis 注册中心推空保护优化 +- [[#6174](https://github.com/seata/seata/pull/6174)] 增加 ASF 基础配置 ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 From de9596b0c23aeb40658e2c449895282e9df97378 Mon Sep 17 00:00:00 2001 From: jimin Date: Thu, 21 Dec 2023 15:37:50 +0800 Subject: [PATCH 029/183] optimize: remove @author info (#6179) --- changes/en-us/2.x.md | 2 ++ changes/zh-cn/2.x.md | 2 ++ common/src/main/java/io/seata/common/ConfigurationKeys.java | 1 - common/src/main/java/io/seata/common/Constants.java | 1 - common/src/main/java/io/seata/common/DefaultValues.java | 3 +-- common/src/main/java/io/seata/common/XID.java | 1 - .../java/io/seata/common/exception/DataAccessException.java | 1 - .../io/seata/common/exception/EurekaRegistryException.java | 1 - .../java/io/seata/common/exception/FrameworkErrorCode.java | 1 - .../java/io/seata/common/exception/FrameworkException.java | 1 - .../java/io/seata/common/exception/JsonParseException.java | 1 - .../io/seata/common/exception/NotSupportYetException.java | 1 - .../main/java/io/seata/common/exception/RedisException.java | 1 - .../seata/common/exception/ShouldNeverHappenException.java | 1 - .../seata/common/exception/SkipCallbackWrapperException.java | 1 - .../main/java/io/seata/common/exception/StoreException.java | 1 - common/src/main/java/io/seata/common/executor/Callback.java | 1 - .../src/main/java/io/seata/common/executor/Initialize.java | 1 - .../src/main/java/io/seata/common/holder/ObjectHolder.java | 1 - common/src/main/java/io/seata/common/io/FileLoader.java | 1 - .../java/io/seata/common/loader/EnhancedServiceLoader.java | 3 +-- .../common/loader/EnhancedServiceNotFoundException.java | 1 - .../java/io/seata/common/loader/ExtensionDefinition.java | 1 - common/src/main/java/io/seata/common/loader/LoadLevel.java | 1 - common/src/main/java/io/seata/common/loader/Scope.java | 1 - .../src/main/java/io/seata/common/metadata/ClusterRole.java | 1 - common/src/main/java/io/seata/common/metadata/Metadata.java | 1 - .../main/java/io/seata/common/metadata/MetadataResponse.java | 1 - common/src/main/java/io/seata/common/metadata/Node.java | 1 - common/src/main/java/io/seata/common/rpc/RpcStatus.java | 1 - common/src/main/java/io/seata/common/store/StoreMode.java | 3 +-- .../main/java/io/seata/common/thread/NamedThreadFactory.java | 2 -- .../java/io/seata/common/thread/PositiveAtomicCounter.java | 3 +-- .../main/java/io/seata/common/thread/RejectedPolicies.java | 1 - common/src/main/java/io/seata/common/util/ArrayUtils.java | 1 - common/src/main/java/io/seata/common/util/BeanUtils.java | 1 - common/src/main/java/io/seata/common/util/BlobUtils.java | 2 -- common/src/main/java/io/seata/common/util/BufferUtils.java | 1 - .../src/main/java/io/seata/common/util/CollectionUtils.java | 2 -- common/src/main/java/io/seata/common/util/CompressUtil.java | 2 +- common/src/main/java/io/seata/common/util/ConfigTools.java | 1 - .../java/io/seata/common/util/CycleDependencyHandler.java | 1 - common/src/main/java/io/seata/common/util/DateUtil.java | 1 - common/src/main/java/io/seata/common/util/DurationUtil.java | 1 - .../src/main/java/io/seata/common/util/HttpClientUtil.java | 3 +-- common/src/main/java/io/seata/common/util/IOUtil.java | 1 - common/src/main/java/io/seata/common/util/IdWorker.java | 2 -- common/src/main/java/io/seata/common/util/LambdaUtils.java | 1 - common/src/main/java/io/seata/common/util/MapUtil.java | 1 - .../java/io/seata/common/util/NetAddressValidatorUtil.java | 1 - common/src/main/java/io/seata/common/util/NetUtil.java | 1 - common/src/main/java/io/seata/common/util/NumberUtils.java | 1 - common/src/main/java/io/seata/common/util/PageUtil.java | 1 - .../src/main/java/io/seata/common/util/ReflectionUtil.java | 2 -- common/src/main/java/io/seata/common/util/SizeUtil.java | 1 - .../main/java/io/seata/common/util/StringFormatUtils.java | 1 - common/src/main/java/io/seata/common/util/StringUtils.java | 2 -- common/src/test/java/io/seata/common/BranchDO.java | 1 - common/src/test/java/io/seata/common/XIDTest.java | 1 - .../io/seata/common/exception/DataAccessExceptionTest.java | 3 +-- .../seata/common/exception/EurekaRegistryExceptionTest.java | 3 +-- .../io/seata/common/exception/FrameworkExceptionTest.java | 1 - common/src/test/java/io/seata/common/exception/Message.java | 1 - .../seata/common/exception/NotSupportYetExceptionTest.java | 3 +-- .../common/exception/ShouldNeverHappenExceptionTest.java | 3 +-- .../test/java/io/seata/common/holder/ObjectHolderTest.java | 1 - common/src/test/java/io/seata/common/io/FileLoaderTest.java | 1 - .../src/test/java/io/seata/common/loader/ChineseHello.java | 1 - .../src/test/java/io/seata/common/loader/EnglishHello.java | 1 - .../io/seata/common/loader/EnhancedServiceLoaderTest.java | 1 - .../java/io/seata/common/loader/ExtensionDefinitionTest.java | 1 - common/src/test/java/io/seata/common/loader/FrenchHello.java | 1 - common/src/test/java/io/seata/common/loader/Hello.java | 1 - common/src/test/java/io/seata/common/loader/Hello1.java | 1 - common/src/test/java/io/seata/common/loader/Hello2.java | 1 - .../src/test/java/io/seata/common/loader/JapaneseHello.java | 1 - common/src/test/java/io/seata/common/loader/LatinHello.java | 1 - common/src/test/java/io/seata/common/rpc/RpcStatusTest.java | 1 - .../java/io/seata/common/thread/NamedThreadFactoryTest.java | 1 - .../src/test/java/io/seata/common/util/ArrayUtilsTest.java | 1 - common/src/test/java/io/seata/common/util/BeanUtilsTest.java | 1 - common/src/test/java/io/seata/common/util/BlobUtilsTest.java | 2 -- .../test/java/io/seata/common/util/CollectionUtilsTest.java | 1 - .../src/test/java/io/seata/common/util/ConfigToolsTest.java | 1 - common/src/test/java/io/seata/common/util/DateUtilTest.java | 1 - common/src/test/java/io/seata/common/util/IOUtilTest.java | 3 +-- common/src/test/java/io/seata/common/util/IdWorkerTest.java | 2 +- .../java/io/seata/common/util/LowerCaseLinkHashMapTest.java | 1 - common/src/test/java/io/seata/common/util/MapUtilTest.java | 1 - .../io/seata/common/util/NetAddressValidatorUtilTest.java | 1 - common/src/test/java/io/seata/common/util/NetUtilTest.java | 1 - .../src/test/java/io/seata/common/util/NumberUtilsTest.java | 1 - common/src/test/java/io/seata/common/util/PageUtilTest.java | 1 - .../java/io/seata/common/util/StringFormatUtilsTest.java | 2 +- .../src/test/java/io/seata/common/util/StringUtilsTest.java | 2 -- .../main/java/io/seata/compressor/bzip2/BZip2Compressor.java | 1 - .../src/main/java/io/seata/compressor/bzip2/BZip2Util.java | 1 - .../java/io/seata/compressor/bzip2/BZip2CompressorTest.java | 1 - .../test/java/io/seata/compressor/bzip2/BZip2UtilTest.java | 1 - .../io/seata/compressor/deflater/DeflaterCompressor.java | 1 - .../main/java/io/seata/compressor/deflater/DeflaterUtil.java | 1 - .../io/seata/compressor/deflater/DeflaterCompressorTest.java | 1 - .../java/io/seata/compressor/deflater/DeflaterUtilTest.java | 1 - .../main/java/io/seata/compressor/gzip/GzipCompressor.java | 1 - .../src/main/java/io/seata/compressor/gzip/GzipUtil.java | 1 - .../java/io/seata/compressor/gzip/GzipCompressorTest.java | 1 - .../src/test/java/io/seata/compressor/gzip/GzipUtilTest.java | 1 - .../src/main/java/io/seata/compressor/lz4/Lz4Compressor.java | 1 - .../src/main/java/io/seata/compressor/lz4/Lz4Util.java | 1 - .../test/java/io/seata/compressor/lz4/Lz4CompressorTest.java | 3 +-- .../src/test/java/io/seata/compressor/lz4/Lz4UtilTest.java | 3 +-- .../src/main/java/io/seata/compressor/zip/ZipCompressor.java | 1 - .../src/main/java/io/seata/compressor/zip/ZipUtil.java | 1 - .../test/java/io/seata/compressor/zip/ZipCompressorTest.java | 1 - .../src/test/java/io/seata/compressor/zip/ZipUtilTest.java | 1 - .../main/java/io/seata/compressor/zstd/ZstdCompressor.java | 1 - .../src/main/java/io/seata/compressor/zstd/ZstdUtil.java | 1 - .../java/io/seata/compressor/zstd/ZstdCompressorTest.java | 1 - .../src/test/java/io/seata/compressor/zstd/ZstdUtilTest.java | 1 - .../java/io/seata/config/apollo/ApolloConfiguration.java | 1 - .../io/seata/config/apollo/ApolloConfigurationProvider.java | 1 - .../java/io/seata/config/consul/ConsulConfiguration.java | 1 - .../io/seata/config/consul/ConsulConfigurationProvider.java | 1 - .../src/main/java/io/seata/config/AbstractConfiguration.java | 1 - .../src/main/java/io/seata/config/ConfigChangeListener.java | 1 - .../src/main/java/io/seata/config/ConfigFuture.java | 1 - .../src/main/java/io/seata/config/ConfigType.java | 1 - .../src/main/java/io/seata/config/Configuration.java | 1 - .../src/main/java/io/seata/config/ConfigurationCache.java | 1 - .../main/java/io/seata/config/ConfigurationChangeEvent.java | 1 - .../java/io/seata/config/ConfigurationChangeListener.java | 1 - .../main/java/io/seata/config/ConfigurationChangeType.java | 1 - .../src/main/java/io/seata/config/ConfigurationFactory.java | 2 -- .../src/main/java/io/seata/config/ConfigurationKeys.java | 1 - .../src/main/java/io/seata/config/ConfigurationProvider.java | 1 - .../main/java/io/seata/config/ExtConfigurationProvider.java | 1 - .../src/main/java/io/seata/config/FileConfigFactory.java | 1 - .../src/main/java/io/seata/config/FileConfiguration.java | 1 - .../io/seata/config/exception/ConfigNotFoundException.java | 1 - .../src/main/java/io/seata/config/file/FileConfig.java | 1 - .../src/main/java/io/seata/config/file/SimpleFileConfig.java | 1 - .../src/main/java/io/seata/config/file/YamlFileConfig.java | 1 - .../main/java/io/seata/config/processor/ConfigDataType.java | 1 - .../main/java/io/seata/config/processor/ConfigProcessor.java | 1 - .../src/main/java/io/seata/config/processor/Processor.java | 1 - .../java/io/seata/config/processor/ProcessorProperties.java | 1 - .../main/java/io/seata/config/processor/ProcessorYaml.java | 1 - .../src/test/java/io/seata/config/ConfigFutureTest.java | 3 +-- .../src/test/java/io/seata/config/ConfigProperty.java | 1 - .../src/test/java/io/seata/config/ConfigTypeTest.java | 3 +-- .../test/java/io/seata/config/ConfigurationCacheTests.java | 1 - .../java/io/seata/config/ConfigurationChangeEventTest.java | 3 +-- .../src/test/java/io/seata/config/FileConfigurationTest.java | 1 - .../java/io/seata/config/ProConfigurationFactoryTest.java | 3 +-- .../io/seata/config/RegistryConfigurationFactoryTest.java | 3 +-- .../java/io/seata/config/YamlConfigurationFactoryTest.java | 3 +-- .../test/java/io/seata/config/file/SimpleFileConfigTest.java | 3 +-- .../test/java/io/seata/config/file/YamlFileConfigTest.java | 3 +-- .../java/io/seata/config/processor/ConfigDataTypeTest.java | 3 +-- .../java/io/seata/config/processor/ConfigProcessorTest.java | 2 +- .../io/seata/config/processor/ProcessorPropertiesTest.java | 3 +-- .../io/seata/config/custom/CustomConfigurationProvider.java | 1 - .../src/test/java/io/seata/config/ConfigurationTest.java | 3 +-- .../io/seata/config/CustomConfigurationProviderForTest.java | 1 - .../test/java/io/seata/config/CustomConfigurationTest.java | 3 +-- .../main/java/io/seata/config/etcd3/EtcdConfiguration.java | 1 - .../io/seata/config/etcd3/EtcdConfigurationProvider.java | 1 - .../main/java/io/seata/config/nacos/NacosConfiguration.java | 2 -- .../io/seata/config/nacos/NacosConfigurationProvider.java | 1 - .../java/io/seata/config/nacos/NacosConfigurationTest.java | 1 - .../config/springcloud/SpringApplicationContextProvider.java | 2 -- .../SpringApplicationContextProviderRegistrar.java | 3 +-- .../main/java/io/seata/config/zk/DefaultZkSerializer.java | 1 - .../main/java/io/seata/config/zk/ZookeeperConfiguration.java | 1 - .../io/seata/config/zk/ZookeeperConfigurationProvider.java | 1 - console/src/main/java/io/seata/console/Application.java | 1 - .../src/main/java/io/seata/console/config/JacksonConfig.java | 1 - .../main/java/io/seata/console/config/WebSecurityConfig.java | 1 - console/src/main/java/io/seata/console/constant/Code.java | 1 - .../java/io/seata/console/controller/AuthController.java | 1 - .../java/io/seata/console/controller/OverviewController.java | 1 - .../seata/console/filter/JwtAuthenticationTokenFilter.java | 1 - console/src/main/java/io/seata/console/param/BaseParam.java | 1 - .../src/main/java/io/seata/console/result/PageResult.java | 3 --- console/src/main/java/io/seata/console/result/Result.java | 1 - .../src/main/java/io/seata/console/result/SingleResult.java | 1 - .../seata/console/security/CustomAuthenticationProvider.java | 1 - .../java/io/seata/console/security/CustomUserDetails.java | 1 - .../seata/console/security/CustomUserDetailsServiceImpl.java | 1 - .../seata/console/security/JwtAuthenticationEntryPoint.java | 1 - console/src/main/java/io/seata/console/security/User.java | 1 - .../src/main/java/io/seata/console/utils/JwtTokenUtils.java | 1 - core/src/main/java/io/seata/core/auth/AuthSigner.java | 1 - core/src/main/java/io/seata/core/auth/DefaultAuthSigner.java | 1 - core/src/main/java/io/seata/core/auth/RamSignAdapter.java | 1 - core/src/main/java/io/seata/core/compressor/Compressor.java | 1 - .../java/io/seata/core/compressor/CompressorFactory.java | 1 - .../main/java/io/seata/core/compressor/CompressorType.java | 1 - .../java/io/seata/core/constants/ClientTableColumnsName.java | 1 - .../main/java/io/seata/core/constants/ConfigurationKeys.java | 1 - core/src/main/java/io/seata/core/constants/DBType.java | 1 - .../main/java/io/seata/core/constants/DubboConstants.java | 1 - .../main/java/io/seata/core/constants/RedisKeyConstants.java | 1 - .../java/io/seata/core/constants/RpcMessageConstants.java | 1 - .../java/io/seata/core/constants/ServerTableColumnsName.java | 1 - core/src/main/java/io/seata/core/context/ContextCore.java | 1 - .../main/java/io/seata/core/context/ContextCoreLoader.java | 1 - .../io/seata/core/context/FastThreadLocalContextCore.java | 3 +-- .../java/io/seata/core/context/GlobalLockConfigHolder.java | 1 - core/src/main/java/io/seata/core/context/RootContext.java | 1 - .../java/io/seata/core/context/ThreadLocalContextCore.java | 1 - core/src/main/java/io/seata/core/event/Event.java | 1 - core/src/main/java/io/seata/core/event/EventBus.java | 1 - core/src/main/java/io/seata/core/event/ExceptionEvent.java | 1 - .../java/io/seata/core/event/GlobalTransactionEvent.java | 1 - core/src/main/java/io/seata/core/event/GuavaEventBus.java | 1 - .../io/seata/core/exception/AbstractExceptionHandler.java | 1 - .../io/seata/core/exception/BranchTransactionException.java | 1 - .../main/java/io/seata/core/exception/DecodeException.java | 1 - .../io/seata/core/exception/GlobalTransactionException.java | 1 - .../java/io/seata/core/exception/RmTransactionException.java | 1 - .../java/io/seata/core/exception/TmTransactionException.java | 1 - .../java/io/seata/core/exception/TransactionException.java | 1 - .../io/seata/core/exception/TransactionExceptionCode.java | 1 - core/src/main/java/io/seata/core/lock/AbstractLocker.java | 1 - core/src/main/java/io/seata/core/lock/LocalDBLocker.java | 1 - core/src/main/java/io/seata/core/lock/RowLock.java | 1 - .../src/main/java/io/seata/core/logger/StackTraceLogger.java | 1 - core/src/main/java/io/seata/core/model/BranchStatus.java | 1 - core/src/main/java/io/seata/core/model/BranchType.java | 1 - core/src/main/java/io/seata/core/model/GlobalLockConfig.java | 1 - core/src/main/java/io/seata/core/model/GlobalStatus.java | 1 - core/src/main/java/io/seata/core/model/LockStatus.java | 1 - core/src/main/java/io/seata/core/model/Resource.java | 1 - core/src/main/java/io/seata/core/model/ResourceManager.java | 1 - .../java/io/seata/core/model/ResourceManagerInbound.java | 1 - .../java/io/seata/core/model/ResourceManagerOutbound.java | 1 - core/src/main/java/io/seata/core/model/Result.java | 1 - .../main/java/io/seata/core/model/TransactionManager.java | 1 - .../java/io/seata/core/protocol/AbstractIdentifyRequest.java | 1 - .../io/seata/core/protocol/AbstractIdentifyResponse.java | 1 - .../main/java/io/seata/core/protocol/AbstractMessage.java | 1 - .../java/io/seata/core/protocol/AbstractResultMessage.java | 1 - .../main/java/io/seata/core/protocol/BatchResultMessage.java | 1 - .../main/java/io/seata/core/protocol/HeartbeatMessage.java | 1 - .../io/seata/core/protocol/IncompatibleVersionException.java | 1 - core/src/main/java/io/seata/core/protocol/MergeMessage.java | 1 - .../main/java/io/seata/core/protocol/MergeResultMessage.java | 1 - .../main/java/io/seata/core/protocol/MergedWarpMessage.java | 1 - core/src/main/java/io/seata/core/protocol/MessageFuture.java | 1 - core/src/main/java/io/seata/core/protocol/MessageType.java | 1 - .../main/java/io/seata/core/protocol/ProtocolConstants.java | 1 - .../main/java/io/seata/core/protocol/RegisterRMRequest.java | 1 - .../main/java/io/seata/core/protocol/RegisterRMResponse.java | 1 - .../main/java/io/seata/core/protocol/RegisterTMRequest.java | 1 - .../main/java/io/seata/core/protocol/RegisterTMResponse.java | 1 - core/src/main/java/io/seata/core/protocol/ResultCode.java | 1 - core/src/main/java/io/seata/core/protocol/RpcMessage.java | 1 - core/src/main/java/io/seata/core/protocol/Version.java | 1 - .../java/io/seata/core/protocol/VersionInfo.java.template | 1 - .../core/protocol/transaction/AbstractBranchEndRequest.java | 1 - .../core/protocol/transaction/AbstractBranchEndResponse.java | 1 - .../core/protocol/transaction/AbstractGlobalEndRequest.java | 1 - .../core/protocol/transaction/AbstractGlobalEndResponse.java | 1 - .../protocol/transaction/AbstractTransactionRequest.java | 1 - .../protocol/transaction/AbstractTransactionRequestToRM.java | 1 - .../protocol/transaction/AbstractTransactionRequestToTC.java | 3 +-- .../protocol/transaction/AbstractTransactionResponse.java | 1 - .../seata/core/protocol/transaction/BranchCommitRequest.java | 1 - .../core/protocol/transaction/BranchCommitResponse.java | 1 - .../core/protocol/transaction/BranchRegisterRequest.java | 1 - .../core/protocol/transaction/BranchRegisterResponse.java | 1 - .../seata/core/protocol/transaction/BranchReportRequest.java | 1 - .../core/protocol/transaction/BranchReportResponse.java | 1 - .../core/protocol/transaction/BranchRollbackRequest.java | 1 - .../core/protocol/transaction/BranchRollbackResponse.java | 1 - .../seata/core/protocol/transaction/GlobalBeginRequest.java | 1 - .../seata/core/protocol/transaction/GlobalBeginResponse.java | 1 - .../seata/core/protocol/transaction/GlobalCommitRequest.java | 1 - .../core/protocol/transaction/GlobalCommitResponse.java | 1 - .../core/protocol/transaction/GlobalLockQueryRequest.java | 1 - .../core/protocol/transaction/GlobalLockQueryResponse.java | 1 - .../seata/core/protocol/transaction/GlobalReportRequest.java | 1 - .../core/protocol/transaction/GlobalReportResponse.java | 1 - .../core/protocol/transaction/GlobalRollbackRequest.java | 1 - .../core/protocol/transaction/GlobalRollbackResponse.java | 1 - .../seata/core/protocol/transaction/GlobalStatusRequest.java | 1 - .../core/protocol/transaction/GlobalStatusResponse.java | 1 - .../io/seata/core/protocol/transaction/RMInboundHandler.java | 1 - .../io/seata/core/protocol/transaction/TCInboundHandler.java | 1 - .../core/protocol/transaction/UndoLogDeleteRequest.java | 1 - .../main/java/io/seata/core/rpc/ClientMessageListener.java | 1 - .../src/main/java/io/seata/core/rpc/ClientMessageSender.java | 1 - core/src/main/java/io/seata/core/rpc/ClientType.java | 1 - .../io/seata/core/rpc/DefaultServerMessageListenerImpl.java | 1 - core/src/main/java/io/seata/core/rpc/Disposable.java | 1 - .../java/io/seata/core/rpc/RegisterCheckAuthHandler.java | 1 - core/src/main/java/io/seata/core/rpc/RemotingBootstrap.java | 1 - core/src/main/java/io/seata/core/rpc/RemotingClient.java | 2 -- core/src/main/java/io/seata/core/rpc/RemotingServer.java | 2 -- core/src/main/java/io/seata/core/rpc/RemotingService.java | 1 - core/src/main/java/io/seata/core/rpc/RpcContext.java | 1 - .../main/java/io/seata/core/rpc/ServerMessageListener.java | 1 - .../src/main/java/io/seata/core/rpc/ServerMessageSender.java | 1 - core/src/main/java/io/seata/core/rpc/ShutdownHook.java | 1 - .../java/io/seata/core/rpc/TransactionMessageHandler.java | 1 - .../main/java/io/seata/core/rpc/TransportProtocolType.java | 1 - .../src/main/java/io/seata/core/rpc/TransportServerType.java | 1 - core/src/main/java/io/seata/core/rpc/hook/RpcHook.java | 1 - core/src/main/java/io/seata/core/rpc/hook/StatusRpcHook.java | 1 - .../java/io/seata/core/rpc/netty/AbstractNettyRemoting.java | 2 -- .../io/seata/core/rpc/netty/AbstractNettyRemotingClient.java | 3 --- .../io/seata/core/rpc/netty/AbstractNettyRemotingServer.java | 1 - .../io/seata/core/rpc/netty/ChannelAuthHealthChecker.java | 1 - .../java/io/seata/core/rpc/netty/ChannelEventListener.java | 1 - .../main/java/io/seata/core/rpc/netty/ChannelManager.java | 1 - core/src/main/java/io/seata/core/rpc/netty/ChannelUtil.java | 1 - .../main/java/io/seata/core/rpc/netty/NettyBaseConfig.java | 1 - .../java/io/seata/core/rpc/netty/NettyClientBootstrap.java | 2 -- .../io/seata/core/rpc/netty/NettyClientChannelManager.java | 2 -- .../main/java/io/seata/core/rpc/netty/NettyClientConfig.java | 1 - core/src/main/java/io/seata/core/rpc/netty/NettyPoolKey.java | 1 - .../java/io/seata/core/rpc/netty/NettyPoolableFactory.java | 1 - .../java/io/seata/core/rpc/netty/NettyRemotingServer.java | 3 --- .../java/io/seata/core/rpc/netty/NettyServerBootstrap.java | 1 - .../main/java/io/seata/core/rpc/netty/NettyServerConfig.java | 1 - .../java/io/seata/core/rpc/netty/RegisterMsgListener.java | 1 - .../java/io/seata/core/rpc/netty/RmNettyRemotingClient.java | 3 --- .../main/java/io/seata/core/rpc/netty/RpcEventLoopGroup.java | 1 - .../java/io/seata/core/rpc/netty/TmNettyRemotingClient.java | 3 --- .../java/io/seata/core/rpc/netty/v1/HeadMapSerializer.java | 1 - .../java/io/seata/core/rpc/netty/v1/ProtocolV1Decoder.java | 1 - .../java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java | 1 - core/src/main/java/io/seata/core/rpc/processor/Pair.java | 1 - .../java/io/seata/core/rpc/processor/RemotingProcessor.java | 1 - .../core/rpc/processor/client/ClientHeartbeatProcessor.java | 1 - .../core/rpc/processor/client/ClientOnResponseProcessor.java | 1 - .../core/rpc/processor/client/RmBranchCommitProcessor.java | 1 - .../core/rpc/processor/client/RmBranchRollbackProcessor.java | 1 - .../seata/core/rpc/processor/client/RmUndoLogProcessor.java | 1 - .../io/seata/core/rpc/processor/server/BatchLogHandler.java | 1 - .../io/seata/core/rpc/processor/server/RegRmProcessor.java | 1 - .../io/seata/core/rpc/processor/server/RegTmProcessor.java | 1 - .../core/rpc/processor/server/ServerHeartbeatProcessor.java | 1 - .../core/rpc/processor/server/ServerOnRequestProcessor.java | 1 - .../core/rpc/processor/server/ServerOnResponseProcessor.java | 1 - core/src/main/java/io/seata/core/serializer/Serializer.java | 1 - .../io/seata/core/serializer/SerializerSecurityRegistry.java | 1 - .../io/seata/core/serializer/SerializerServiceLoader.java | 1 - .../main/java/io/seata/core/serializer/SerializerType.java | 1 - .../main/java/io/seata/core/store/BranchTransactionDO.java | 1 - .../java/io/seata/core/store/DefaultDistributedLocker.java | 1 - .../src/main/java/io/seata/core/store/DistributedLockDO.java | 2 -- .../src/main/java/io/seata/core/store/DistributedLocker.java | 2 -- .../main/java/io/seata/core/store/GlobalTransactionDO.java | 1 - core/src/main/java/io/seata/core/store/LockDO.java | 1 - core/src/main/java/io/seata/core/store/LockStore.java | 1 - core/src/main/java/io/seata/core/store/LogStore.java | 1 - .../io/seata/core/store/db/AbstractDataSourceProvider.java | 2 -- .../main/java/io/seata/core/store/db/DataSourceProvider.java | 1 - .../db/sql/distributed/lock/BaseDistributedLockSql.java | 1 - .../store/db/sql/distributed/lock/DistributedLockSql.java | 1 - .../db/sql/distributed/lock/DistributedLockSqlFactory.java | 1 - .../seata/core/store/db/sql/lock/AbstractLockStoreSql.java | 1 - .../java/io/seata/core/store/db/sql/lock/DmLockStoreSql.java | 1 - .../java/io/seata/core/store/db/sql/lock/H2LockStoreSql.java | 1 - .../java/io/seata/core/store/db/sql/lock/LockStoreSql.java | 1 - .../io/seata/core/store/db/sql/lock/LockStoreSqlFactory.java | 1 - .../io/seata/core/store/db/sql/lock/MariadbLockStoreSql.java | 1 - .../io/seata/core/store/db/sql/lock/MysqlLockStoreSql.java | 1 - .../seata/core/store/db/sql/lock/OceanbaseLockStoreSql.java | 1 - .../io/seata/core/store/db/sql/lock/OracleLockStoreSql.java | 1 - .../seata/core/store/db/sql/lock/PolarDBXLockStoreSql.java | 1 - .../seata/core/store/db/sql/lock/PostgresqlLockStoreSql.java | 1 - .../seata/core/store/db/sql/lock/SqlServerLockStoreSql.java | 1 - .../io/seata/core/store/db/sql/log/AbstractLogStoreSqls.java | 1 - .../java/io/seata/core/store/db/sql/log/DmLogStoreSqls.java | 1 - .../java/io/seata/core/store/db/sql/log/H2LogStoreSqls.java | 1 - .../java/io/seata/core/store/db/sql/log/LogStoreSqls.java | 1 - .../io/seata/core/store/db/sql/log/LogStoreSqlsFactory.java | 1 - .../io/seata/core/store/db/sql/log/MariadbLogStoreSqls.java | 1 - .../io/seata/core/store/db/sql/log/MysqlLogStoreSqls.java | 1 - .../seata/core/store/db/sql/log/OceanbaseLogStoreSqls.java | 1 - .../io/seata/core/store/db/sql/log/OracleLogStoreSqls.java | 1 - .../io/seata/core/store/db/sql/log/PolarDBXLogStoreSqls.java | 1 - .../seata/core/store/db/sql/log/PostgresqlLogStoreSqls.java | 1 - .../seata/core/store/db/sql/log/SqlServerLogStoreSqls.java | 1 - .../src/test/java/io/seata/core/context/ContextCoreTest.java | 1 - .../io/seata/core/context/GlobalLockConfigHolderTest.java | 2 +- .../src/test/java/io/seata/core/context/RootContextTest.java | 1 - .../src/test/java/io/seata/core/event/GuavaEventBusTest.java | 1 - .../java/io/seata/core/message/BranchCommitRequestTest.java | 3 +-- .../java/io/seata/core/message/BranchCommitResponseTest.java | 3 +-- .../java/io/seata/core/message/BranchReportRequestTest.java | 2 +- .../java/io/seata/core/message/GlobalBeginRequestTest.java | 3 +-- .../java/io/seata/core/message/GlobalCommitResponseTest.java | 3 +-- .../io/seata/core/message/GlobalRollbackRequestTest.java | 2 +- .../java/io/seata/core/message/RegisterTMRequestTest.java | 1 - core/src/test/java/io/seata/core/model/BranchStatusTest.java | 1 - core/src/test/java/io/seata/core/model/BranchTypeTest.java | 1 - core/src/test/java/io/seata/core/model/GlobalStatusTest.java | 1 - .../io/seata/core/model/TransactionExceptionCodeTest.java | 1 - .../java/io/seata/core/protocol/BatchResultMessageTest.java | 3 +-- .../java/io/seata/core/protocol/HeartbeatMessageTest.java | 3 +-- .../java/io/seata/core/protocol/MergeResultMessageTest.java | 1 - .../java/io/seata/core/protocol/MergedWarpMessageTest.java | 1 - .../test/java/io/seata/core/protocol/MessageFutureTest.java | 1 - .../java/io/seata/core/protocol/RegisterRMRequestTest.java | 1 - .../java/io/seata/core/protocol/RegisterRMResponseTest.java | 3 +-- .../java/io/seata/core/protocol/RegisterTMRequestTest.java | 2 -- .../src/test/java/io/seata/core/protocol/ResultCodeTest.java | 3 +-- .../src/test/java/io/seata/core/protocol/RpcMessageTest.java | 1 - core/src/test/java/io/seata/core/protocol/VersionTest.java | 1 - .../core/protocol/transaction/BranchRollbackRequestTest.java | 1 - .../protocol/transaction/BranchRollbackResponseTest.java | 1 - .../core/protocol/transaction/GlobalBeginResponseTest.java | 1 - core/src/test/java/io/seata/core/rpc/RpcContextTest.java | 2 -- core/src/test/java/io/seata/core/rpc/ShutdownHookTest.java | 2 +- .../io/seata/core/rpc/netty/MessageCodecHandlerTest.java | 2 +- .../java/io/seata/core/rpc/netty/NettyBaseConfigTest.java | 2 -- .../seata/core/rpc/netty/NettyClientChannelManagerTest.java | 3 +-- .../test/java/io/seata/core/rpc/netty/NettyPoolKeyTest.java | 1 - .../test/java/io/seata/core/rpc/netty/RmNettyClientTest.java | 3 +-- .../test/java/io/seata/core/rpc/netty/TmNettyClientTest.java | 1 - .../core/serializer/SerializerSecurityRegistryTest.java | 1 - .../core/store/db/sql/lock/LockStoreSqlFactoryTest.java | 1 - .../seata/core/store/db/sql/log/LogStoreSqlsFactoryTest.java | 1 - .../io/seata/discovery/registry/consul/ConsulListener.java | 1 - .../discovery/registry/consul/ConsulRegistryProvider.java | 1 - .../discovery/registry/consul/ConsulRegistryServiceImpl.java | 1 - .../registry/consul/ConsulRegistryServiceImplTest.java | 1 - .../discovery/loadbalance/ConsistentHashLoadBalance.java | 1 - .../seata/discovery/loadbalance/LeastActiveLoadBalance.java | 1 - .../java/io/seata/discovery/loadbalance/LoadBalance.java | 1 - .../io/seata/discovery/loadbalance/LoadBalanceFactory.java | 1 - .../io/seata/discovery/loadbalance/RandomLoadBalance.java | 1 - .../seata/discovery/loadbalance/RoundRobinLoadBalance.java | 1 - .../java/io/seata/discovery/loadbalance/XIDLoadBalance.java | 1 - .../io/seata/discovery/registry/FileRegistryProvider.java | 1 - .../io/seata/discovery/registry/FileRegistryServiceImpl.java | 1 - .../io/seata/discovery/registry/MultiRegistryFactory.java | 1 - .../java/io/seata/discovery/registry/RegistryFactory.java | 1 - .../java/io/seata/discovery/registry/RegistryHeartBeats.java | 1 - .../java/io/seata/discovery/registry/RegistryProvider.java | 1 - .../java/io/seata/discovery/registry/RegistryService.java | 1 - .../main/java/io/seata/discovery/registry/RegistryType.java | 1 - .../test/java/io/seata/config/ConfigurationFactoryTest.java | 1 - .../seata/discovery/loadbalance/LoadBalanceFactoryTest.java | 1 - .../discovery/registry/custom/CustomRegistryProvider.java | 1 - .../seata/discovery/registry/etcd3/EtcdRegistryProvider.java | 1 - .../discovery/registry/etcd3/EtcdRegistryServiceImpl.java | 1 - .../discovery/registry/etcd/EtcdRegistryProviderTest.java | 1 - .../discovery/registry/etcd/EtcdRegistryServiceImplTest.java | 1 - .../registry/eureka/CustomEurekaInstanceConfig.java | 1 - .../discovery/registry/eureka/EurekaRegistryProvider.java | 1 - .../discovery/registry/eureka/EurekaRegistryServiceImpl.java | 1 - .../discovery/registry/nacos/NacosRegistryProvider.java | 1 - .../discovery/registry/nacos/NacosRegistryServiceImpl.java | 2 -- .../registry/nacos/NacosRegistryServiceImplTest.java | 1 - .../seata/discovery/registry/raft/RaftRegistryProvider.java | 1 - .../discovery/registry/raft/RaftRegistryServiceImpl.java | 1 - .../discovery/registry/raft/RaftRegistryServiceImplTest.java | 2 +- .../io/seata/discovery/registry/redis/RedisListener.java | 1 - .../discovery/registry/redis/RedisRegistryProvider.java | 1 - .../discovery/registry/redis/RedisRegistryServiceImpl.java | 1 - .../registry/redis/RedisRegisterServiceImplTest.java | 1 - .../seata/discovery/registry/sofa/SofaRegistryProvider.java | 1 - .../discovery/registry/sofa/SofaRegistryServiceImpl.java | 1 - .../discovery/registry/zk/ZookeeperRegisterServiceImpl.java | 1 - .../discovery/registry/zk/ZookeeperRegistryProvider.java | 1 - .../registry/zk/ZookeeperRegisterServiceImplTest.java | 1 - .../discovery/registry/zk/ZookeeperRegistryProviderTest.java | 1 - .../plugin/DefaultCoreDoGlobalCommitInterceptor.java | 1 - .../plugin/NettyRemotingClientSendSyncInterceptor.java | 1 - .../plugin/RemotingProcessorProcessInterceptor.java | 1 - .../seata/apm/skywalking/plugin/common/SWSeataConstants.java | 1 - .../io/seata/apm/skywalking/plugin/common/SWSeataUtils.java | 1 - .../apm/skywalking/plugin/common/SeataPluginConfig.java | 1 - .../plugin/define/AbstractNettyRemotingInstrumentation.java | 1 - .../skywalking/plugin/define/DefaultCoreInstrumentation.java | 1 - .../plugin/define/RemotingProcessorInstrumentation.java | 1 - .../seata/apm/skywalking/plugin/common/SWSeataUtilsTest.java | 3 +-- .../integration/tx/api/annotation/AspectTransactional.java | 1 - .../api/annotation/BusinessActionContextParameterDesc.java | 1 - .../io/seata/integration/tx/api/event/DegradeCheckEvent.java | 1 - .../integration/tx/api/fence/DefaultCommonFenceHandler.java | 1 - .../java/io/seata/integration/tx/api/fence/FenceHandler.java | 1 - .../integration/tx/api/fence/config/CommonFenceConfig.java | 1 - .../tx/api/fence/constant/CommonFenceConstant.java | 3 +-- .../tx/api/fence/exception/CommonFenceException.java | 3 +-- .../seata/integration/tx/api/fence/store/CommonFenceDO.java | 3 +-- .../integration/tx/api/fence/store/CommonFenceStore.java | 1 - .../tx/api/fence/store/db/CommonFenceStoreDataBaseDAO.java | 3 +-- .../tx/api/fence/store/db/sql/CommonFenceStoreSqls.java | 3 +-- .../integration/tx/api/interceptor/ActionContextFilter.java | 1 - .../integration/tx/api/interceptor/ActionContextUtil.java | 2 -- .../tx/api/interceptor/ActionInterceptorHandler.java | 3 +-- .../tx/api/interceptor/DefaultInvocationWrapper.java | 1 - .../integration/tx/api/interceptor/InvocationWrapper.java | 1 - .../integration/tx/api/interceptor/SeataInterceptor.java | 1 - .../tx/api/interceptor/SeataInterceptorPosition.java | 1 - .../tx/api/interceptor/TwoPhaseBusinessActionParam.java | 3 +-- .../integration/tx/api/interceptor/TxBeanParserUtils.java | 3 +-- .../interceptor/handler/AbstractProxyInvocationHandler.java | 1 - .../tx/api/interceptor/handler/DefaultInvocationHandler.java | 1 - .../handler/GlobalTransactionalInterceptorHandler.java | 2 -- .../tx/api/interceptor/handler/ProxyInvocationHandler.java | 1 - .../tx/api/interceptor/parser/DefaultInterfaceParser.java | 3 +-- .../interceptor/parser/DefaultResourceRegisterParser.java | 3 +-- .../tx/api/interceptor/parser/DefaultTargetClassParser.java | 1 - .../parser/GlobalTransactionalInterceptorParser.java | 1 - .../tx/api/interceptor/parser/InterfaceParser.java | 1 - .../tx/api/interceptor/parser/RegisterResourceParser.java | 1 - .../tx/api/interceptor/parser/TargetClassParser.java | 1 - .../java/io/seata/integration/tx/api/json/JsonParser.java | 2 -- .../io/seata/integration/tx/api/json/JsonParserFactory.java | 1 - .../io/seata/integration/tx/api/json/JsonParserWrap.java | 1 - .../java/io/seata/integration/tx/api/remoting/Protocols.java | 1 - .../io/seata/integration/tx/api/remoting/RemotingDesc.java | 3 +-- .../io/seata/integration/tx/api/remoting/RemotingParser.java | 1 - .../io/seata/integration/tx/api/remoting/TwoPhaseResult.java | 3 +-- .../tx/api/remoting/parser/AbstractedRemotingParser.java | 3 +-- .../tx/api/remoting/parser/DefaultRemotingParser.java | 4 +--- .../tx/api/remoting/parser/DubboRemotingParser.java | 3 +-- .../tx/api/remoting/parser/HSFRemotingParser.java | 3 +-- .../tx/api/remoting/parser/SofaRpcRemotingParser.java | 3 +-- .../java/io/seata/integration/tx/api/util/DubboUtil.java | 1 - .../main/java/io/seata/integration/tx/api/util/JsonUtil.java | 2 -- .../java/io/seata/integration/tx/api/util/ProxyUtil.java | 1 - .../main/java/io/seata/rm/tcc/api/BusinessActionContext.java | 2 +- .../io/seata/rm/tcc/api/BusinessActionContextParameter.java | 3 +-- .../java/io/seata/rm/tcc/api/BusinessActionContextUtil.java | 3 +-- .../src/main/java/io/seata/rm/tcc/api/ParamType.java | 1 - .../java/io/seata/spring/annotation/GlobalTransactional.java | 1 - .../tx/api/interceptor/ActionInterceptorHandlerTest.java | 1 - .../tx/api/interceptor/DefaultInvocationWrapperTest.java | 3 +-- .../io/seata/integration/tx/api/interceptor/TestAction.java | 1 - .../io/seata/integration/tx/api/interceptor/TestParam.java | 1 - .../parser/GlobalTransactionalInterceptorParserTest.java | 3 +-- .../parser/ProxyUtilsGlobalTransactionalTest.java | 1 - .../brpc/TransactionPropagationClientInterceptor.java | 1 - .../brpc/TransactionPropagationServerInterceptor.java | 1 - .../seata/integration/brpc/TransactionInterceptorTest.java | 1 - .../java/io/seata/integration/brpc/server/EchoService.java | 1 - .../seata/integration/brpc/server/impl/EchoServiceImpl.java | 1 - .../alibaba/AlibabaDubboTransactionPropagationFilter.java | 1 - .../AlibabaDubboTransactionPropagationFilterTest.java | 1 - .../io/seata/integration/dubbo/alibaba/mock/MockInvoker.java | 1 - .../io/seata/integration/grpc/interceptor/GrpcHeaderKey.java | 1 - .../interceptor/client/ClientTransactionInterceptor.java | 1 - .../grpc/interceptor/server/ServerListenerProxy.java | 1 - .../interceptor/server/ServerTransactionInterceptor.java | 1 - .../java/io/seata/integration/grpc/interceptor/GrpcTest.java | 1 - .../java/io/seata/integration/hsf/HsfTransactionFilter.java | 1 - .../seata/integration/http/JakartaSeataWebMvcConfigurer.java | 1 - .../http/JakartaTransactionPropagationInterceptor.java | 2 -- .../java/io/seata/integration/http/AbstractHttpExecutor.java | 1 - .../java/io/seata/integration/http/DefaultHttpExecutor.java | 1 - .../io/seata/integration/http/HandlerInterceptorAdapter.java | 1 - .../main/java/io/seata/integration/http/HttpExecutor.java | 1 - .../io/seata/integration/http/SeataWebMvcConfigurer.java | 2 -- .../integration/http/TransactionPropagationInterceptor.java | 2 -- .../io/seata/integration/http/WebMvcConfigurerAdapter.java | 1 - .../src/main/java/io/seata/integration/http/XidResource.java | 1 - .../src/test/java/io/seata/integration/http/HttpTest.java | 3 +-- .../test/java/io/seata/integration/http/MockController.java | 1 - .../java/io/seata/integration/http/MockHttpExecuter.java | 1 - .../io/seata/integration/http/MockHttpServletRequest.java | 1 - .../src/test/java/io/seata/integration/http/MockRequest.java | 1 - .../test/java/io/seata/integration/http/MockResponse.java | 1 - .../test/java/io/seata/integration/http/MockWebServer.java | 3 +-- .../test/java/io/seata/integration/http/ServletMapping.java | 1 - .../io/seata/integration/motan/MotanTransactionFilter.java | 1 - .../seata/integration/motan/MotanTransactionFilterTest.java | 1 - .../src/test/java/io/seata/integration/motan/XIDService.java | 1 - .../test/java/io/seata/integration/motan/XIDServiceImpl.java | 1 - .../java/io/seata/integration/rpc/core/BaseRpcFilter.java | 1 - .../io/seata/integration/rpc/core/ProviderRpcFilter.java | 1 - .../sofa/rpc/TransactionContextConsumerFilter.java | 1 - .../sofa/rpc/TransactionContextProviderFilter.java | 1 - .../java/io/seata/integration/sofa/rpc/HelloService.java | 1 - .../java/io/seata/integration/sofa/rpc/HelloServiceImpl.java | 1 - .../io/seata/integration/sofa/rpc/HelloServiceProxy.java | 1 - .../integration/sofa/rpc/TransactionContextFilterTest.java | 3 +-- .../src/main/java/io/seata/metrics/Clock.java | 1 - .../src/main/java/io/seata/metrics/Counter.java | 1 - .../src/main/java/io/seata/metrics/Gauge.java | 1 - .../seata-metrics-api/src/main/java/io/seata/metrics/Id.java | 1 - .../src/main/java/io/seata/metrics/IdConstants.java | 1 - .../src/main/java/io/seata/metrics/Measurement.java | 1 - .../src/main/java/io/seata/metrics/Meter.java | 1 - .../src/main/java/io/seata/metrics/Summary.java | 1 - .../src/main/java/io/seata/metrics/SystemClock.java | 1 - .../src/main/java/io/seata/metrics/Timer.java | 1 - .../src/main/java/io/seata/metrics/exporter/Exporter.java | 3 +-- .../src/main/java/io/seata/metrics/registry/Registry.java | 1 - .../main/java/io/seata/metrics/exporter/ExporterFactory.java | 1 - .../main/java/io/seata/metrics/exporter/ExporterType.java | 1 - .../main/java/io/seata/metrics/registry/RegistryFactory.java | 1 - .../main/java/io/seata/metrics/registry/RegistryType.java | 1 - .../java/io/seata/metrics/exporter/ExporterTypeTest.java | 3 +-- .../java/io/seata/metrics/registry/RegistryTypeTest.java | 3 +-- .../metrics/exporter/prometheus/PrometheusExporter.java | 3 +-- .../metrics/exporter/prometheus/PrometheusExporterTest.java | 1 - .../io/seata/metrics/registry/compact/CompactCounter.java | 3 +-- .../java/io/seata/metrics/registry/compact/CompactGauge.java | 1 - .../io/seata/metrics/registry/compact/CompactRegistry.java | 1 - .../io/seata/metrics/registry/compact/CompactSummary.java | 1 - .../java/io/seata/metrics/registry/compact/CompactTimer.java | 1 - .../java/io/seata/metrics/registry/compact/SummaryValue.java | 1 - .../java/io/seata/metrics/registry/compact/TimerValue.java | 3 +-- .../src/main/java/io/seata/rm/BaseDataSourceResource.java | 1 - .../src/main/java/io/seata/rm/GlobalLockExecutor.java | 1 - .../src/main/java/io/seata/rm/GlobalLockTemplate.java | 1 - rm-datasource/src/main/java/io/seata/rm/RMHandlerAT.java | 1 - rm-datasource/src/main/java/io/seata/rm/RMHandlerXA.java | 1 - .../java/io/seata/rm/datasource/AbstractConnectionProxy.java | 1 - .../datasource/AbstractDataSourceCacheResourceManager.java | 1 - .../java/io/seata/rm/datasource/AbstractDataSourceProxy.java | 1 - .../seata/rm/datasource/AbstractPreparedStatementProxy.java | 1 - .../java/io/seata/rm/datasource/AbstractStatementProxy.java | 1 - .../src/main/java/io/seata/rm/datasource/AsyncWorker.java | 1 - .../main/java/io/seata/rm/datasource/ConnectionContext.java | 1 - .../main/java/io/seata/rm/datasource/ConnectionProxy.java | 1 - .../main/java/io/seata/rm/datasource/DataCompareUtils.java | 1 - .../main/java/io/seata/rm/datasource/DataSourceManager.java | 1 - .../main/java/io/seata/rm/datasource/DataSourceProxy.java | 1 - .../java/io/seata/rm/datasource/PreparedStatementProxy.java | 1 - .../java/io/seata/rm/datasource/SeataDataSourceProxy.java | 1 - .../main/java/io/seata/rm/datasource/SqlGenerateUtils.java | 1 - .../src/main/java/io/seata/rm/datasource/StatementProxy.java | 1 - .../io/seata/rm/datasource/exception/TableMetaException.java | 1 - .../io/seata/rm/datasource/exec/AbstractDMLBaseExecutor.java | 1 - .../java/io/seata/rm/datasource/exec/BaseInsertExecutor.java | 1 - .../seata/rm/datasource/exec/BaseTransactionalExecutor.java | 1 - .../java/io/seata/rm/datasource/exec/DeleteExecutor.java | 1 - .../java/io/seata/rm/datasource/exec/ExecuteTemplate.java | 1 - .../src/main/java/io/seata/rm/datasource/exec/Executor.java | 1 - .../java/io/seata/rm/datasource/exec/InsertExecutor.java | 1 - .../io/seata/rm/datasource/exec/LockConflictException.java | 1 - .../io/seata/rm/datasource/exec/LockRetryController.java | 1 - .../seata/rm/datasource/exec/LockWaitTimeoutException.java | 1 - .../io/seata/rm/datasource/exec/MultiDeleteExecutor.java | 1 - .../main/java/io/seata/rm/datasource/exec/MultiExecutor.java | 1 - .../io/seata/rm/datasource/exec/MultiUpdateExecutor.java | 1 - .../main/java/io/seata/rm/datasource/exec/PlainExecutor.java | 1 - .../io/seata/rm/datasource/exec/SelectForUpdateExecutor.java | 1 - .../java/io/seata/rm/datasource/exec/StatementCallback.java | 1 - .../java/io/seata/rm/datasource/exec/UpdateExecutor.java | 3 +-- .../io/seata/rm/datasource/exec/dm/DmInsertExecutor.java | 1 - .../rm/datasource/exec/mariadb/MariadbInsertExecutor.java | 1 - .../exec/mariadb/MariadbInsertOnDuplicateUpdateExecutor.java | 1 - .../datasource/exec/mariadb/MariadbUpdateJoinExecutor.java | 1 - .../seata/rm/datasource/exec/mysql/MySQLInsertExecutor.java | 1 - .../exec/mysql/MySQLInsertOnDuplicateUpdateExecutor.java | 1 - .../rm/datasource/exec/mysql/MySQLUpdateJoinExecutor.java | 1 - .../rm/datasource/exec/oracle/OracleInsertExecutor.java | 1 - .../io/seata/rm/datasource/exec/oracle/OracleJdbcType.java | 1 - .../rm/datasource/exec/polardbx/PolarDBXInsertExecutor.java | 1 - .../polardbx/PolarDBXInsertOnDuplicateUpdateExecutor.java | 1 - .../datasource/exec/polardbx/PolarDBXUpdateJoinExecutor.java | 1 - .../datasource/exec/postgresql/PostgresqlInsertExecutor.java | 1 - .../datasource/exec/sqlserver/SqlServerDeleteExecutor.java | 1 - .../datasource/exec/sqlserver/SqlServerInsertExecutor.java | 1 - .../exec/sqlserver/SqlServerMultiDeleteExecutor.java | 1 - .../exec/sqlserver/SqlServerMultiUpdateExecutor.java | 1 - .../exec/sqlserver/SqlServerSelectForUpdateExecutor.java | 1 - .../datasource/exec/sqlserver/SqlServerUpdateExecutor.java | 1 - .../java/io/seata/rm/datasource/sql/SQLVisitorFactory.java | 1 - .../seata/rm/datasource/sql/handler/dm/DmEscapeHandler.java | 1 - .../datasource/sql/handler/mariadb/MariadbEscapeHandler.java | 1 - .../rm/datasource/sql/handler/mysql/MySQLEscapeHandler.java | 1 - .../datasource/sql/handler/oracle/OracleEscapeHandler.java | 1 - .../sql/handler/polardbx/PolarDBXEscapeHandler.java | 1 - .../sql/handler/postgresql/PostgresqlEscapeHandler.java | 1 - .../sql/handler/sqlserver/SqlServerEscapeHandler.java | 1 - .../java/io/seata/rm/datasource/sql/serial/SerialArray.java | 1 - .../main/java/io/seata/rm/datasource/sql/struct/Field.java | 1 - .../main/java/io/seata/rm/datasource/sql/struct/KeyType.java | 1 - .../src/main/java/io/seata/rm/datasource/sql/struct/Row.java | 1 - .../rm/datasource/sql/struct/TableMetaCacheFactory.java | 1 - .../java/io/seata/rm/datasource/sql/struct/TableRecords.java | 1 - .../datasource/sql/struct/cache/AbstractTableMetaCache.java | 1 - .../rm/datasource/sql/struct/cache/DmTableMetaCache.java | 3 +-- .../datasource/sql/struct/cache/MariadbTableMetaCache.java | 1 - .../rm/datasource/sql/struct/cache/MysqlTableMetaCache.java | 1 - .../rm/datasource/sql/struct/cache/OracleTableMetaCache.java | 1 - .../datasource/sql/struct/cache/PolarDBXTableMetaCache.java | 1 - .../sql/struct/cache/PostgresqlTableMetaCache.java | 1 - .../datasource/sql/struct/cache/SqlServerTableMetaCache.java | 1 - .../io/seata/rm/datasource/undo/AbstractUndoExecutor.java | 2 -- .../io/seata/rm/datasource/undo/AbstractUndoLogManager.java | 1 - .../main/java/io/seata/rm/datasource/undo/BranchUndoLog.java | 1 - .../io/seata/rm/datasource/undo/SQLUndoDirtyException.java | 1 - .../main/java/io/seata/rm/datasource/undo/SQLUndoLog.java | 1 - .../io/seata/rm/datasource/undo/UndoExecutorFactory.java | 1 - .../java/io/seata/rm/datasource/undo/UndoExecutorHolder.java | 1 - .../seata/rm/datasource/undo/UndoExecutorHolderFactory.java | 1 - .../java/io/seata/rm/datasource/undo/UndoLogConstants.java | 1 - .../java/io/seata/rm/datasource/undo/UndoLogManager.java | 2 -- .../io/seata/rm/datasource/undo/UndoLogManagerFactory.java | 1 - .../main/java/io/seata/rm/datasource/undo/UndoLogParser.java | 2 -- .../io/seata/rm/datasource/undo/UndoLogParserFactory.java | 2 -- .../io/seata/rm/datasource/undo/dm/DmUndoDeleteExecutor.java | 1 - .../io/seata/rm/datasource/undo/dm/DmUndoExecutorHolder.java | 1 - .../io/seata/rm/datasource/undo/dm/DmUndoInsertExecutor.java | 1 - .../io/seata/rm/datasource/undo/dm/DmUndoLogManager.java | 1 - .../io/seata/rm/datasource/undo/dm/DmUndoUpdateExecutor.java | 1 - .../datasource/undo/mariadb/MariadbUndoDeleteExecutor.java | 1 - .../datasource/undo/mariadb/MariadbUndoExecutorHolder.java | 1 - .../datasource/undo/mariadb/MariadbUndoInsertExecutor.java | 1 - .../rm/datasource/undo/mariadb/MariadbUndoLogManager.java | 1 - .../datasource/undo/mariadb/MariadbUndoUpdateExecutor.java | 1 - .../rm/datasource/undo/mysql/MySQLUndoDeleteExecutor.java | 1 - .../rm/datasource/undo/mysql/MySQLUndoExecutorHolder.java | 1 - .../rm/datasource/undo/mysql/MySQLUndoInsertExecutor.java | 1 - .../seata/rm/datasource/undo/mysql/MySQLUndoLogManager.java | 1 - .../rm/datasource/undo/mysql/MySQLUndoUpdateExecutor.java | 1 - .../rm/datasource/undo/oracle/OracleUndoDeleteExecutor.java | 1 - .../rm/datasource/undo/oracle/OracleUndoExecutorHolder.java | 1 - .../rm/datasource/undo/oracle/OracleUndoInsertExecutor.java | 1 - .../rm/datasource/undo/oracle/OracleUndoLogManager.java | 1 - .../rm/datasource/undo/oracle/OracleUndoUpdateExecutor.java | 1 - .../rm/datasource/undo/parser/FastjsonUndoLogParser.java | 1 - .../rm/datasource/undo/parser/JacksonUndoLogParser.java | 1 - .../io/seata/rm/datasource/undo/parser/KryoSerializer.java | 3 +-- .../rm/datasource/undo/parser/KryoSerializerFactory.java | 3 +-- .../seata/rm/datasource/undo/parser/KryoUndoLogParser.java | 1 - .../rm/datasource/undo/parser/ProtostuffUndoLogParser.java | 5 ----- .../undo/parser/UndoLogSerializerClassRegistry.java | 1 - .../rm/datasource/undo/parser/spi/JacksonSerializer.java | 1 - .../rm/datasource/undo/parser/spi/KryoTypeSerializer.java | 1 - .../rm/datasource/undo/parser/spi/ProtostuffDelegate.java | 1 - .../datasource/undo/polardbx/PolarDBXUndoDeleteExecutor.java | 1 - .../datasource/undo/polardbx/PolarDBXUndoExecutorHolder.java | 1 - .../datasource/undo/polardbx/PolarDBXUndoInsertExecutor.java | 1 - .../rm/datasource/undo/polardbx/PolarDBXUndoLogManager.java | 1 - .../datasource/undo/polardbx/PolarDBXUndoUpdateExecutor.java | 1 - .../undo/postgresql/PostgresqlUndoDeleteExecutor.java | 1 - .../undo/postgresql/PostgresqlUndoExecutorHolder.java | 1 - .../undo/postgresql/PostgresqlUndoInsertExecutor.java | 1 - .../datasource/undo/postgresql/PostgresqlUndoLogManager.java | 1 - .../undo/postgresql/PostgresqlUndoUpdateExecutor.java | 1 - .../datasource/undo/sqlserver/BaseSqlServerUndoExecutor.java | 1 - .../undo/sqlserver/SqlServerUndoDeleteExecutor.java | 1 - .../undo/sqlserver/SqlServerUndoExecutorHolder.java | 1 - .../undo/sqlserver/SqlServerUndoInsertExecutor.java | 1 - .../datasource/undo/sqlserver/SqlServerUndoLogManager.java | 1 - .../undo/sqlserver/SqlServerUndoUpdateExecutor.java | 1 - .../src/main/java/io/seata/rm/datasource/util/JdbcUtils.java | 2 -- .../java/io/seata/rm/datasource/util/OffsetTimeUtils.java | 1 - .../java/io/seata/rm/datasource/util/SeataXAResource.java | 1 - .../io/seata/rm/datasource/xa/AbstractConnectionProxyXA.java | 1 - .../io/seata/rm/datasource/xa/AbstractDataSourceProxyXA.java | 1 - .../java/io/seata/rm/datasource/xa/ConnectionProxyXA.java | 1 - .../java/io/seata/rm/datasource/xa/DataSourceProxyXA.java | 1 - .../io/seata/rm/datasource/xa/DataSourceProxyXANative.java | 1 - .../java/io/seata/rm/datasource/xa/ExecuteTemplateXA.java | 1 - .../io/seata/rm/datasource/xa/PreparedStatementProxyXA.java | 1 - .../java/io/seata/rm/datasource/xa/ResourceManagerXA.java | 1 - .../java/io/seata/rm/datasource/xa/StatementProxyXA.java | 1 - .../src/main/java/io/seata/rm/datasource/xa/XABranchXid.java | 1 - .../src/main/java/io/seata/rm/datasource/xa/XAXid.java | 1 - .../main/java/io/seata/rm/datasource/xa/XAXidBuilder.java | 1 - .../src/test/java/io/seata/rm/GlobalLockTemplateTest.java | 1 - rm-datasource/src/test/java/io/seata/rm/RMHandlerATTest.java | 3 +-- .../test/java/io/seata/rm/datasource/AsyncWorkerTest.java | 2 +- .../test/java/io/seata/rm/datasource/ColumnUtilsTest.java | 1 - .../io/seata/rm/datasource/ConnectionContextProxyTest.java | 1 - .../java/io/seata/rm/datasource/ConnectionProxyTest.java | 1 - .../java/io/seata/rm/datasource/DataCompareUtilsTest.java | 3 +-- .../java/io/seata/rm/datasource/DataSourceProxyTest.java | 1 - .../io/seata/rm/datasource/PreparedStatementProxyTest.java | 1 - .../java/io/seata/rm/datasource/SqlGenerateUtilsTest.java | 1 - .../test/java/io/seata/rm/datasource/StatementProxyTest.java | 1 - .../rm/datasource/exec/AbstractDMLBaseExecutorTest.java | 1 - .../io/seata/rm/datasource/exec/BatchInsertExecutorTest.java | 1 - .../java/io/seata/rm/datasource/exec/DeleteExecutorTest.java | 1 - .../io/seata/rm/datasource/exec/DmInsertExecutorTest.java | 1 - .../io/seata/rm/datasource/exec/LockRetryControllerTest.java | 1 - .../seata/rm/datasource/exec/MariadbInsertExecutorTest.java | 1 - .../exec/MariadbInsertOnDuplicateUpdateExecutorTest.java | 1 - .../io/seata/rm/datasource/exec/MySQLInsertExecutorTest.java | 1 - .../exec/MySQLInsertOnDuplicateUpdateExecutorTest.java | 1 - .../seata/rm/datasource/exec/OracleInsertExecutorTest.java | 1 - .../java/io/seata/rm/datasource/exec/PlainExecutorTest.java | 1 - .../seata/rm/datasource/exec/PolarDBXInsertExecutorTest.java | 1 - .../exec/PolarDBXInsertOnDuplicateUpdateExecutorTest.java | 1 - .../rm/datasource/exec/PostgresqlInsertExecutorTest.java | 1 - .../rm/datasource/exec/SelectForUpdateExecutorTest.java | 1 - .../rm/datasource/exec/SqlServerInsertExecutorTest.java | 1 - .../java/io/seata/rm/datasource/exec/UpdateExecutorTest.java | 1 - .../io/seata/rm/datasource/exec/UpdateJoinExecutorTest.java | 1 - .../src/test/java/io/seata/rm/datasource/mock/MockBlob.java | 1 - .../src/test/java/io/seata/rm/datasource/mock/MockClob.java | 1 - .../java/io/seata/rm/datasource/mock/MockConnection.java | 1 - .../io/seata/rm/datasource/mock/MockConnectionProxy.java | 1 - .../java/io/seata/rm/datasource/mock/MockDataSource.java | 1 - .../io/seata/rm/datasource/mock/MockDatabaseMetaData.java | 1 - .../test/java/io/seata/rm/datasource/mock/MockDriver.java | 1 - .../io/seata/rm/datasource/mock/MockExecuteHandlerImpl.java | 1 - .../rm/datasource/mock/MockLockConflictConnectionProxy.java | 1 - .../io/seata/rm/datasource/mock/MockMariadbDataSource.java | 1 - .../io/seata/rm/datasource/mock/MockParameterMetaData.java | 1 - .../io/seata/rm/datasource/mock/MockPreparedStatement.java | 1 - .../test/java/io/seata/rm/datasource/mock/MockResultSet.java | 1 - .../io/seata/rm/datasource/mock/MockResultSetMetaData.java | 1 - .../rm/datasource/sql/druid/dm/DmDeleteRecognizerTest.java | 1 - .../rm/datasource/sql/druid/dm/DmInsertRecognizerTest.java | 1 - .../sql/druid/dm/DmSelectForUpdateRecognizerTest.java | 1 - .../rm/datasource/sql/druid/dm/DmUpdateRecognizerTest.java | 1 - .../sql/druid/oracle/OracleDeleteRecognizerTest.java | 1 - .../sql/druid/oracle/OracleInsertRecognizerTest.java | 1 - .../druid/oracle/OracleSelectForUpdateRecognizerTest.java | 1 - .../sql/druid/oracle/OracleUpdateRecognizerTest.java | 1 - .../sql/druid/postgresql/PostgresqlDeleteRecognizerTest.java | 1 - .../sql/druid/postgresql/PostgresqlInsertRecognizerTest.java | 1 - .../postgresql/PostgresqlSelectForUpdateRecognizerTest.java | 1 - .../sql/druid/postgresql/PostgresqlUpdateRecognizerTest.java | 1 - .../seata/rm/datasource/sql/handler/EscapeHandlerTest.java | 1 - .../io/seata/rm/datasource/sql/struct/ColumnMetaTest.java | 1 - .../io/seata/rm/datasource/sql/struct/IndexMetaTest.java | 1 - .../io/seata/rm/datasource/sql/struct/IndexTypeTest.java | 1 - .../rm/datasource/sql/struct/TableMetaCacheFactoryTest.java | 1 - .../io/seata/rm/datasource/sql/struct/TableMetaTest.java | 1 - .../io/seata/rm/datasource/sql/struct/TableRecordsTest.java | 1 - .../rm/datasource/sql/struct/cache/DmTableMetaCacheTest.java | 1 - .../sql/struct/cache/MariadbTableMetaCacheTest.java | 1 - .../datasource/sql/struct/cache/MysqlTableMetaCacheTest.java | 1 - .../sql/struct/cache/OracleTableMetaCacheTest.java | 1 - .../sql/struct/cache/PostgresqlTableMetaCacheTest.java | 1 - .../sql/struct/cache/SqlServerTableMetaCacheTest.java | 1 - .../seata/rm/datasource/undo/AbstractUndoExecutorTest.java | 1 - .../java/io/seata/rm/datasource/undo/BaseExecutorTest.java | 1 - .../test/java/io/seata/rm/datasource/undo/BaseH2Test.java | 1 - .../io/seata/rm/datasource/undo/BaseUndoLogParserTest.java | 1 - .../seata/rm/datasource/undo/EscapeHandlerFactoryTest.java | 1 - .../java/io/seata/rm/datasource/undo/UndoLogManagerTest.java | 1 - .../seata/rm/datasource/undo/UndoLogParserFactoryTest.java | 3 +-- .../seata/rm/datasource/undo/UndoLogParserProviderTest.java | 3 +-- .../seata/rm/datasource/undo/h2/keyword/H2EscapeHandler.java | 1 - .../undo/mariadb/MariadbLUndoInsertExecutorTest.java | 3 +-- .../undo/mariadb/MariadbUndoDeleteExecutorTest.java | 3 +-- .../datasource/undo/mariadb/MariadbUndoLogManagerTest.java | 1 - .../undo/mariadb/MariadbUndoUpdateExecutorTest.java | 3 +-- .../undo/mariadb/keyword/MariadbEscapeHandlerTest.java | 1 - .../datasource/undo/mysql/MySQLUndoDeleteExecutorTest.java | 3 +-- .../datasource/undo/mysql/MySQLUndoInsertExecutorTest.java | 3 +-- .../rm/datasource/undo/mysql/MySQLUndoLogManagerTest.java | 1 - .../datasource/undo/mysql/MySQLUndoUpdateExecutorTest.java | 3 +-- .../undo/mysql/keyword/MySQLEscapeHandlerTest.java | 1 - .../datasource/undo/oracle/OracleUndoDeleteExecutorTest.java | 1 - .../datasource/undo/oracle/OracleUndoInsertExecutorTest.java | 1 - .../datasource/undo/oracle/OracleUndoUpdateExecutorTest.java | 3 +-- .../undo/oracle/keyword/OracleEscapeHandlerTest.java | 1 - .../rm/datasource/undo/parser/FastjsonUndoLogParserTest.java | 3 +-- .../rm/datasource/undo/parser/JacksonUndoLogParserTest.java | 1 - .../rm/datasource/undo/parser/KryoUndoLogParserTest.java | 1 - .../datasource/undo/parser/ProtostuffUndoLogParserTest.java | 3 +-- .../undo/polardbx/PolarDBXUndoDeleteExecutorTest.java | 1 - .../undo/polardbx/PolarDBXUndoInsertExecutorTest.java | 1 - .../datasource/undo/polardbx/PolarDBXUndoLogManagerTest.java | 3 +-- .../undo/polardbx/PolarDBXUndoUpdateExecutorTest.java | 1 - .../undo/polardbx/keyword/PolarDBXEscapeHandlerTest.java | 1 - .../undo/postgresql/keyword/PostgresqlEscapeHandlerTest.java | 1 - .../undo/sqlserver/SqlServerUndoDeleteExecutorTest.java | 1 - .../undo/sqlserver/SqlServerUndoInsertExecutorTest.java | 1 - .../undo/sqlserver/SqlServerUndoUpdateExecutorTest.java | 1 - .../undo/sqlserver/keyword/SqlServerKeywordCheckerTest.java | 1 - .../src/test/java/io/seata/rm/xa/ConnectionProxyXATest.java | 1 - .../java/io/seata/rm/xa/DataSourceProxyXANativeTest.java | 1 - .../src/test/java/io/seata/rm/xa/DataSourceProxyXATest.java | 1 - .../src/test/java/io/seata/rm/xa/XAXidBuilderTest.java | 1 - rm/src/main/java/io/seata/rm/AbstractRMHandler.java | 1 - rm/src/main/java/io/seata/rm/AbstractResourceManager.java | 1 - rm/src/main/java/io/seata/rm/DefaultRMHandler.java | 1 - rm/src/main/java/io/seata/rm/DefaultResourceManager.java | 1 - rm/src/main/java/io/seata/rm/RMClient.java | 1 - .../io/seata/saga/engine/config/DbStateMachineConfig.java | 1 - .../pcext/interceptors/InSagaBranchHandlerInterceptor.java | 1 - .../java/io/seata/saga/engine/serializer/Serializer.java | 3 +-- .../saga/engine/serializer/impl/ExceptionSerializer.java | 1 - .../seata/saga/engine/serializer/impl/ParamsSerializer.java | 3 +-- .../java/io/seata/saga/engine/store/db/AbstractStore.java | 1 - .../saga/engine/store/db/DbAndReportTcStateLogStore.java | 1 - .../java/io/seata/saga/engine/store/db/DbStateLangStore.java | 3 +-- .../io/seata/saga/engine/store/db/StateLangStoreSqls.java | 3 +-- .../io/seata/saga/engine/store/db/StateLogStoreSqls.java | 3 +-- .../src/main/java/io/seata/saga/engine/AsyncCallback.java | 3 +-- .../main/java/io/seata/saga/engine/StateMachineConfig.java | 3 +-- .../main/java/io/seata/saga/engine/StateMachineEngine.java | 3 +-- .../saga/engine/exception/EngineExecutionException.java | 3 +-- .../seata/saga/engine/exception/ForwardInvalidException.java | 3 +-- .../java/io/seata/saga/engine/expression/Expression.java | 3 +-- .../io/seata/saga/engine/expression/ExpressionFactory.java | 3 +-- .../saga/engine/expression/ExpressionFactoryManager.java | 3 +-- .../io/seata/saga/engine/expression/ExpressionResolver.java | 1 - .../expression/exception/ExceptionMatchExpression.java | 1 - .../exception/ExceptionMatchExpressionFactory.java | 1 - .../engine/expression/impl/DefaultExpressionResolver.java | 1 - .../seata/saga/engine/expression/seq/SequenceExpression.java | 3 +-- .../engine/expression/seq/SequenceExpressionFactory.java | 3 +-- .../saga/engine/expression/spel/SpringELExpression.java | 3 +-- .../engine/expression/spel/SpringELExpressionFactory.java | 3 +-- .../io/seata/saga/engine/impl/DefaultStateMachineConfig.java | 3 +-- .../saga/engine/impl/ProcessCtrlStateMachineEngine.java | 3 +-- .../java/io/seata/saga/engine/invoker/ServiceInvoker.java | 3 +-- .../io/seata/saga/engine/invoker/ServiceInvokerManager.java | 3 +-- .../saga/engine/invoker/impl/SpringBeanServiceInvoker.java | 3 +-- .../seata/saga/engine/pcext/InterceptableStateHandler.java | 3 +-- .../io/seata/saga/engine/pcext/InterceptableStateRouter.java | 3 +-- .../main/java/io/seata/saga/engine/pcext/StateHandler.java | 3 +-- .../io/seata/saga/engine/pcext/StateHandlerInterceptor.java | 3 +-- .../java/io/seata/saga/engine/pcext/StateInstruction.java | 3 +-- .../seata/saga/engine/pcext/StateMachineProcessHandler.java | 3 +-- .../seata/saga/engine/pcext/StateMachineProcessRouter.java | 3 +-- .../main/java/io/seata/saga/engine/pcext/StateRouter.java | 3 +-- .../io/seata/saga/engine/pcext/StateRouterInterceptor.java | 3 +-- .../seata/saga/engine/pcext/handlers/ChoiceStateHandler.java | 3 +-- .../pcext/handlers/CompensationTriggerStateHandler.java | 3 +-- .../saga/engine/pcext/handlers/FailEndStateHandler.java | 3 +-- .../saga/engine/pcext/handlers/LoopStartStateHandler.java | 1 - .../saga/engine/pcext/handlers/ScriptTaskStateHandler.java | 3 +-- .../saga/engine/pcext/handlers/ServiceTaskStateHandler.java | 3 +-- .../saga/engine/pcext/handlers/SubStateMachineHandler.java | 1 - .../saga/engine/pcext/handlers/SucceedEndStateHandler.java | 3 +-- .../engine/pcext/interceptors/EndStateRouterInterceptor.java | 3 +-- .../pcext/interceptors/LoopTaskHandlerInterceptor.java | 1 - .../pcext/interceptors/ScriptTaskHandlerInterceptor.java | 1 - .../pcext/interceptors/ServiceTaskHandlerInterceptor.java | 1 - .../io/seata/saga/engine/pcext/routers/EndStateRouter.java | 3 +-- .../io/seata/saga/engine/pcext/routers/TaskStateRouter.java | 3 +-- .../io/seata/saga/engine/pcext/utils/CompensationHolder.java | 3 +-- .../java/io/seata/saga/engine/pcext/utils/EngineUtils.java | 3 +-- .../io/seata/saga/engine/pcext/utils/LoopContextHolder.java | 1 - .../java/io/seata/saga/engine/pcext/utils/LoopTaskUtils.java | 1 - .../io/seata/saga/engine/pcext/utils/ParameterUtils.java | 1 - .../java/io/seata/saga/engine/repo/StateLogRepository.java | 3 +-- .../io/seata/saga/engine/repo/StateMachineRepository.java | 3 +-- .../seata/saga/engine/repo/impl/StateLogRepositoryImpl.java | 3 +-- .../saga/engine/repo/impl/StateMachineRepositoryImpl.java | 3 +-- .../java/io/seata/saga/engine/sequence/SeqGenerator.java | 3 +-- .../saga/engine/sequence/SpringJvmUUIDSeqGenerator.java | 3 +-- .../main/java/io/seata/saga/engine/store/StateLangStore.java | 3 +-- .../main/java/io/seata/saga/engine/store/StateLogStore.java | 3 +-- .../seata/saga/engine/strategy/StatusDecisionStrategy.java | 3 +-- .../engine/strategy/impl/DefaultStatusDecisionStrategy.java | 3 +-- .../main/java/io/seata/saga/engine/utils/ExceptionUtils.java | 3 +-- .../io/seata/saga/engine/utils/ProcessContextBuilder.java | 3 +-- .../io/seata/saga/proctrl/HierarchicalProcessContext.java | 3 +-- .../src/main/java/io/seata/saga/proctrl/Instruction.java | 5 +---- .../src/main/java/io/seata/saga/proctrl/ProcessContext.java | 4 +--- .../main/java/io/seata/saga/proctrl/ProcessController.java | 4 +--- .../src/main/java/io/seata/saga/proctrl/ProcessRouter.java | 4 +--- .../src/main/java/io/seata/saga/proctrl/ProcessType.java | 4 +--- .../main/java/io/seata/saga/proctrl/eventing/EventBus.java | 3 +-- .../java/io/seata/saga/proctrl/eventing/EventConsumer.java | 3 +-- .../java/io/seata/saga/proctrl/eventing/EventPublisher.java | 3 +-- .../seata/saga/proctrl/eventing/impl/AbstractEventBus.java | 4 +--- .../io/seata/saga/proctrl/eventing/impl/AsyncEventBus.java | 3 +-- .../io/seata/saga/proctrl/eventing/impl/DirectEventBus.java | 3 +-- .../saga/proctrl/eventing/impl/ProcessCtrlEventConsumer.java | 3 +-- .../proctrl/eventing/impl/ProcessCtrlEventPublisher.java | 3 +-- .../io/seata/saga/proctrl/handler/DefaultRouterHandler.java | 2 -- .../java/io/seata/saga/proctrl/handler/ProcessHandler.java | 4 +--- .../java/io/seata/saga/proctrl/handler/RouterHandler.java | 4 +--- .../java/io/seata/saga/proctrl/impl/ProcessContextImpl.java | 3 +-- .../io/seata/saga/proctrl/impl/ProcessControllerImpl.java | 2 -- .../io/seata/saga/proctrl/process/BusinessProcessor.java | 4 +--- .../proctrl/process/impl/CustomizeBusinessProcessor.java | 2 -- .../java/io/seata/saga/proctrl/ProcessControllerTests.java | 3 +-- .../java/io/seata/saga/proctrl/mock/MockInstruction.java | 3 +-- .../java/io/seata/saga/proctrl/mock/MockProcessHandler.java | 3 +-- .../java/io/seata/saga/proctrl/mock/MockProcessRouter.java | 3 +-- .../src/main/java/io/seata/saga/rm/RMHandlerSaga.java | 1 - .../src/main/java/io/seata/saga/rm/SagaResource.java | 3 +-- .../src/main/java/io/seata/saga/rm/SagaResourceManager.java | 1 - .../main/java/io/seata/saga/rm/StateMachineEngineHolder.java | 3 +-- .../java/io/seata/saga/statelang/domain/ChoiceState.java | 3 +-- .../statelang/domain/CompensateSubStateMachineState.java | 3 +-- .../saga/statelang/domain/CompensationTriggerState.java | 3 +-- .../java/io/seata/saga/statelang/domain/DomainConstants.java | 3 +-- .../main/java/io/seata/saga/statelang/domain/EndState.java | 3 +-- .../java/io/seata/saga/statelang/domain/ExecutionStatus.java | 3 +-- .../java/io/seata/saga/statelang/domain/FailEndState.java | 3 +-- .../java/io/seata/saga/statelang/domain/LoopStartState.java | 1 - .../java/io/seata/saga/statelang/domain/RecoverStrategy.java | 3 +-- .../java/io/seata/saga/statelang/domain/ScriptTaskState.java | 3 +-- .../io/seata/saga/statelang/domain/ServiceTaskState.java | 3 +-- .../src/main/java/io/seata/saga/statelang/domain/State.java | 3 +-- .../java/io/seata/saga/statelang/domain/StateInstance.java | 3 +-- .../java/io/seata/saga/statelang/domain/StateMachine.java | 3 +-- .../io/seata/saga/statelang/domain/StateMachineInstance.java | 3 +-- .../java/io/seata/saga/statelang/domain/SubStateMachine.java | 3 +-- .../java/io/seata/saga/statelang/domain/SucceedEndState.java | 3 +-- .../main/java/io/seata/saga/statelang/domain/TaskState.java | 3 +-- .../seata/saga/statelang/domain/impl/AbstractTaskState.java | 3 +-- .../java/io/seata/saga/statelang/domain/impl/BaseState.java | 3 +-- .../io/seata/saga/statelang/domain/impl/ChoiceStateImpl.java | 3 +-- .../domain/impl/CompensateSubStateMachineStateImpl.java | 3 +-- .../statelang/domain/impl/CompensationTriggerStateImpl.java | 3 +-- .../seata/saga/statelang/domain/impl/FailEndStateImpl.java | 3 +-- .../seata/saga/statelang/domain/impl/LoopStartStateImpl.java | 1 - .../saga/statelang/domain/impl/ScriptTaskStateImpl.java | 3 +-- .../saga/statelang/domain/impl/ServiceTaskStateImpl.java | 3 +-- .../seata/saga/statelang/domain/impl/StateInstanceImpl.java | 3 +-- .../seata/saga/statelang/domain/impl/StateMachineImpl.java | 3 +-- .../saga/statelang/domain/impl/StateMachineInstanceImpl.java | 3 +-- .../saga/statelang/domain/impl/SubStateMachineImpl.java | 3 +-- .../saga/statelang/domain/impl/SucceedEndStateImpl.java | 3 +-- .../main/java/io/seata/saga/statelang/parser/JsonParser.java | 3 +-- .../io/seata/saga/statelang/parser/JsonParserFactory.java | 3 +-- .../io/seata/saga/statelang/parser/StateMachineParser.java | 3 +-- .../saga/statelang/parser/StateMachineParserFactory.java | 3 +-- .../java/io/seata/saga/statelang/parser/StateParser.java | 3 +-- .../io/seata/saga/statelang/parser/StateParserFactory.java | 3 +-- .../saga/statelang/parser/impl/AbstractTaskStateParser.java | 3 +-- .../io/seata/saga/statelang/parser/impl/BaseStatePaser.java | 3 +-- .../seata/saga/statelang/parser/impl/ChoiceStateParser.java | 3 +-- .../parser/impl/CompensateSubStateMachineStateParser.java | 3 +-- .../parser/impl/CompensationTriggerStateParser.java | 3 +-- .../seata/saga/statelang/parser/impl/FailEndStateParser.java | 3 +-- .../io/seata/saga/statelang/parser/impl/FastjsonParser.java | 3 +-- .../seata/saga/statelang/parser/impl/JacksonJsonParser.java | 3 +-- .../saga/statelang/parser/impl/ScriptTaskStateParser.java | 3 +-- .../saga/statelang/parser/impl/ServiceTaskStateParser.java | 3 +-- .../saga/statelang/parser/impl/StateMachineParserImpl.java | 1 - .../saga/statelang/parser/impl/SubStateMachineParser.java | 3 +-- .../saga/statelang/parser/impl/SucceedEndStateParser.java | 3 +-- .../saga/statelang/parser/utils/DesignerJsonTransformer.java | 3 +-- .../java/io/seata/saga/statelang/parser/utils/IOUtils.java | 3 +-- .../io/seata/saga/statelang/parser/utils/ResourceUtil.java | 3 +-- .../seata/saga/statelang/parser/utils/StateMachineUtils.java | 1 - .../main/java/io/seata/saga/statelang/validator/Rule.java | 1 - .../java/io/seata/saga/statelang/validator/RuleFactory.java | 1 - .../saga/statelang/validator/StateMachineValidator.java | 1 - .../seata/saga/statelang/validator/ValidationException.java | 1 - .../io/seata/saga/statelang/validator/impl/AbstractRule.java | 1 - .../saga/statelang/validator/impl/FiniteTerminationRule.java | 1 - .../validator/impl/NoRecursiveSubStateMachineRule.java | 1 - .../saga/statelang/validator/impl/StateNameExistsRule.java | 1 - .../io/seata/saga/statelang/parser/StateParserTests.java | 3 +-- .../seata/saga/statelang/parser/utils/ResourceUtilTests.java | 3 +-- .../io/seata/saga/tm/DefaultSagaTransactionalTemplate.java | 1 - .../java/io/seata/saga/tm/SagaTransactionalTemplate.java | 3 +-- script/config-center/etcd3/etcd3-config-interactive.sh | 1 - script/config-center/nacos/nacos-config-interactive.py | 1 - script/config-center/nacos/nacos-config-interactive.sh | 2 -- .../parser/oracle/OracleTimestampJacksonSerializer.java | 1 - .../parser/oracle/OracleTimestampJacksonSerializerTest.java | 1 - .../autoconfigure/SeataClientEnvironmentPostProcessor.java | 4 +--- .../autoconfigure/SeataSpringFenceAutoConfiguration.java | 3 +-- .../properties/SagaAsyncThreadPoolProperties.java | 3 +-- .../boot/autoconfigure/properties/SeataProperties.java | 1 - .../properties/SpringCloudAlibabaConfiguration.java | 1 - .../properties/client/LoadBalanceProperties.java | 1 - .../boot/autoconfigure/properties/client/LockProperties.java | 1 - .../boot/autoconfigure/properties/client/RmProperties.java | 1 - .../autoconfigure/properties/client/ServiceProperties.java | 1 - .../boot/autoconfigure/properties/client/TmProperties.java | 1 - .../properties/client/UndoCompressProperties.java | 1 - .../boot/autoconfigure/properties/client/UndoProperties.java | 1 - .../spring/boot/autoconfigure/ClientPropertiesTest.java | 1 - .../properties/client/LoadBalancePropertiesTest.java | 1 - .../boot/autoconfigure/SeataCoreAutoConfiguration.java | 1 - .../autoconfigure/SeataCoreEnvironmentPostProcessor.java | 3 --- .../io/seata/spring/boot/autoconfigure/StarterConstants.java | 1 - .../spring/boot/autoconfigure/properties/LogProperties.java | 1 - .../boot/autoconfigure/properties/ShutdownProperties.java | 1 - .../autoconfigure/properties/ThreadFactoryProperties.java | 1 - .../boot/autoconfigure/properties/TransportProperties.java | 1 - .../properties/config/ConfigApolloProperties.java | 1 - .../properties/config/ConfigConsulProperties.java | 1 - .../properties/config/ConfigCustomProperties.java | 1 - .../properties/config/ConfigEtcd3Properties.java | 1 - .../properties/config/ConfigFileProperties.java | 1 - .../properties/config/ConfigNacosProperties.java | 1 - .../autoconfigure/properties/config/ConfigProperties.java | 1 - .../properties/config/ConfigZooKeeperProperties.java | 1 - .../properties/registry/RegistryConsulProperties.java | 1 - .../properties/registry/RegistryCustomProperties.java | 1 - .../properties/registry/RegistryEtcd3Properties.java | 1 - .../properties/registry/RegistryEurekaProperties.java | 1 - .../properties/registry/RegistryNacosProperties.java | 1 - .../properties/registry/RegistryProperties.java | 1 - .../properties/registry/RegistryRaftProperties.java | 1 - .../properties/registry/RegistryRedisProperties.java | 1 - .../properties/registry/RegistrySofaProperties.java | 1 - .../properties/registry/RegistryZooKeeperProperties.java | 1 - .../provider/SpringApplicationContextProvider.java | 1 - .../provider/SpringBootConfigurationProvider.java | 3 --- .../seata/spring/boot/autoconfigure/BasePropertiesTest.java | 3 +-- .../seata/spring/boot/autoconfigure/CorePropertiesTest.java | 1 - .../properties/config/test/ApolloPropertiesTest.java | 3 +-- .../properties/config/test/ConfigPropertiesTest.java | 1 - .../properties/config/test/ConsulPropertiesTest.java | 1 - .../properties/config/test/CustomPropertiesTest.java | 1 - .../properties/config/test/Etcd3PropertiesTest.java | 1 - .../properties/config/test/FilePropertiesTest.java | 1 - .../properties/config/test/NacosPropertiesTest.java | 1 - .../properties/config/test/ZooKeeperPropertiesTest.java | 1 - .../autoconfigure/SeataServerEnvironmentPostProcessor.java | 2 -- .../autoconfigure/properties/server/MetricsProperties.java | 1 - .../autoconfigure/properties/server/ServerProperties.java | 1 - .../properties/server/ServerRaftProperties.java | 1 - .../properties/server/ServerRecoveryProperties.java | 1 - .../properties/server/ServerUndoProperties.java | 1 - .../properties/server/session/SessionProperties.java | 1 - .../properties/server/store/StoreDBProperties.java | 1 - .../properties/server/store/StoreFileProperties.java | 1 - .../properties/server/store/StoreProperties.java | 1 - .../properties/server/store/StoreRedisProperties.java | 1 - .../spring/boot/autoconfigure/ServerPropertiesTest.java | 1 - .../spring/boot/autoconfigure/SeataAutoConfiguration.java | 1 - .../boot/autoconfigure/SeataDataSourceAutoConfiguration.java | 1 - .../boot/autoconfigure/SeataHttpAutoConfiguration.java | 2 -- .../boot/autoconfigure/SeataSagaAutoConfiguration.java | 1 - .../boot/autoconfigure/PropertyBeanPostProcessorTest.java | 1 - .../autoconfigure/RedisAutoInjectionTypeConvertTest.java | 1 - .../java/io/seata/serializer/hessian/HessianSerializer.java | 1 - .../io/seata/serializer/hessian/HessianSerializerTest.java | 1 - .../java/io/seata/serializer/kryo/KryoInnerSerializer.java | 1 - .../main/java/io/seata/serializer/kryo/KryoSerializer.java | 1 - .../java/io/seata/serializer/kryo/KryoSerializerFactory.java | 1 - .../java/io/seata/serializer/kryo/KryoSerializerTest.java | 1 - .../java/io/seata/serializer/protobuf/ProtobufHelper.java | 1 - .../seata/serializer/protobuf/ProtobufInnerSerializer.java | 3 +-- .../io/seata/serializer/protobuf/ProtobufSerializer.java | 1 - .../protobuf/convertor/BatchResultMessageConvertor.java | 3 +-- .../protobuf/convertor/BranchCommitRequestConvertor.java | 3 +-- .../protobuf/convertor/BranchCommitResponseConvertor.java | 3 +-- .../protobuf/convertor/BranchRegisterRequestConvertor.java | 3 +-- .../protobuf/convertor/BranchRegisterResponseConvertor.java | 3 +-- .../protobuf/convertor/BranchReportRequestConvertor.java | 3 +-- .../protobuf/convertor/BranchReportResponseConvertor.java | 3 +-- .../protobuf/convertor/BranchRollbackRequestConvertor.java | 3 +-- .../protobuf/convertor/BranchRollbackResponseConvertor.java | 3 +-- .../protobuf/convertor/GlobalBeginRequestConvertor.java | 3 +-- .../protobuf/convertor/GlobalBeginResponseConvertor.java | 3 +-- .../protobuf/convertor/GlobalCommitRequestConvertor.java | 3 +-- .../protobuf/convertor/GlobalCommitResponseConvertor.java | 3 +-- .../protobuf/convertor/GlobalLockQueryRequestConvertor.java | 3 +-- .../protobuf/convertor/GlobalLockQueryResponseConvertor.java | 3 +-- .../protobuf/convertor/GlobalReportRequestConvertor.java | 3 +-- .../protobuf/convertor/GlobalReportResponseConvertor.java | 3 +-- .../protobuf/convertor/GlobalRollbackRequestConvertor.java | 3 +-- .../protobuf/convertor/GlobalRollbackResponseConvertor.java | 3 +-- .../protobuf/convertor/GlobalStatusRequestConvertor.java | 3 +-- .../protobuf/convertor/GlobalStatusResponseConvertor.java | 3 +-- .../protobuf/convertor/HeartbeatMessageConvertor.java | 3 +-- .../protobuf/convertor/MergeResultMessageConvertor.java | 3 +-- .../protobuf/convertor/MergedWarpMessageConvertor.java | 3 +-- .../io/seata/serializer/protobuf/convertor/PbConvertor.java | 3 +-- .../protobuf/convertor/RegisterRMRequestConvertor.java | 3 +-- .../protobuf/convertor/RegisterRMResponseConvertor.java | 3 +-- .../protobuf/convertor/RegisterTMRequestConvertor.java | 3 +-- .../protobuf/convertor/RegisterTMResponseConvertor.java | 3 +-- .../protobuf/convertor/UndoLogDeleteRequestConvertor.java | 3 +-- .../serializer/protobuf/manager/ProtobufConvertManager.java | 3 +-- .../protobuf/convertor/BatchResultMessageConvertorTest.java | 3 +-- .../protobuf/convertor/BranchCommitRequestConvertorTest.java | 3 +-- .../convertor/BranchCommitResponseConvertorTest.java | 3 +-- .../convertor/BranchRegisterRequestConvertorTest.java | 3 +-- .../convertor/BranchRegisterResponseConvertorTest.java | 3 +-- .../protobuf/convertor/BranchReportRequestConvertorTest.java | 3 +-- .../convertor/BranchReportResponseConvertorTest.java | 3 +-- .../convertor/BranchRollbackRequestConvertorTest.java | 3 +-- .../convertor/BranchRollbackResponseConvertorTest.java | 3 +-- .../protobuf/convertor/GlobalBeginRequestConvertorTest.java | 3 +-- .../protobuf/convertor/GlobalBeginResponseConvertorTest.java | 3 +-- .../protobuf/convertor/GlobalCommitRequestConvertorTest.java | 3 +-- .../convertor/GlobalCommitResponseConvertorTest.java | 3 +-- .../convertor/GlobalLockQueryRequestConvertorTest.java | 3 +-- .../convertor/GlobalLockQueryResponseConvertorTest.java | 3 +-- .../convertor/GlobalRollbackRequestConvertorTest.java | 3 +-- .../convertor/GlobalRollbackResponseConvertorTest.java | 3 +-- .../protobuf/convertor/GlobalStatusRequestConvertorTest.java | 3 +-- .../convertor/GlobalStatusResponseConvertorTest.java | 3 +-- .../protobuf/convertor/HeartbeatMessageConvertorTest.java | 3 +-- .../protobuf/convertor/MergeMessageConvertorTest.java | 3 +-- .../protobuf/convertor/MergeResultMessageConvertorTest.java | 3 +-- .../protobuf/convertor/RegisterRMRequestConvertorTest.java | 3 +-- .../protobuf/convertor/RegisterRMResponseConvertorTest.java | 3 +-- .../protobuf/convertor/RegisterTMRequestConvertorTest.java | 3 +-- .../protobuf/convertor/RegisterTMResponseConvertorTest.java | 3 +-- .../convertor/UndoLogDeleteRequestConvertorTest.java | 3 +-- .../java/io/seata/serializer/seata/MessageCodecFactory.java | 1 - .../main/java/io/seata/serializer/seata/SeataSerializer.java | 1 - .../seata/protocol/AbstractIdentifyResponseCodec.java | 1 - .../serializer/seata/protocol/AbstractMessageCodec.java | 1 - .../seata/protocol/AbstractResultMessageCodec.java | 1 - .../serializer/seata/protocol/BatchResultMessageCodec.java | 1 - .../serializer/seata/protocol/MergeResultMessageCodec.java | 1 - .../serializer/seata/protocol/MergedWarpMessageCodec.java | 1 - .../serializer/seata/protocol/RegisterRMRequestCodec.java | 1 - .../serializer/seata/protocol/RegisterRMResponseCodec.java | 1 - .../serializer/seata/protocol/RegisterTMRequestCodec.java | 1 - .../serializer/seata/protocol/RegisterTMResponseCodec.java | 1 - .../protocol/transaction/AbstractBranchEndRequestCodec.java | 1 - .../protocol/transaction/AbstractBranchEndResponseCodec.java | 1 - .../protocol/transaction/AbstractGlobalEndRequestCodec.java | 1 - .../protocol/transaction/AbstractGlobalEndResponseCodec.java | 1 - .../transaction/AbstractTransactionRequestCodec.java | 1 - .../transaction/AbstractTransactionRequestToRMCodec.java | 1 - .../transaction/AbstractTransactionRequestToTCCodec.java | 3 +-- .../transaction/AbstractTransactionResponseCodec.java | 1 - .../seata/protocol/transaction/BranchCommitRequestCodec.java | 1 - .../protocol/transaction/BranchCommitResponseCodec.java | 1 - .../protocol/transaction/BranchRegisterRequestCodec.java | 1 - .../protocol/transaction/BranchRegisterResponseCodec.java | 1 - .../seata/protocol/transaction/BranchReportRequestCodec.java | 1 - .../protocol/transaction/BranchReportResponseCodec.java | 1 - .../protocol/transaction/BranchRollbackRequestCodec.java | 1 - .../protocol/transaction/BranchRollbackResponseCodec.java | 1 - .../seata/protocol/transaction/GlobalBeginRequestCodec.java | 1 - .../seata/protocol/transaction/GlobalBeginResponseCodec.java | 1 - .../seata/protocol/transaction/GlobalCommitRequestCodec.java | 1 - .../protocol/transaction/GlobalCommitResponseCodec.java | 1 - .../protocol/transaction/GlobalLockQueryRequestCodec.java | 1 - .../protocol/transaction/GlobalLockQueryResponseCodec.java | 1 - .../seata/protocol/transaction/GlobalReportRequestCodec.java | 1 - .../protocol/transaction/GlobalReportResponseCodec.java | 1 - .../protocol/transaction/GlobalRollbackRequestCodec.java | 1 - .../protocol/transaction/GlobalRollbackResponseCodec.java | 1 - .../seata/protocol/transaction/GlobalStatusRequestCodec.java | 1 - .../protocol/transaction/GlobalStatusResponseCodec.java | 1 - .../protocol/transaction/UndoLogDeleteRequestCodec.java | 1 - .../seata/protocol/BatchResultMessageSerializerTest.java | 1 - .../seata/protocol/MergeResultMessageSerializerTest.java | 1 - .../seata/protocol/MergedWarpMessageSerializerTest.java | 1 - .../seata/protocol/RegisterRMRequestSerializerTest.java | 1 - .../seata/protocol/RegisterRMResponseSerializerTest.java | 1 - .../seata/protocol/RegisterTMRequestSerializerTest.java | 1 - .../seata/protocol/RegisterTMResponseSerializerTest.java | 1 - .../transaction/BranchCommitRequestSerializerTest.java | 1 - .../transaction/BranchCommitResponseSerializerTest.java | 1 - .../transaction/BranchRegisterRequestSerializerTest.java | 1 - .../transaction/BranchRegisterResponseSerializerTest.java | 1 - .../transaction/BranchReportRequestSerializerTest.java | 1 - .../transaction/BranchReportResponseSerializerTest.java | 1 - .../transaction/BranchRollbackRequestSerializerTest.java | 1 - .../transaction/BranchRollbackResponseSerializerTest.java | 1 - .../transaction/GlobalBeginRequestSerializerTest.java | 1 - .../transaction/GlobalBeginResponseSerializerTest.java | 1 - .../protocol/transaction/GlobalCommitRequestCodecTest.java | 1 - .../transaction/GlobalCommitResponseSerializerTest.java | 1 - .../transaction/GlobalLockQueryRequestSerializerTest.java | 1 - .../transaction/GlobalLockQueryResponseSerializerTest.java | 1 - .../protocol/transaction/GlobalRollbackRequestCodecTest.java | 1 - .../transaction/GlobalRollbackResponseSerializerTest.java | 1 - .../protocol/transaction/GlobalStatusRequestCodecTest.java | 1 - .../transaction/GlobalStatusResponseSerializerTest.java | 1 - .../transaction/UndoLogDeleteRequestSerializerTest.java | 1 - .../main/java/io/seata/server/AbstractTCInboundHandler.java | 1 - server/src/main/java/io/seata/server/ParameterParser.java | 1 - server/src/main/java/io/seata/server/Server.java | 1 - server/src/main/java/io/seata/server/ServerApplication.java | 1 - server/src/main/java/io/seata/server/ServerRunner.java | 1 - server/src/main/java/io/seata/server/UUIDGenerator.java | 1 - .../java/io/seata/server/auth/AbstractCheckAuthHandler.java | 1 - .../java/io/seata/server/auth/DefaultCheckAuthHandler.java | 1 - .../io/seata/server/cluster/listener/ClusterChangeEvent.java | 1 - .../seata/server/cluster/listener/ClusterChangeListener.java | 1 - .../seata/server/cluster/manager/ClusterWatcherManager.java | 1 - .../main/java/io/seata/server/cluster/raft/RaftServer.java | 1 - .../java/io/seata/server/cluster/raft/RaftServerManager.java | 1 - .../java/io/seata/server/cluster/raft/RaftStateMachine.java | 1 - .../server/cluster/raft/context/SeataClusterContext.java | 1 - .../server/cluster/raft/execute/AbstractRaftMsgExecute.java | 1 - .../io/seata/server/cluster/raft/execute/RaftMsgExecute.java | 1 - .../cluster/raft/execute/branch/AddBranchSessionExecute.java | 1 - .../raft/execute/branch/RemoveBranchSessionExecute.java | 1 - .../raft/execute/branch/UpdateBranchSessionExecute.java | 1 - .../cluster/raft/execute/global/AddGlobalSessionExecute.java | 1 - .../raft/execute/global/RemoveGlobalSessionExecute.java | 1 - .../raft/execute/global/UpdateGlobalSessionExecute.java | 1 - .../cluster/raft/execute/lock/BranchReleaseLockExecute.java | 1 - .../cluster/raft/execute/lock/GlobalReleaseLockExecute.java | 1 - .../server/cluster/raft/serializer/JacksonSerializer.java | 1 - .../io/seata/server/cluster/raft/snapshot/RaftSnapshot.java | 1 - .../server/cluster/raft/snapshot/RaftSnapshotSerializer.java | 1 - .../server/cluster/raft/snapshot/StoreSnapshotFile.java | 1 - .../raft/snapshot/metadata/LeaderMetadataSnapshotFile.java | 1 - .../cluster/raft/snapshot/session/SessionSnapshotFile.java | 1 - .../server/cluster/raft/sync/RaftSyncMessageSerializer.java | 1 - .../io/seata/server/cluster/raft/sync/msg/RaftBaseMsg.java | 1 - .../cluster/raft/sync/msg/RaftBranchSessionSyncMsg.java | 1 - .../server/cluster/raft/sync/msg/RaftClusterMetadataMsg.java | 1 - .../cluster/raft/sync/msg/RaftGlobalSessionSyncMsg.java | 1 - .../seata/server/cluster/raft/sync/msg/RaftSyncMessage.java | 1 - .../seata/server/cluster/raft/sync/msg/RaftSyncMsgType.java | 1 - .../cluster/raft/sync/msg/dto/BranchTransactionDTO.java | 1 - .../cluster/raft/sync/msg/dto/GlobalTransactionDTO.java | 1 - .../cluster/raft/sync/msg/dto/RaftClusterMetadata.java | 1 - .../java/io/seata/server/cluster/raft/util/RaftTaskUtil.java | 1 - .../src/main/java/io/seata/server/cluster/watch/Watcher.java | 1 - .../server/console/controller/BranchSessionController.java | 1 - .../server/console/controller/GlobalLockController.java | 1 - .../server/console/controller/GlobalSessionController.java | 1 - .../server/console/impl/db/BranchSessionDBServiceImpl.java | 2 -- .../server/console/impl/db/GlobalLockDBServiceImpl.java | 2 -- .../server/console/impl/db/GlobalSessionDBServiceImpl.java | 2 -- .../console/impl/file/BranchSessionFileServiceImpl.java | 1 - .../server/console/impl/file/GlobalLockFileServiceImpl.java | 2 -- .../console/impl/file/GlobalSessionFileServiceImpl.java | 2 -- .../console/impl/raft/BranchSessionRaftServiceImpl.java | 1 - .../server/console/impl/raft/GlobalLockRaftServiceImpl.java | 1 - .../console/impl/raft/GlobalSessionRaftServiceImpl.java | 1 - .../console/impl/redis/BranchSessionRedisServiceImpl.java | 2 -- .../console/impl/redis/GlobalLockRedisServiceImpl.java | 2 -- .../console/impl/redis/GlobalSessionRedisServiceImpl.java | 2 -- .../java/io/seata/server/console/param/GlobalLockParam.java | 1 - .../io/seata/server/console/param/GlobalSessionParam.java | 1 - .../seata/server/console/service/BranchSessionService.java | 1 - .../io/seata/server/console/service/GlobalLockService.java | 1 - .../seata/server/console/service/GlobalSessionService.java | 1 - .../java/io/seata/server/console/vo/BranchSessionVO.java | 1 - .../main/java/io/seata/server/console/vo/GlobalLockVO.java | 2 -- .../java/io/seata/server/console/vo/GlobalSessionVO.java | 1 - .../java/io/seata/server/controller/ClusterController.java | 1 - .../java/io/seata/server/controller/HealthController.java | 3 +-- .../main/java/io/seata/server/coordinator/AbstractCore.java | 1 - server/src/main/java/io/seata/server/coordinator/Core.java | 1 - .../main/java/io/seata/server/coordinator/DefaultCore.java | 1 - .../java/io/seata/server/coordinator/RaftCoordinator.java | 1 - .../server/coordinator/TransactionCoordinatorInbound.java | 1 - .../server/coordinator/TransactionCoordinatorOutbound.java | 1 - .../src/main/java/io/seata/server/env/ContainerHelper.java | 2 -- server/src/main/java/io/seata/server/env/PortHelper.java | 1 - .../src/main/java/io/seata/server/event/EventBusManager.java | 1 - .../main/java/io/seata/server/lock/AbstractLockManager.java | 1 - server/src/main/java/io/seata/server/lock/LockManager.java | 1 - .../main/java/io/seata/server/lock/LockerManagerFactory.java | 1 - .../server/lock/distributed/DistributedLockerFactory.java | 1 - .../listener/SystemPropertyLoggerContextListener.java | 3 +-- .../logback/ExtendedWhitespaceThrowableProxyConverter.java | 1 - .../logging/logback/appender/EnhancedLogstashEncoder.java | 1 - .../logging/logback/appender/MetricLogbackAppender.java | 1 - .../main/java/io/seata/server/metrics/MeterIdConstants.java | 1 - .../main/java/io/seata/server/metrics/MetricsManager.java | 1 - .../main/java/io/seata/server/metrics/MetricsPublisher.java | 1 - .../main/java/io/seata/server/metrics/MetricsSubscriber.java | 1 - .../src/main/java/io/seata/server/session/BranchSession.java | 1 - .../java/io/seata/server/session/BranchSessionHandler.java | 1 - .../src/main/java/io/seata/server/session/GlobalSession.java | 1 - .../java/io/seata/server/session/GlobalSessionHandler.java | 3 +-- server/src/main/java/io/seata/server/session/Lockable.java | 1 - server/src/main/java/io/seata/server/session/Reloadable.java | 1 - .../main/java/io/seata/server/session/SessionCondition.java | 1 - .../src/main/java/io/seata/server/session/SessionHelper.java | 1 - .../src/main/java/io/seata/server/session/SessionHolder.java | 1 - .../main/java/io/seata/server/session/SessionLifecycle.java | 1 - .../io/seata/server/session/SessionLifecycleListener.java | 1 - .../main/java/io/seata/server/session/SessionManager.java | 1 - .../java/io/seata/server/session/SessionStatusValidator.java | 1 - .../server/spring/listener/ServerApplicationListener.java | 2 -- .../main/java/io/seata/server/storage/SessionConverter.java | 2 -- .../server/storage/db/lock/DataBaseDistributedLocker.java | 1 - .../io/seata/server/storage/db/lock/DataBaseLockManager.java | 1 - .../java/io/seata/server/storage/db/lock/DataBaseLocker.java | 1 - .../seata/server/storage/db/lock/LockStoreDataBaseDAO.java | 1 - .../server/storage/db/session/DataBaseSessionManager.java | 1 - .../storage/db/store/DataBaseTransactionStoreManager.java | 1 - .../seata/server/storage/db/store/LogStoreDataBaseDAO.java | 1 - .../java/io/seata/server/storage/file/FlushDiskMode.java | 1 - .../java/io/seata/server/storage/file/ReloadableStore.java | 1 - .../io/seata/server/storage/file/TransactionWriteStore.java | 1 - .../io/seata/server/storage/file/lock/FileLockManager.java | 1 - .../java/io/seata/server/storage/file/lock/FileLocker.java | 1 - .../server/storage/file/session/FileSessionManager.java | 1 - .../storage/file/store/FileTransactionStoreManager.java | 1 - .../server/storage/raft/lock/RaftDistributedLocker.java | 1 - .../io/seata/server/storage/raft/lock/RaftLockManager.java | 1 - .../server/storage/raft/session/RaftSessionManager.java | 1 - .../io/seata/server/storage/redis/JedisPooledFactory.java | 1 - .../main/java/io/seata/server/storage/redis/LuaParser.java | 1 - .../server/storage/redis/lock/RedisDistributedLocker.java | 1 - .../io/seata/server/storage/redis/lock/RedisLockManager.java | 3 +-- .../java/io/seata/server/storage/redis/lock/RedisLocker.java | 3 --- .../seata/server/storage/redis/lock/RedisLockerFactory.java | 1 - .../io/seata/server/storage/redis/lock/RedisLuaLocker.java | 1 - .../server/storage/redis/session/RedisSessionManager.java | 1 - .../storage/redis/store/RedisLuaTransactionStoreManager.java | 1 - .../storage/redis/store/RedisTransactionStoreManager.java | 4 ---- .../redis/store/RedisTransactionStoreManagerFactory.java | 1 - .../seata/server/store/AbstractTransactionStoreManager.java | 1 - .../java/io/seata/server/store/DbcpDataSourceProvider.java | 3 --- .../java/io/seata/server/store/DruidDataSourceProvider.java | 3 --- .../java/io/seata/server/store/HikariDataSourceProvider.java | 2 -- .../src/main/java/io/seata/server/store/SessionStorable.java | 1 - server/src/main/java/io/seata/server/store/StoreConfig.java | 1 - .../java/io/seata/server/store/TransactionStoreManager.java | 1 - .../src/main/java/io/seata/server/transaction/at/ATCore.java | 1 - .../main/java/io/seata/server/transaction/saga/SagaCore.java | 1 - .../main/java/io/seata/server/transaction/tcc/TccCore.java | 1 - .../src/main/java/io/seata/server/transaction/xa/XACore.java | 1 - server/src/test/java/ServerTest.java | 1 - server/src/test/java/WriteStoreMultithreadTest.java | 1 - server/src/test/java/WriteStoreTest.java | 1 - server/src/test/java/io/seata/server/LoaderConfTest.java | 1 - .../src/test/java/io/seata/server/ParameterParserTest.java | 1 - .../server/coordinator/DefaultCoordinatorMetricsTest.java | 1 - .../io/seata/server/coordinator/DefaultCoordinatorTest.java | 1 - .../java/io/seata/server/coordinator/DefaultCoreTest.java | 1 - server/src/test/java/io/seata/server/env/PortHelperTest.java | 3 +-- .../io/seata/server/event/DefaultCoreForEventBusTest.java | 1 - .../io/seata/server/lock/DistributedLockerFactoryTest.java | 1 - .../src/test/java/io/seata/server/lock/LockManagerTest.java | 2 -- .../io/seata/server/lock/db/DataBaseLockManagerImplTest.java | 1 - .../io/seata/server/lock/db/DataBaseLockStoreDAOTest.java | 1 - .../io/seata/server/lock/file/FileLockManagerForTest.java | 1 - .../io/seata/server/lock/file/FileLockManagerImplTest.java | 1 - .../io/seata/server/lock/redis/RedisLockManagerTest.java | 2 -- .../io/seata/server/lock/redis/RedisLuaLockManagerTest.java | 1 - .../test/java/io/seata/server/raft/RaftSyncMessageTest.java | 1 - .../seata/server/raft/execute/BranchSessionExecuteTest.java | 1 - .../seata/server/raft/execute/GlobalSessionExecuteTest.java | 1 - .../java/io/seata/server/raft/execute/LockExecuteTest.java | 1 - .../test/java/io/seata/server/session/BranchSessionTest.java | 1 - .../java/io/seata/server/session/FileSessionManagerTest.java | 1 - .../test/java/io/seata/server/session/GlobalSessionTest.java | 1 - .../test/java/io/seata/server/session/SessionHolderTest.java | 1 - .../io/seata/server/session/SessionStatusValidatorTest.java | 1 - .../seata/server/session/db/DataBaseSessionManagerTest.java | 1 - .../java/io/seata/server/session/redis/MockRedisServer.java | 1 - .../server/session/redis/RedisDistributedLockerTest.java | 2 -- .../session/redis/RedisLuaTransactionStoreManagerTest.java | 1 - .../io/seata/server/session/redis/RedisQueryConsolTest.java | 1 - .../seata/server/session/redis/RedisSessionManagerTest.java | 1 - .../session/redis/RedisTransactionStoreManagerTest.java | 1 - .../io/seata/server/session/redis/SessionConverterTest.java | 1 - .../io/seata/server/store/RaftSyncMessageSerializerTest.java | 1 - .../server/store/db/AbstractDataSourceProviderTest.java | 1 - .../io/seata/server/store/db/LogStoreDataBaseDAOTest.java | 1 - .../server/store/file/FileTransactionStoreManagerTest.java | 3 +-- server/src/test/java/io/seata/server/util/StoreUtil.java | 1 - .../src/main/java/io/seata/rm/fence/SpringFenceConfig.java | 1 - .../src/main/java/io/seata/rm/fence/SpringFenceHandler.java | 3 +-- .../main/java/io/seata/spring/SpringTargetClassParser.java | 1 - .../io/seata/spring/annotation/AdapterInvocationWrapper.java | 1 - .../spring/annotation/AdapterSpringSeataInterceptor.java | 1 - .../spring/annotation/AspectTransactionalInterceptor.java | 1 - .../io/seata/spring/annotation/GlobalTransactionScanner.java | 1 - .../src/main/java/io/seata/spring/annotation/MethodDesc.java | 1 - .../main/java/io/seata/spring/annotation/ScannerChecker.java | 1 - .../annotation/datasource/AutoDataSourceProxyRegistrar.java | 1 - .../spring/annotation/datasource/DataSourceProxyHolder.java | 2 -- .../annotation/datasource/EnableAutoDataSourceProxy.java | 1 - .../datasource/SeataAutoDataSourceProxyAdvice.java | 2 -- .../datasource/SeataAutoDataSourceProxyCreator.java | 2 -- .../io/seata/spring/annotation/datasource/SeataProxy.java | 1 - .../scannercheckers/ConfigBeansScannerChecker.java | 1 - .../annotation/scannercheckers/PackageScannerChecker.java | 1 - .../annotation/scannercheckers/ScopeBeansScannerChecker.java | 1 - .../seata/spring/kt/support/TransactionCoroutineContext.kt | 3 +-- .../main/java/io/seata/spring/kt/support/TransactionDsl.kt | 3 +-- .../spring/remoting/parser/RemotingFactoryBeanParser.java | 3 +-- .../java/io/seata/spring/tcc/TccAnnotationProcessor.java | 1 - spring/src/main/java/io/seata/spring/util/OrderUtil.java | 1 - .../src/main/java/io/seata/spring/util/SpringProxyUtils.java | 1 - .../spring/annotation/AdapterSpringSeataInterceptorTest.java | 3 +-- .../test/java/io/seata/spring/annotation/MethodDescTest.java | 1 - .../annotation/datasource/SeataAutoDataSourceProxyTest.java | 3 +-- .../src/test/java/io/seata/spring/kt/TransactionScopeTest.kt | 3 --- .../test/java/io/seata/spring/tcc/NormalTccActionImpl.java | 1 - spring/src/test/java/io/seata/spring/util/MockAdvice1.java | 1 - spring/src/test/java/io/seata/spring/util/MockAdvice2.java | 1 - spring/src/test/java/io/seata/spring/util/MockAdvisor.java | 1 - .../java/io/seata/spring/util/MockAnnotationOrdered.java | 1 - spring/src/test/java/io/seata/spring/util/MockOrdered.java | 1 - spring/src/test/java/io/seata/spring/util/OrderUtilTest.java | 1 - .../sqlparser/antlr/AntlrDelegatingSQLRecognizerFactory.java | 1 - .../io/seata/sqlparser/antlr/SQLOperateRecognizerHolder.java | 3 +-- .../sqlparser/antlr/SQLOperateRecognizerHolderFactory.java | 1 - .../sqlparser/antlr/mysql/AntlrMySQLDeleteRecognizer.java | 3 +-- .../sqlparser/antlr/mysql/AntlrMySQLInsertRecognizer.java | 3 +-- .../sqlparser/antlr/mysql/AntlrMySQLRecognizerFactory.java | 1 - .../sqlparser/antlr/mysql/AntlrMySQLSelectRecognizer.java | 3 +-- .../sqlparser/antlr/mysql/AntlrMySQLUpdateRecognizer.java | 3 +-- .../sqlparser/antlr/mysql/MySQLOperateRecognizerHolder.java | 1 - .../java/io/seata/sqlparser/antlr/mysql/MySqlContext.java | 1 - .../antlr/mysql/listener/DeleteSpecificationSqlListener.java | 3 +-- .../antlr/mysql/listener/SelectSpecificationSqlListener.java | 1 - .../antlr/mysql/listener/UpdateSpecificationSqlListener.java | 3 +-- .../io/seata/sqlparser/antlr/mysql/parser/MySqlLexer.java | 2 +- .../io/seata/sqlparser/antlr/mysql/parser/MySqlParser.java | 2 +- .../antlr/mysql/parser/MySqlParserBaseListener.java | 2 +- .../sqlparser/antlr/mysql/parser/MySqlParserBaseVisitor.java | 2 +- .../sqlparser/antlr/mysql/parser/MySqlParserListener.java | 2 +- .../sqlparser/antlr/mysql/parser/MySqlParserVisitor.java | 2 +- .../antlr/mysql/stream/ANTLRNoCaseStringStream.java | 1 - .../antlr/mysql/visit/InsertSpecificationSqlVisitor.java | 1 - .../antlr/mysql/visit/InsertStatementSqlVisitor.java | 3 +-- .../sqlparser/antlr/mysql/visit/StatementSqlVisitor.java | 3 +-- .../java/io/seata/sqlparser/antlr/AntlrIsolationTest.java | 1 - .../io/seata/sqlparser/antlr/MySQLDeleteRecognizerTest.java | 1 - .../io/seata/sqlparser/antlr/MySQLInsertRecognizerTest.java | 3 +-- .../antlr/MySQLSelectForUpdateRecognizerForListenerTest.java | 3 +-- .../io/seata/sqlparser/antlr/MySQLUpdateRecognizerTest.java | 2 +- .../src/main/java/io/seata/sqlparser/EscapeHandler.java | 1 - .../main/java/io/seata/sqlparser/EscapeHandlerFactory.java | 1 - .../src/main/java/io/seata/sqlparser/EscapeSymbol.java | 1 - .../src/main/java/io/seata/sqlparser/JoinRecognizer.java | 1 - .../src/main/java/io/seata/sqlparser/ParametersHolder.java | 1 - .../main/java/io/seata/sqlparser/SQLDeleteRecognizer.java | 1 - .../main/java/io/seata/sqlparser/SQLInsertRecognizer.java | 1 - .../main/java/io/seata/sqlparser/SQLParsingException.java | 1 - .../src/main/java/io/seata/sqlparser/SQLRecognizer.java | 1 - .../main/java/io/seata/sqlparser/SQLRecognizerFactory.java | 1 - .../main/java/io/seata/sqlparser/SQLSelectRecognizer.java | 1 - .../src/main/java/io/seata/sqlparser/SQLType.java | 1 - .../main/java/io/seata/sqlparser/SQLUpdateRecognizer.java | 1 - .../src/main/java/io/seata/sqlparser/SqlParserType.java | 1 - .../src/main/java/io/seata/sqlparser/WhereRecognizer.java | 1 - .../src/main/java/io/seata/sqlparser/struct/ColumnMeta.java | 1 - .../src/main/java/io/seata/sqlparser/struct/Defaultable.java | 1 - .../src/main/java/io/seata/sqlparser/struct/IndexMeta.java | 1 - .../src/main/java/io/seata/sqlparser/struct/IndexType.java | 3 +-- .../java/io/seata/sqlparser/struct/NotPlaceholderExpr.java | 1 - .../src/main/java/io/seata/sqlparser/struct/Null.java | 1 - .../main/java/io/seata/sqlparser/struct/Sequenceable.java | 1 - .../main/java/io/seata/sqlparser/struct/SqlDefaultExpr.java | 1 - .../main/java/io/seata/sqlparser/struct/SqlMethodExpr.java | 1 - .../main/java/io/seata/sqlparser/struct/SqlSequenceExpr.java | 1 - .../src/main/java/io/seata/sqlparser/struct/TableMeta.java | 1 - .../main/java/io/seata/sqlparser/struct/TableMetaCache.java | 1 - .../src/main/java/io/seata/sqlparser/util/ColumnUtils.java | 1 - .../src/main/java/io/seata/sqlparser/util/DbTypeParser.java | 1 - .../src/main/java/io/seata/sqlparser/util/JdbcConstants.java | 1 - .../main/java/io/seata/sqlparser/druid/BaseRecognizer.java | 1 - .../java/io/seata/sqlparser/druid/DefaultDruidLoader.java | 1 - .../java/io/seata/sqlparser/druid/DruidDbTypeAdapter.java | 1 - .../java/io/seata/sqlparser/druid/DruidDbTypeParserImpl.java | 1 - .../seata/sqlparser/druid/DruidDelegatingDbTypeParser.java | 1 - .../sqlparser/druid/DruidDelegatingSQLRecognizerFactory.java | 1 - .../io/seata/sqlparser/druid/DruidIsolationClassLoader.java | 1 - .../seata/sqlparser/druid/DruidSQLRecognizerFactoryImpl.java | 2 -- .../io/seata/sqlparser/druid/SQLOperateRecognizerHolder.java | 1 - .../sqlparser/druid/SQLOperateRecognizerHolderFactory.java | 1 - .../java/io/seata/sqlparser/druid/SupportSqlWhereMethod.java | 3 --- .../java/io/seata/sqlparser/druid/dm/BaseDmRecognizer.java | 1 - .../java/io/seata/sqlparser/druid/dm/DmDeleteRecognizer.java | 1 - .../java/io/seata/sqlparser/druid/dm/DmInsertRecognizer.java | 1 - .../seata/sqlparser/druid/dm/DmOperateRecognizerHolder.java | 1 - .../sqlparser/druid/dm/DmSelectForUpdateRecognizer.java | 1 - .../java/io/seata/sqlparser/druid/dm/DmUpdateRecognizer.java | 1 - .../sqlparser/druid/mariadb/MariadbDeleteRecognizer.java | 1 - .../sqlparser/druid/mariadb/MariadbInsertRecognizer.java | 1 - .../druid/mariadb/MariadbOperateRecognizerHolder.java | 1 - .../druid/mariadb/MariadbSelectForUpdateRecognizer.java | 1 - .../sqlparser/druid/mariadb/MariadbUpdateRecognizer.java | 1 - .../io/seata/sqlparser/druid/mysql/BaseMySQLRecognizer.java | 1 - .../seata/sqlparser/druid/mysql/MySQLDeleteRecognizer.java | 1 - .../seata/sqlparser/druid/mysql/MySQLInsertRecognizer.java | 1 - .../sqlparser/druid/mysql/MySQLOperateRecognizerHolder.java | 1 - .../druid/mysql/MySQLSelectForUpdateRecognizer.java | 1 - .../seata/sqlparser/druid/mysql/MySQLUpdateRecognizer.java | 1 - .../seata/sqlparser/druid/oracle/BaseOracleRecognizer.java | 1 - .../seata/sqlparser/druid/oracle/OracleDeleteRecognizer.java | 1 - .../seata/sqlparser/druid/oracle/OracleInsertRecognizer.java | 1 - .../druid/oracle/OracleOperateRecognizerHolder.java | 1 - .../druid/oracle/OracleSelectForUpdateRecognizer.java | 1 - .../seata/sqlparser/druid/oracle/OracleUpdateRecognizer.java | 1 - .../sqlparser/druid/polardbx/PolarDBXDeleteRecognizer.java | 1 - .../sqlparser/druid/polardbx/PolarDBXInsertRecognizer.java | 1 - .../druid/polardbx/PolarDBXOperateRecognizerHolder.java | 1 - .../druid/polardbx/PolarDBXSelectForUpdateRecognizer.java | 1 - .../sqlparser/druid/polardbx/PolarDBXUpdateRecognizer.java | 1 - .../sqlparser/druid/postgresql/BasePostgresqlRecognizer.java | 1 - .../druid/postgresql/PostgresqlDeleteRecognizer.java | 1 - .../druid/postgresql/PostgresqlInsertRecognizer.java | 1 - .../druid/postgresql/PostgresqlOperateRecognizerHolder.java | 1 - .../postgresql/PostgresqlSelectForUpdateRecognizer.java | 1 - .../druid/postgresql/PostgresqlUpdateRecognizer.java | 1 - .../sqlparser/druid/sqlserver/BaseSqlServerRecognizer.java | 1 - .../sqlparser/druid/sqlserver/SqlServerDeleteRecognizer.java | 1 - .../sqlparser/druid/sqlserver/SqlServerInsertRecognizer.java | 1 - .../druid/sqlserver/SqlServerOperateRecognizerHolder.java | 1 - .../druid/sqlserver/SqlServerSelectForUpdateRecognizer.java | 1 - .../sqlparser/druid/sqlserver/SqlServerUpdateRecognizer.java | 1 - .../io/seata/sqlparser/druid/AbstractRecognizerTest.java | 1 - .../java/io/seata/sqlparser/druid/DruidDbTypeParserTest.java | 1 - .../java/io/seata/sqlparser/druid/DruidIsolationTest.java | 1 - .../seata/sqlparser/druid/MariadbDeleteRecognizerTest.java | 1 - .../seata/sqlparser/druid/MariadbInsertRecognizerTest.java | 1 - .../io/seata/sqlparser/druid/MySQLDeleteRecognizerTest.java | 1 - .../io/seata/sqlparser/druid/MySQLInsertRecognizerTest.java | 1 - .../druid/polardbx/AbstractPolarDBXRecognizerTest.java | 1 - .../druid/polardbx/PolarDBXDeleteRecognizerTest.java | 1 - .../druid/polardbx/PolarDBXInsertRecognizerTest.java | 1 - .../druid/polardbx/PolarDBXOperateRecognizerHolderTest.java | 1 - .../polardbx/PolarDBXSelectForUpdateRecognizerTest.java | 1 - .../druid/polardbx/PolarDBXUpdateRecognizerTest.java | 1 - .../druid/sqlserver/SqlServerDeleteRecognizerTest.java | 1 - .../druid/sqlserver/SqlServerInsertRecognizerTest.java | 1 - .../sqlserver/SqlServerOperateRecognizerHolderTest.java | 1 - .../sqlserver/SqlServerSelectForUpdateRecognizerTest.java | 1 - .../druid/sqlserver/SqlServerUpdateRecognizerTest.java | 1 - tcc/src/main/java/io/seata/rm/tcc/RMHandlerTCC.java | 1 - tcc/src/main/java/io/seata/rm/tcc/TCCResource.java | 2 -- tcc/src/main/java/io/seata/rm/tcc/TCCResourceManager.java | 4 +--- tcc/src/main/java/io/seata/rm/tcc/api/LocalTCC.java | 1 - .../java/io/seata/rm/tcc/api/TwoPhaseBusinessAction.java | 1 - .../rm/tcc/interceptor/TccActionInterceptorHandler.java | 1 - .../tcc/interceptor/parser/TccActionInterceptorParser.java | 1 - tcc/src/main/java/io/seata/rm/tcc/json/FastJsonParser.java | 2 -- tcc/src/main/java/io/seata/rm/tcc/json/GsonJsonParser.java | 1 - .../main/java/io/seata/rm/tcc/json/JacksonJsonParser.java | 1 - .../seata/rm/tcc/remoting/parser/LocalTCCRemotingParser.java | 3 +-- .../rm/tcc/resource/parser/TccRegisterResourceParser.java | 1 - tcc/src/test/java/io/seata/rm/tcc/NormalTccAction.java | 1 - tcc/src/test/java/io/seata/rm/tcc/NormalTccActionImpl.java | 1 - tcc/src/test/java/io/seata/rm/tcc/Param.java | 1 - tcc/src/test/java/io/seata/rm/tcc/TccAction.java | 1 - tcc/src/test/java/io/seata/rm/tcc/TccActionImpl.java | 1 - tcc/src/test/java/io/seata/rm/tcc/TccParam.java | 1 - .../java/io/seata/rm/tcc/interceptor/ProxyUtilsTccTest.java | 1 - .../interceptor/parser/TccActionInterceptorParserTest.java | 3 +-- .../rm/tcc/remoting/parser/LocalTCCRemotingParserTest.java | 1 - .../tcc/resource/parser/TccRegisterResourceParserTest.java | 3 +-- .../test/java/io/seata/rm/tcc/spring/tcc/LocalTccAction.java | 1 - .../java/io/seata/rm/tcc/spring/tcc/LocalTccActionImpl.java | 1 - tcc/src/test/java/io/seata/rm/tcc/spring/tcc/TccAction.java | 1 - .../test/java/io/seata/rm/tcc/spring/tcc/TccActionImpl.java | 1 - test/src/test/java/AppTest.java | 1 - .../LocalTransactionWithGlobalLockDataSourceBasicTest.java | 1 - .../java/io/seata/at/ATModeSupportDataBaseDataTypeTest.java | 1 - test/src/test/java/io/seata/at/DruidDataSourceUtils.java | 3 --- .../src/test/java/io/seata/at/mysql/MysqlUpdateJoinTest.java | 3 +-- .../java/io/seata/at/oracle/SupportOracleDataTypeTest.java | 1 - test/src/test/java/io/seata/common/ApplicationKeeper.java | 1 - test/src/test/java/io/seata/common/LockAndCallback.java | 1 - test/src/test/java/io/seata/common/SagaCostPrint.java | 1 - .../io/seata/common/loader/EnhancedServiceLoaderTest.java | 1 - .../test/java/io/seata/common/loader/LoaderTestImpl1.java | 1 - .../test/java/io/seata/common/loader/LoaderTestImpl2.java | 1 - test/src/test/java/io/seata/common/loader/LoaderTestSPI.java | 1 - .../test/java/io/seata/core/rpc/netty/TmNettyClientTest.java | 1 - .../io/seata/core/rpc/netty/v1/ClientChannelHandler.java | 1 - .../io/seata/core/rpc/netty/v1/HeadMapSerializerTest.java | 3 +-- .../java/io/seata/core/rpc/netty/v1/ProtocolV1Client.java | 1 - .../io/seata/core/rpc/netty/v1/ProtocolV1SerializerTest.java | 1 - .../java/io/seata/core/rpc/netty/v1/ProtocolV1Server.java | 1 - .../io/seata/core/rpc/netty/v1/ServerChannelHandler.java | 1 - .../java/io/seata/saga/engine/StateMachineAsyncTests.java | 1 - .../test/java/io/seata/saga/engine/StateMachineTests.java | 3 +-- .../java/io/seata/saga/engine/db/AbstractServerTest.java | 3 +-- .../java/io/seata/saga/engine/db/StateMachineDBTests.java | 1 - .../db/mockserver/StateMachineAsyncDBMockServerTests.java | 1 - .../engine/db/mockserver/StateMachineDBMockServerTests.java | 3 +-- .../test/java/io/seata/saga/engine/mock/DemoException.java | 3 +-- .../src/test/java/io/seata/saga/engine/mock/DemoService.java | 3 +-- .../io/seata/saga/engine/mock/MockGlobalTransaction.java | 1 - .../seata/saga/engine/mock/MockSagaTransactionTemplate.java | 3 +-- .../seata/saga/engine/mock/MockStateHandlerInterceptor.java | 3 +-- .../seata/saga/engine/mock/MockStateRouterInterceptor.java | 3 +-- tm/src/main/java/io/seata/tm/DefaultTransactionManager.java | 1 - tm/src/main/java/io/seata/tm/TMClient.java | 1 - tm/src/main/java/io/seata/tm/TransactionManagerHolder.java | 1 - .../main/java/io/seata/tm/api/DefaultFailureHandlerImpl.java | 1 - .../main/java/io/seata/tm/api/DefaultGlobalTransaction.java | 1 - tm/src/main/java/io/seata/tm/api/FailureHandler.java | 1 - tm/src/main/java/io/seata/tm/api/FailureHandlerHolder.java | 1 - tm/src/main/java/io/seata/tm/api/GlobalTransaction.java | 1 - .../main/java/io/seata/tm/api/GlobalTransactionContext.java | 1 - tm/src/main/java/io/seata/tm/api/GlobalTransactionRole.java | 1 - tm/src/main/java/io/seata/tm/api/TransactionalExecutor.java | 1 - tm/src/main/java/io/seata/tm/api/TransactionalTemplate.java | 3 +-- .../java/io/seata/tm/api/transaction/NoRollbackRule.java | 1 - .../main/java/io/seata/tm/api/transaction/Propagation.java | 1 - .../main/java/io/seata/tm/api/transaction/RollbackRule.java | 1 - .../seata/tm/api/transaction/SuspendedResourcesHolder.java | 2 -- .../java/io/seata/tm/api/transaction/TransactionHook.java | 1 - .../io/seata/tm/api/transaction/TransactionHookAdapter.java | 1 - .../io/seata/tm/api/transaction/TransactionHookManager.java | 1 - .../java/io/seata/tm/api/transaction/TransactionInfo.java | 1 - tm/src/test/java/io/seata/tm/TMClientTest.java | 1 - .../test/java/io/seata/tm/TransactionManagerHolderTest.java | 1 - .../java/io/seata/tm/api/DefaultFailureHandlerImplTest.java | 1 - .../java/io/seata/tm/api/DefaultGlobalTransactionTest.java | 1 - .../java/io/seata/tm/api/GlobalTransactionContextTest.java | 1 - .../test/java/io/seata/tm/api/TransactionTemplateTest.java | 1 - .../java/io/seata/tm/api/transaction/MyRuntimeException.java | 1 - .../java/io/seata/tm/api/transaction/NoRollbackRuleTest.java | 1 - .../java/io/seata/tm/api/transaction/RollbackRuleTest.java | 1 - .../seata/tm/api/transaction/TransactionHookManagerTest.java | 1 - .../io/seata/tm/api/transaction/TransactionInfoTest.java | 1 - 1687 files changed, 345 insertions(+), 2117 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 2c6448a0dc7..49dfc893341 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -27,6 +27,8 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6145](https://github.com/seata/seata/pull/6145)] upgrade jettison to 1.5.4 - [[#6164](https://github.com/seata/seata/pull/6164)] redis registry push empty protection optimize - [[#6174](https://github.com/seata/seata/pull/6174)] add ASF basic config +- [[#6179](https://github.com/seata/seata/pull/6179)] remove @author info +- [[#6176](https://github.com/seata/seata/pull/6176)] update source header ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index ab368d0982c..285fc3ce642 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -26,6 +26,8 @@ - [[#6116](https://github.com/seata/seata/pull/6034)] 移除 lgtm.com - [[#6164](https://github.com/seata/seata/pull/6164)] redis 注册中心推空保护优化 - [[#6174](https://github.com/seata/seata/pull/6174)] 增加 ASF 基础配置 +- [[#6179](https://github.com/seata/seata/pull/6179)] 移除 @author 信息 +- [[#6176](https://github.com/seata/seata/pull/6176)] 更新源文件header信息 ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 diff --git a/common/src/main/java/io/seata/common/ConfigurationKeys.java b/common/src/main/java/io/seata/common/ConfigurationKeys.java index 15a7e3888f2..b54b3849cc7 100644 --- a/common/src/main/java/io/seata/common/ConfigurationKeys.java +++ b/common/src/main/java/io/seata/common/ConfigurationKeys.java @@ -19,7 +19,6 @@ /** * The type Configuration keys. * - * @author slievrly */ public interface ConfigurationKeys { /** diff --git a/common/src/main/java/io/seata/common/Constants.java b/common/src/main/java/io/seata/common/Constants.java index 56a54f4f983..2445785c968 100644 --- a/common/src/main/java/io/seata/common/Constants.java +++ b/common/src/main/java/io/seata/common/Constants.java @@ -21,7 +21,6 @@ /** * The type Constants. * - * @author slievrly */ public interface Constants { diff --git a/common/src/main/java/io/seata/common/DefaultValues.java b/common/src/main/java/io/seata/common/DefaultValues.java index 466d97864f7..56cc225a556 100644 --- a/common/src/main/java/io/seata/common/DefaultValues.java +++ b/common/src/main/java/io/seata/common/DefaultValues.java @@ -19,7 +19,6 @@ import java.time.Duration; /** - * @author xingfudeshi@gmail.com */ public interface DefaultValues { int DEFAULT_CLIENT_LOCK_RETRY_INTERVAL = 10; @@ -313,4 +312,4 @@ public interface DefaultValues { * Default druid location in classpath */ String DRUID_LOCATION = "lib/sqlparser/druid.jar"; -} \ No newline at end of file +} diff --git a/common/src/main/java/io/seata/common/XID.java b/common/src/main/java/io/seata/common/XID.java index 14868f6df64..124ba4ad96c 100644 --- a/common/src/main/java/io/seata/common/XID.java +++ b/common/src/main/java/io/seata/common/XID.java @@ -21,7 +21,6 @@ /** * The type Xid. * - * @author slievrly */ public class XID { diff --git a/common/src/main/java/io/seata/common/exception/DataAccessException.java b/common/src/main/java/io/seata/common/exception/DataAccessException.java index ae4c56b39b4..fcfc0851d66 100644 --- a/common/src/main/java/io/seata/common/exception/DataAccessException.java +++ b/common/src/main/java/io/seata/common/exception/DataAccessException.java @@ -18,7 +18,6 @@ /** * the data access exception - * @author jsbxyyx */ public class DataAccessException extends StoreException { diff --git a/common/src/main/java/io/seata/common/exception/EurekaRegistryException.java b/common/src/main/java/io/seata/common/exception/EurekaRegistryException.java index 47996d4886e..244ca0ab4b8 100644 --- a/common/src/main/java/io/seata/common/exception/EurekaRegistryException.java +++ b/common/src/main/java/io/seata/common/exception/EurekaRegistryException.java @@ -19,7 +19,6 @@ /** * eureka registry exception * - * @author rui_849217@163.com */ public class EurekaRegistryException extends RuntimeException { diff --git a/common/src/main/java/io/seata/common/exception/FrameworkErrorCode.java b/common/src/main/java/io/seata/common/exception/FrameworkErrorCode.java index 31f54c4cdb7..ed7e7aea885 100644 --- a/common/src/main/java/io/seata/common/exception/FrameworkErrorCode.java +++ b/common/src/main/java/io/seata/common/exception/FrameworkErrorCode.java @@ -19,7 +19,6 @@ /** * The enum Framework error code. * - * @author slievrly */ public enum FrameworkErrorCode { /** diff --git a/common/src/main/java/io/seata/common/exception/FrameworkException.java b/common/src/main/java/io/seata/common/exception/FrameworkException.java index c1deeb7d9e4..ebb29e1f212 100644 --- a/common/src/main/java/io/seata/common/exception/FrameworkException.java +++ b/common/src/main/java/io/seata/common/exception/FrameworkException.java @@ -24,7 +24,6 @@ /** * The type Framework exception. * - * @author slievrly */ public class FrameworkException extends RuntimeException { private static final Logger LOGGER = LoggerFactory.getLogger(FrameworkException.class); diff --git a/common/src/main/java/io/seata/common/exception/JsonParseException.java b/common/src/main/java/io/seata/common/exception/JsonParseException.java index efbd1606be6..aa8962b5469 100644 --- a/common/src/main/java/io/seata/common/exception/JsonParseException.java +++ b/common/src/main/java/io/seata/common/exception/JsonParseException.java @@ -17,7 +17,6 @@ package io.seata.common.exception; /** - * @author zouwei */ public class JsonParseException extends RuntimeException { diff --git a/common/src/main/java/io/seata/common/exception/NotSupportYetException.java b/common/src/main/java/io/seata/common/exception/NotSupportYetException.java index b16939b88f0..9da8ab4ec3c 100644 --- a/common/src/main/java/io/seata/common/exception/NotSupportYetException.java +++ b/common/src/main/java/io/seata/common/exception/NotSupportYetException.java @@ -19,7 +19,6 @@ /** * The type Not support yet exception. * - * @author slievrly */ public class NotSupportYetException extends RuntimeException { diff --git a/common/src/main/java/io/seata/common/exception/RedisException.java b/common/src/main/java/io/seata/common/exception/RedisException.java index 2e118ae09a7..a2b33e8c0a5 100644 --- a/common/src/main/java/io/seata/common/exception/RedisException.java +++ b/common/src/main/java/io/seata/common/exception/RedisException.java @@ -19,7 +19,6 @@ /** * The redis operate exception * - * @author wangzhongxiang */ public class RedisException extends FrameworkException { diff --git a/common/src/main/java/io/seata/common/exception/ShouldNeverHappenException.java b/common/src/main/java/io/seata/common/exception/ShouldNeverHappenException.java index c405dbaa2cd..a170bdf5bc8 100644 --- a/common/src/main/java/io/seata/common/exception/ShouldNeverHappenException.java +++ b/common/src/main/java/io/seata/common/exception/ShouldNeverHappenException.java @@ -19,7 +19,6 @@ /** * The type Should never happen exception. * - * @author slievrly */ public class ShouldNeverHappenException extends RuntimeException { diff --git a/common/src/main/java/io/seata/common/exception/SkipCallbackWrapperException.java b/common/src/main/java/io/seata/common/exception/SkipCallbackWrapperException.java index b7839a74870..c2919dffd76 100644 --- a/common/src/main/java/io/seata/common/exception/SkipCallbackWrapperException.java +++ b/common/src/main/java/io/seata/common/exception/SkipCallbackWrapperException.java @@ -20,7 +20,6 @@ * Skip Callback Wrapper Exception. * This exception class will make the semantics clearer. * - * @author wang.liang * @since above 1.4.2 */ public class SkipCallbackWrapperException extends RuntimeException { diff --git a/common/src/main/java/io/seata/common/exception/StoreException.java b/common/src/main/java/io/seata/common/exception/StoreException.java index 6b3739ed4b7..b9cdc6a52a0 100644 --- a/common/src/main/java/io/seata/common/exception/StoreException.java +++ b/common/src/main/java/io/seata/common/exception/StoreException.java @@ -19,7 +19,6 @@ /** * the store exception * - * @author zhangsen */ public class StoreException extends FrameworkException { diff --git a/common/src/main/java/io/seata/common/executor/Callback.java b/common/src/main/java/io/seata/common/executor/Callback.java index 9d5e4e3e621..6ab3bfae484 100644 --- a/common/src/main/java/io/seata/common/executor/Callback.java +++ b/common/src/main/java/io/seata/common/executor/Callback.java @@ -21,7 +21,6 @@ * * @param the type parameter * - * @author zhangsen */ public interface Callback { diff --git a/common/src/main/java/io/seata/common/executor/Initialize.java b/common/src/main/java/io/seata/common/executor/Initialize.java index 1126657b7cc..a6d60909971 100644 --- a/common/src/main/java/io/seata/common/executor/Initialize.java +++ b/common/src/main/java/io/seata/common/executor/Initialize.java @@ -19,7 +19,6 @@ /** * The interface Initialize. * - * @author zhangsen */ public interface Initialize { diff --git a/common/src/main/java/io/seata/common/holder/ObjectHolder.java b/common/src/main/java/io/seata/common/holder/ObjectHolder.java index 744fe9524aa..be3294a112d 100644 --- a/common/src/main/java/io/seata/common/holder/ObjectHolder.java +++ b/common/src/main/java/io/seata/common/holder/ObjectHolder.java @@ -22,7 +22,6 @@ import io.seata.common.exception.ShouldNeverHappenException; /** - * @author xingfudeshi@gmail.com * The enum object holder */ public enum ObjectHolder { diff --git a/common/src/main/java/io/seata/common/io/FileLoader.java b/common/src/main/java/io/seata/common/io/FileLoader.java index fc9500c2bbb..ed452d0e25b 100644 --- a/common/src/main/java/io/seata/common/io/FileLoader.java +++ b/common/src/main/java/io/seata/common/io/FileLoader.java @@ -28,7 +28,6 @@ /** * file loader * - * @author tianyu.li */ public class FileLoader { diff --git a/common/src/main/java/io/seata/common/loader/EnhancedServiceLoader.java b/common/src/main/java/io/seata/common/loader/EnhancedServiceLoader.java index 4aaa30ac324..992f129da71 100644 --- a/common/src/main/java/io/seata/common/loader/EnhancedServiceLoader.java +++ b/common/src/main/java/io/seata/common/loader/EnhancedServiceLoader.java @@ -41,7 +41,6 @@ /** * The type Enhanced service loader. * - * @author slievrly */ public class EnhancedServiceLoader { @@ -668,4 +667,4 @@ private T get() { } -} \ No newline at end of file +} diff --git a/common/src/main/java/io/seata/common/loader/EnhancedServiceNotFoundException.java b/common/src/main/java/io/seata/common/loader/EnhancedServiceNotFoundException.java index 1e3d06334bb..83e7a6e835b 100644 --- a/common/src/main/java/io/seata/common/loader/EnhancedServiceNotFoundException.java +++ b/common/src/main/java/io/seata/common/loader/EnhancedServiceNotFoundException.java @@ -21,7 +21,6 @@ /** * The type Enhanced service not found exception. * - * @author slievrly */ public class EnhancedServiceNotFoundException extends NestableRuntimeException { private static final long serialVersionUID = 7748438218914409019L; diff --git a/common/src/main/java/io/seata/common/loader/ExtensionDefinition.java b/common/src/main/java/io/seata/common/loader/ExtensionDefinition.java index 330ab9256c7..65a96548e23 100644 --- a/common/src/main/java/io/seata/common/loader/ExtensionDefinition.java +++ b/common/src/main/java/io/seata/common/loader/ExtensionDefinition.java @@ -22,7 +22,6 @@ * The type ExtensionDefinition * * @param type of serviceClass - * @author haozhibei */ final class ExtensionDefinition { diff --git a/common/src/main/java/io/seata/common/loader/LoadLevel.java b/common/src/main/java/io/seata/common/loader/LoadLevel.java index 46ca89f19ae..1e500ba9017 100644 --- a/common/src/main/java/io/seata/common/loader/LoadLevel.java +++ b/common/src/main/java/io/seata/common/loader/LoadLevel.java @@ -25,7 +25,6 @@ /** * The interface Load level. * - * @author slievrly */ @Documented @Retention(RetentionPolicy.RUNTIME) diff --git a/common/src/main/java/io/seata/common/loader/Scope.java b/common/src/main/java/io/seata/common/loader/Scope.java index 908e1f3b64a..ae1e3109159 100644 --- a/common/src/main/java/io/seata/common/loader/Scope.java +++ b/common/src/main/java/io/seata/common/loader/Scope.java @@ -19,7 +19,6 @@ /** * the scope of the extension * - * @author haozhibei */ public enum Scope { /** diff --git a/common/src/main/java/io/seata/common/metadata/ClusterRole.java b/common/src/main/java/io/seata/common/metadata/ClusterRole.java index e69e16fa834..c7266353e7c 100644 --- a/common/src/main/java/io/seata/common/metadata/ClusterRole.java +++ b/common/src/main/java/io/seata/common/metadata/ClusterRole.java @@ -17,7 +17,6 @@ package io.seata.common.metadata; /** - * @author funkye */ public enum ClusterRole { diff --git a/common/src/main/java/io/seata/common/metadata/Metadata.java b/common/src/main/java/io/seata/common/metadata/Metadata.java index be67889bf96..f4c0c83f8cc 100644 --- a/common/src/main/java/io/seata/common/metadata/Metadata.java +++ b/common/src/main/java/io/seata/common/metadata/Metadata.java @@ -28,7 +28,6 @@ import io.seata.common.util.StringUtils; /** - * @author funkye */ public class Metadata { diff --git a/common/src/main/java/io/seata/common/metadata/MetadataResponse.java b/common/src/main/java/io/seata/common/metadata/MetadataResponse.java index 86dd460e34f..157db0660ae 100644 --- a/common/src/main/java/io/seata/common/metadata/MetadataResponse.java +++ b/common/src/main/java/io/seata/common/metadata/MetadataResponse.java @@ -19,7 +19,6 @@ import java.util.List; /** - * @author funkye */ public class MetadataResponse { diff --git a/common/src/main/java/io/seata/common/metadata/Node.java b/common/src/main/java/io/seata/common/metadata/Node.java index 7a4dbefc8fd..e7126bd861f 100644 --- a/common/src/main/java/io/seata/common/metadata/Node.java +++ b/common/src/main/java/io/seata/common/metadata/Node.java @@ -20,7 +20,6 @@ import java.util.Map; /** - * @author funkye */ public class Node { diff --git a/common/src/main/java/io/seata/common/rpc/RpcStatus.java b/common/src/main/java/io/seata/common/rpc/RpcStatus.java index b9e50d68069..fc311ff31c7 100644 --- a/common/src/main/java/io/seata/common/rpc/RpcStatus.java +++ b/common/src/main/java/io/seata/common/rpc/RpcStatus.java @@ -24,7 +24,6 @@ /** * The state statistics. * - * @author ph3636 */ public class RpcStatus { diff --git a/common/src/main/java/io/seata/common/store/StoreMode.java b/common/src/main/java/io/seata/common/store/StoreMode.java index f72913e827c..f6d7166398a 100644 --- a/common/src/main/java/io/seata/common/store/StoreMode.java +++ b/common/src/main/java/io/seata/common/store/StoreMode.java @@ -19,7 +19,6 @@ /** * transaction log store mode * - * @author zhangsen */ public enum StoreMode { @@ -82,4 +81,4 @@ public String getName() { return name; } -} \ No newline at end of file +} diff --git a/common/src/main/java/io/seata/common/thread/NamedThreadFactory.java b/common/src/main/java/io/seata/common/thread/NamedThreadFactory.java index 127b573cfb6..3698a29733b 100644 --- a/common/src/main/java/io/seata/common/thread/NamedThreadFactory.java +++ b/common/src/main/java/io/seata/common/thread/NamedThreadFactory.java @@ -27,8 +27,6 @@ /** * The type Named thread factory. * - * @author slievrly - * @author ggndnn */ public class NamedThreadFactory implements ThreadFactory { private final static Map PREFIX_COUNTER = new ConcurrentHashMap<>(); diff --git a/common/src/main/java/io/seata/common/thread/PositiveAtomicCounter.java b/common/src/main/java/io/seata/common/thread/PositiveAtomicCounter.java index 74206bbb0f6..27bf52f43d1 100644 --- a/common/src/main/java/io/seata/common/thread/PositiveAtomicCounter.java +++ b/common/src/main/java/io/seata/common/thread/PositiveAtomicCounter.java @@ -21,7 +21,6 @@ /** * positive atomic counter, begin with 0, ensure the number is positive. * - * @author Geng Zhang */ public class PositiveAtomicCounter { private static final int MASK = 0x7FFFFFFF; @@ -43,4 +42,4 @@ public int get() { return atom.get() & MASK; } -} \ No newline at end of file +} diff --git a/common/src/main/java/io/seata/common/thread/RejectedPolicies.java b/common/src/main/java/io/seata/common/thread/RejectedPolicies.java index 51e4ede1733..17d290aa394 100644 --- a/common/src/main/java/io/seata/common/thread/RejectedPolicies.java +++ b/common/src/main/java/io/seata/common/thread/RejectedPolicies.java @@ -22,7 +22,6 @@ /** * Policies for RejectedExecutionHandler * - * @author guoyao */ public final class RejectedPolicies { diff --git a/common/src/main/java/io/seata/common/util/ArrayUtils.java b/common/src/main/java/io/seata/common/util/ArrayUtils.java index 64bbaeda1f0..5759099ff38 100644 --- a/common/src/main/java/io/seata/common/util/ArrayUtils.java +++ b/common/src/main/java/io/seata/common/util/ArrayUtils.java @@ -21,7 +21,6 @@ /** * The type Array utils. * - * @author wang.liang */ public class ArrayUtils { diff --git a/common/src/main/java/io/seata/common/util/BeanUtils.java b/common/src/main/java/io/seata/common/util/BeanUtils.java index 8f60b6d89b2..1bacac93895 100644 --- a/common/src/main/java/io/seata/common/util/BeanUtils.java +++ b/common/src/main/java/io/seata/common/util/BeanUtils.java @@ -29,7 +29,6 @@ /** * The bean utils * - * @author wangzhongxiang */ public class BeanUtils { diff --git a/common/src/main/java/io/seata/common/util/BlobUtils.java b/common/src/main/java/io/seata/common/util/BlobUtils.java index c1a73e8c81a..2a8c23d72ed 100644 --- a/common/src/main/java/io/seata/common/util/BlobUtils.java +++ b/common/src/main/java/io/seata/common/util/BlobUtils.java @@ -26,8 +26,6 @@ /** * The type Blob utils. * - * @author slievrly - * @author Geng Zhang */ public class BlobUtils { diff --git a/common/src/main/java/io/seata/common/util/BufferUtils.java b/common/src/main/java/io/seata/common/util/BufferUtils.java index 96ba4c983a0..8bec1009914 100644 --- a/common/src/main/java/io/seata/common/util/BufferUtils.java +++ b/common/src/main/java/io/seata/common/util/BufferUtils.java @@ -41,7 +41,6 @@ * child classes (e.g the ByteBuffer), but the return type is the specialized one and not the abstract {@link Buffer}. * So the code compiled with newer Java is not working on Java 8 unless a workaround with explicit casting is used. * - * @author funkye */ public class BufferUtils { diff --git a/common/src/main/java/io/seata/common/util/CollectionUtils.java b/common/src/main/java/io/seata/common/util/CollectionUtils.java index 208bde310ac..1cbe3a23a20 100644 --- a/common/src/main/java/io/seata/common/util/CollectionUtils.java +++ b/common/src/main/java/io/seata/common/util/CollectionUtils.java @@ -26,8 +26,6 @@ /** * The type Collection utils. * - * @author zhangsen - * @author Geng Zhang */ public class CollectionUtils { diff --git a/common/src/main/java/io/seata/common/util/CompressUtil.java b/common/src/main/java/io/seata/common/util/CompressUtil.java index f47180633ae..63b1e68c93e 100644 --- a/common/src/main/java/io/seata/common/util/CompressUtil.java +++ b/common/src/main/java/io/seata/common/util/CompressUtil.java @@ -91,4 +91,4 @@ public static boolean isCompressData(byte[] bytes) { } return false; } -} \ No newline at end of file +} diff --git a/common/src/main/java/io/seata/common/util/ConfigTools.java b/common/src/main/java/io/seata/common/util/ConfigTools.java index 37e4cab4fcf..e6c4176bea2 100644 --- a/common/src/main/java/io/seata/common/util/ConfigTools.java +++ b/common/src/main/java/io/seata/common/util/ConfigTools.java @@ -29,7 +29,6 @@ import javax.crypto.Cipher; /** - * @author funkye */ public class ConfigTools { diff --git a/common/src/main/java/io/seata/common/util/CycleDependencyHandler.java b/common/src/main/java/io/seata/common/util/CycleDependencyHandler.java index 2149468997e..44f41384726 100644 --- a/common/src/main/java/io/seata/common/util/CycleDependencyHandler.java +++ b/common/src/main/java/io/seata/common/util/CycleDependencyHandler.java @@ -23,7 +23,6 @@ /** * The type CycleDependency handler. * - * @author wang.liang */ public class CycleDependencyHandler { diff --git a/common/src/main/java/io/seata/common/util/DateUtil.java b/common/src/main/java/io/seata/common/util/DateUtil.java index 8fe1336e450..32f7dd461b2 100644 --- a/common/src/main/java/io/seata/common/util/DateUtil.java +++ b/common/src/main/java/io/seata/common/util/DateUtil.java @@ -24,7 +24,6 @@ /** * The type Date util. * - * @author slievrly */ public class DateUtil { diff --git a/common/src/main/java/io/seata/common/util/DurationUtil.java b/common/src/main/java/io/seata/common/util/DurationUtil.java index 7200783cf37..62e18842c73 100644 --- a/common/src/main/java/io/seata/common/util/DurationUtil.java +++ b/common/src/main/java/io/seata/common/util/DurationUtil.java @@ -21,7 +21,6 @@ import java.util.regex.Pattern; /** - * @author XCXCXCXCX */ public class DurationUtil { diff --git a/common/src/main/java/io/seata/common/util/HttpClientUtil.java b/common/src/main/java/io/seata/common/util/HttpClientUtil.java index 9ba981bf390..90102c1cd36 100644 --- a/common/src/main/java/io/seata/common/util/HttpClientUtil.java +++ b/common/src/main/java/io/seata/common/util/HttpClientUtil.java @@ -45,7 +45,6 @@ import java.util.concurrent.ConcurrentHashMap; /** - * @author funkye */ public class HttpClientUtil { @@ -136,4 +135,4 @@ public static CloseableHttpResponse doGet(String url, Map param, return null; } -} \ No newline at end of file +} diff --git a/common/src/main/java/io/seata/common/util/IOUtil.java b/common/src/main/java/io/seata/common/util/IOUtil.java index 850b03d34a2..0177cdec620 100644 --- a/common/src/main/java/io/seata/common/util/IOUtil.java +++ b/common/src/main/java/io/seata/common/util/IOUtil.java @@ -17,7 +17,6 @@ package io.seata.common.util; /** - * @author jsbxyyx */ public class IOUtil { diff --git a/common/src/main/java/io/seata/common/util/IdWorker.java b/common/src/main/java/io/seata/common/util/IdWorker.java index b107d1fb494..af9b5a065a8 100644 --- a/common/src/main/java/io/seata/common/util/IdWorker.java +++ b/common/src/main/java/io/seata/common/util/IdWorker.java @@ -22,8 +22,6 @@ import java.util.concurrent.atomic.AtomicLong; /** - * @author funkye - * @author selfishlover */ public class IdWorker { diff --git a/common/src/main/java/io/seata/common/util/LambdaUtils.java b/common/src/main/java/io/seata/common/util/LambdaUtils.java index 9c43be84ad8..b08ffdd0ee2 100644 --- a/common/src/main/java/io/seata/common/util/LambdaUtils.java +++ b/common/src/main/java/io/seata/common/util/LambdaUtils.java @@ -24,7 +24,6 @@ /** * The type Lambda util. * - * @author zjinlei */ public class LambdaUtils { diff --git a/common/src/main/java/io/seata/common/util/MapUtil.java b/common/src/main/java/io/seata/common/util/MapUtil.java index a9a273e24c0..271efb5b585 100644 --- a/common/src/main/java/io/seata/common/util/MapUtil.java +++ b/common/src/main/java/io/seata/common/util/MapUtil.java @@ -24,7 +24,6 @@ /** * Map Util * - * @author zhixing */ public class MapUtil { diff --git a/common/src/main/java/io/seata/common/util/NetAddressValidatorUtil.java b/common/src/main/java/io/seata/common/util/NetAddressValidatorUtil.java index 3edbdb4675d..19b862000dd 100644 --- a/common/src/main/java/io/seata/common/util/NetAddressValidatorUtil.java +++ b/common/src/main/java/io/seata/common/util/NetAddressValidatorUtil.java @@ -21,7 +21,6 @@ /** * ipv4 ipv6 check util. * - * @author Ifdevil */ public class NetAddressValidatorUtil { diff --git a/common/src/main/java/io/seata/common/util/NetUtil.java b/common/src/main/java/io/seata/common/util/NetUtil.java index 4551d21a6ed..e352e88bbd7 100644 --- a/common/src/main/java/io/seata/common/util/NetUtil.java +++ b/common/src/main/java/io/seata/common/util/NetUtil.java @@ -36,7 +36,6 @@ /** * The type Net util. * - * @author slievrly */ public class NetUtil { private static final Logger LOGGER = LoggerFactory.getLogger(NetUtil.class); diff --git a/common/src/main/java/io/seata/common/util/NumberUtils.java b/common/src/main/java/io/seata/common/util/NumberUtils.java index d306f523669..e50db576f22 100644 --- a/common/src/main/java/io/seata/common/util/NumberUtils.java +++ b/common/src/main/java/io/seata/common/util/NumberUtils.java @@ -19,7 +19,6 @@ /** * Number utility * - * @author helloworlde */ public class NumberUtils { diff --git a/common/src/main/java/io/seata/common/util/PageUtil.java b/common/src/main/java/io/seata/common/util/PageUtil.java index 5a574c12e99..384413834b7 100644 --- a/common/src/main/java/io/seata/common/util/PageUtil.java +++ b/common/src/main/java/io/seata/common/util/PageUtil.java @@ -26,7 +26,6 @@ /** * db page util * - * @author lvekee 734843455@qq.com */ public class PageUtil { /** diff --git a/common/src/main/java/io/seata/common/util/ReflectionUtil.java b/common/src/main/java/io/seata/common/util/ReflectionUtil.java index 8a631050899..74a856cfe71 100644 --- a/common/src/main/java/io/seata/common/util/ReflectionUtil.java +++ b/common/src/main/java/io/seata/common/util/ReflectionUtil.java @@ -34,8 +34,6 @@ /** * Reflection tools * - * @author zhangsen - * @author wang.liang */ public final class ReflectionUtil { diff --git a/common/src/main/java/io/seata/common/util/SizeUtil.java b/common/src/main/java/io/seata/common/util/SizeUtil.java index 612c930b0e1..d695fc390f8 100755 --- a/common/src/main/java/io/seata/common/util/SizeUtil.java +++ b/common/src/main/java/io/seata/common/util/SizeUtil.java @@ -17,7 +17,6 @@ package io.seata.common.util; /** - * @author chd */ public class SizeUtil { private static final long RADIX = 1024; diff --git a/common/src/main/java/io/seata/common/util/StringFormatUtils.java b/common/src/main/java/io/seata/common/util/StringFormatUtils.java index 49ac3f4ffa2..e6a31696f3e 100644 --- a/common/src/main/java/io/seata/common/util/StringFormatUtils.java +++ b/common/src/main/java/io/seata/common/util/StringFormatUtils.java @@ -17,7 +17,6 @@ package io.seata.common.util; /** - * @author xingfudeshi@gmail.com */ public class StringFormatUtils { private static final char MINUS = '-'; diff --git a/common/src/main/java/io/seata/common/util/StringUtils.java b/common/src/main/java/io/seata/common/util/StringUtils.java index 42740f36d90..94cc53d43f6 100644 --- a/common/src/main/java/io/seata/common/util/StringUtils.java +++ b/common/src/main/java/io/seata/common/util/StringUtils.java @@ -37,8 +37,6 @@ /** * The type String utils. * - * @author slievrly - * @author Geng Zhang */ public class StringUtils { diff --git a/common/src/test/java/io/seata/common/BranchDO.java b/common/src/test/java/io/seata/common/BranchDO.java index 0c12b1dec1f..befc1dc4ea0 100644 --- a/common/src/test/java/io/seata/common/BranchDO.java +++ b/common/src/test/java/io/seata/common/BranchDO.java @@ -20,7 +20,6 @@ /** * The branch do for test - * @author wangzhongxiang */ public class BranchDO { private String xid; diff --git a/common/src/test/java/io/seata/common/XIDTest.java b/common/src/test/java/io/seata/common/XIDTest.java index 89f116b6720..6f9ddad730f 100644 --- a/common/src/test/java/io/seata/common/XIDTest.java +++ b/common/src/test/java/io/seata/common/XIDTest.java @@ -26,7 +26,6 @@ /** * The type Xid test. * - * @author Otis.z */ public class XIDTest { diff --git a/common/src/test/java/io/seata/common/exception/DataAccessExceptionTest.java b/common/src/test/java/io/seata/common/exception/DataAccessExceptionTest.java index 1311261b96e..d14ff52bbe6 100644 --- a/common/src/test/java/io/seata/common/exception/DataAccessExceptionTest.java +++ b/common/src/test/java/io/seata/common/exception/DataAccessExceptionTest.java @@ -23,7 +23,6 @@ /** * The dataAccess exception. * - * @author lzf971107 */ public class DataAccessExceptionTest { @@ -56,4 +55,4 @@ private static void exceptionAsserts(DataAccessException exception) { assertThat(exception).isInstanceOf(DataAccessException.class).hasMessage(FrameworkErrorCode.UnknownAppError.getErrMessage()); assertThat(exception.getErrcode()).isEqualTo(FrameworkErrorCode.UnknownAppError); } -} \ No newline at end of file +} diff --git a/common/src/test/java/io/seata/common/exception/EurekaRegistryExceptionTest.java b/common/src/test/java/io/seata/common/exception/EurekaRegistryExceptionTest.java index 470282562cb..ef41ba87980 100644 --- a/common/src/test/java/io/seata/common/exception/EurekaRegistryExceptionTest.java +++ b/common/src/test/java/io/seata/common/exception/EurekaRegistryExceptionTest.java @@ -23,7 +23,6 @@ /** * The eurekaRegistry exception. * - * @author lzf971107 */ public class EurekaRegistryExceptionTest { @@ -45,4 +44,4 @@ public void testConstructorWithThrowable() { private static void exceptionAsserts(EurekaRegistryException exception) { assertThat(exception).isInstanceOf(EurekaRegistryException.class).hasMessage(FrameworkErrorCode.UnknownAppError.getErrMessage()); } -} \ No newline at end of file +} diff --git a/common/src/test/java/io/seata/common/exception/FrameworkExceptionTest.java b/common/src/test/java/io/seata/common/exception/FrameworkExceptionTest.java index a32b5e113b1..1e794b76f48 100644 --- a/common/src/test/java/io/seata/common/exception/FrameworkExceptionTest.java +++ b/common/src/test/java/io/seata/common/exception/FrameworkExceptionTest.java @@ -26,7 +26,6 @@ /** * The type Framework exception test. * - * @author Otis.z */ public class FrameworkExceptionTest { diff --git a/common/src/test/java/io/seata/common/exception/Message.java b/common/src/test/java/io/seata/common/exception/Message.java index 4bddd0abc1f..9dd09f976d6 100644 --- a/common/src/test/java/io/seata/common/exception/Message.java +++ b/common/src/test/java/io/seata/common/exception/Message.java @@ -21,7 +21,6 @@ /** * The type Message. * - * @author Otis.z * @since 2019 /3/1 */ public class Message { diff --git a/common/src/test/java/io/seata/common/exception/NotSupportYetExceptionTest.java b/common/src/test/java/io/seata/common/exception/NotSupportYetExceptionTest.java index c38aaf168e4..47b4ba218b7 100644 --- a/common/src/test/java/io/seata/common/exception/NotSupportYetExceptionTest.java +++ b/common/src/test/java/io/seata/common/exception/NotSupportYetExceptionTest.java @@ -23,7 +23,6 @@ /** * The notSupportYet exception. * - * @author lzf971107 */ public class NotSupportYetExceptionTest { @@ -50,4 +49,4 @@ public void testConstructorWithThrowable() { private static void exceptionAsserts(NotSupportYetException exception) { assertThat(exception).isInstanceOf(NotSupportYetException.class).hasMessage(FrameworkErrorCode.UnknownAppError.getErrMessage()); } -} \ No newline at end of file +} diff --git a/common/src/test/java/io/seata/common/exception/ShouldNeverHappenExceptionTest.java b/common/src/test/java/io/seata/common/exception/ShouldNeverHappenExceptionTest.java index 729024217b7..7788c19fff8 100644 --- a/common/src/test/java/io/seata/common/exception/ShouldNeverHappenExceptionTest.java +++ b/common/src/test/java/io/seata/common/exception/ShouldNeverHappenExceptionTest.java @@ -23,7 +23,6 @@ /** * The shouldNeverHappen exception. * - * @author lzf971107 */ public class ShouldNeverHappenExceptionTest { @@ -50,4 +49,4 @@ public void testConstructorWithThrowable() { private static void exceptionAsserts(ShouldNeverHappenException exception) { assertThat(exception).isInstanceOf(ShouldNeverHappenException.class).hasMessage(FrameworkErrorCode.UnknownAppError.getErrMessage()); } -} \ No newline at end of file +} diff --git a/common/src/test/java/io/seata/common/holder/ObjectHolderTest.java b/common/src/test/java/io/seata/common/holder/ObjectHolderTest.java index 56f2128237d..576e034eca6 100644 --- a/common/src/test/java/io/seata/common/holder/ObjectHolderTest.java +++ b/common/src/test/java/io/seata/common/holder/ObjectHolderTest.java @@ -23,7 +23,6 @@ import org.junit.jupiter.api.Test; /** - * @author liuqiufeng */ public class ObjectHolderTest { diff --git a/common/src/test/java/io/seata/common/io/FileLoaderTest.java b/common/src/test/java/io/seata/common/io/FileLoaderTest.java index 61602c3074f..19ba207e46b 100644 --- a/common/src/test/java/io/seata/common/io/FileLoaderTest.java +++ b/common/src/test/java/io/seata/common/io/FileLoaderTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; /** - * @author liuqiufeng */ public class FileLoaderTest { diff --git a/common/src/test/java/io/seata/common/loader/ChineseHello.java b/common/src/test/java/io/seata/common/loader/ChineseHello.java index a9afba9f71c..c003c024102 100644 --- a/common/src/test/java/io/seata/common/loader/ChineseHello.java +++ b/common/src/test/java/io/seata/common/loader/ChineseHello.java @@ -19,7 +19,6 @@ /** * The type Chinese hello. * - * @author Otis.z */ @LoadLevel(name = "ChineseHello", order = Integer.MIN_VALUE) public class ChineseHello implements Hello { diff --git a/common/src/test/java/io/seata/common/loader/EnglishHello.java b/common/src/test/java/io/seata/common/loader/EnglishHello.java index 0622a940642..eb283842cc9 100644 --- a/common/src/test/java/io/seata/common/loader/EnglishHello.java +++ b/common/src/test/java/io/seata/common/loader/EnglishHello.java @@ -19,7 +19,6 @@ /** * The type English hello. * - * @author Otis.z */ @LoadLevel(name = "EnglishHello", order = 1) public class EnglishHello implements Hello { diff --git a/common/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java b/common/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java index f976cbfb344..566f99dd8dc 100644 --- a/common/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java +++ b/common/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java @@ -29,7 +29,6 @@ /** * The type Enhanced service loader test. * - * @author Otis.z */ public class EnhancedServiceLoaderTest { diff --git a/common/src/test/java/io/seata/common/loader/ExtensionDefinitionTest.java b/common/src/test/java/io/seata/common/loader/ExtensionDefinitionTest.java index df28b2cbf13..ad9e0ddc9af 100644 --- a/common/src/test/java/io/seata/common/loader/ExtensionDefinitionTest.java +++ b/common/src/test/java/io/seata/common/loader/ExtensionDefinitionTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; /** - * @author liuqiufeng */ public class ExtensionDefinitionTest { diff --git a/common/src/test/java/io/seata/common/loader/FrenchHello.java b/common/src/test/java/io/seata/common/loader/FrenchHello.java index ae6c6978b58..3e7b1a6847f 100644 --- a/common/src/test/java/io/seata/common/loader/FrenchHello.java +++ b/common/src/test/java/io/seata/common/loader/FrenchHello.java @@ -19,7 +19,6 @@ /** * The type French hello. * - * @author Otis.z */ @LoadLevel(name = "FrenchHello", order = 2) public class FrenchHello implements Hello { diff --git a/common/src/test/java/io/seata/common/loader/Hello.java b/common/src/test/java/io/seata/common/loader/Hello.java index 6b125883068..fc6a782cdf4 100644 --- a/common/src/test/java/io/seata/common/loader/Hello.java +++ b/common/src/test/java/io/seata/common/loader/Hello.java @@ -19,7 +19,6 @@ /** * The interface Hello. * - * @author Otis.z */ public interface Hello { /** diff --git a/common/src/test/java/io/seata/common/loader/Hello1.java b/common/src/test/java/io/seata/common/loader/Hello1.java index 98465b8cd68..163e3003983 100644 --- a/common/src/test/java/io/seata/common/loader/Hello1.java +++ b/common/src/test/java/io/seata/common/loader/Hello1.java @@ -34,7 +34,6 @@ /** * The interface Hello1. * - * @author wlx * @date 2022/5/22 11:07 下午 */ public interface Hello1 { diff --git a/common/src/test/java/io/seata/common/loader/Hello2.java b/common/src/test/java/io/seata/common/loader/Hello2.java index 1d34f9b3c1a..316f7803b33 100644 --- a/common/src/test/java/io/seata/common/loader/Hello2.java +++ b/common/src/test/java/io/seata/common/loader/Hello2.java @@ -17,7 +17,6 @@ package io.seata.common.loader; /** - * @author liuqiufeng */ public interface Hello2 { } diff --git a/common/src/test/java/io/seata/common/loader/JapaneseHello.java b/common/src/test/java/io/seata/common/loader/JapaneseHello.java index c5c56c5e8cc..cf83e366d4f 100644 --- a/common/src/test/java/io/seata/common/loader/JapaneseHello.java +++ b/common/src/test/java/io/seata/common/loader/JapaneseHello.java @@ -17,7 +17,6 @@ package io.seata.common.loader; /** - * @author liuqiufeng */ @LoadLevel(name = "JapaneseHello", order = Integer.MAX_VALUE) public class JapaneseHello implements Hello2{ diff --git a/common/src/test/java/io/seata/common/loader/LatinHello.java b/common/src/test/java/io/seata/common/loader/LatinHello.java index 631063f42aa..0d3359f5cc4 100644 --- a/common/src/test/java/io/seata/common/loader/LatinHello.java +++ b/common/src/test/java/io/seata/common/loader/LatinHello.java @@ -19,7 +19,6 @@ /** * The type LatinHello * - * @author haozhibei */ @LoadLevel(name = "LatinHello",order = 3, scope = Scope.PROTOTYPE) public class LatinHello implements Hello { diff --git a/common/src/test/java/io/seata/common/rpc/RpcStatusTest.java b/common/src/test/java/io/seata/common/rpc/RpcStatusTest.java index 1ae9926f5da..ab6e1d44999 100644 --- a/common/src/test/java/io/seata/common/rpc/RpcStatusTest.java +++ b/common/src/test/java/io/seata/common/rpc/RpcStatusTest.java @@ -22,7 +22,6 @@ /** * The state statistics test. * - * @author ph3636 */ public class RpcStatusTest { diff --git a/common/src/test/java/io/seata/common/thread/NamedThreadFactoryTest.java b/common/src/test/java/io/seata/common/thread/NamedThreadFactoryTest.java index d4d86c73034..53e092981e5 100644 --- a/common/src/test/java/io/seata/common/thread/NamedThreadFactoryTest.java +++ b/common/src/test/java/io/seata/common/thread/NamedThreadFactoryTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; /** - * @author Otis.z */ public class NamedThreadFactoryTest { private static final int THREAD_TOTAL_SIZE = 3; diff --git a/common/src/test/java/io/seata/common/util/ArrayUtilsTest.java b/common/src/test/java/io/seata/common/util/ArrayUtilsTest.java index e7d746c83a4..037fe2dd4fe 100644 --- a/common/src/test/java/io/seata/common/util/ArrayUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/ArrayUtilsTest.java @@ -22,7 +22,6 @@ import java.util.Arrays; /** - * @author liuqiufeng */ public class ArrayUtilsTest { diff --git a/common/src/test/java/io/seata/common/util/BeanUtilsTest.java b/common/src/test/java/io/seata/common/util/BeanUtilsTest.java index 8f10245e8d7..07377175fd6 100644 --- a/common/src/test/java/io/seata/common/util/BeanUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/BeanUtilsTest.java @@ -26,7 +26,6 @@ /** * The bean utils test * - * @author wangzhongxiang */ public class BeanUtilsTest { diff --git a/common/src/test/java/io/seata/common/util/BlobUtilsTest.java b/common/src/test/java/io/seata/common/util/BlobUtilsTest.java index 28209550948..0d767137efd 100644 --- a/common/src/test/java/io/seata/common/util/BlobUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/BlobUtilsTest.java @@ -30,8 +30,6 @@ /** * The type Blob utils test. * - * @author Otis.z - * @author Geng Zhang */ public class BlobUtilsTest { diff --git a/common/src/test/java/io/seata/common/util/CollectionUtilsTest.java b/common/src/test/java/io/seata/common/util/CollectionUtilsTest.java index e57d9feca71..53dd3f154ac 100644 --- a/common/src/test/java/io/seata/common/util/CollectionUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/CollectionUtilsTest.java @@ -31,7 +31,6 @@ /** * The type Collection utils test. * - * @author Geng Zhang */ public class CollectionUtilsTest { diff --git a/common/src/test/java/io/seata/common/util/ConfigToolsTest.java b/common/src/test/java/io/seata/common/util/ConfigToolsTest.java index 436789cdcfc..eca1cc9c06e 100644 --- a/common/src/test/java/io/seata/common/util/ConfigToolsTest.java +++ b/common/src/test/java/io/seata/common/util/ConfigToolsTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; /** - * @author funkye */ public class ConfigToolsTest { diff --git a/common/src/test/java/io/seata/common/util/DateUtilTest.java b/common/src/test/java/io/seata/common/util/DateUtilTest.java index aa7018f6e5a..f97f1ae4ada 100644 --- a/common/src/test/java/io/seata/common/util/DateUtilTest.java +++ b/common/src/test/java/io/seata/common/util/DateUtilTest.java @@ -24,7 +24,6 @@ import org.junit.jupiter.api.Test; /** - * @author slievrly */ public class DateUtilTest { @Test diff --git a/common/src/test/java/io/seata/common/util/IOUtilTest.java b/common/src/test/java/io/seata/common/util/IOUtilTest.java index b6dc5198d01..dc24fea08e0 100644 --- a/common/src/test/java/io/seata/common/util/IOUtilTest.java +++ b/common/src/test/java/io/seata/common/util/IOUtilTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; /** - * @author caioguedes */ public class IOUtilTest { @@ -71,4 +70,4 @@ public boolean isClose() { return close; } } -} \ No newline at end of file +} diff --git a/common/src/test/java/io/seata/common/util/IdWorkerTest.java b/common/src/test/java/io/seata/common/util/IdWorkerTest.java index 75b1d08162f..db2322c8e61 100644 --- a/common/src/test/java/io/seata/common/util/IdWorkerTest.java +++ b/common/src/test/java/io/seata/common/util/IdWorkerTest.java @@ -44,4 +44,4 @@ void testNextId() { long id2 = worker.nextId(); assertEquals(1L, id2 - id1, "increment step should be 1"); } -} \ No newline at end of file +} diff --git a/common/src/test/java/io/seata/common/util/LowerCaseLinkHashMapTest.java b/common/src/test/java/io/seata/common/util/LowerCaseLinkHashMapTest.java index 41347f385d8..3073a5d4d6d 100644 --- a/common/src/test/java/io/seata/common/util/LowerCaseLinkHashMapTest.java +++ b/common/src/test/java/io/seata/common/util/LowerCaseLinkHashMapTest.java @@ -28,7 +28,6 @@ import org.junit.jupiter.api.Test; /** - * @author liuqiufeng */ public class LowerCaseLinkHashMapTest { diff --git a/common/src/test/java/io/seata/common/util/MapUtilTest.java b/common/src/test/java/io/seata/common/util/MapUtilTest.java index 451123eca43..71efd1cb6af 100644 --- a/common/src/test/java/io/seata/common/util/MapUtilTest.java +++ b/common/src/test/java/io/seata/common/util/MapUtilTest.java @@ -25,7 +25,6 @@ import org.junit.jupiter.api.Test; /** - * @author liuqiufeng */ public class MapUtilTest { diff --git a/common/src/test/java/io/seata/common/util/NetAddressValidatorUtilTest.java b/common/src/test/java/io/seata/common/util/NetAddressValidatorUtilTest.java index 994a88d9739..5527b95f918 100644 --- a/common/src/test/java/io/seata/common/util/NetAddressValidatorUtilTest.java +++ b/common/src/test/java/io/seata/common/util/NetAddressValidatorUtilTest.java @@ -38,7 +38,6 @@ /** * The Net Validator util test. * - * @author Ifdevil */ public class NetAddressValidatorUtilTest { diff --git a/common/src/test/java/io/seata/common/util/NetUtilTest.java b/common/src/test/java/io/seata/common/util/NetUtilTest.java index 0bb991bd6f0..e0b39e4fd48 100644 --- a/common/src/test/java/io/seata/common/util/NetUtilTest.java +++ b/common/src/test/java/io/seata/common/util/NetUtilTest.java @@ -30,7 +30,6 @@ /** * The type Net util test. * - * @author Otis.z */ public class NetUtilTest { diff --git a/common/src/test/java/io/seata/common/util/NumberUtilsTest.java b/common/src/test/java/io/seata/common/util/NumberUtilsTest.java index c79e325f03f..88ee3e32d6b 100644 --- a/common/src/test/java/io/seata/common/util/NumberUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/NumberUtilsTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; /** - * @author caioguedes */ public class NumberUtilsTest { diff --git a/common/src/test/java/io/seata/common/util/PageUtilTest.java b/common/src/test/java/io/seata/common/util/PageUtilTest.java index 9147f8f1f2c..e4701046efe 100644 --- a/common/src/test/java/io/seata/common/util/PageUtilTest.java +++ b/common/src/test/java/io/seata/common/util/PageUtilTest.java @@ -25,7 +25,6 @@ /** * The page util test. * - * @author lvekee@734843455@qq.com */ public class PageUtilTest { diff --git a/common/src/test/java/io/seata/common/util/StringFormatUtilsTest.java b/common/src/test/java/io/seata/common/util/StringFormatUtilsTest.java index 2aab92492bf..6461c7df68f 100644 --- a/common/src/test/java/io/seata/common/util/StringFormatUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/StringFormatUtilsTest.java @@ -48,4 +48,4 @@ void dotToCamel() { assertThat(StringFormatUtils.dotToCamel(" ")).isEqualTo(""); assertThat(StringFormatUtils.dotToCamel("abc.def.gh")).isEqualTo("abcDefGh"); } -} \ No newline at end of file +} diff --git a/common/src/test/java/io/seata/common/util/StringUtilsTest.java b/common/src/test/java/io/seata/common/util/StringUtilsTest.java index 6f7e7f21534..168e885c597 100644 --- a/common/src/test/java/io/seata/common/util/StringUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/StringUtilsTest.java @@ -43,8 +43,6 @@ /** * The type String utils test. * - * @author Otis.z - * @author Geng Zhang */ public class StringUtilsTest { diff --git a/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Compressor.java b/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Compressor.java index f230ec99982..9ccf84f21ce 100644 --- a/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Compressor.java +++ b/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Compressor.java @@ -22,7 +22,6 @@ /** * the BZip2 Compressor * - * @author ph3636 */ @LoadLevel(name = "BZIP2") public class BZip2Compressor implements Compressor { diff --git a/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Util.java b/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Util.java index dfd9b34a630..5d1b6bfacc3 100644 --- a/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Util.java +++ b/compressor/seata-compressor-bzip2/src/main/java/io/seata/compressor/bzip2/BZip2Util.java @@ -26,7 +26,6 @@ /** * the BZip2 Util * - * @author ph3636 */ public class BZip2Util { diff --git a/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2CompressorTest.java b/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2CompressorTest.java index 7051b7d4b6f..8e37663ec53 100644 --- a/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2CompressorTest.java +++ b/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2CompressorTest.java @@ -22,7 +22,6 @@ /** * the BZip2 Compressor test * - * @author ph3636 */ public class BZip2CompressorTest { diff --git a/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2UtilTest.java b/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2UtilTest.java index eb3aee9c7a4..2e3c68c249c 100644 --- a/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2UtilTest.java +++ b/compressor/seata-compressor-bzip2/src/test/java/io/seata/compressor/bzip2/BZip2UtilTest.java @@ -22,7 +22,6 @@ /** * the BZip2 Util test * - * @author ph3636 */ public class BZip2UtilTest { diff --git a/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterCompressor.java b/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterCompressor.java index 40bfb8973fb..4dab4cea92d 100644 --- a/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterCompressor.java +++ b/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterCompressor.java @@ -20,7 +20,6 @@ import io.seata.core.compressor.Compressor; /** - * @author dongzl */ @LoadLevel(name = "DEFLATER") public class DeflaterCompressor implements Compressor { diff --git a/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterUtil.java b/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterUtil.java index a7bbc3c2a5d..63574fa54de 100644 --- a/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterUtil.java +++ b/compressor/seata-compressor-deflater/src/main/java/io/seata/compressor/deflater/DeflaterUtil.java @@ -22,7 +22,6 @@ import java.util.zip.Inflater; /** - * @author dongzl */ public class DeflaterUtil { diff --git a/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterCompressorTest.java b/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterCompressorTest.java index f0355ad5009..9102f63ae3a 100644 --- a/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterCompressorTest.java +++ b/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterCompressorTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; /** - * @author dongzl */ public class DeflaterCompressorTest { diff --git a/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterUtilTest.java b/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterUtilTest.java index a48b7133524..a55c3271074 100644 --- a/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterUtilTest.java +++ b/compressor/seata-compressor-deflater/src/test/java/io/seata/compressor/deflater/DeflaterUtilTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; /** - * @author dongzl */ public class DeflaterUtilTest { diff --git a/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipCompressor.java b/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipCompressor.java index 96aae27579f..0e09eef8dee 100644 --- a/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipCompressor.java +++ b/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipCompressor.java @@ -20,7 +20,6 @@ import io.seata.core.compressor.Compressor; /** - * @author jsbxyyx */ @LoadLevel(name = "GZIP") public class GzipCompressor implements Compressor { diff --git a/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipUtil.java b/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipUtil.java index 120faf68231..3b1233bcf20 100644 --- a/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipUtil.java +++ b/compressor/seata-compressor-gzip/src/main/java/io/seata/compressor/gzip/GzipUtil.java @@ -23,7 +23,6 @@ import java.util.zip.GZIPOutputStream; /** - * @author jsbxyyx */ public class GzipUtil { diff --git a/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipCompressorTest.java b/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipCompressorTest.java index 8a7b78be7b6..3d97e1c2bca 100644 --- a/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipCompressorTest.java +++ b/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipCompressorTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; /** - * @author jsbxyyx */ public class GzipCompressorTest { diff --git a/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipUtilTest.java b/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipUtilTest.java index 6f0985eb6c4..d2db45dfbac 100644 --- a/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipUtilTest.java +++ b/compressor/seata-compressor-gzip/src/test/java/io/seata/compressor/gzip/GzipUtilTest.java @@ -22,7 +22,6 @@ import java.util.zip.GZIPInputStream; /** - * @author jsbxyyx */ public class GzipUtilTest { diff --git a/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Compressor.java b/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Compressor.java index d127e951b63..3ad902b9b7d 100644 --- a/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Compressor.java +++ b/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Compressor.java @@ -22,7 +22,6 @@ /** * the Lz4 Compressor * - * @author diguage */ @LoadLevel(name = "LZ4") public class Lz4Compressor implements Compressor { diff --git a/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Util.java b/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Util.java index 4e4cc4d5412..96008af39ab 100644 --- a/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Util.java +++ b/compressor/seata-compressor-lz4/src/main/java/io/seata/compressor/lz4/Lz4Util.java @@ -31,7 +31,6 @@ /** * the Lz4 Util * - * @author diguage */ public class Lz4Util { private static final Logger LOGGER = LoggerFactory.getLogger(Lz4Util.class); diff --git a/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4CompressorTest.java b/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4CompressorTest.java index a11208a4c38..8f02b63b7ed 100644 --- a/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4CompressorTest.java +++ b/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4CompressorTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; /** - * @author diguage */ public class Lz4CompressorTest { @@ -33,4 +32,4 @@ public void testCompressAndDecompress() { byte[] result = compressor.decompress(bytes); Assertions.assertEquals(new String(result), content); } -} \ No newline at end of file +} diff --git a/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4UtilTest.java b/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4UtilTest.java index f7e6f7fe2d7..f2b8d79c8cd 100644 --- a/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4UtilTest.java +++ b/compressor/seata-compressor-lz4/src/test/java/io/seata/compressor/lz4/Lz4UtilTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; /** - * @author diguage */ class Lz4UtilTest { @Test @@ -37,4 +36,4 @@ public void testDecompress() { }); } -} \ No newline at end of file +} diff --git a/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipCompressor.java b/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipCompressor.java index e68d23be06e..9365e1a6907 100644 --- a/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipCompressor.java +++ b/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipCompressor.java @@ -22,7 +22,6 @@ /** * the Zip Compressor * - * @author ph3636 */ @LoadLevel(name = "ZIP") public class ZipCompressor implements Compressor { diff --git a/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipUtil.java b/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipUtil.java index 103100f1491..657bce49c5f 100644 --- a/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipUtil.java +++ b/compressor/seata-compressor-zip/src/main/java/io/seata/compressor/zip/ZipUtil.java @@ -26,7 +26,6 @@ /** * the Zip Util * - * @author ph3636 */ public class ZipUtil { diff --git a/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipCompressorTest.java b/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipCompressorTest.java index 2616beae133..e3329ee1c14 100644 --- a/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipCompressorTest.java +++ b/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipCompressorTest.java @@ -22,7 +22,6 @@ /** * the Zip Compressor test * - * @author ph3636 */ public class ZipCompressorTest { diff --git a/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipUtilTest.java b/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipUtilTest.java index 7af73cd1a12..311a16949d3 100644 --- a/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipUtilTest.java +++ b/compressor/seata-compressor-zip/src/test/java/io/seata/compressor/zip/ZipUtilTest.java @@ -23,7 +23,6 @@ /** * the Zip Util test * - * @author ph3636 */ public class ZipUtilTest { diff --git a/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdCompressor.java b/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdCompressor.java index ce2aa8ea7d9..5c7242295a9 100644 --- a/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdCompressor.java +++ b/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdCompressor.java @@ -22,7 +22,6 @@ /** * the Zstd Compressor * - * @author chd */ @LoadLevel(name = "ZSTD") public class ZstdCompressor implements Compressor { diff --git a/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdUtil.java b/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdUtil.java index 8bc502a5954..5ccf0dec172 100644 --- a/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdUtil.java +++ b/compressor/seata-compressor-zstd/src/main/java/io/seata/compressor/zstd/ZstdUtil.java @@ -21,7 +21,6 @@ /** * the Zstd Util * - * @author chd */ public class ZstdUtil { diff --git a/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdCompressorTest.java b/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdCompressorTest.java index 1306718093f..fcca89ad37f 100644 --- a/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdCompressorTest.java +++ b/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdCompressorTest.java @@ -24,7 +24,6 @@ /** * the Zstd Compressor test * - * @author chd */ public class ZstdCompressorTest { diff --git a/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdUtilTest.java b/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdUtilTest.java index 1740c290161..b8f42c633de 100644 --- a/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdUtilTest.java +++ b/compressor/seata-compressor-zstd/src/test/java/io/seata/compressor/zstd/ZstdUtilTest.java @@ -23,7 +23,6 @@ /** * the Zstd Util test * - * @author chd */ public class ZstdUtilTest { diff --git a/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfiguration.java b/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfiguration.java index 292d743b55f..675d39b8371 100644 --- a/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfiguration.java +++ b/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfiguration.java @@ -47,7 +47,6 @@ /** * The type Apollo configuration. * - * @author kl @kailing.pub */ public class ApolloConfiguration extends AbstractConfiguration { diff --git a/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfigurationProvider.java b/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfigurationProvider.java index dfd01d5d57f..b518d7a8522 100644 --- a/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfigurationProvider.java +++ b/config/seata-config-apollo/src/main/java/io/seata/config/apollo/ApolloConfigurationProvider.java @@ -21,7 +21,6 @@ import io.seata.config.ConfigurationProvider; /** - * @author xingfudeshi@gmail.com */ @LoadLevel(name = "Apollo", order = 1) public class ApolloConfigurationProvider implements ConfigurationProvider { diff --git a/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfiguration.java b/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfiguration.java index 3c2c79fe22c..96b0f701377 100644 --- a/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfiguration.java +++ b/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfiguration.java @@ -55,7 +55,6 @@ /** * The type Consul configuration. * - * @author xingfudeshi @gmail.com */ public class ConsulConfiguration extends AbstractConfiguration { private volatile static ConsulConfiguration instance; diff --git a/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfigurationProvider.java b/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfigurationProvider.java index 9f7fc65f9dd..78b0c3dc226 100644 --- a/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfigurationProvider.java +++ b/config/seata-config-consul/src/main/java/io/seata/config/consul/ConsulConfigurationProvider.java @@ -21,7 +21,6 @@ import io.seata.config.ConfigurationProvider; /** - * @author xingfudeshi@gmail.com */ @LoadLevel(name = "Consul", order = 1) public class ConsulConfigurationProvider implements ConfigurationProvider { diff --git a/config/seata-config-core/src/main/java/io/seata/config/AbstractConfiguration.java b/config/seata-config-core/src/main/java/io/seata/config/AbstractConfiguration.java index 0fb2641962b..9f07a1f6c9f 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/AbstractConfiguration.java +++ b/config/seata-config-core/src/main/java/io/seata/config/AbstractConfiguration.java @@ -24,7 +24,6 @@ /** * The type Abstract configuration. * - * @author slievrly */ public abstract class AbstractConfiguration implements Configuration { diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigChangeListener.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigChangeListener.java index ae2353b92f7..9882a816d74 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigChangeListener.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigChangeListener.java @@ -21,7 +21,6 @@ /** * The interface Config change listener. * - * @author slievrly */ public interface ConfigChangeListener { diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigFuture.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigFuture.java index 4b040877c32..d8df658006e 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigFuture.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigFuture.java @@ -29,7 +29,6 @@ /** * The type Config future. * - * @author slievrly */ public class ConfigFuture { private static final Logger LOGGER = LoggerFactory.getLogger(ConfigFuture.class); diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigType.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigType.java index 710d6618ec8..46593f2ad32 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigType.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigType.java @@ -19,7 +19,6 @@ /** * The enum Config type. * - * @author slievrly */ public enum ConfigType { /** diff --git a/config/seata-config-core/src/main/java/io/seata/config/Configuration.java b/config/seata-config-core/src/main/java/io/seata/config/Configuration.java index 13347b4d5c4..aee7a026dba 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/Configuration.java +++ b/config/seata-config-core/src/main/java/io/seata/config/Configuration.java @@ -25,7 +25,6 @@ /** * The interface Configuration. * - * @author slievrly */ public interface Configuration { diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationCache.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationCache.java index 7dfa01a101d..39ac3b8b83a 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationCache.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationCache.java @@ -29,7 +29,6 @@ import net.bytebuddy.matcher.ElementMatchers; /** - * @author funkye */ public class ConfigurationCache implements ConfigurationChangeListener { diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeEvent.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeEvent.java index e4ff25da511..0dd83f4feac 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeEvent.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeEvent.java @@ -19,7 +19,6 @@ /** * The type Configuration change event. * - * @author slievrly */ public class ConfigurationChangeEvent { diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeListener.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeListener.java index 20815782196..dc4e7e52c58 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeListener.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeListener.java @@ -26,7 +26,6 @@ /** * The interface Configuration change listener. * - * @author slievrly */ public interface ConfigurationChangeListener { diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeType.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeType.java index fbd1e07c486..6b84554fff8 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeType.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationChangeType.java @@ -19,7 +19,6 @@ /** * The enum Configuration change type. * - * @author slievrly */ public enum ConfigurationChangeType { /** diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationFactory.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationFactory.java index 50fd14d8894..4947ce23aa1 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationFactory.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationFactory.java @@ -29,8 +29,6 @@ /** * The type Configuration factory. * - * @author slievrly - * @author Geng Zhang */ public final class ConfigurationFactory { diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationKeys.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationKeys.java index c10f5b5f929..4505f082311 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationKeys.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationKeys.java @@ -19,7 +19,6 @@ /** * The type Configuration keys. * - * @author slievrly * @deprecated The constants are moved to {@link io.seata.common.ConfigurationKeys} */ @Deprecated diff --git a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationProvider.java b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationProvider.java index a3c2e8b57de..962a124b473 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ConfigurationProvider.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ConfigurationProvider.java @@ -18,7 +18,6 @@ /** * the interface configuration provider - * @author xingfudeshi@gmail.com */ public interface ConfigurationProvider { /** diff --git a/config/seata-config-core/src/main/java/io/seata/config/ExtConfigurationProvider.java b/config/seata-config-core/src/main/java/io/seata/config/ExtConfigurationProvider.java index f8e2ae1894d..afdbee6bfe8 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/ExtConfigurationProvider.java +++ b/config/seata-config-core/src/main/java/io/seata/config/ExtConfigurationProvider.java @@ -18,7 +18,6 @@ /** * the interface ext configuration provider - * @author xingfudeshi@gmail.com */ public interface ExtConfigurationProvider { /** diff --git a/config/seata-config-core/src/main/java/io/seata/config/FileConfigFactory.java b/config/seata-config-core/src/main/java/io/seata/config/FileConfigFactory.java index 519d997c846..e1c34256f62 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/FileConfigFactory.java +++ b/config/seata-config-core/src/main/java/io/seata/config/FileConfigFactory.java @@ -23,7 +23,6 @@ import java.util.Set; /** - * @author wangwei-ying */ public class FileConfigFactory { diff --git a/config/seata-config-core/src/main/java/io/seata/config/FileConfiguration.java b/config/seata-config-core/src/main/java/io/seata/config/FileConfiguration.java index 48cd88ef3fd..01bff9ec1b8 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/FileConfiguration.java +++ b/config/seata-config-core/src/main/java/io/seata/config/FileConfiguration.java @@ -44,7 +44,6 @@ /** * The type FileConfiguration. * - * @author slievrly */ public class FileConfiguration extends AbstractConfiguration { diff --git a/config/seata-config-core/src/main/java/io/seata/config/exception/ConfigNotFoundException.java b/config/seata-config-core/src/main/java/io/seata/config/exception/ConfigNotFoundException.java index d070f0ba8ff..ebeaec5e16a 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/exception/ConfigNotFoundException.java +++ b/config/seata-config-core/src/main/java/io/seata/config/exception/ConfigNotFoundException.java @@ -17,7 +17,6 @@ package io.seata.config.exception; /** - * @author slievrly */ public class ConfigNotFoundException extends RuntimeException { diff --git a/config/seata-config-core/src/main/java/io/seata/config/file/FileConfig.java b/config/seata-config-core/src/main/java/io/seata/config/file/FileConfig.java index 56dcd57d036..7fccf2f6d8a 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/file/FileConfig.java +++ b/config/seata-config-core/src/main/java/io/seata/config/file/FileConfig.java @@ -19,7 +19,6 @@ import java.util.Map; /** - * @author wangwei-ying */ public interface FileConfig { /** diff --git a/config/seata-config-core/src/main/java/io/seata/config/file/SimpleFileConfig.java b/config/seata-config-core/src/main/java/io/seata/config/file/SimpleFileConfig.java index ae674af534f..3dcc3bec066 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/file/SimpleFileConfig.java +++ b/config/seata-config-core/src/main/java/io/seata/config/file/SimpleFileConfig.java @@ -29,7 +29,6 @@ import java.util.Map; /** - * @author wangwei-ying */ @LoadLevel(name = FileConfigFactory.DEFAULT_TYPE,scope = Scope.PROTOTYPE) public class SimpleFileConfig implements FileConfig { diff --git a/config/seata-config-core/src/main/java/io/seata/config/file/YamlFileConfig.java b/config/seata-config-core/src/main/java/io/seata/config/file/YamlFileConfig.java index 5ce28d5ec41..baef517945b 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/file/YamlFileConfig.java +++ b/config/seata-config-core/src/main/java/io/seata/config/file/YamlFileConfig.java @@ -32,7 +32,6 @@ import java.util.Map; /** - * @author wangwei-ying */ @LoadLevel(name = FileConfigFactory.YAML_TYPE, order = 1, scope = Scope.PROTOTYPE) public class YamlFileConfig implements FileConfig { diff --git a/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigDataType.java b/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigDataType.java index 467256ec58b..9e082d0007e 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigDataType.java +++ b/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigDataType.java @@ -19,7 +19,6 @@ /** * The enum Config Data type. * - * @author zhixing */ public enum ConfigDataType { /** diff --git a/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigProcessor.java b/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigProcessor.java index 821bcbf2216..0d5dbd031f5 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigProcessor.java +++ b/config/seata-config-core/src/main/java/io/seata/config/processor/ConfigProcessor.java @@ -28,7 +28,6 @@ /** * The Config Processor. * - * @author zhixing */ public class ConfigProcessor { private static final String SEPARATOR = "."; diff --git a/config/seata-config-core/src/main/java/io/seata/config/processor/Processor.java b/config/seata-config-core/src/main/java/io/seata/config/processor/Processor.java index 377b61ab856..42d7f0e3787 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/processor/Processor.java +++ b/config/seata-config-core/src/main/java/io/seata/config/processor/Processor.java @@ -22,7 +22,6 @@ /** * The processing configuration. * - * @author zhixing */ public interface Processor { diff --git a/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorProperties.java b/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorProperties.java index c4952040415..43d5de98b3d 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorProperties.java +++ b/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorProperties.java @@ -28,7 +28,6 @@ /** * The properties Processor. * - * @author zhixing */ @LoadLevel(name = "properties") public class ProcessorProperties implements Processor { diff --git a/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorYaml.java b/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorYaml.java index 3ee118ee738..7476a2028da 100644 --- a/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorYaml.java +++ b/config/seata-config-core/src/main/java/io/seata/config/processor/ProcessorYaml.java @@ -27,7 +27,6 @@ /** * The Yaml Processor. * - * @author zhixing */ @LoadLevel(name = "yaml") public class ProcessorYaml implements Processor { diff --git a/config/seata-config-core/src/test/java/io/seata/config/ConfigFutureTest.java b/config/seata-config-core/src/test/java/io/seata/config/ConfigFutureTest.java index 9b064b40b78..6baa515e595 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/ConfigFutureTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/ConfigFutureTest.java @@ -28,7 +28,6 @@ import java.util.concurrent.TimeoutException; /** - * @author liuqiufeng */ class ConfigFutureTest { @@ -90,4 +89,4 @@ void setContent() { configFuture.setContent("testValue"); Assertions.assertEquals("testValue", configFuture.getContent()); } -} \ No newline at end of file +} diff --git a/config/seata-config-core/src/test/java/io/seata/config/ConfigProperty.java b/config/seata-config-core/src/test/java/io/seata/config/ConfigProperty.java index 866d3ddc1b1..68586d863d6 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/ConfigProperty.java +++ b/config/seata-config-core/src/test/java/io/seata/config/ConfigProperty.java @@ -17,7 +17,6 @@ package io.seata.config; /** - * @author wangwei-ying */ public interface ConfigProperty { final String ENV_PROPERTY_KEY = "seataEnv"; diff --git a/config/seata-config-core/src/test/java/io/seata/config/ConfigTypeTest.java b/config/seata-config-core/src/test/java/io/seata/config/ConfigTypeTest.java index 92656b7bb4b..bbd618ab9bd 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/ConfigTypeTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/ConfigTypeTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; /** - * @author liuqiufeng */ class ConfigTypeTest { @@ -30,4 +29,4 @@ void getType() { Assertions.assertEquals(ConfigType.File, ConfigType.getType("File")); Assertions.assertThrows(IllegalArgumentException.class, () -> ConfigType.getType("test")); } -} \ No newline at end of file +} diff --git a/config/seata-config-core/src/test/java/io/seata/config/ConfigurationCacheTests.java b/config/seata-config-core/src/test/java/io/seata/config/ConfigurationCacheTests.java index fb1d3754395..6b8dc89ac7f 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/ConfigurationCacheTests.java +++ b/config/seata-config-core/src/test/java/io/seata/config/ConfigurationCacheTests.java @@ -28,7 +28,6 @@ import java.util.Map; /** - * @author jsbxyyx */ public class ConfigurationCacheTests { diff --git a/config/seata-config-core/src/test/java/io/seata/config/ConfigurationChangeEventTest.java b/config/seata-config-core/src/test/java/io/seata/config/ConfigurationChangeEventTest.java index 4b79315f68c..119a8f920e7 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/ConfigurationChangeEventTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/ConfigurationChangeEventTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; /** - * @author liuqiufeng */ class ConfigurationChangeEventTest { @@ -58,4 +57,4 @@ void getNamespace() { event.setNamespace("namespace"); Assertions.assertEquals("namespace", event.getNamespace()); } -} \ No newline at end of file +} diff --git a/config/seata-config-core/src/test/java/io/seata/config/FileConfigurationTest.java b/config/seata-config-core/src/test/java/io/seata/config/FileConfigurationTest.java index a4c555d6194..30ba5f7256f 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/FileConfigurationTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/FileConfigurationTest.java @@ -24,7 +24,6 @@ import org.junit.jupiter.api.Test; /** - * @author slievrly */ class FileConfigurationTest { diff --git a/config/seata-config-core/src/test/java/io/seata/config/ProConfigurationFactoryTest.java b/config/seata-config-core/src/test/java/io/seata/config/ProConfigurationFactoryTest.java index f5623e0b219..e25e53a5953 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/ProConfigurationFactoryTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/ProConfigurationFactoryTest.java @@ -25,7 +25,6 @@ import static io.seata.config.ConfigProperty.REGISTRY_CONF_DEFAULT; /** - * @author wangwei-ying */ class ProConfigurationFactoryTest { @@ -50,4 +49,4 @@ public static void afterAll() { System.clearProperty(SYSTEM_PROPERTY_SEATA_CONFIG_NAME); ConfigurationFactory.reload(); } -} \ No newline at end of file +} diff --git a/config/seata-config-core/src/test/java/io/seata/config/RegistryConfigurationFactoryTest.java b/config/seata-config-core/src/test/java/io/seata/config/RegistryConfigurationFactoryTest.java index 47350ad7c6d..52d9fb7eb34 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/RegistryConfigurationFactoryTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/RegistryConfigurationFactoryTest.java @@ -26,7 +26,6 @@ /** - * @author wangwei-ying */ class RegistryConfigurationFactoryTest { @@ -47,4 +46,4 @@ public static void afterAll(){ System.clearProperty(SYSTEM_PROPERTY_SEATA_CONFIG_NAME); ConfigurationFactory.reload(); } -} \ No newline at end of file +} diff --git a/config/seata-config-core/src/test/java/io/seata/config/YamlConfigurationFactoryTest.java b/config/seata-config-core/src/test/java/io/seata/config/YamlConfigurationFactoryTest.java index 7c4e7a3f175..fd09ae56156 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/YamlConfigurationFactoryTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/YamlConfigurationFactoryTest.java @@ -26,7 +26,6 @@ import static io.seata.config.ConfigProperty.REGISTRY_CONF_DEFAULT; /** - * @author wangwei-ying */ class YamlConfigurationFactoryTest { @@ -50,4 +49,4 @@ public static void afterAll() { System.clearProperty(SYSTEM_PROPERTY_SEATA_CONFIG_NAME); ConfigurationFactory.reload(); } -} \ No newline at end of file +} diff --git a/config/seata-config-core/src/test/java/io/seata/config/file/SimpleFileConfigTest.java b/config/seata-config-core/src/test/java/io/seata/config/file/SimpleFileConfigTest.java index 430f4601ae0..0f8efd8e8d6 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/file/SimpleFileConfigTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/file/SimpleFileConfigTest.java @@ -22,7 +22,6 @@ import java.io.File; /** - * @author liuqiufeng */ class SimpleFileConfigTest { @@ -37,4 +36,4 @@ void getString() { config = new SimpleFileConfig(new File("src/test/resources/file"), "file:"); Assertions.assertEquals("default", config.getString("service.vgroupMapping.default_tx_group")); } -} \ No newline at end of file +} diff --git a/config/seata-config-core/src/test/java/io/seata/config/file/YamlFileConfigTest.java b/config/seata-config-core/src/test/java/io/seata/config/file/YamlFileConfigTest.java index 372ce17ee89..1d29a8df0f7 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/file/YamlFileConfigTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/file/YamlFileConfigTest.java @@ -24,7 +24,6 @@ /** - * @author liuqiufeng */ class YamlFileConfigTest { @@ -45,4 +44,4 @@ void getString() throws IOException { // inner exception Assertions.assertNull(config.getString(null)); } -} \ No newline at end of file +} diff --git a/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigDataTypeTest.java b/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigDataTypeTest.java index 76efa0d4f17..595af8e42c0 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigDataTypeTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigDataTypeTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; /** - * @author liuqiufeng */ class ConfigDataTypeTest { @@ -49,4 +48,4 @@ void getTypeBySuffix() { ConfigDataType.getTypeBySuffix("test"); }); } -} \ No newline at end of file +} diff --git a/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigProcessorTest.java b/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigProcessorTest.java index 6dacb4a9c8f..b33653ada38 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigProcessorTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/processor/ConfigProcessorTest.java @@ -70,4 +70,4 @@ void resolverConfigDataType() { } -} \ No newline at end of file +} diff --git a/config/seata-config-core/src/test/java/io/seata/config/processor/ProcessorPropertiesTest.java b/config/seata-config-core/src/test/java/io/seata/config/processor/ProcessorPropertiesTest.java index 12ae0ae124a..062b1fef721 100644 --- a/config/seata-config-core/src/test/java/io/seata/config/processor/ProcessorPropertiesTest.java +++ b/config/seata-config-core/src/test/java/io/seata/config/processor/ProcessorPropertiesTest.java @@ -23,7 +23,6 @@ import java.util.Properties; /** - * @author liuqiufeng */ class ProcessorPropertiesTest { @@ -38,4 +37,4 @@ void processor() throws IOException { Assertions.assertNull(processor.get("registry")); Assertions.assertNull(processor.get("null")); } -} \ No newline at end of file +} diff --git a/config/seata-config-custom/src/main/java/io/seata/config/custom/CustomConfigurationProvider.java b/config/seata-config-custom/src/main/java/io/seata/config/custom/CustomConfigurationProvider.java index c10702e7ac9..10b5332a515 100644 --- a/config/seata-config-custom/src/main/java/io/seata/config/custom/CustomConfigurationProvider.java +++ b/config/seata-config-custom/src/main/java/io/seata/config/custom/CustomConfigurationProvider.java @@ -28,7 +28,6 @@ import java.util.stream.Stream; /** - * @author ggndnn */ @LoadLevel(name = "Custom") public class CustomConfigurationProvider implements ConfigurationProvider { diff --git a/config/seata-config-custom/src/test/java/io/seata/config/ConfigurationTest.java b/config/seata-config-custom/src/test/java/io/seata/config/ConfigurationTest.java index 52490e23cfd..0dcbf258ab2 100644 --- a/config/seata-config-custom/src/test/java/io/seata/config/ConfigurationTest.java +++ b/config/seata-config-custom/src/test/java/io/seata/config/ConfigurationTest.java @@ -23,7 +23,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author wang.liang */ class ConfigurationTest { @@ -85,4 +84,4 @@ void test_getConfig_Methods() { assertThat(configuration.getBoolean(dataId + NULL_POSTFIX)).isEqualTo(AbstractConfiguration.DEFAULT_BOOLEAN); assertThat(configuration.getBoolean(dataId + DEFAULT_POSTFIX, DEFAULT_BOOLEAN_VALUE)).isEqualTo(DEFAULT_BOOLEAN_VALUE); } -} \ No newline at end of file +} diff --git a/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationProviderForTest.java b/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationProviderForTest.java index 06614fbbba7..509275af6a3 100644 --- a/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationProviderForTest.java +++ b/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationProviderForTest.java @@ -19,7 +19,6 @@ import io.seata.common.loader.LoadLevel; /** - * @author ggndnn */ @LoadLevel(name = "forTest") public class CustomConfigurationProviderForTest implements ConfigurationProvider { diff --git a/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationTest.java b/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationTest.java index ffbef051755..6625cf108f9 100644 --- a/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationTest.java +++ b/config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; /** - * @author ggndnn */ public class CustomConfigurationTest { @Test @@ -42,4 +41,4 @@ public void testCustomConfigLoad() throws Exception { Assertions.assertEquals(value, configuration.getConfig(name)); } } -} \ No newline at end of file +} diff --git a/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfiguration.java b/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfiguration.java index 45d9209d75f..3c37e17b96c 100644 --- a/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfiguration.java +++ b/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfiguration.java @@ -68,7 +68,6 @@ /** * The type Etcd configuration. * - * @author xingfudeshi @gmail.com */ public class EtcdConfiguration extends AbstractConfiguration { private static final Logger LOGGER = LoggerFactory.getLogger(EtcdConfiguration.class); diff --git a/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfigurationProvider.java b/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfigurationProvider.java index 92eddf2f40a..17c65a41354 100644 --- a/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfigurationProvider.java +++ b/config/seata-config-etcd3/src/main/java/io/seata/config/etcd3/EtcdConfigurationProvider.java @@ -21,7 +21,6 @@ import io.seata.config.ConfigurationProvider; /** - * @author xingfudeshi@gmail.com */ @LoadLevel(name = "Etcd3", order = 1) public class EtcdConfigurationProvider implements ConfigurationProvider { diff --git a/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfiguration.java b/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfiguration.java index 6f014c26b36..efc31d6612b 100644 --- a/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfiguration.java +++ b/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfiguration.java @@ -45,8 +45,6 @@ /** * The type Nacos configuration. * - * @author slievrly - * @author xingfudeshi@gmail.com */ public class NacosConfiguration extends AbstractConfiguration { private static volatile NacosConfiguration instance; diff --git a/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfigurationProvider.java b/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfigurationProvider.java index b071fadd243..8ede087cc96 100644 --- a/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfigurationProvider.java +++ b/config/seata-config-nacos/src/main/java/io/seata/config/nacos/NacosConfigurationProvider.java @@ -21,7 +21,6 @@ import io.seata.config.ConfigurationProvider; /** - * @author xingfudeshi@gmail.com */ @LoadLevel(name = "Nacos", order = 1) public class NacosConfigurationProvider implements ConfigurationProvider { diff --git a/config/seata-config-nacos/src/test/java/io/seata/config/nacos/NacosConfigurationTest.java b/config/seata-config-nacos/src/test/java/io/seata/config/nacos/NacosConfigurationTest.java index 7e924fece8e..de6a90a5d90 100644 --- a/config/seata-config-nacos/src/test/java/io/seata/config/nacos/NacosConfigurationTest.java +++ b/config/seata-config-nacos/src/test/java/io/seata/config/nacos/NacosConfigurationTest.java @@ -27,7 +27,6 @@ /** * The type Nacos configuration test * - * @author xingfudeshi@gmail.com */ public class NacosConfigurationTest { diff --git a/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProvider.java b/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProvider.java index 503d9b1da1e..ef2c56708e1 100644 --- a/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProvider.java +++ b/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProvider.java @@ -27,8 +27,6 @@ import static io.seata.common.Constants.OBJECT_KEY_SPRING_CONFIGURABLE_ENVIRONMENT; /** - * @author xingfudeshi@gmail.com - * @author funkye * The type spring application context provider */ public class SpringApplicationContextProvider implements ApplicationContextAware, BeanFactoryPostProcessor { diff --git a/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProviderRegistrar.java b/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProviderRegistrar.java index 85537b88068..8c60f76c52e 100644 --- a/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProviderRegistrar.java +++ b/config/seata-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringApplicationContextProviderRegistrar.java @@ -25,7 +25,6 @@ import static io.seata.common.Constants.BEAN_NAME_SPRING_APPLICATION_CONTEXT_PROVIDER; /** - * @author xingfudeshi@gmail.com * The type spring application context provider registrar */ public class SpringApplicationContextProviderRegistrar implements ImportBeanDefinitionRegistrar { @@ -37,4 +36,4 @@ public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, B registry.registerBeanDefinition(BEAN_NAME_SPRING_APPLICATION_CONTEXT_PROVIDER, beanDefinition); } } -} \ No newline at end of file +} diff --git a/config/seata-config-zk/src/main/java/io/seata/config/zk/DefaultZkSerializer.java b/config/seata-config-zk/src/main/java/io/seata/config/zk/DefaultZkSerializer.java index af49f4daca9..d46f361574d 100644 --- a/config/seata-config-zk/src/main/java/io/seata/config/zk/DefaultZkSerializer.java +++ b/config/seata-config-zk/src/main/java/io/seata/config/zk/DefaultZkSerializer.java @@ -26,7 +26,6 @@ *

* If the user is not configured in config.zk.serializer configuration item, then use default serializer. * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public class DefaultZkSerializer implements ZkSerializer { diff --git a/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfiguration.java b/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfiguration.java index 54a45763a38..781dea87d74 100644 --- a/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfiguration.java +++ b/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfiguration.java @@ -55,7 +55,6 @@ /** * The type Zookeeper configuration. * - * @author crazier.huang */ public class ZookeeperConfiguration extends AbstractConfiguration { private final static Logger LOGGER = LoggerFactory.getLogger(ZookeeperConfiguration.class); diff --git a/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfigurationProvider.java b/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfigurationProvider.java index 3887eb2e48f..e8574d93d74 100644 --- a/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfigurationProvider.java +++ b/config/seata-config-zk/src/main/java/io/seata/config/zk/ZookeeperConfigurationProvider.java @@ -21,7 +21,6 @@ import io.seata.config.ConfigurationProvider; /** - * @author xingfudeshi@gmail.com */ @LoadLevel(name = "ZK", order = 1) public class ZookeeperConfigurationProvider implements ConfigurationProvider { diff --git a/console/src/main/java/io/seata/console/Application.java b/console/src/main/java/io/seata/console/Application.java index 3ad8df767cf..cb877197051 100644 --- a/console/src/main/java/io/seata/console/Application.java +++ b/console/src/main/java/io/seata/console/Application.java @@ -22,7 +22,6 @@ /** * The type Application. * - * @author jameslcj */ @SpringBootApplication(scanBasePackages = {"io.seata.console"}) public class Application { diff --git a/console/src/main/java/io/seata/console/config/JacksonConfig.java b/console/src/main/java/io/seata/console/config/JacksonConfig.java index 422566384b0..e01ec94f658 100644 --- a/console/src/main/java/io/seata/console/config/JacksonConfig.java +++ b/console/src/main/java/io/seata/console/config/JacksonConfig.java @@ -26,7 +26,6 @@ import org.springframework.context.annotation.Configuration; /** - * @author liuqiufeng */ @Configuration(proxyBeanMethods = false) public class JacksonConfig { diff --git a/console/src/main/java/io/seata/console/config/WebSecurityConfig.java b/console/src/main/java/io/seata/console/config/WebSecurityConfig.java index f40efd692fa..e894c3a1a63 100644 --- a/console/src/main/java/io/seata/console/config/WebSecurityConfig.java +++ b/console/src/main/java/io/seata/console/config/WebSecurityConfig.java @@ -39,7 +39,6 @@ /** * Spring security config * - * @author jameslcj */ @Configuration(proxyBeanMethods = false) @EnableGlobalMethodSecurity(prePostEnabled = true) diff --git a/console/src/main/java/io/seata/console/constant/Code.java b/console/src/main/java/io/seata/console/constant/Code.java index 0a38fbff109..d52c5f44dea 100644 --- a/console/src/main/java/io/seata/console/constant/Code.java +++ b/console/src/main/java/io/seata/console/constant/Code.java @@ -19,7 +19,6 @@ /** * The Code for the response of message * - * @author jameslcj */ public enum Code { /** diff --git a/console/src/main/java/io/seata/console/controller/AuthController.java b/console/src/main/java/io/seata/console/controller/AuthController.java index ffde9c70056..7b7ada246cb 100644 --- a/console/src/main/java/io/seata/console/controller/AuthController.java +++ b/console/src/main/java/io/seata/console/controller/AuthController.java @@ -37,7 +37,6 @@ /** * auth user * - * @author jameslcj wfnuser */ @RestController @RequestMapping("/api/v1/auth") diff --git a/console/src/main/java/io/seata/console/controller/OverviewController.java b/console/src/main/java/io/seata/console/controller/OverviewController.java index 56ab912ffbe..8a018eb8473 100644 --- a/console/src/main/java/io/seata/console/controller/OverviewController.java +++ b/console/src/main/java/io/seata/console/controller/OverviewController.java @@ -29,7 +29,6 @@ /** * Overview * - * @author jameslcj */ @RestController @RequestMapping("/api/v1/overview") diff --git a/console/src/main/java/io/seata/console/filter/JwtAuthenticationTokenFilter.java b/console/src/main/java/io/seata/console/filter/JwtAuthenticationTokenFilter.java index 9e96d7dfd55..18caa4f0eed 100644 --- a/console/src/main/java/io/seata/console/filter/JwtAuthenticationTokenFilter.java +++ b/console/src/main/java/io/seata/console/filter/JwtAuthenticationTokenFilter.java @@ -33,7 +33,6 @@ /** * jwt auth token filter * - * @author jameslcj wfnuser */ public class JwtAuthenticationTokenFilter extends OncePerRequestFilter { diff --git a/console/src/main/java/io/seata/console/param/BaseParam.java b/console/src/main/java/io/seata/console/param/BaseParam.java index 731873641fe..d24eb45231d 100644 --- a/console/src/main/java/io/seata/console/param/BaseParam.java +++ b/console/src/main/java/io/seata/console/param/BaseParam.java @@ -20,7 +20,6 @@ /** * The base param - * @author zhongxiang.wang */ public class BaseParam implements Serializable { diff --git a/console/src/main/java/io/seata/console/result/PageResult.java b/console/src/main/java/io/seata/console/result/PageResult.java index faf8ea6fc3f..be20b53ea67 100644 --- a/console/src/main/java/io/seata/console/result/PageResult.java +++ b/console/src/main/java/io/seata/console/result/PageResult.java @@ -23,9 +23,6 @@ /** * The page result * - * @author zhongxiang.wang - * @author miaoxueyu - * @author doubleDimple */ public class PageResult extends Result implements Serializable { private static final long serialVersionUID = 7761262662429121287L; diff --git a/console/src/main/java/io/seata/console/result/Result.java b/console/src/main/java/io/seata/console/result/Result.java index 5cda8d79420..b1cb76a66a4 100644 --- a/console/src/main/java/io/seata/console/result/Result.java +++ b/console/src/main/java/io/seata/console/result/Result.java @@ -20,7 +20,6 @@ /** * The basic result - * @author zhongxiang.wang */ public class Result implements Serializable { private static final long serialVersionUID = 7761261124298767L; diff --git a/console/src/main/java/io/seata/console/result/SingleResult.java b/console/src/main/java/io/seata/console/result/SingleResult.java index d3d314b1b67..37552a87e28 100644 --- a/console/src/main/java/io/seata/console/result/SingleResult.java +++ b/console/src/main/java/io/seata/console/result/SingleResult.java @@ -22,7 +22,6 @@ /** * The single result - * @author zhongxiang.wang */ public class SingleResult extends Result implements Serializable { private static final long serialVersionUID = 77612626624298767L; diff --git a/console/src/main/java/io/seata/console/security/CustomAuthenticationProvider.java b/console/src/main/java/io/seata/console/security/CustomAuthenticationProvider.java index 4e5f67e570a..5585b4fdbb0 100644 --- a/console/src/main/java/io/seata/console/security/CustomAuthenticationProvider.java +++ b/console/src/main/java/io/seata/console/security/CustomAuthenticationProvider.java @@ -27,7 +27,6 @@ /** * auth provider * - * @author wfnuser */ @Component public class CustomAuthenticationProvider implements AuthenticationProvider { diff --git a/console/src/main/java/io/seata/console/security/CustomUserDetails.java b/console/src/main/java/io/seata/console/security/CustomUserDetails.java index 02ec925758b..35522d48970 100644 --- a/console/src/main/java/io/seata/console/security/CustomUserDetails.java +++ b/console/src/main/java/io/seata/console/security/CustomUserDetails.java @@ -25,7 +25,6 @@ /** * custem user * - * @author wfnuser */ public class CustomUserDetails implements UserDetails { private User user; diff --git a/console/src/main/java/io/seata/console/security/CustomUserDetailsServiceImpl.java b/console/src/main/java/io/seata/console/security/CustomUserDetailsServiceImpl.java index bcca52e2830..a1967364c93 100644 --- a/console/src/main/java/io/seata/console/security/CustomUserDetailsServiceImpl.java +++ b/console/src/main/java/io/seata/console/security/CustomUserDetailsServiceImpl.java @@ -28,7 +28,6 @@ /** * Custem user service * - * @author jameslcj */ @Service public class CustomUserDetailsServiceImpl implements UserDetailsService { diff --git a/console/src/main/java/io/seata/console/security/JwtAuthenticationEntryPoint.java b/console/src/main/java/io/seata/console/security/JwtAuthenticationEntryPoint.java index 03bf648a6b0..1b48212dd06 100644 --- a/console/src/main/java/io/seata/console/security/JwtAuthenticationEntryPoint.java +++ b/console/src/main/java/io/seata/console/security/JwtAuthenticationEntryPoint.java @@ -31,7 +31,6 @@ /** * jwt auth fail point * - * @author wfnuser */ @Component public class JwtAuthenticationEntryPoint implements AuthenticationEntryPoint { diff --git a/console/src/main/java/io/seata/console/security/User.java b/console/src/main/java/io/seata/console/security/User.java index 1eb05955748..0e96b7ba9d7 100644 --- a/console/src/main/java/io/seata/console/security/User.java +++ b/console/src/main/java/io/seata/console/security/User.java @@ -19,7 +19,6 @@ /** * mock user info * - * @author jameslcj */ public class User { /** diff --git a/console/src/main/java/io/seata/console/utils/JwtTokenUtils.java b/console/src/main/java/io/seata/console/utils/JwtTokenUtils.java index 76dc8f277a9..200aaf1348f 100644 --- a/console/src/main/java/io/seata/console/utils/JwtTokenUtils.java +++ b/console/src/main/java/io/seata/console/utils/JwtTokenUtils.java @@ -42,7 +42,6 @@ /** * Jwt token tool * - * @author jameslcj wfnuser */ @Component public class JwtTokenUtils { diff --git a/core/src/main/java/io/seata/core/auth/AuthSigner.java b/core/src/main/java/io/seata/core/auth/AuthSigner.java index d7f21762d41..5fdf8c64600 100644 --- a/core/src/main/java/io/seata/core/auth/AuthSigner.java +++ b/core/src/main/java/io/seata/core/auth/AuthSigner.java @@ -17,7 +17,6 @@ package io.seata.core.auth; /** - * @author slievrly */ public interface AuthSigner { diff --git a/core/src/main/java/io/seata/core/auth/DefaultAuthSigner.java b/core/src/main/java/io/seata/core/auth/DefaultAuthSigner.java index a3c06373337..0cc803d2608 100644 --- a/core/src/main/java/io/seata/core/auth/DefaultAuthSigner.java +++ b/core/src/main/java/io/seata/core/auth/DefaultAuthSigner.java @@ -20,7 +20,6 @@ import io.seata.common.util.StringUtils; /** - * @author slievrly */ @LoadLevel(name = "defaultAuthSigner", order = 100) public class DefaultAuthSigner implements AuthSigner { diff --git a/core/src/main/java/io/seata/core/auth/RamSignAdapter.java b/core/src/main/java/io/seata/core/auth/RamSignAdapter.java index cf6a88af849..25e5b7faa45 100644 --- a/core/src/main/java/io/seata/core/auth/RamSignAdapter.java +++ b/core/src/main/java/io/seata/core/auth/RamSignAdapter.java @@ -31,7 +31,6 @@ /** * adapt ram sign interface * - * @author onlinechild */ public class RamSignAdapter { diff --git a/core/src/main/java/io/seata/core/compressor/Compressor.java b/core/src/main/java/io/seata/core/compressor/Compressor.java index 4568cc30f58..c49bb7df9fc 100644 --- a/core/src/main/java/io/seata/core/compressor/Compressor.java +++ b/core/src/main/java/io/seata/core/compressor/Compressor.java @@ -17,7 +17,6 @@ package io.seata.core.compressor; /** - * @author jsbxyyx */ public interface Compressor { diff --git a/core/src/main/java/io/seata/core/compressor/CompressorFactory.java b/core/src/main/java/io/seata/core/compressor/CompressorFactory.java index 770b3069588..62d845a8de8 100644 --- a/core/src/main/java/io/seata/core/compressor/CompressorFactory.java +++ b/core/src/main/java/io/seata/core/compressor/CompressorFactory.java @@ -25,7 +25,6 @@ /** * the type compressor factory - * @author jsbxyyx */ public class CompressorFactory { diff --git a/core/src/main/java/io/seata/core/compressor/CompressorType.java b/core/src/main/java/io/seata/core/compressor/CompressorType.java index d0ef964f7aa..07774635708 100644 --- a/core/src/main/java/io/seata/core/compressor/CompressorType.java +++ b/core/src/main/java/io/seata/core/compressor/CompressorType.java @@ -17,7 +17,6 @@ package io.seata.core.compressor; /** - * @author Geng Zhang */ public enum CompressorType { diff --git a/core/src/main/java/io/seata/core/constants/ClientTableColumnsName.java b/core/src/main/java/io/seata/core/constants/ClientTableColumnsName.java index fc7af379673..a8458a3d219 100644 --- a/core/src/main/java/io/seata/core/constants/ClientTableColumnsName.java +++ b/core/src/main/java/io/seata/core/constants/ClientTableColumnsName.java @@ -19,7 +19,6 @@ /** * client table columns name. * - * @author zjinlei */ public interface ClientTableColumnsName { diff --git a/core/src/main/java/io/seata/core/constants/ConfigurationKeys.java b/core/src/main/java/io/seata/core/constants/ConfigurationKeys.java index 1ace5c63ccb..eebdb94ea33 100644 --- a/core/src/main/java/io/seata/core/constants/ConfigurationKeys.java +++ b/core/src/main/java/io/seata/core/constants/ConfigurationKeys.java @@ -19,7 +19,6 @@ /** * The type Configuration keys. * - * @author slievrly * @deprecated The constants are moved to {@link io.seata.common.ConfigurationKeys} */ @Deprecated diff --git a/core/src/main/java/io/seata/core/constants/DBType.java b/core/src/main/java/io/seata/core/constants/DBType.java index 88d245a3a0a..6a4f3d9059a 100644 --- a/core/src/main/java/io/seata/core/constants/DBType.java +++ b/core/src/main/java/io/seata/core/constants/DBType.java @@ -21,7 +21,6 @@ /** * database type * - * @author zhangsen */ public enum DBType { diff --git a/core/src/main/java/io/seata/core/constants/DubboConstants.java b/core/src/main/java/io/seata/core/constants/DubboConstants.java index 4b7e5127319..e8f067c7bd0 100644 --- a/core/src/main/java/io/seata/core/constants/DubboConstants.java +++ b/core/src/main/java/io/seata/core/constants/DubboConstants.java @@ -19,7 +19,6 @@ /** * DubboConstants * - * @author funkye */ public class DubboConstants { diff --git a/core/src/main/java/io/seata/core/constants/RedisKeyConstants.java b/core/src/main/java/io/seata/core/constants/RedisKeyConstants.java index 6fc27b59095..b4c3df85e1d 100644 --- a/core/src/main/java/io/seata/core/constants/RedisKeyConstants.java +++ b/core/src/main/java/io/seata/core/constants/RedisKeyConstants.java @@ -19,7 +19,6 @@ /** * The redis key constants * - * @author wangzhongxiang */ public class RedisKeyConstants { diff --git a/core/src/main/java/io/seata/core/constants/RpcMessageConstants.java b/core/src/main/java/io/seata/core/constants/RpcMessageConstants.java index 411983bff69..3c088bb95b9 100644 --- a/core/src/main/java/io/seata/core/constants/RpcMessageConstants.java +++ b/core/src/main/java/io/seata/core/constants/RpcMessageConstants.java @@ -19,7 +19,6 @@ /** * the RpcMessage Constants * - * @author zhangchenghui.dev@gmail.com * @since 1.5.0 */ public class RpcMessageConstants { diff --git a/core/src/main/java/io/seata/core/constants/ServerTableColumnsName.java b/core/src/main/java/io/seata/core/constants/ServerTableColumnsName.java index c774804a77f..a51d55ddc9b 100644 --- a/core/src/main/java/io/seata/core/constants/ServerTableColumnsName.java +++ b/core/src/main/java/io/seata/core/constants/ServerTableColumnsName.java @@ -19,7 +19,6 @@ /** * server table columns name. * - * @author zjinlei */ public interface ServerTableColumnsName { diff --git a/core/src/main/java/io/seata/core/context/ContextCore.java b/core/src/main/java/io/seata/core/context/ContextCore.java index bcfaa45ac79..0c2938d3310 100644 --- a/core/src/main/java/io/seata/core/context/ContextCore.java +++ b/core/src/main/java/io/seata/core/context/ContextCore.java @@ -22,7 +22,6 @@ /** * The interface Context core. * - * @author sharajava */ public interface ContextCore { diff --git a/core/src/main/java/io/seata/core/context/ContextCoreLoader.java b/core/src/main/java/io/seata/core/context/ContextCoreLoader.java index a3a68982159..40283ac3aa0 100644 --- a/core/src/main/java/io/seata/core/context/ContextCoreLoader.java +++ b/core/src/main/java/io/seata/core/context/ContextCoreLoader.java @@ -23,7 +23,6 @@ /** * The type Context core loader. * - * @author sharajava */ public class ContextCoreLoader { diff --git a/core/src/main/java/io/seata/core/context/FastThreadLocalContextCore.java b/core/src/main/java/io/seata/core/context/FastThreadLocalContextCore.java index 7cc809c7ab9..45b0b7604aa 100644 --- a/core/src/main/java/io/seata/core/context/FastThreadLocalContextCore.java +++ b/core/src/main/java/io/seata/core/context/FastThreadLocalContextCore.java @@ -25,7 +25,6 @@ /** * The type Fast Thread local context core. * - * @author ph3636 */ @LoadLevel(name = "FastThreadLocalContextCore", order = Integer.MIN_VALUE + 1) public class FastThreadLocalContextCore implements ContextCore { @@ -56,4 +55,4 @@ public Object remove(String key) { public Map entries() { return fastThreadLocal.get(); } -} \ No newline at end of file +} diff --git a/core/src/main/java/io/seata/core/context/GlobalLockConfigHolder.java b/core/src/main/java/io/seata/core/context/GlobalLockConfigHolder.java index 5fcea73e15e..60420ddfe62 100644 --- a/core/src/main/java/io/seata/core/context/GlobalLockConfigHolder.java +++ b/core/src/main/java/io/seata/core/context/GlobalLockConfigHolder.java @@ -19,7 +19,6 @@ import io.seata.core.model.GlobalLockConfig; /** use this class to access current GlobalLockConfig from anywhere - * @author selfishlover */ public class GlobalLockConfigHolder { diff --git a/core/src/main/java/io/seata/core/context/RootContext.java b/core/src/main/java/io/seata/core/context/RootContext.java index 3930108c5ac..0d6970da65c 100644 --- a/core/src/main/java/io/seata/core/context/RootContext.java +++ b/core/src/main/java/io/seata/core/context/RootContext.java @@ -35,7 +35,6 @@ /** * The type Root context. * - * @author slievrly */ public class RootContext { diff --git a/core/src/main/java/io/seata/core/context/ThreadLocalContextCore.java b/core/src/main/java/io/seata/core/context/ThreadLocalContextCore.java index e7354785e9f..8cd6da64ded 100644 --- a/core/src/main/java/io/seata/core/context/ThreadLocalContextCore.java +++ b/core/src/main/java/io/seata/core/context/ThreadLocalContextCore.java @@ -23,7 +23,6 @@ /** * The type Thread local context core. * - * @author slievrly */ @LoadLevel(name = "ThreadLocalContextCore", order = Integer.MIN_VALUE) public class ThreadLocalContextCore implements ContextCore { diff --git a/core/src/main/java/io/seata/core/event/Event.java b/core/src/main/java/io/seata/core/event/Event.java index 588db623d62..8ac77c9eb4c 100644 --- a/core/src/main/java/io/seata/core/event/Event.java +++ b/core/src/main/java/io/seata/core/event/Event.java @@ -19,7 +19,6 @@ /** * The base interface for seata event. * - * @author zhengyangyong */ public interface Event { } diff --git a/core/src/main/java/io/seata/core/event/EventBus.java b/core/src/main/java/io/seata/core/event/EventBus.java index ce4b9d2d581..5859e9cf002 100644 --- a/core/src/main/java/io/seata/core/event/EventBus.java +++ b/core/src/main/java/io/seata/core/event/EventBus.java @@ -21,7 +21,6 @@ /** * The interface for event bus. * - * @author zhengyangyong */ public interface EventBus { /** diff --git a/core/src/main/java/io/seata/core/event/ExceptionEvent.java b/core/src/main/java/io/seata/core/event/ExceptionEvent.java index f9664ff59d9..cb4739f2dee 100644 --- a/core/src/main/java/io/seata/core/event/ExceptionEvent.java +++ b/core/src/main/java/io/seata/core/event/ExceptionEvent.java @@ -19,7 +19,6 @@ /** * Event data for exception. * - * @author Bughue */ public class ExceptionEvent implements Event { diff --git a/core/src/main/java/io/seata/core/event/GlobalTransactionEvent.java b/core/src/main/java/io/seata/core/event/GlobalTransactionEvent.java index 987a0389362..e4d0ebff2a7 100644 --- a/core/src/main/java/io/seata/core/event/GlobalTransactionEvent.java +++ b/core/src/main/java/io/seata/core/event/GlobalTransactionEvent.java @@ -19,7 +19,6 @@ /** * Event data for global transaction. * - * @author zhengyangyong */ public class GlobalTransactionEvent implements Event { /** diff --git a/core/src/main/java/io/seata/core/event/GuavaEventBus.java b/core/src/main/java/io/seata/core/event/GuavaEventBus.java index 494a3d31085..814d1904859 100644 --- a/core/src/main/java/io/seata/core/event/GuavaEventBus.java +++ b/core/src/main/java/io/seata/core/event/GuavaEventBus.java @@ -30,7 +30,6 @@ /** * Default event bus implement with Guava EventBus. * - * @author zhengyangyong */ public class GuavaEventBus implements EventBus { private static final Logger LOGGER = LoggerFactory.getLogger(GuavaEventBus.class); diff --git a/core/src/main/java/io/seata/core/exception/AbstractExceptionHandler.java b/core/src/main/java/io/seata/core/exception/AbstractExceptionHandler.java index 778746a235d..94ee2098741 100644 --- a/core/src/main/java/io/seata/core/exception/AbstractExceptionHandler.java +++ b/core/src/main/java/io/seata/core/exception/AbstractExceptionHandler.java @@ -34,7 +34,6 @@ /** * The type Abstract exception handler. * - * @author sharajava */ public abstract class AbstractExceptionHandler { diff --git a/core/src/main/java/io/seata/core/exception/BranchTransactionException.java b/core/src/main/java/io/seata/core/exception/BranchTransactionException.java index d7220e83413..1dc8ddca868 100644 --- a/core/src/main/java/io/seata/core/exception/BranchTransactionException.java +++ b/core/src/main/java/io/seata/core/exception/BranchTransactionException.java @@ -19,7 +19,6 @@ /** * The type BranchTransaction exception. * - * @author will */ public class BranchTransactionException extends TransactionException { diff --git a/core/src/main/java/io/seata/core/exception/DecodeException.java b/core/src/main/java/io/seata/core/exception/DecodeException.java index c69cba7e15d..21507e94abf 100644 --- a/core/src/main/java/io/seata/core/exception/DecodeException.java +++ b/core/src/main/java/io/seata/core/exception/DecodeException.java @@ -17,7 +17,6 @@ package io.seata.core.exception; /** - * @author slievrly */ public class DecodeException extends Exception { diff --git a/core/src/main/java/io/seata/core/exception/GlobalTransactionException.java b/core/src/main/java/io/seata/core/exception/GlobalTransactionException.java index 3b83ff1b683..1383c0abc6e 100644 --- a/core/src/main/java/io/seata/core/exception/GlobalTransactionException.java +++ b/core/src/main/java/io/seata/core/exception/GlobalTransactionException.java @@ -19,7 +19,6 @@ /** * The type GlobalTransaction exception. * - * @author will */ public class GlobalTransactionException extends TransactionException { diff --git a/core/src/main/java/io/seata/core/exception/RmTransactionException.java b/core/src/main/java/io/seata/core/exception/RmTransactionException.java index 935febb47d1..eab5dee24d3 100644 --- a/core/src/main/java/io/seata/core/exception/RmTransactionException.java +++ b/core/src/main/java/io/seata/core/exception/RmTransactionException.java @@ -19,7 +19,6 @@ /** * The type RmTransaction exception. * - * @author will */ public class RmTransactionException extends BranchTransactionException { diff --git a/core/src/main/java/io/seata/core/exception/TmTransactionException.java b/core/src/main/java/io/seata/core/exception/TmTransactionException.java index fa59a1c0847..04ac606d336 100644 --- a/core/src/main/java/io/seata/core/exception/TmTransactionException.java +++ b/core/src/main/java/io/seata/core/exception/TmTransactionException.java @@ -19,7 +19,6 @@ /** * The type TmTransaction exception. * - * @author will */ public class TmTransactionException extends GlobalTransactionException { diff --git a/core/src/main/java/io/seata/core/exception/TransactionException.java b/core/src/main/java/io/seata/core/exception/TransactionException.java index f435d2842c1..4f8a510ca05 100644 --- a/core/src/main/java/io/seata/core/exception/TransactionException.java +++ b/core/src/main/java/io/seata/core/exception/TransactionException.java @@ -19,7 +19,6 @@ /** * The type Transaction exception. * - * @author sharajava */ public class TransactionException extends Exception { diff --git a/core/src/main/java/io/seata/core/exception/TransactionExceptionCode.java b/core/src/main/java/io/seata/core/exception/TransactionExceptionCode.java index 8112d9d8e29..b91a1ae69e5 100644 --- a/core/src/main/java/io/seata/core/exception/TransactionExceptionCode.java +++ b/core/src/main/java/io/seata/core/exception/TransactionExceptionCode.java @@ -19,7 +19,6 @@ /** * The enum Transaction exception code. * - * @author sharajava */ public enum TransactionExceptionCode { diff --git a/core/src/main/java/io/seata/core/lock/AbstractLocker.java b/core/src/main/java/io/seata/core/lock/AbstractLocker.java index e2fd9f181bb..4f89e124689 100644 --- a/core/src/main/java/io/seata/core/lock/AbstractLocker.java +++ b/core/src/main/java/io/seata/core/lock/AbstractLocker.java @@ -27,7 +27,6 @@ /** * The type Abstract locker. * - * @author zhangsen */ public abstract class AbstractLocker implements Locker { diff --git a/core/src/main/java/io/seata/core/lock/LocalDBLocker.java b/core/src/main/java/io/seata/core/lock/LocalDBLocker.java index fb49ef46e3f..01e02afc59d 100644 --- a/core/src/main/java/io/seata/core/lock/LocalDBLocker.java +++ b/core/src/main/java/io/seata/core/lock/LocalDBLocker.java @@ -22,7 +22,6 @@ /** * The type Local db locker. * - * @author zhangsen */ public class LocalDBLocker extends AbstractLocker { diff --git a/core/src/main/java/io/seata/core/lock/RowLock.java b/core/src/main/java/io/seata/core/lock/RowLock.java index 05a9b17bb38..f9b39257edb 100644 --- a/core/src/main/java/io/seata/core/lock/RowLock.java +++ b/core/src/main/java/io/seata/core/lock/RowLock.java @@ -21,7 +21,6 @@ /** * The type Row lock. * - * @author zhangsen */ public class RowLock implements java.io.Serializable { diff --git a/core/src/main/java/io/seata/core/logger/StackTraceLogger.java b/core/src/main/java/io/seata/core/logger/StackTraceLogger.java index cb8ae0d0655..2530d4d9269 100644 --- a/core/src/main/java/io/seata/core/logger/StackTraceLogger.java +++ b/core/src/main/java/io/seata/core/logger/StackTraceLogger.java @@ -28,7 +28,6 @@ import static io.seata.common.DefaultValues.DEFAULT_LOG_EXCEPTION_RATE; /** - * @author jsbxyyx */ public final class StackTraceLogger { diff --git a/core/src/main/java/io/seata/core/model/BranchStatus.java b/core/src/main/java/io/seata/core/model/BranchStatus.java index b163423fba7..eddb058c992 100644 --- a/core/src/main/java/io/seata/core/model/BranchStatus.java +++ b/core/src/main/java/io/seata/core/model/BranchStatus.java @@ -22,7 +22,6 @@ /** * Status of branch transaction. * - * @author sharajava */ public enum BranchStatus { diff --git a/core/src/main/java/io/seata/core/model/BranchType.java b/core/src/main/java/io/seata/core/model/BranchType.java index 57dfe2baf5d..aec4e3ded81 100644 --- a/core/src/main/java/io/seata/core/model/BranchType.java +++ b/core/src/main/java/io/seata/core/model/BranchType.java @@ -19,7 +19,6 @@ /** * The enum Branch type. * - * @author sharajava */ public enum BranchType { diff --git a/core/src/main/java/io/seata/core/model/GlobalLockConfig.java b/core/src/main/java/io/seata/core/model/GlobalLockConfig.java index 28d6f68cac2..28ecf585ee7 100644 --- a/core/src/main/java/io/seata/core/model/GlobalLockConfig.java +++ b/core/src/main/java/io/seata/core/model/GlobalLockConfig.java @@ -19,7 +19,6 @@ import io.seata.common.LockStrategyMode; /** - * @author selfishlover */ public class GlobalLockConfig { diff --git a/core/src/main/java/io/seata/core/model/GlobalStatus.java b/core/src/main/java/io/seata/core/model/GlobalStatus.java index 744388df710..034f69d63cf 100644 --- a/core/src/main/java/io/seata/core/model/GlobalStatus.java +++ b/core/src/main/java/io/seata/core/model/GlobalStatus.java @@ -19,7 +19,6 @@ /** * Status of global transaction. * - * @author sharajava */ public enum GlobalStatus { diff --git a/core/src/main/java/io/seata/core/model/LockStatus.java b/core/src/main/java/io/seata/core/model/LockStatus.java index e2fef7fa131..3257ed61676 100644 --- a/core/src/main/java/io/seata/core/model/LockStatus.java +++ b/core/src/main/java/io/seata/core/model/LockStatus.java @@ -22,7 +22,6 @@ /** * Status of lock. * - * @author funkye */ public enum LockStatus { diff --git a/core/src/main/java/io/seata/core/model/Resource.java b/core/src/main/java/io/seata/core/model/Resource.java index a1ccac3f513..c01b50e1a55 100644 --- a/core/src/main/java/io/seata/core/model/Resource.java +++ b/core/src/main/java/io/seata/core/model/Resource.java @@ -19,7 +19,6 @@ /** * Resource that can be managed by Resource Manager and involved into global transaction. * - * @author sharajava */ public interface Resource { diff --git a/core/src/main/java/io/seata/core/model/ResourceManager.java b/core/src/main/java/io/seata/core/model/ResourceManager.java index 06d77c4e13b..0dfafad3f4d 100644 --- a/core/src/main/java/io/seata/core/model/ResourceManager.java +++ b/core/src/main/java/io/seata/core/model/ResourceManager.java @@ -21,7 +21,6 @@ /** * Resource Manager: common behaviors. * - * @author sharajava */ public interface ResourceManager extends ResourceManagerInbound, ResourceManagerOutbound { diff --git a/core/src/main/java/io/seata/core/model/ResourceManagerInbound.java b/core/src/main/java/io/seata/core/model/ResourceManagerInbound.java index ddaf22cee98..794842f908b 100644 --- a/core/src/main/java/io/seata/core/model/ResourceManagerInbound.java +++ b/core/src/main/java/io/seata/core/model/ResourceManagerInbound.java @@ -23,7 +23,6 @@ * * Control a branch transaction commit or rollback. * - * @author sharajava */ public interface ResourceManagerInbound { diff --git a/core/src/main/java/io/seata/core/model/ResourceManagerOutbound.java b/core/src/main/java/io/seata/core/model/ResourceManagerOutbound.java index f98aef520b8..6745063748a 100644 --- a/core/src/main/java/io/seata/core/model/ResourceManagerOutbound.java +++ b/core/src/main/java/io/seata/core/model/ResourceManagerOutbound.java @@ -21,7 +21,6 @@ /** * Resource Manager: send outbound request to TC. * - * @author sharajava */ public interface ResourceManagerOutbound { diff --git a/core/src/main/java/io/seata/core/model/Result.java b/core/src/main/java/io/seata/core/model/Result.java index 3ed9aa4476f..2c7c0b6ac1e 100644 --- a/core/src/main/java/io/seata/core/model/Result.java +++ b/core/src/main/java/io/seata/core/model/Result.java @@ -19,7 +19,6 @@ /** * Generic return result class * - * @author zjinlei */ public class Result { diff --git a/core/src/main/java/io/seata/core/model/TransactionManager.java b/core/src/main/java/io/seata/core/model/TransactionManager.java index b91b495583a..1ba56b91e88 100644 --- a/core/src/main/java/io/seata/core/model/TransactionManager.java +++ b/core/src/main/java/io/seata/core/model/TransactionManager.java @@ -23,7 +23,6 @@ * * Define a global transaction and control it. * - * @author sharajava */ public interface TransactionManager { diff --git a/core/src/main/java/io/seata/core/protocol/AbstractIdentifyRequest.java b/core/src/main/java/io/seata/core/protocol/AbstractIdentifyRequest.java index 1e464930473..40ba9848155 100644 --- a/core/src/main/java/io/seata/core/protocol/AbstractIdentifyRequest.java +++ b/core/src/main/java/io/seata/core/protocol/AbstractIdentifyRequest.java @@ -20,7 +20,6 @@ /** * The type Abstract identify request. * - * @author sharajava */ public abstract class AbstractIdentifyRequest extends AbstractMessage { diff --git a/core/src/main/java/io/seata/core/protocol/AbstractIdentifyResponse.java b/core/src/main/java/io/seata/core/protocol/AbstractIdentifyResponse.java index 5ef1d7cdb46..390912ac306 100644 --- a/core/src/main/java/io/seata/core/protocol/AbstractIdentifyResponse.java +++ b/core/src/main/java/io/seata/core/protocol/AbstractIdentifyResponse.java @@ -19,7 +19,6 @@ /** * The type Abstract identify response. * - * @author sharajava */ public abstract class AbstractIdentifyResponse extends AbstractResultMessage { diff --git a/core/src/main/java/io/seata/core/protocol/AbstractMessage.java b/core/src/main/java/io/seata/core/protocol/AbstractMessage.java index f1cd6312176..1dcd052cb49 100644 --- a/core/src/main/java/io/seata/core/protocol/AbstractMessage.java +++ b/core/src/main/java/io/seata/core/protocol/AbstractMessage.java @@ -28,7 +28,6 @@ /** * The type Abstract message. * - * @author slievrly */ public abstract class AbstractMessage implements MessageTypeAware, Serializable { diff --git a/core/src/main/java/io/seata/core/protocol/AbstractResultMessage.java b/core/src/main/java/io/seata/core/protocol/AbstractResultMessage.java index 154eafe9499..ff7e3b508ba 100644 --- a/core/src/main/java/io/seata/core/protocol/AbstractResultMessage.java +++ b/core/src/main/java/io/seata/core/protocol/AbstractResultMessage.java @@ -19,7 +19,6 @@ /** * The type Abstract result message. * - * @author slievrly */ public abstract class AbstractResultMessage extends AbstractMessage { diff --git a/core/src/main/java/io/seata/core/protocol/BatchResultMessage.java b/core/src/main/java/io/seata/core/protocol/BatchResultMessage.java index d0590c5a443..1df0a8b3ba5 100644 --- a/core/src/main/java/io/seata/core/protocol/BatchResultMessage.java +++ b/core/src/main/java/io/seata/core/protocol/BatchResultMessage.java @@ -22,7 +22,6 @@ /** * The type batch result message. * - * @author zhangchenghui.dev@gmail.com * @since 1.5.0 */ public class BatchResultMessage extends AbstractMessage { diff --git a/core/src/main/java/io/seata/core/protocol/HeartbeatMessage.java b/core/src/main/java/io/seata/core/protocol/HeartbeatMessage.java index b61785eb4c6..4a1ba430e85 100644 --- a/core/src/main/java/io/seata/core/protocol/HeartbeatMessage.java +++ b/core/src/main/java/io/seata/core/protocol/HeartbeatMessage.java @@ -21,7 +21,6 @@ /** * The type Heartbeat message. * - * @author slievrly */ public class HeartbeatMessage implements MessageTypeAware, Serializable { private static final long serialVersionUID = -985316399527884899L; diff --git a/core/src/main/java/io/seata/core/protocol/IncompatibleVersionException.java b/core/src/main/java/io/seata/core/protocol/IncompatibleVersionException.java index 260ba68bce3..2b6417afb02 100644 --- a/core/src/main/java/io/seata/core/protocol/IncompatibleVersionException.java +++ b/core/src/main/java/io/seata/core/protocol/IncompatibleVersionException.java @@ -19,7 +19,6 @@ /** * The type Incompatible version exception. * - * @author sharajava */ public class IncompatibleVersionException extends Exception { diff --git a/core/src/main/java/io/seata/core/protocol/MergeMessage.java b/core/src/main/java/io/seata/core/protocol/MergeMessage.java index 7561234ce5f..9e1653f8116 100644 --- a/core/src/main/java/io/seata/core/protocol/MergeMessage.java +++ b/core/src/main/java/io/seata/core/protocol/MergeMessage.java @@ -21,7 +21,6 @@ /** * The interface Merge message. * - * @author slievrly */ public interface MergeMessage extends Serializable { } diff --git a/core/src/main/java/io/seata/core/protocol/MergeResultMessage.java b/core/src/main/java/io/seata/core/protocol/MergeResultMessage.java index e3c0538fbaf..ca21f9297ff 100644 --- a/core/src/main/java/io/seata/core/protocol/MergeResultMessage.java +++ b/core/src/main/java/io/seata/core/protocol/MergeResultMessage.java @@ -20,7 +20,6 @@ /** * The type Merge result message. * - * @author slievrly */ public class MergeResultMessage extends AbstractMessage implements MergeMessage { diff --git a/core/src/main/java/io/seata/core/protocol/MergedWarpMessage.java b/core/src/main/java/io/seata/core/protocol/MergedWarpMessage.java index abc31046624..2a3120d9da2 100644 --- a/core/src/main/java/io/seata/core/protocol/MergedWarpMessage.java +++ b/core/src/main/java/io/seata/core/protocol/MergedWarpMessage.java @@ -23,7 +23,6 @@ /** * The type Merged warp message. * - * @author slievrly */ public class MergedWarpMessage extends AbstractMessage implements Serializable, MergeMessage { diff --git a/core/src/main/java/io/seata/core/protocol/MessageFuture.java b/core/src/main/java/io/seata/core/protocol/MessageFuture.java index 8c8227f2afe..bf83eb3bda2 100644 --- a/core/src/main/java/io/seata/core/protocol/MessageFuture.java +++ b/core/src/main/java/io/seata/core/protocol/MessageFuture.java @@ -26,7 +26,6 @@ /** * The type Message future. * - * @author slievrly */ public class MessageFuture { private RpcMessage requestMessage; diff --git a/core/src/main/java/io/seata/core/protocol/MessageType.java b/core/src/main/java/io/seata/core/protocol/MessageType.java index 1b88c954325..1746ce96f99 100644 --- a/core/src/main/java/io/seata/core/protocol/MessageType.java +++ b/core/src/main/java/io/seata/core/protocol/MessageType.java @@ -19,7 +19,6 @@ /** * The type Message codec type. * - * @author zhangsen */ public interface MessageType { diff --git a/core/src/main/java/io/seata/core/protocol/ProtocolConstants.java b/core/src/main/java/io/seata/core/protocol/ProtocolConstants.java index a68644f68a5..7b851ebc2a5 100644 --- a/core/src/main/java/io/seata/core/protocol/ProtocolConstants.java +++ b/core/src/main/java/io/seata/core/protocol/ProtocolConstants.java @@ -22,7 +22,6 @@ import io.seata.core.constants.ConfigurationKeys; /** - * @author Geng Zhang * @since 0.7.0 */ public interface ProtocolConstants { diff --git a/core/src/main/java/io/seata/core/protocol/RegisterRMRequest.java b/core/src/main/java/io/seata/core/protocol/RegisterRMRequest.java index bb6d0715255..37d6d999d18 100644 --- a/core/src/main/java/io/seata/core/protocol/RegisterRMRequest.java +++ b/core/src/main/java/io/seata/core/protocol/RegisterRMRequest.java @@ -21,7 +21,6 @@ /** * The type Register rm request. * - * @author slievrly */ public class RegisterRMRequest extends AbstractIdentifyRequest implements Serializable { diff --git a/core/src/main/java/io/seata/core/protocol/RegisterRMResponse.java b/core/src/main/java/io/seata/core/protocol/RegisterRMResponse.java index 8894f5196ea..e8ec8be225a 100644 --- a/core/src/main/java/io/seata/core/protocol/RegisterRMResponse.java +++ b/core/src/main/java/io/seata/core/protocol/RegisterRMResponse.java @@ -21,7 +21,6 @@ /** * The type Register rm response. * - * @author slievrly */ public class RegisterRMResponse extends AbstractIdentifyResponse implements Serializable { diff --git a/core/src/main/java/io/seata/core/protocol/RegisterTMRequest.java b/core/src/main/java/io/seata/core/protocol/RegisterTMRequest.java index 609b37f0199..246182056e2 100644 --- a/core/src/main/java/io/seata/core/protocol/RegisterTMRequest.java +++ b/core/src/main/java/io/seata/core/protocol/RegisterTMRequest.java @@ -26,7 +26,6 @@ /** * The type Register tm request. * - * @author slievrly */ public class RegisterTMRequest extends AbstractIdentifyRequest implements Serializable { private static final long serialVersionUID = -5929081344190543690L; diff --git a/core/src/main/java/io/seata/core/protocol/RegisterTMResponse.java b/core/src/main/java/io/seata/core/protocol/RegisterTMResponse.java index e28b279f59f..32c8a84b915 100644 --- a/core/src/main/java/io/seata/core/protocol/RegisterTMResponse.java +++ b/core/src/main/java/io/seata/core/protocol/RegisterTMResponse.java @@ -21,7 +21,6 @@ /** * The type Register tm response. * - * @author slievrly */ public class RegisterTMResponse extends AbstractIdentifyResponse implements Serializable { diff --git a/core/src/main/java/io/seata/core/protocol/ResultCode.java b/core/src/main/java/io/seata/core/protocol/ResultCode.java index 46715256a15..aa4449ac5ad 100644 --- a/core/src/main/java/io/seata/core/protocol/ResultCode.java +++ b/core/src/main/java/io/seata/core/protocol/ResultCode.java @@ -19,7 +19,6 @@ /** * The enum Result code. * - * @author sharajava */ public enum ResultCode { diff --git a/core/src/main/java/io/seata/core/protocol/RpcMessage.java b/core/src/main/java/io/seata/core/protocol/RpcMessage.java index b0d9395c792..844ea87fc4c 100644 --- a/core/src/main/java/io/seata/core/protocol/RpcMessage.java +++ b/core/src/main/java/io/seata/core/protocol/RpcMessage.java @@ -25,7 +25,6 @@ /** * The type Rpc message. * - * @author slievrly */ public class RpcMessage implements Serializable { diff --git a/core/src/main/java/io/seata/core/protocol/Version.java b/core/src/main/java/io/seata/core/protocol/Version.java index 7e08274c2d9..164ac9ee82c 100644 --- a/core/src/main/java/io/seata/core/protocol/Version.java +++ b/core/src/main/java/io/seata/core/protocol/Version.java @@ -28,7 +28,6 @@ /** * The type Version. * - * @author slievrly */ public class Version { diff --git a/core/src/main/java/io/seata/core/protocol/VersionInfo.java.template b/core/src/main/java/io/seata/core/protocol/VersionInfo.java.template index ddf6443953f..a16e4be1aa9 100644 --- a/core/src/main/java/io/seata/core/protocol/VersionInfo.java.template +++ b/core/src/main/java/io/seata/core/protocol/VersionInfo.java.template @@ -19,7 +19,6 @@ package io.seata.core.protocol; /** * The interface VersionInfo. * - * @author wang.liang */ interface VersionInfo { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndRequest.java index bfa7b63f9a0..fac950ed78e 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndRequest.java @@ -21,7 +21,6 @@ /** * The type Abstract branch end request. * - * @author sharajava */ public abstract class AbstractBranchEndRequest extends AbstractTransactionRequestToRM { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndResponse.java index 1055f1ff2f1..8f65ddc9e60 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndResponse.java @@ -21,7 +21,6 @@ /** * The type Abstract branch end response. * - * @author sharajava */ public abstract class AbstractBranchEndResponse extends AbstractTransactionResponse { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndRequest.java index 01a3a795ec9..64eac26e7a7 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndRequest.java @@ -19,7 +19,6 @@ /** * The type Abstract global end request. * - * @author sharajava */ public abstract class AbstractGlobalEndRequest extends AbstractTransactionRequestToTC { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndResponse.java index c8c3299b723..cca2c61fc71 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractGlobalEndResponse.java @@ -22,7 +22,6 @@ /** * The type Abstract global end response. * - * @author sharajava */ public abstract class AbstractGlobalEndResponse extends AbstractTransactionResponse { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequest.java index 46b8914fef6..272011d668e 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequest.java @@ -23,7 +23,6 @@ /** * The type Abstract transaction request. * - * @author sharajava */ public abstract class AbstractTransactionRequest extends AbstractMessage { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToRM.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToRM.java index 23e746bd62b..1f38225eb36 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToRM.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToRM.java @@ -20,7 +20,6 @@ /** * The type Abstract transaction request to rm. * - * @author sharajava */ public abstract class AbstractTransactionRequestToRM extends AbstractTransactionRequest { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToTC.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToTC.java index 508ca388300..663491c608e 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToTC.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionRequestToTC.java @@ -20,7 +20,6 @@ /** * The type Abstract transaction request to tc. * - * @author sharajava */ public abstract class AbstractTransactionRequestToTC extends AbstractTransactionRequest { @@ -37,4 +36,4 @@ public abstract class AbstractTransactionRequestToTC extends AbstractTransaction public void setTCInboundHandler(TCInboundHandler handler) { this.handler = handler; } -} \ No newline at end of file +} diff --git a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionResponse.java index 1058dcb8ac9..defe951f718 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/AbstractTransactionResponse.java @@ -23,7 +23,6 @@ /** * The type Abstract transaction response. * - * @author sharajava */ public abstract class AbstractTransactionResponse extends AbstractResultMessage { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitRequest.java index 21916c1c8e0..84985853dea 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitRequest.java @@ -22,7 +22,6 @@ /** * The type Branch commit request. * - * @author sharajava */ public class BranchCommitRequest extends AbstractBranchEndRequest { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitResponse.java index ce1c6f5f2c0..2ba15000830 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchCommitResponse.java @@ -21,7 +21,6 @@ /** * The type Branch commit response. * - * @author sharajava */ public class BranchCommitResponse extends AbstractBranchEndResponse { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterRequest.java index 48073601322..a8c6bbf5890 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterRequest.java @@ -23,7 +23,6 @@ /** * The type Branch register request. * - * @author sharajava */ public class BranchRegisterRequest extends AbstractTransactionRequestToTC { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterResponse.java index faea03509b9..c2cdc675e47 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchRegisterResponse.java @@ -23,7 +23,6 @@ /** * The type Branch register response. * - * @author slievrly */ public class BranchRegisterResponse extends AbstractTransactionResponse implements Serializable { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchReportRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchReportRequest.java index 7e2db3f481f..013f99104ba 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchReportRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchReportRequest.java @@ -24,7 +24,6 @@ /** * The type Branch report request. * - * @author slievrly */ public class BranchReportRequest extends AbstractTransactionRequestToTC { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchReportResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchReportResponse.java index 9c804973260..72a6d10f7cc 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchReportResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchReportResponse.java @@ -21,7 +21,6 @@ /** * The type Branch report response. * - * @author slievrly */ public class BranchReportResponse extends AbstractTransactionResponse { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackRequest.java index 64b02e9bd3d..dbffff08132 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackRequest.java @@ -22,7 +22,6 @@ /** * The type Branch rollback request. * - * @author slievrly */ public class BranchRollbackRequest extends AbstractBranchEndRequest { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackResponse.java index a116efbf04d..f045bcd6d4f 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/BranchRollbackResponse.java @@ -21,7 +21,6 @@ /** * The type Branch rollback response. * - * @author slievrly */ public class BranchRollbackResponse extends AbstractBranchEndResponse { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginRequest.java index 589cf00cd15..961ba7cb5a6 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginRequest.java @@ -22,7 +22,6 @@ /** * The type Global begin request. * - * @author slievrly */ public class GlobalBeginRequest extends AbstractTransactionRequestToTC { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginResponse.java index bba86108d68..2148fb67759 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalBeginResponse.java @@ -21,7 +21,6 @@ /** * The type Global begin response. * - * @author slievrly */ public class GlobalBeginResponse extends AbstractTransactionResponse { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitRequest.java index 0d8f0d9224e..1b62770f3c0 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitRequest.java @@ -22,7 +22,6 @@ /** * The type Global commit request. * - * @author slievrly */ public class GlobalCommitRequest extends AbstractGlobalEndRequest { @Override diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitResponse.java index b2916349335..2270925b9ee 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalCommitResponse.java @@ -21,7 +21,6 @@ /** * The type Global commit response. * - * @author slievrly */ public class GlobalCommitResponse extends AbstractGlobalEndResponse { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryRequest.java index 87fd8e25875..50bea5ede36 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryRequest.java @@ -22,7 +22,6 @@ /** * The type Global lock query request. * - * @author slievrly */ public class GlobalLockQueryRequest extends BranchRegisterRequest { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryResponse.java index 5d4a5905fb8..28ae2065f91 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalLockQueryResponse.java @@ -22,7 +22,6 @@ /** * The type Global lock query response. * - * @author slievrly */ public class GlobalLockQueryResponse extends AbstractTransactionResponse { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportRequest.java index 731e5dbefc9..e012cd23986 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportRequest.java @@ -23,7 +23,6 @@ /** * The type Global report request. * - * @author lorne.cl */ public class GlobalReportRequest extends AbstractGlobalEndRequest { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportResponse.java index 232ac368ea8..de4d6f18971 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalReportResponse.java @@ -21,7 +21,6 @@ /** * The type Global report response. * - * @author lorne.cl */ public class GlobalReportResponse extends AbstractGlobalEndResponse { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackRequest.java index 509107bb307..96743af545b 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackRequest.java @@ -22,7 +22,6 @@ /** * The type Global rollback request. * - * @author slievrly */ public class GlobalRollbackRequest extends AbstractGlobalEndRequest { @Override diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackResponse.java index fb3853e32dc..509156cb21c 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalRollbackResponse.java @@ -21,7 +21,6 @@ /** * The type Global rollback response. * - * @author slievrly */ public class GlobalRollbackResponse extends AbstractGlobalEndResponse { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusRequest.java index 0b7a2f0226b..05d8dc573fa 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusRequest.java @@ -22,7 +22,6 @@ /** * The type Global status request. * - * @author slievrly */ public class GlobalStatusRequest extends AbstractGlobalEndRequest { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusResponse.java b/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusResponse.java index c6cc46b7718..f406b350070 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusResponse.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/GlobalStatusResponse.java @@ -21,7 +21,6 @@ /** * The type Global status response. * - * @author slievrly */ public class GlobalStatusResponse extends AbstractGlobalEndResponse { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/RMInboundHandler.java b/core/src/main/java/io/seata/core/protocol/transaction/RMInboundHandler.java index 5bcdd4291be..8fc1eaaf9e8 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/RMInboundHandler.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/RMInboundHandler.java @@ -19,7 +19,6 @@ /** * The interface Rm inbound handler. * - * @author sharajava */ public interface RMInboundHandler { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/TCInboundHandler.java b/core/src/main/java/io/seata/core/protocol/transaction/TCInboundHandler.java index 9d83792b7b7..c648f6b6a26 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/TCInboundHandler.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/TCInboundHandler.java @@ -21,7 +21,6 @@ /** * The interface Tc inbound handler. * - * @author sharajava */ public interface TCInboundHandler { diff --git a/core/src/main/java/io/seata/core/protocol/transaction/UndoLogDeleteRequest.java b/core/src/main/java/io/seata/core/protocol/transaction/UndoLogDeleteRequest.java index 07ae48cd572..cfcb5b315c3 100644 --- a/core/src/main/java/io/seata/core/protocol/transaction/UndoLogDeleteRequest.java +++ b/core/src/main/java/io/seata/core/protocol/transaction/UndoLogDeleteRequest.java @@ -25,7 +25,6 @@ /** * The type to delete undolog request. * - * @author github-ygy */ public class UndoLogDeleteRequest extends AbstractTransactionRequestToRM implements Serializable { diff --git a/core/src/main/java/io/seata/core/rpc/ClientMessageListener.java b/core/src/main/java/io/seata/core/rpc/ClientMessageListener.java index 8d75a84212d..ce8618c9168 100644 --- a/core/src/main/java/io/seata/core/rpc/ClientMessageListener.java +++ b/core/src/main/java/io/seata/core/rpc/ClientMessageListener.java @@ -21,7 +21,6 @@ /** * The interface Client message listener. * - * @author slievrly */ @Deprecated public interface ClientMessageListener { diff --git a/core/src/main/java/io/seata/core/rpc/ClientMessageSender.java b/core/src/main/java/io/seata/core/rpc/ClientMessageSender.java index 55cfb682c78..710be496c54 100644 --- a/core/src/main/java/io/seata/core/rpc/ClientMessageSender.java +++ b/core/src/main/java/io/seata/core/rpc/ClientMessageSender.java @@ -23,7 +23,6 @@ /** * The interface Client message sender. * - * @author slievrly */ @Deprecated public interface ClientMessageSender { diff --git a/core/src/main/java/io/seata/core/rpc/ClientType.java b/core/src/main/java/io/seata/core/rpc/ClientType.java index 02ebf30abb1..f5671d61497 100644 --- a/core/src/main/java/io/seata/core/rpc/ClientType.java +++ b/core/src/main/java/io/seata/core/rpc/ClientType.java @@ -19,7 +19,6 @@ /** * The enum Client type. * - * @author slievrly */ @Deprecated public enum ClientType { diff --git a/core/src/main/java/io/seata/core/rpc/DefaultServerMessageListenerImpl.java b/core/src/main/java/io/seata/core/rpc/DefaultServerMessageListenerImpl.java index 1419285edc1..c3f05c1b91e 100644 --- a/core/src/main/java/io/seata/core/rpc/DefaultServerMessageListenerImpl.java +++ b/core/src/main/java/io/seata/core/rpc/DefaultServerMessageListenerImpl.java @@ -46,7 +46,6 @@ /** * The type Default server message listener. * - * @author slievrly */ @Deprecated public class DefaultServerMessageListenerImpl implements ServerMessageListener { diff --git a/core/src/main/java/io/seata/core/rpc/Disposable.java b/core/src/main/java/io/seata/core/rpc/Disposable.java index b38f71ec26e..0ec18e0d924 100644 --- a/core/src/main/java/io/seata/core/rpc/Disposable.java +++ b/core/src/main/java/io/seata/core/rpc/Disposable.java @@ -18,7 +18,6 @@ /** * - * @author 563868273@qq.com */ public interface Disposable { diff --git a/core/src/main/java/io/seata/core/rpc/RegisterCheckAuthHandler.java b/core/src/main/java/io/seata/core/rpc/RegisterCheckAuthHandler.java index 23435c4dac8..d0c20911e6f 100644 --- a/core/src/main/java/io/seata/core/rpc/RegisterCheckAuthHandler.java +++ b/core/src/main/java/io/seata/core/rpc/RegisterCheckAuthHandler.java @@ -22,7 +22,6 @@ /** * The interface Register check auth handler. * - * @author slievrly */ public interface RegisterCheckAuthHandler { diff --git a/core/src/main/java/io/seata/core/rpc/RemotingBootstrap.java b/core/src/main/java/io/seata/core/rpc/RemotingBootstrap.java index f7a9b6632f6..ec35c936fb1 100644 --- a/core/src/main/java/io/seata/core/rpc/RemotingBootstrap.java +++ b/core/src/main/java/io/seata/core/rpc/RemotingBootstrap.java @@ -19,7 +19,6 @@ /** * The boot strap of the remoting process, generally there are client and server implementation classes * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public interface RemotingBootstrap { diff --git a/core/src/main/java/io/seata/core/rpc/RemotingClient.java b/core/src/main/java/io/seata/core/rpc/RemotingClient.java index 74f6bfd7789..4ace3043ec9 100644 --- a/core/src/main/java/io/seata/core/rpc/RemotingClient.java +++ b/core/src/main/java/io/seata/core/rpc/RemotingClient.java @@ -28,8 +28,6 @@ /** * The interface remoting client. * - * @author zhaojun - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public interface RemotingClient { diff --git a/core/src/main/java/io/seata/core/rpc/RemotingServer.java b/core/src/main/java/io/seata/core/rpc/RemotingServer.java index 9a6ce4d4758..6a9d57d88ad 100644 --- a/core/src/main/java/io/seata/core/rpc/RemotingServer.java +++ b/core/src/main/java/io/seata/core/rpc/RemotingServer.java @@ -26,8 +26,6 @@ /** * The interface Remoting server. * - * @author slievrly - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public interface RemotingServer { diff --git a/core/src/main/java/io/seata/core/rpc/RemotingService.java b/core/src/main/java/io/seata/core/rpc/RemotingService.java index cedf83a8059..f96f74a908a 100644 --- a/core/src/main/java/io/seata/core/rpc/RemotingService.java +++ b/core/src/main/java/io/seata/core/rpc/RemotingService.java @@ -19,7 +19,6 @@ /** * The interface Remoting service. * - * @author slievrly */ @Deprecated public interface RemotingService { diff --git a/core/src/main/java/io/seata/core/rpc/RpcContext.java b/core/src/main/java/io/seata/core/rpc/RpcContext.java index e6f23c1f349..94fe613881e 100644 --- a/core/src/main/java/io/seata/core/rpc/RpcContext.java +++ b/core/src/main/java/io/seata/core/rpc/RpcContext.java @@ -33,7 +33,6 @@ /** * The type rpc context. * - * @author slievrly */ public class RpcContext { diff --git a/core/src/main/java/io/seata/core/rpc/ServerMessageListener.java b/core/src/main/java/io/seata/core/rpc/ServerMessageListener.java index 315674df504..168a5ac0243 100644 --- a/core/src/main/java/io/seata/core/rpc/ServerMessageListener.java +++ b/core/src/main/java/io/seata/core/rpc/ServerMessageListener.java @@ -22,7 +22,6 @@ /** * The interface Server message listener. * - * @author slievrly */ @Deprecated public interface ServerMessageListener { diff --git a/core/src/main/java/io/seata/core/rpc/ServerMessageSender.java b/core/src/main/java/io/seata/core/rpc/ServerMessageSender.java index 6e06f191755..a2c5fc1bc1d 100644 --- a/core/src/main/java/io/seata/core/rpc/ServerMessageSender.java +++ b/core/src/main/java/io/seata/core/rpc/ServerMessageSender.java @@ -25,7 +25,6 @@ /** * The interface Server message sender. * - * @author slievrly */ @Deprecated public interface ServerMessageSender { diff --git a/core/src/main/java/io/seata/core/rpc/ShutdownHook.java b/core/src/main/java/io/seata/core/rpc/ShutdownHook.java index 2f11752abc8..4773fe8eabc 100644 --- a/core/src/main/java/io/seata/core/rpc/ShutdownHook.java +++ b/core/src/main/java/io/seata/core/rpc/ShutdownHook.java @@ -25,7 +25,6 @@ /** * ensure the shutdownHook is singleton * - * @author 563868273@qq.com */ public class ShutdownHook extends Thread { diff --git a/core/src/main/java/io/seata/core/rpc/TransactionMessageHandler.java b/core/src/main/java/io/seata/core/rpc/TransactionMessageHandler.java index bdcdba679e9..4ed6d32e4d3 100644 --- a/core/src/main/java/io/seata/core/rpc/TransactionMessageHandler.java +++ b/core/src/main/java/io/seata/core/rpc/TransactionMessageHandler.java @@ -22,7 +22,6 @@ /** * To handle the received RPC message on upper level. * - * @author slievrly */ public interface TransactionMessageHandler { diff --git a/core/src/main/java/io/seata/core/rpc/TransportProtocolType.java b/core/src/main/java/io/seata/core/rpc/TransportProtocolType.java index 77d4efd54d2..df0ca3a451c 100644 --- a/core/src/main/java/io/seata/core/rpc/TransportProtocolType.java +++ b/core/src/main/java/io/seata/core/rpc/TransportProtocolType.java @@ -19,7 +19,6 @@ /** * The enum Transport protocol type. * - * @author slievrly */ public enum TransportProtocolType { /** diff --git a/core/src/main/java/io/seata/core/rpc/TransportServerType.java b/core/src/main/java/io/seata/core/rpc/TransportServerType.java index cc3adc6b4d6..cff3a3bc71f 100644 --- a/core/src/main/java/io/seata/core/rpc/TransportServerType.java +++ b/core/src/main/java/io/seata/core/rpc/TransportServerType.java @@ -19,7 +19,6 @@ /** * The enum Transport server type. * - * @author slievrly */ public enum TransportServerType { /** diff --git a/core/src/main/java/io/seata/core/rpc/hook/RpcHook.java b/core/src/main/java/io/seata/core/rpc/hook/RpcHook.java index c22c44cf0f3..51278f6331f 100644 --- a/core/src/main/java/io/seata/core/rpc/hook/RpcHook.java +++ b/core/src/main/java/io/seata/core/rpc/hook/RpcHook.java @@ -19,7 +19,6 @@ import io.seata.core.protocol.RpcMessage; /** - * @author ph3636 */ public interface RpcHook { diff --git a/core/src/main/java/io/seata/core/rpc/hook/StatusRpcHook.java b/core/src/main/java/io/seata/core/rpc/hook/StatusRpcHook.java index 13605c4f475..cf163a475ff 100644 --- a/core/src/main/java/io/seata/core/rpc/hook/StatusRpcHook.java +++ b/core/src/main/java/io/seata/core/rpc/hook/StatusRpcHook.java @@ -20,7 +20,6 @@ import io.seata.core.protocol.RpcMessage; /** - * @author ph3636 */ public class StatusRpcHook implements RpcHook { diff --git a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java index 192bbccb96d..cad610c6ed2 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java +++ b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java @@ -54,8 +54,6 @@ /** * The abstract netty remoting. * - * @author slievrly - * @author zhangchenghui.dev@gmail.com */ public abstract class AbstractNettyRemoting implements Disposable { diff --git a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java index 4c72ba64988..2a9248828ca 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java +++ b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java @@ -68,9 +68,6 @@ /** * The netty remoting client. * - * @author slievrly - * @author zhaojun - * @author zhangchenghui.dev@gmail.com */ public abstract class AbstractNettyRemotingClient extends AbstractNettyRemoting implements RemotingClient { diff --git a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingServer.java b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingServer.java index acba5b81bef..eb9b4adcde4 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingServer.java +++ b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingServer.java @@ -42,7 +42,6 @@ /** * The type abstract remoting server. * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public abstract class AbstractNettyRemotingServer extends AbstractNettyRemoting implements RemotingServer { diff --git a/core/src/main/java/io/seata/core/rpc/netty/ChannelAuthHealthChecker.java b/core/src/main/java/io/seata/core/rpc/netty/ChannelAuthHealthChecker.java index 5fc62867965..06aa678484d 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/ChannelAuthHealthChecker.java +++ b/core/src/main/java/io/seata/core/rpc/netty/ChannelAuthHealthChecker.java @@ -24,7 +24,6 @@ /** * The interface Channel auth health checker. * - * @author slievrly */ @Deprecated public interface ChannelAuthHealthChecker extends ChannelHealthChecker { diff --git a/core/src/main/java/io/seata/core/rpc/netty/ChannelEventListener.java b/core/src/main/java/io/seata/core/rpc/netty/ChannelEventListener.java index e14fd4b932f..8475c00105f 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/ChannelEventListener.java +++ b/core/src/main/java/io/seata/core/rpc/netty/ChannelEventListener.java @@ -21,7 +21,6 @@ /** * The interface Channel event listener. * - * @author slievrly */ @Deprecated public interface ChannelEventListener { diff --git a/core/src/main/java/io/seata/core/rpc/netty/ChannelManager.java b/core/src/main/java/io/seata/core/rpc/netty/ChannelManager.java index 87ea28b2293..cc54767f192 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/ChannelManager.java +++ b/core/src/main/java/io/seata/core/rpc/netty/ChannelManager.java @@ -42,7 +42,6 @@ /** * The type channel manager. * - * @author slievrly */ public class ChannelManager { diff --git a/core/src/main/java/io/seata/core/rpc/netty/ChannelUtil.java b/core/src/main/java/io/seata/core/rpc/netty/ChannelUtil.java index 95e5dd55b42..8588758f667 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/ChannelUtil.java +++ b/core/src/main/java/io/seata/core/rpc/netty/ChannelUtil.java @@ -23,7 +23,6 @@ import java.net.SocketAddress; /** - * @author ph3636 */ public class ChannelUtil { diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyBaseConfig.java b/core/src/main/java/io/seata/core/rpc/netty/NettyBaseConfig.java index 0ef162790fd..bacf4199c89 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyBaseConfig.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyBaseConfig.java @@ -44,7 +44,6 @@ /** * The type Netty base config. * - * @author slievrly */ public class NettyBaseConfig { private static final Logger LOGGER = LoggerFactory.getLogger(NettyBaseConfig.class); diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyClientBootstrap.java b/core/src/main/java/io/seata/core/rpc/netty/NettyClientBootstrap.java index ae5ff72c3df..1e9d6a0590c 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyClientBootstrap.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyClientBootstrap.java @@ -47,8 +47,6 @@ /** * Rpc client. * - * @author slievrly - * @author zhaojun */ public class NettyClientBootstrap implements RemotingBootstrap { diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyClientChannelManager.java b/core/src/main/java/io/seata/core/rpc/netty/NettyClientChannelManager.java index 287df6215bf..bbe221033c3 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyClientChannelManager.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyClientChannelManager.java @@ -48,8 +48,6 @@ /** * Netty client pool manager. * - * @author slievrly - * @author zhaojun */ class NettyClientChannelManager { diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyClientConfig.java b/core/src/main/java/io/seata/core/rpc/netty/NettyClientConfig.java index 66f97dcc2e6..fbd5cba79d4 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyClientConfig.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyClientConfig.java @@ -30,7 +30,6 @@ /** * The type Netty client config. * - * @author slievrly */ public class NettyClientConfig extends NettyBaseConfig { diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyPoolKey.java b/core/src/main/java/io/seata/core/rpc/netty/NettyPoolKey.java index f0eb4525054..82a8bb27e85 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyPoolKey.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyPoolKey.java @@ -21,7 +21,6 @@ /** * The type Netty pool key. * - * @author slievrly */ public class NettyPoolKey { diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyPoolableFactory.java b/core/src/main/java/io/seata/core/rpc/netty/NettyPoolableFactory.java index 1c9af447143..9b192c12754 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyPoolableFactory.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyPoolableFactory.java @@ -30,7 +30,6 @@ /** * The type Netty key poolable factory. * - * @author slievrly */ public class NettyPoolableFactory implements KeyedPoolableObjectFactory { diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyRemotingServer.java b/core/src/main/java/io/seata/core/rpc/netty/NettyRemotingServer.java index cd593b1f8b0..bac2ff443d0 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyRemotingServer.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyRemotingServer.java @@ -36,9 +36,6 @@ /** * The netty remoting server. * - * @author slievrly - * @author xingfudeshi@gmail.com - * @author zhangchenghui.dev@gmail.com */ public class NettyRemotingServer extends AbstractNettyRemotingServer { diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyServerBootstrap.java b/core/src/main/java/io/seata/core/rpc/netty/NettyServerBootstrap.java index 962dc6450ad..1036f3df62b 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyServerBootstrap.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyServerBootstrap.java @@ -49,7 +49,6 @@ /** * Rpc server bootstrap. * - * @author zhangchenghui.dev@gmail.com * @since 1.1.0 */ public class NettyServerBootstrap implements RemotingBootstrap { diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyServerConfig.java b/core/src/main/java/io/seata/core/rpc/netty/NettyServerConfig.java index dbf5bfa673a..0e13799a89b 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyServerConfig.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyServerConfig.java @@ -32,7 +32,6 @@ /** * The type Netty server config. * - * @author slievrly */ public class NettyServerConfig extends NettyBaseConfig { diff --git a/core/src/main/java/io/seata/core/rpc/netty/RegisterMsgListener.java b/core/src/main/java/io/seata/core/rpc/netty/RegisterMsgListener.java index beafeafcfcd..49d923970f5 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/RegisterMsgListener.java +++ b/core/src/main/java/io/seata/core/rpc/netty/RegisterMsgListener.java @@ -22,7 +22,6 @@ /** * The interface Register msg listener. * - * @author slievrly */ @Deprecated public interface RegisterMsgListener { diff --git a/core/src/main/java/io/seata/core/rpc/netty/RmNettyRemotingClient.java b/core/src/main/java/io/seata/core/rpc/netty/RmNettyRemotingClient.java index 4a3771cb109..5855ad32296 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/RmNettyRemotingClient.java +++ b/core/src/main/java/io/seata/core/rpc/netty/RmNettyRemotingClient.java @@ -56,9 +56,6 @@ /** * The Rm netty client. * - * @author slievrly - * @author zhaojun - * @author zhangchenghui.dev@gmail.com */ public final class RmNettyRemotingClient extends AbstractNettyRemotingClient { diff --git a/core/src/main/java/io/seata/core/rpc/netty/RpcEventLoopGroup.java b/core/src/main/java/io/seata/core/rpc/netty/RpcEventLoopGroup.java index e3e294c992c..65c85adeef7 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/RpcEventLoopGroup.java +++ b/core/src/main/java/io/seata/core/rpc/netty/RpcEventLoopGroup.java @@ -23,7 +23,6 @@ /** * The interface Rpc event loop group. * - * @author slievrly */ @Deprecated public interface RpcEventLoopGroup { diff --git a/core/src/main/java/io/seata/core/rpc/netty/TmNettyRemotingClient.java b/core/src/main/java/io/seata/core/rpc/netty/TmNettyRemotingClient.java index ceaafe53166..76de2691b55 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/TmNettyRemotingClient.java +++ b/core/src/main/java/io/seata/core/rpc/netty/TmNettyRemotingClient.java @@ -53,9 +53,6 @@ /** * The rm netty client. * - * @author slievrly - * @author zhaojun - * @author zhangchenghui.dev@gmail.com */ public final class TmNettyRemotingClient extends AbstractNettyRemotingClient { private static final Logger LOGGER = LoggerFactory.getLogger(TmNettyRemotingClient.class); diff --git a/core/src/main/java/io/seata/core/rpc/netty/v1/HeadMapSerializer.java b/core/src/main/java/io/seata/core/rpc/netty/v1/HeadMapSerializer.java index 60636a6bc71..b52443bffe5 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/v1/HeadMapSerializer.java +++ b/core/src/main/java/io/seata/core/rpc/netty/v1/HeadMapSerializer.java @@ -26,7 +26,6 @@ /** * Common serializer of map (this generally refers to header). * - * @author Geng Zhang * @since 0.7.0 */ public class HeadMapSerializer { diff --git a/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Decoder.java b/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Decoder.java index d433af9df52..867e27d9457 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Decoder.java +++ b/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Decoder.java @@ -56,7 +56,6 @@ *

* https://github.com/seata/seata/issues/893 * - * @author Geng Zhang * @see ProtocolV1Encoder * @since 0.7.0 */ diff --git a/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java b/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java index b274b65a3bb..0f35eff8492 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java +++ b/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java @@ -54,7 +54,6 @@ *

* https://github.com/seata/seata/issues/893 * - * @author Geng Zhang * @see ProtocolV1Decoder * @since 0.7.0 */ diff --git a/core/src/main/java/io/seata/core/rpc/processor/Pair.java b/core/src/main/java/io/seata/core/rpc/processor/Pair.java index 90e404a82cb..4c600d60ccc 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/Pair.java +++ b/core/src/main/java/io/seata/core/rpc/processor/Pair.java @@ -19,7 +19,6 @@ /** * Currently used to associate first and second object. * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public final class Pair { diff --git a/core/src/main/java/io/seata/core/rpc/processor/RemotingProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/RemotingProcessor.java index db93b9efb38..ed62aabf05e 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/RemotingProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/RemotingProcessor.java @@ -26,7 +26,6 @@ * In order to separate the processing business from netty. * When netty starts, it will register processors to abstractNettyRemoting#processorTable. * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public interface RemotingProcessor { diff --git a/core/src/main/java/io/seata/core/rpc/processor/client/ClientHeartbeatProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/client/ClientHeartbeatProcessor.java index be5935ce0e7..b894c9ddfb7 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/client/ClientHeartbeatProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/client/ClientHeartbeatProcessor.java @@ -29,7 +29,6 @@ * process message type: * {@link HeartbeatMessage} * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public class ClientHeartbeatProcessor implements RemotingProcessor { diff --git a/core/src/main/java/io/seata/core/rpc/processor/client/ClientOnResponseProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/client/ClientOnResponseProcessor.java index 2a8a2a62ef1..a156ab437a3 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/client/ClientOnResponseProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/client/ClientOnResponseProcessor.java @@ -60,7 +60,6 @@ * 5) {@link GlobalReportResponse} * 6) {@link GlobalRollbackResponse} * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public class ClientOnResponseProcessor implements RemotingProcessor { diff --git a/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchCommitProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchCommitProcessor.java index 3220baae92c..82eb32d09c4 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchCommitProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchCommitProcessor.java @@ -33,7 +33,6 @@ * process message type: * {@link BranchCommitRequest} * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public class RmBranchCommitProcessor implements RemotingProcessor { diff --git a/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchRollbackProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchRollbackProcessor.java index b972e1d0afd..40fd653a59d 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchRollbackProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/client/RmBranchRollbackProcessor.java @@ -33,7 +33,6 @@ * process message type: * {@link BranchRollbackRequest} * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public class RmBranchRollbackProcessor implements RemotingProcessor { diff --git a/core/src/main/java/io/seata/core/rpc/processor/client/RmUndoLogProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/client/RmUndoLogProcessor.java index 9fe3aebe854..72a474e7e0e 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/client/RmUndoLogProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/client/RmUndoLogProcessor.java @@ -30,7 +30,6 @@ * process message type: * {@link UndoLogDeleteRequest} * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public class RmUndoLogProcessor implements RemotingProcessor { diff --git a/core/src/main/java/io/seata/core/rpc/processor/server/BatchLogHandler.java b/core/src/main/java/io/seata/core/rpc/processor/server/BatchLogHandler.java index efcd5051fab..f832c35d2ac 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/server/BatchLogHandler.java +++ b/core/src/main/java/io/seata/core/rpc/processor/server/BatchLogHandler.java @@ -32,7 +32,6 @@ /** * handle ServerOnRequestProcessor and ServerOnResponseProcessor log print. * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public class BatchLogHandler { diff --git a/core/src/main/java/io/seata/core/rpc/processor/server/RegRmProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/server/RegRmProcessor.java index 69fc0bdf618..7952ce44144 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/server/RegRmProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/server/RegRmProcessor.java @@ -37,7 +37,6 @@ * process message type: * {@link RegisterRMRequest} * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public class RegRmProcessor implements RemotingProcessor { diff --git a/core/src/main/java/io/seata/core/rpc/processor/server/RegTmProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/server/RegTmProcessor.java index 48efc9b003f..494d2b8cdee 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/server/RegTmProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/server/RegTmProcessor.java @@ -37,7 +37,6 @@ * process message type: * {@link RegisterTMRequest} * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public class RegTmProcessor implements RemotingProcessor { diff --git a/core/src/main/java/io/seata/core/rpc/processor/server/ServerHeartbeatProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/server/ServerHeartbeatProcessor.java index 26c3c0781b6..785de1d921e 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/server/ServerHeartbeatProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/server/ServerHeartbeatProcessor.java @@ -30,7 +30,6 @@ * process message type: * {@link HeartbeatMessage} * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public class ServerHeartbeatProcessor implements RemotingProcessor { diff --git a/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnRequestProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnRequestProcessor.java index 4c2a2d2249d..bdb889b8933 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnRequestProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnRequestProcessor.java @@ -81,7 +81,6 @@ * 5) {@link GlobalRollbackRequest} * 6) {@link GlobalStatusRequest} * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public class ServerOnRequestProcessor implements RemotingProcessor, Disposable { diff --git a/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnResponseProcessor.java b/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnResponseProcessor.java index 884fe0c43eb..407a6261fe5 100644 --- a/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnResponseProcessor.java +++ b/core/src/main/java/io/seata/core/rpc/processor/server/ServerOnResponseProcessor.java @@ -41,7 +41,6 @@ * 1) {@link BranchCommitResponse} * 2) {@link BranchRollbackResponse} * - * @author zhangchenghui.dev@gmail.com * @since 1.3.0 */ public class ServerOnResponseProcessor implements RemotingProcessor { diff --git a/core/src/main/java/io/seata/core/serializer/Serializer.java b/core/src/main/java/io/seata/core/serializer/Serializer.java index d8bead50fed..e4a6fea59f1 100644 --- a/core/src/main/java/io/seata/core/serializer/Serializer.java +++ b/core/src/main/java/io/seata/core/serializer/Serializer.java @@ -19,7 +19,6 @@ /** * The interface Codec. * - * @author zhangsen */ public interface Serializer { diff --git a/core/src/main/java/io/seata/core/serializer/SerializerSecurityRegistry.java b/core/src/main/java/io/seata/core/serializer/SerializerSecurityRegistry.java index fd154141d3f..924df010364 100644 --- a/core/src/main/java/io/seata/core/serializer/SerializerSecurityRegistry.java +++ b/core/src/main/java/io/seata/core/serializer/SerializerSecurityRegistry.java @@ -40,7 +40,6 @@ /** * Serializer Security Registry - * @author funkye */ public class SerializerSecurityRegistry { private static final Set> ALLOW_CLAZZ_SET = new HashSet<>(); diff --git a/core/src/main/java/io/seata/core/serializer/SerializerServiceLoader.java b/core/src/main/java/io/seata/core/serializer/SerializerServiceLoader.java index 21fa0073827..67c23c29127 100644 --- a/core/src/main/java/io/seata/core/serializer/SerializerServiceLoader.java +++ b/core/src/main/java/io/seata/core/serializer/SerializerServiceLoader.java @@ -23,7 +23,6 @@ /** * The Service Loader for the interface {@link Serializer} * - * @author wang.liang */ public final class SerializerServiceLoader { diff --git a/core/src/main/java/io/seata/core/serializer/SerializerType.java b/core/src/main/java/io/seata/core/serializer/SerializerType.java index d32c89fbf0f..d1b2c92cb25 100644 --- a/core/src/main/java/io/seata/core/serializer/SerializerType.java +++ b/core/src/main/java/io/seata/core/serializer/SerializerType.java @@ -19,7 +19,6 @@ /** * The enum serialize type. * - * @author leizhiyuan */ public enum SerializerType { diff --git a/core/src/main/java/io/seata/core/store/BranchTransactionDO.java b/core/src/main/java/io/seata/core/store/BranchTransactionDO.java index f84e8e6a901..71d66d6a05b 100644 --- a/core/src/main/java/io/seata/core/store/BranchTransactionDO.java +++ b/core/src/main/java/io/seata/core/store/BranchTransactionDO.java @@ -24,7 +24,6 @@ /** * branch transaction data object * - * @author zhangsen */ public class BranchTransactionDO implements Comparable, java.io.Serializable { diff --git a/core/src/main/java/io/seata/core/store/DefaultDistributedLocker.java b/core/src/main/java/io/seata/core/store/DefaultDistributedLocker.java index f3b03c25a68..f62608d439e 100644 --- a/core/src/main/java/io/seata/core/store/DefaultDistributedLocker.java +++ b/core/src/main/java/io/seata/core/store/DefaultDistributedLocker.java @@ -18,7 +18,6 @@ /** * Default distributed locker - * @author zhongxiang.wang */ public class DefaultDistributedLocker implements DistributedLocker { diff --git a/core/src/main/java/io/seata/core/store/DistributedLockDO.java b/core/src/main/java/io/seata/core/store/DistributedLockDO.java index 46893f7a8c6..af30eeb91bc 100644 --- a/core/src/main/java/io/seata/core/store/DistributedLockDO.java +++ b/core/src/main/java/io/seata/core/store/DistributedLockDO.java @@ -18,8 +18,6 @@ /** * Distributed lock DO - * @author zhongxiang.wang - * @author chd */ public class DistributedLockDO { diff --git a/core/src/main/java/io/seata/core/store/DistributedLocker.java b/core/src/main/java/io/seata/core/store/DistributedLocker.java index fb837678791..b27a0f0fac1 100644 --- a/core/src/main/java/io/seata/core/store/DistributedLocker.java +++ b/core/src/main/java/io/seata/core/store/DistributedLocker.java @@ -18,8 +18,6 @@ /** * Distributed locker - * @author zhongxiang.wang - * @author chd */ public interface DistributedLocker { /** diff --git a/core/src/main/java/io/seata/core/store/GlobalTransactionDO.java b/core/src/main/java/io/seata/core/store/GlobalTransactionDO.java index 0edbcb769ae..7516c1edd18 100644 --- a/core/src/main/java/io/seata/core/store/GlobalTransactionDO.java +++ b/core/src/main/java/io/seata/core/store/GlobalTransactionDO.java @@ -22,7 +22,6 @@ /** * Global Transaction data object * - * @author zhangsen */ public class GlobalTransactionDO implements java.io.Serializable { diff --git a/core/src/main/java/io/seata/core/store/LockDO.java b/core/src/main/java/io/seata/core/store/LockDO.java index 21c7083e85f..68919dd135f 100644 --- a/core/src/main/java/io/seata/core/store/LockDO.java +++ b/core/src/main/java/io/seata/core/store/LockDO.java @@ -24,7 +24,6 @@ /** * The type Lock do. * - * @author zhangsen */ public class LockDO { diff --git a/core/src/main/java/io/seata/core/store/LockStore.java b/core/src/main/java/io/seata/core/store/LockStore.java index 2a87f21e0d5..0bbb7e35be8 100644 --- a/core/src/main/java/io/seata/core/store/LockStore.java +++ b/core/src/main/java/io/seata/core/store/LockStore.java @@ -22,7 +22,6 @@ /** * The interface Lock store. * - * @author zhangsen */ public interface LockStore { diff --git a/core/src/main/java/io/seata/core/store/LogStore.java b/core/src/main/java/io/seata/core/store/LogStore.java index 70ac73419e3..4744f0edfbc 100644 --- a/core/src/main/java/io/seata/core/store/LogStore.java +++ b/core/src/main/java/io/seata/core/store/LogStore.java @@ -22,7 +22,6 @@ /** * the transaction log store * - * @author zhangsen */ public interface LogStore { diff --git a/core/src/main/java/io/seata/core/store/db/AbstractDataSourceProvider.java b/core/src/main/java/io/seata/core/store/db/AbstractDataSourceProvider.java index 52df9fff334..8685f99bf59 100644 --- a/core/src/main/java/io/seata/core/store/db/AbstractDataSourceProvider.java +++ b/core/src/main/java/io/seata/core/store/db/AbstractDataSourceProvider.java @@ -42,8 +42,6 @@ /** * The abstract datasource provider * - * @author zhangsen - * @author will */ public abstract class AbstractDataSourceProvider implements DataSourceProvider, Initialize { diff --git a/core/src/main/java/io/seata/core/store/db/DataSourceProvider.java b/core/src/main/java/io/seata/core/store/db/DataSourceProvider.java index 0f350d57fc2..199e4b2f398 100644 --- a/core/src/main/java/io/seata/core/store/db/DataSourceProvider.java +++ b/core/src/main/java/io/seata/core/store/db/DataSourceProvider.java @@ -20,7 +20,6 @@ /** * The datasource provider - * @author will */ public interface DataSourceProvider { diff --git a/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/BaseDistributedLockSql.java b/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/BaseDistributedLockSql.java index 8a729438a0f..dfb2c78d425 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/BaseDistributedLockSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/BaseDistributedLockSql.java @@ -19,7 +19,6 @@ import io.seata.core.constants.ServerTableColumnsName; /** - * @author chd */ public class BaseDistributedLockSql implements DistributedLockSql { protected static final String DISTRIBUTED_LOCK_TABLE_PLACE_HOLD = " #distributed_lock_table# "; diff --git a/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSql.java b/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSql.java index cbf7f99edd9..e7b5addf843 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSql.java @@ -17,7 +17,6 @@ package io.seata.core.store.db.sql.distributed.lock; /** - * @author chd * @since 1.5.0 */ public interface DistributedLockSql { diff --git a/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSqlFactory.java b/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSqlFactory.java index e0e30bc395e..a139bb7a9f5 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSqlFactory.java +++ b/core/src/main/java/io/seata/core/store/db/sql/distributed/lock/DistributedLockSqlFactory.java @@ -17,7 +17,6 @@ package io.seata.core.store.db.sql.distributed.lock; /** - * @author chd */ public class DistributedLockSqlFactory { private static final DistributedLockSql DISTRIBUTED_LOCK_SQL = new BaseDistributedLockSql(); diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/AbstractLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/AbstractLockStoreSql.java index 611c2cd1bc2..c61e89eefad 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/AbstractLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/AbstractLockStoreSql.java @@ -29,7 +29,6 @@ /** * the database abstract lock store sql interface * - * @author zhangchenghui.dev@gmail.com * @since 1.2.0 */ public class AbstractLockStoreSql implements LockStoreSql { diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/DmLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/DmLockStoreSql.java index aa3df0df70c..2922109922c 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/DmLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/DmLockStoreSql.java @@ -21,7 +21,6 @@ /** * the database lock store DaMeng sql * - * @author wang.liang * @since 1.8.0 */ @LoadLevel(name = "dm") diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/H2LockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/H2LockStoreSql.java index 67b00105eaa..939e887fad4 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/H2LockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/H2LockStoreSql.java @@ -21,7 +21,6 @@ /** * the database lock store H2 sql * - * @author zhangchenghui.dev@gmail.com * @since 1.2.0 */ @LoadLevel(name = "h2") diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSql.java index 0305296531f..9e25bf486b2 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSql.java @@ -19,7 +19,6 @@ /** * the database lock store sql interface * - * @author zhangchenghui.dev@gmail.com * @since 1.2.0 */ public interface LockStoreSql { diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactory.java b/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactory.java index b6cc164aa6d..1a1a44dbbf8 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactory.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactory.java @@ -25,7 +25,6 @@ /** * the database lock store factory * - * @author zhangchenghui.dev@gmail.com * @since 1.2.0 */ public class LockStoreSqlFactory { diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/MariadbLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/MariadbLockStoreSql.java index 9ab7d39a1c9..efb73bc9ade 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/MariadbLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/MariadbLockStoreSql.java @@ -21,7 +21,6 @@ /** * the database lock store mariadb sql * - * @author funkye * @since 1.7.0 */ @LoadLevel(name = "mariadb") diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/MysqlLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/MysqlLockStoreSql.java index 7aea65b065a..d4d3023c2b0 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/MysqlLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/MysqlLockStoreSql.java @@ -21,7 +21,6 @@ /** * the database lock store mysql sql * - * @author zhangchenghui.dev@gmail.com * @since 1.2.0 */ @LoadLevel(name = "mysql") diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/OceanbaseLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/OceanbaseLockStoreSql.java index 29fd5a91ac7..752f902acbd 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/OceanbaseLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/OceanbaseLockStoreSql.java @@ -21,7 +21,6 @@ /** * the database lock store oceanbase sql * - * @author zhangchenghui.dev@gmail.com * @since 1.2.0 */ @LoadLevel(name = "oceanbase") diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/OracleLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/OracleLockStoreSql.java index bbd96cc11e9..66423eace95 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/OracleLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/OracleLockStoreSql.java @@ -21,7 +21,6 @@ /** * the database lock store oracle sql * - * @author zhangchenghui.dev@gmail.com * @since 1.2.0 */ @LoadLevel(name = "oracle") diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/PolarDBXLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/PolarDBXLockStoreSql.java index f3300428929..47905d387d0 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/PolarDBXLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/PolarDBXLockStoreSql.java @@ -21,7 +21,6 @@ /** * Database lock store for PolarDB-X * - * @author hsien999 */ @LoadLevel(name = "polardb-x") public class PolarDBXLockStoreSql extends MysqlLockStoreSql { diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/PostgresqlLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/PostgresqlLockStoreSql.java index 1bfa3e84276..47c2f1bb3a2 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/PostgresqlLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/PostgresqlLockStoreSql.java @@ -21,7 +21,6 @@ /** * the database lock store postgre sql * - * @author zhangchenghui.dev@gmail.com * @since 1.2.0 */ @LoadLevel(name = "postgresql") diff --git a/core/src/main/java/io/seata/core/store/db/sql/lock/SqlServerLockStoreSql.java b/core/src/main/java/io/seata/core/store/db/sql/lock/SqlServerLockStoreSql.java index b88c549ae47..50864bbe302 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/lock/SqlServerLockStoreSql.java +++ b/core/src/main/java/io/seata/core/store/db/sql/lock/SqlServerLockStoreSql.java @@ -21,7 +21,6 @@ /** * the database lock store ms-sqlserver sql * - * @author GoodBoyCoder */ @LoadLevel(name = "sqlserver") public class SqlServerLockStoreSql extends AbstractLockStoreSql { diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/AbstractLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/AbstractLogStoreSqls.java index b4933f1f4b5..6d5b983358b 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/AbstractLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/AbstractLogStoreSqls.java @@ -21,7 +21,6 @@ /** * The type Abstract log store sqls - * @author will */ public abstract class AbstractLogStoreSqls implements LogStoreSqls { diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/DmLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/DmLogStoreSqls.java index 2d96d555022..421812f8570 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/DmLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/DmLogStoreSqls.java @@ -21,7 +21,6 @@ /** * Database log store DaMeng sql * - * @author wang.liang * @since 1.8.0 */ @LoadLevel(name = "dm") diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/H2LogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/H2LogStoreSqls.java index a2b22d5d273..a2d811ea3f5 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/H2LogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/H2LogStoreSqls.java @@ -20,7 +20,6 @@ /** * Database log store h2 sql - * @author will */ @LoadLevel(name = "h2") public class H2LogStoreSqls extends MysqlLogStoreSqls { diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqls.java index 59d5ab3cf42..96d2e291b28 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqls.java @@ -18,7 +18,6 @@ /** * Database log store sql - * @author will */ public interface LogStoreSqls { diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactory.java b/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactory.java index ac5f3aec4ec..bbe2ae4ab21 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactory.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactory.java @@ -23,7 +23,6 @@ import java.util.concurrent.ConcurrentHashMap; /** - * @author will */ public class LogStoreSqlsFactory { diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/MariadbLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/MariadbLogStoreSqls.java index 57aac371085..41f6eeec891 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/MariadbLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/MariadbLogStoreSqls.java @@ -20,7 +20,6 @@ /** * Database log store mariadb sql - * @author funkye */ @LoadLevel(name = "mariadb") public class MariadbLogStoreSqls extends MysqlLogStoreSqls { diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/MysqlLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/MysqlLogStoreSqls.java index d282f9a57bd..bc46215d441 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/MysqlLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/MysqlLogStoreSqls.java @@ -21,7 +21,6 @@ /** * Database log store mysql sql - * @author will */ @LoadLevel(name = "mysql") public class MysqlLogStoreSqls extends AbstractLogStoreSqls { diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/OceanbaseLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/OceanbaseLogStoreSqls.java index 8ec602c0c94..aa4b5697180 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/OceanbaseLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/OceanbaseLogStoreSqls.java @@ -20,7 +20,6 @@ /** * Database log store oceanbase sql - * @author will */ @LoadLevel(name = "oceanbase") public class OceanbaseLogStoreSqls extends MysqlLogStoreSqls { diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/OracleLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/OracleLogStoreSqls.java index 1e88ea54d2a..9960cbe130b 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/OracleLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/OracleLogStoreSqls.java @@ -21,7 +21,6 @@ /** * Database log store oracle sql - * @author will */ @LoadLevel(name = "oracle") public class OracleLogStoreSqls extends AbstractLogStoreSqls { diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/PolarDBXLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/PolarDBXLogStoreSqls.java index aad93f939dd..3b9004dff14 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/PolarDBXLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/PolarDBXLogStoreSqls.java @@ -21,7 +21,6 @@ /** * Database log store for PolarDB-X * - * @author hsien999 */ @LoadLevel(name = "polardb-x") public class PolarDBXLogStoreSqls extends MysqlLogStoreSqls { diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/PostgresqlLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/PostgresqlLogStoreSqls.java index e54f864fd42..8a18d8fea76 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/PostgresqlLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/PostgresqlLogStoreSqls.java @@ -21,7 +21,6 @@ /** * Database log store postgresql sql - * @author will */ @LoadLevel(name = "postgresql") public class PostgresqlLogStoreSqls extends AbstractLogStoreSqls { diff --git a/core/src/main/java/io/seata/core/store/db/sql/log/SqlServerLogStoreSqls.java b/core/src/main/java/io/seata/core/store/db/sql/log/SqlServerLogStoreSqls.java index 7e2edc191e5..4653cf7ff24 100644 --- a/core/src/main/java/io/seata/core/store/db/sql/log/SqlServerLogStoreSqls.java +++ b/core/src/main/java/io/seata/core/store/db/sql/log/SqlServerLogStoreSqls.java @@ -22,7 +22,6 @@ /** * Database log store ms-sqlserver sql * - * @author GoodBoyCoder */ @LoadLevel(name = "sqlserver") public class SqlServerLogStoreSqls extends AbstractLogStoreSqls { diff --git a/core/src/test/java/io/seata/core/context/ContextCoreTest.java b/core/src/test/java/io/seata/core/context/ContextCoreTest.java index 435a311cef6..6e85f2c8e3f 100644 --- a/core/src/test/java/io/seata/core/context/ContextCoreTest.java +++ b/core/src/test/java/io/seata/core/context/ContextCoreTest.java @@ -23,7 +23,6 @@ /** * The type Context core test. * - * @author guoyao */ public class ContextCoreTest { diff --git a/core/src/test/java/io/seata/core/context/GlobalLockConfigHolderTest.java b/core/src/test/java/io/seata/core/context/GlobalLockConfigHolderTest.java index dedba6b9f6f..7920936a576 100644 --- a/core/src/test/java/io/seata/core/context/GlobalLockConfigHolderTest.java +++ b/core/src/test/java/io/seata/core/context/GlobalLockConfigHolderTest.java @@ -45,4 +45,4 @@ void setAndReturnPrevious() { void tearDown() { assertDoesNotThrow(GlobalLockConfigHolder::remove, "clear method should not throw anything"); } -} \ No newline at end of file +} diff --git a/core/src/test/java/io/seata/core/context/RootContextTest.java b/core/src/test/java/io/seata/core/context/RootContextTest.java index 33cd0cd7ae2..1edcfe53281 100644 --- a/core/src/test/java/io/seata/core/context/RootContextTest.java +++ b/core/src/test/java/io/seata/core/context/RootContextTest.java @@ -26,7 +26,6 @@ /** * The type Root context test. * - * @author guoyao */ public class RootContextTest { diff --git a/core/src/test/java/io/seata/core/event/GuavaEventBusTest.java b/core/src/test/java/io/seata/core/event/GuavaEventBusTest.java index 2b6fbe2aa4a..6041847320d 100644 --- a/core/src/test/java/io/seata/core/event/GuavaEventBusTest.java +++ b/core/src/test/java/io/seata/core/event/GuavaEventBusTest.java @@ -25,7 +25,6 @@ /** * Test default GuavaEventBus. * - * @author zhengyangyong */ public class GuavaEventBusTest { @Test diff --git a/core/src/test/java/io/seata/core/message/BranchCommitRequestTest.java b/core/src/test/java/io/seata/core/message/BranchCommitRequestTest.java index d3a361a2da9..763839d9bf5 100644 --- a/core/src/test/java/io/seata/core/message/BranchCommitRequestTest.java +++ b/core/src/test/java/io/seata/core/message/BranchCommitRequestTest.java @@ -25,7 +25,6 @@ /** * The type Branch commit request test. * - * @author xiajun.0706 @163.com * @since 2019 /1/23 */ public class BranchCommitRequestTest { @@ -48,4 +47,4 @@ public void toStringTest() { Assertions.assertEquals("BranchCommitRequest{xid='127.0.0.1:9999:39875642', branchId=1, branchType=AT, resourceId='resource1', applicationData='app1'}", branchCommitRequest.toString()); } -} \ No newline at end of file +} diff --git a/core/src/test/java/io/seata/core/message/BranchCommitResponseTest.java b/core/src/test/java/io/seata/core/message/BranchCommitResponseTest.java index 60fdb66d460..9bc14205070 100644 --- a/core/src/test/java/io/seata/core/message/BranchCommitResponseTest.java +++ b/core/src/test/java/io/seata/core/message/BranchCommitResponseTest.java @@ -26,7 +26,6 @@ /** * The type Branch commit response test. * - * @author xiajun.0706 @163.com * @since 2019 /1/23 */ public class BranchCommitResponseTest { @@ -47,4 +46,4 @@ public void toStringTest() { } -} \ No newline at end of file +} diff --git a/core/src/test/java/io/seata/core/message/BranchReportRequestTest.java b/core/src/test/java/io/seata/core/message/BranchReportRequestTest.java index aab4e72fee7..9528ac8843a 100644 --- a/core/src/test/java/io/seata/core/message/BranchReportRequestTest.java +++ b/core/src/test/java/io/seata/core/message/BranchReportRequestTest.java @@ -43,4 +43,4 @@ public void testToString() { branchReportRequest.toString()); } -} \ No newline at end of file +} diff --git a/core/src/test/java/io/seata/core/message/GlobalBeginRequestTest.java b/core/src/test/java/io/seata/core/message/GlobalBeginRequestTest.java index 43eda24f03c..fd740bf1cdf 100644 --- a/core/src/test/java/io/seata/core/message/GlobalBeginRequestTest.java +++ b/core/src/test/java/io/seata/core/message/GlobalBeginRequestTest.java @@ -24,7 +24,6 @@ /** * The type Global begin request test. * - * @author xiajun.0706 @163.com * @since 2019 /1/24 */ public class GlobalBeginRequestTest { @@ -42,4 +41,4 @@ public void testToString() throws Exception { Assertions.assertEquals("GlobalBeginRequest{transactionName='tran 1', timeout=60000}", globalBeginRequest.toString()); } -} \ No newline at end of file +} diff --git a/core/src/test/java/io/seata/core/message/GlobalCommitResponseTest.java b/core/src/test/java/io/seata/core/message/GlobalCommitResponseTest.java index c7b0c35d06d..ef55c12e683 100644 --- a/core/src/test/java/io/seata/core/message/GlobalCommitResponseTest.java +++ b/core/src/test/java/io/seata/core/message/GlobalCommitResponseTest.java @@ -26,7 +26,6 @@ /** * The type Global commit response test. * - * @author xiajun.0706 @163.com * @since 2019 /1/24 */ public class GlobalCommitResponseTest { @@ -49,4 +48,4 @@ public void testToString() throws Exception { Assertions.assertEquals("GlobalCommitResponse{globalStatus=Committed, resultCode=Success, msg='OK'}", globalCommitResponse.toString()); } -} \ No newline at end of file +} diff --git a/core/src/test/java/io/seata/core/message/GlobalRollbackRequestTest.java b/core/src/test/java/io/seata/core/message/GlobalRollbackRequestTest.java index 1eb4f01e923..b8afdc6e9c0 100644 --- a/core/src/test/java/io/seata/core/message/GlobalRollbackRequestTest.java +++ b/core/src/test/java/io/seata/core/message/GlobalRollbackRequestTest.java @@ -37,4 +37,4 @@ public void testToString() { Assertions.assertEquals("GlobalRollbackRequest{xid='127.0.0.1:8091:1249853', extraData='test_extra_data'}", globalRollbackRequest.toString()); } -} \ No newline at end of file +} diff --git a/core/src/test/java/io/seata/core/message/RegisterTMRequestTest.java b/core/src/test/java/io/seata/core/message/RegisterTMRequestTest.java index ed77e6d5019..24e8394d4d0 100644 --- a/core/src/test/java/io/seata/core/message/RegisterTMRequestTest.java +++ b/core/src/test/java/io/seata/core/message/RegisterTMRequestTest.java @@ -23,7 +23,6 @@ /** * The type Register tm request test. * - * @author linqiuping */ public class RegisterTMRequestTest { diff --git a/core/src/test/java/io/seata/core/model/BranchStatusTest.java b/core/src/test/java/io/seata/core/model/BranchStatusTest.java index 88a2ddbd46c..4dd16227b93 100644 --- a/core/src/test/java/io/seata/core/model/BranchStatusTest.java +++ b/core/src/test/java/io/seata/core/model/BranchStatusTest.java @@ -23,7 +23,6 @@ /** * A unit test for {@link BranchStatus} * - * @author Lay */ public class BranchStatusTest { diff --git a/core/src/test/java/io/seata/core/model/BranchTypeTest.java b/core/src/test/java/io/seata/core/model/BranchTypeTest.java index 6511cf9ecf5..1a516ce0cef 100644 --- a/core/src/test/java/io/seata/core/model/BranchTypeTest.java +++ b/core/src/test/java/io/seata/core/model/BranchTypeTest.java @@ -22,7 +22,6 @@ /** * A unit test for {@link BranchType} * - * @author Lay */ public class BranchTypeTest { diff --git a/core/src/test/java/io/seata/core/model/GlobalStatusTest.java b/core/src/test/java/io/seata/core/model/GlobalStatusTest.java index 45bed6df5a4..92999abae36 100644 --- a/core/src/test/java/io/seata/core/model/GlobalStatusTest.java +++ b/core/src/test/java/io/seata/core/model/GlobalStatusTest.java @@ -22,7 +22,6 @@ /** * A unit test for {@link GlobalStatus} * - * @author Lay */ public class GlobalStatusTest { private static final int BEGIN_CODE = 1; diff --git a/core/src/test/java/io/seata/core/model/TransactionExceptionCodeTest.java b/core/src/test/java/io/seata/core/model/TransactionExceptionCodeTest.java index c348d679edd..397b84d193b 100644 --- a/core/src/test/java/io/seata/core/model/TransactionExceptionCodeTest.java +++ b/core/src/test/java/io/seata/core/model/TransactionExceptionCodeTest.java @@ -21,7 +21,6 @@ import org.junit.jupiter.api.Test; /** - * @author Montos */ public class TransactionExceptionCodeTest { private static final int BEGIN_CODE = 1; diff --git a/core/src/test/java/io/seata/core/protocol/BatchResultMessageTest.java b/core/src/test/java/io/seata/core/protocol/BatchResultMessageTest.java index 9299f9b4a88..79939a46741 100644 --- a/core/src/test/java/io/seata/core/protocol/BatchResultMessageTest.java +++ b/core/src/test/java/io/seata/core/protocol/BatchResultMessageTest.java @@ -25,7 +25,6 @@ /** * Unit test for {@link BatchResultMessage}. * - * @author Mia0451 */ class BatchResultMessageTest { @@ -69,4 +68,4 @@ void setMsgIds() { Assertions.assertIterableEquals(msgIds, batchResultMessage.getMsgIds()); } -} \ No newline at end of file +} diff --git a/core/src/test/java/io/seata/core/protocol/HeartbeatMessageTest.java b/core/src/test/java/io/seata/core/protocol/HeartbeatMessageTest.java index c70b32cc789..c83635cae3f 100644 --- a/core/src/test/java/io/seata/core/protocol/HeartbeatMessageTest.java +++ b/core/src/test/java/io/seata/core/protocol/HeartbeatMessageTest.java @@ -22,7 +22,6 @@ /** * Unit test for {@link HeartbeatMessage}. * - * @author Mia0451 */ class HeartbeatMessageTest { @@ -37,4 +36,4 @@ void testToString() { Assertions.assertEquals("services ping", HeartbeatMessage.PING.toString()); Assertions.assertEquals("services pong", HeartbeatMessage.PONG.toString()); } -} \ No newline at end of file +} diff --git a/core/src/test/java/io/seata/core/protocol/MergeResultMessageTest.java b/core/src/test/java/io/seata/core/protocol/MergeResultMessageTest.java index 94e853cf766..7303de6823d 100644 --- a/core/src/test/java/io/seata/core/protocol/MergeResultMessageTest.java +++ b/core/src/test/java/io/seata/core/protocol/MergeResultMessageTest.java @@ -28,7 +28,6 @@ /** * The type MergeResultMessage test. * - * @author leizhiyuan */ public class MergeResultMessageTest { diff --git a/core/src/test/java/io/seata/core/protocol/MergedWarpMessageTest.java b/core/src/test/java/io/seata/core/protocol/MergedWarpMessageTest.java index feda90ae517..d89d818046e 100644 --- a/core/src/test/java/io/seata/core/protocol/MergedWarpMessageTest.java +++ b/core/src/test/java/io/seata/core/protocol/MergedWarpMessageTest.java @@ -27,7 +27,6 @@ /** * The type MergedWarpMessageTest test. * - * @author leizhiyuan */ public class MergedWarpMessageTest { diff --git a/core/src/test/java/io/seata/core/protocol/MessageFutureTest.java b/core/src/test/java/io/seata/core/protocol/MessageFutureTest.java index e4796ebbee6..4e3a73e1e17 100644 --- a/core/src/test/java/io/seata/core/protocol/MessageFutureTest.java +++ b/core/src/test/java/io/seata/core/protocol/MessageFutureTest.java @@ -32,7 +32,6 @@ /** * The type Message future test. * - * @author guoyao */ public class MessageFutureTest { diff --git a/core/src/test/java/io/seata/core/protocol/RegisterRMRequestTest.java b/core/src/test/java/io/seata/core/protocol/RegisterRMRequestTest.java index bccefc365e5..0a243e3cd0c 100644 --- a/core/src/test/java/io/seata/core/protocol/RegisterRMRequestTest.java +++ b/core/src/test/java/io/seata/core/protocol/RegisterRMRequestTest.java @@ -24,7 +24,6 @@ /** * The type RegisterRMRequest test. * - * @author leizhiyuan */ public class RegisterRMRequestTest { diff --git a/core/src/test/java/io/seata/core/protocol/RegisterRMResponseTest.java b/core/src/test/java/io/seata/core/protocol/RegisterRMResponseTest.java index 53f731e68eb..7cd826b9177 100644 --- a/core/src/test/java/io/seata/core/protocol/RegisterRMResponseTest.java +++ b/core/src/test/java/io/seata/core/protocol/RegisterRMResponseTest.java @@ -22,7 +22,6 @@ /** * Unit test for {@link RegisterRMResponse}. * - * @author Mia0451 */ class RegisterRMResponseTest { @@ -53,4 +52,4 @@ public void isIdentified() { RegisterRMResponse registerRMResp = new RegisterRMResponse(false); Assertions.assertFalse(registerRMResp.isIdentified()); } -} \ No newline at end of file +} diff --git a/core/src/test/java/io/seata/core/protocol/RegisterTMRequestTest.java b/core/src/test/java/io/seata/core/protocol/RegisterTMRequestTest.java index 72f9f1aba54..88c02c31a87 100644 --- a/core/src/test/java/io/seata/core/protocol/RegisterTMRequestTest.java +++ b/core/src/test/java/io/seata/core/protocol/RegisterTMRequestTest.java @@ -22,8 +22,6 @@ /** * RegisterTMRequest Test * - * @author kaitithoma - * @author Danaykap * * */ diff --git a/core/src/test/java/io/seata/core/protocol/ResultCodeTest.java b/core/src/test/java/io/seata/core/protocol/ResultCodeTest.java index 5c4d27baaf4..ba0567fca3b 100644 --- a/core/src/test/java/io/seata/core/protocol/ResultCodeTest.java +++ b/core/src/test/java/io/seata/core/protocol/ResultCodeTest.java @@ -22,7 +22,6 @@ /** * Unit test for {@link ResultCode}. * - * @author Mia0451 */ class ResultCodeTest { @@ -60,4 +59,4 @@ void valueOf() { ResultCode.valueOf("SUCCESS"); }); } -} \ No newline at end of file +} diff --git a/core/src/test/java/io/seata/core/protocol/RpcMessageTest.java b/core/src/test/java/io/seata/core/protocol/RpcMessageTest.java index d0bedaf8625..f9cd0522a9f 100644 --- a/core/src/test/java/io/seata/core/protocol/RpcMessageTest.java +++ b/core/src/test/java/io/seata/core/protocol/RpcMessageTest.java @@ -26,7 +26,6 @@ /** * The type Rpc message test. * - * @author guoyao */ public class RpcMessageTest { diff --git a/core/src/test/java/io/seata/core/protocol/VersionTest.java b/core/src/test/java/io/seata/core/protocol/VersionTest.java index c96ab4a28b6..31986b6ae74 100644 --- a/core/src/test/java/io/seata/core/protocol/VersionTest.java +++ b/core/src/test/java/io/seata/core/protocol/VersionTest.java @@ -22,7 +22,6 @@ /** * Test {@link Version}. * - * @author wang.liang */ public class VersionTest { diff --git a/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackRequestTest.java b/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackRequestTest.java index 59a2fba13fc..b8e18328405 100644 --- a/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackRequestTest.java +++ b/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackRequestTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; /** - * @author: slievrly */ public class BranchRollbackRequestTest { @Test diff --git a/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackResponseTest.java b/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackResponseTest.java index 44d4bed9c63..9fa2f217cd4 100644 --- a/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackResponseTest.java +++ b/core/src/test/java/io/seata/core/protocol/transaction/BranchRollbackResponseTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; /** - * @author: slievrly */ public class BranchRollbackResponseTest { @Test diff --git a/core/src/test/java/io/seata/core/protocol/transaction/GlobalBeginResponseTest.java b/core/src/test/java/io/seata/core/protocol/transaction/GlobalBeginResponseTest.java index 02dfa090fde..8736071fc4e 100644 --- a/core/src/test/java/io/seata/core/protocol/transaction/GlobalBeginResponseTest.java +++ b/core/src/test/java/io/seata/core/protocol/transaction/GlobalBeginResponseTest.java @@ -24,7 +24,6 @@ /** * A unit test for {@link GlobalBeginResponse} * - * @author liujc **/ public class GlobalBeginResponseTest { private final String XID = "test_xid"; diff --git a/core/src/test/java/io/seata/core/rpc/RpcContextTest.java b/core/src/test/java/io/seata/core/rpc/RpcContextTest.java index 382efdcc8c0..79bb8589772 100644 --- a/core/src/test/java/io/seata/core/rpc/RpcContextTest.java +++ b/core/src/test/java/io/seata/core/rpc/RpcContextTest.java @@ -24,8 +24,6 @@ /** * RpcContext Test * - * @author kaitithoma - * @author Danaykap * * */ diff --git a/core/src/test/java/io/seata/core/rpc/ShutdownHookTest.java b/core/src/test/java/io/seata/core/rpc/ShutdownHookTest.java index a672fa3d89a..cc9084eb52b 100644 --- a/core/src/test/java/io/seata/core/rpc/ShutdownHookTest.java +++ b/core/src/test/java/io/seata/core/rpc/ShutdownHookTest.java @@ -88,4 +88,4 @@ public TestDisposable(int priority) { this.priority = priority; } } -} \ No newline at end of file +} diff --git a/core/src/test/java/io/seata/core/rpc/netty/MessageCodecHandlerTest.java b/core/src/test/java/io/seata/core/rpc/netty/MessageCodecHandlerTest.java index f998af3ae2e..429a131ff09 100644 --- a/core/src/test/java/io/seata/core/rpc/netty/MessageCodecHandlerTest.java +++ b/core/src/test/java/io/seata/core/rpc/netty/MessageCodecHandlerTest.java @@ -91,4 +91,4 @@ // // } // -//} \ No newline at end of file +//} diff --git a/core/src/test/java/io/seata/core/rpc/netty/NettyBaseConfigTest.java b/core/src/test/java/io/seata/core/rpc/netty/NettyBaseConfigTest.java index 995f7617e10..c2a25afe337 100644 --- a/core/src/test/java/io/seata/core/rpc/netty/NettyBaseConfigTest.java +++ b/core/src/test/java/io/seata/core/rpc/netty/NettyBaseConfigTest.java @@ -22,8 +22,6 @@ /** * The type Netty base config test. * - * @author slievrly - * @author wang.liang */ class NettyBaseConfigTest { /** diff --git a/core/src/test/java/io/seata/core/rpc/netty/NettyClientChannelManagerTest.java b/core/src/test/java/io/seata/core/rpc/netty/NettyClientChannelManagerTest.java index 1ba6e3a95ca..a369f841d72 100644 --- a/core/src/test/java/io/seata/core/rpc/netty/NettyClientChannelManagerTest.java +++ b/core/src/test/java/io/seata/core/rpc/netty/NettyClientChannelManagerTest.java @@ -41,7 +41,6 @@ /** * Netty client channel manager test. * - * @author zhaojun */ @ExtendWith(MockitoExtension.class) class NettyClientChannelManagerTest { @@ -177,4 +176,4 @@ private void setNettyClientKeyPool() { throw new RuntimeException(ex); } } -} \ No newline at end of file +} diff --git a/core/src/test/java/io/seata/core/rpc/netty/NettyPoolKeyTest.java b/core/src/test/java/io/seata/core/rpc/netty/NettyPoolKeyTest.java index 08166112247..087b7de2b88 100644 --- a/core/src/test/java/io/seata/core/rpc/netty/NettyPoolKeyTest.java +++ b/core/src/test/java/io/seata/core/rpc/netty/NettyPoolKeyTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; /** - * @author: slievrly */ public class NettyPoolKeyTest { diff --git a/core/src/test/java/io/seata/core/rpc/netty/RmNettyClientTest.java b/core/src/test/java/io/seata/core/rpc/netty/RmNettyClientTest.java index d9858184f8a..676ecf2c63a 100644 --- a/core/src/test/java/io/seata/core/rpc/netty/RmNettyClientTest.java +++ b/core/src/test/java/io/seata/core/rpc/netty/RmNettyClientTest.java @@ -28,7 +28,6 @@ /** * Rm RPC client test. * - * @author zhaojun */ class RmNettyClientTest { @@ -58,4 +57,4 @@ private AtomicBoolean getInitializeStatus(final RmNettyRemotingClient rmNettyRem throw new RuntimeException(ex.getMessage()); } } -} \ No newline at end of file +} diff --git a/core/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java b/core/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java index 81e1e1e57e0..28db3385cdb 100644 --- a/core/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java +++ b/core/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java @@ -34,7 +34,6 @@ /** * The type Tm rpc client test. * - * @author slievrly xiajun.0706@163.com */ public class TmNettyClientTest { diff --git a/core/src/test/java/io/seata/core/serializer/SerializerSecurityRegistryTest.java b/core/src/test/java/io/seata/core/serializer/SerializerSecurityRegistryTest.java index 475457f51d1..e87f2a5d3c1 100644 --- a/core/src/test/java/io/seata/core/serializer/SerializerSecurityRegistryTest.java +++ b/core/src/test/java/io/seata/core/serializer/SerializerSecurityRegistryTest.java @@ -25,7 +25,6 @@ import org.junit.jupiter.api.Test; /** - * @author slievrly */ public class SerializerSecurityRegistryTest { @Test diff --git a/core/src/test/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactoryTest.java b/core/src/test/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactoryTest.java index 0ab6854d50b..ddbfbb8c663 100644 --- a/core/src/test/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactoryTest.java +++ b/core/src/test/java/io/seata/core/store/db/sql/lock/LockStoreSqlFactoryTest.java @@ -22,7 +22,6 @@ /** * the Lock Store Sql Factory Test * - * @author zhangchenghui.dev@gmail.com * @since 1.2.0 */ public class LockStoreSqlFactoryTest { diff --git a/core/src/test/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactoryTest.java b/core/src/test/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactoryTest.java index 5dab39613e1..b644abd4d81 100644 --- a/core/src/test/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactoryTest.java +++ b/core/src/test/java/io/seata/core/store/db/sql/log/LogStoreSqlsFactoryTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; /** - * @author: will */ public class LogStoreSqlsFactoryTest { diff --git a/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulListener.java b/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulListener.java index a37a4b4f8c4..688f5abf6c8 100644 --- a/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulListener.java +++ b/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulListener.java @@ -21,7 +21,6 @@ import java.util.List; /** - * @author xingfudeshi@gmail.com */ public interface ConsulListener { /** diff --git a/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryProvider.java b/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryProvider.java index 4046b057591..7907c040510 100644 --- a/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryProvider.java +++ b/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryProvider.java @@ -21,7 +21,6 @@ import io.seata.discovery.registry.RegistryService; /** - * @author xingfudeshi@gmail.com */ @LoadLevel(name = "Consul", order = 1) public class ConsulRegistryProvider implements RegistryProvider { diff --git a/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImpl.java b/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImpl.java index 0dadd5f3c99..7ddf7a62897 100644 --- a/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImpl.java +++ b/discovery/seata-discovery-consul/src/main/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImpl.java @@ -50,7 +50,6 @@ import io.seata.discovery.registry.RegistryService; /** - * @author xingfudeshi@gmail.com */ public class ConsulRegistryServiceImpl implements RegistryService { diff --git a/discovery/seata-discovery-consul/src/test/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImplTest.java b/discovery/seata-discovery-consul/src/test/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImplTest.java index 9e1a0b6a79f..287a1c9ac58 100644 --- a/discovery/seata-discovery-consul/src/test/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImplTest.java +++ b/discovery/seata-discovery-consul/src/test/java/io/seata/discovery/registry/consul/ConsulRegistryServiceImplTest.java @@ -26,7 +26,6 @@ /** - * @author xingfudeshi@gmail.com */ public class ConsulRegistryServiceImplTest { diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/ConsistentHashLoadBalance.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/ConsistentHashLoadBalance.java index 3020a0b7005..bab89e22df4 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/ConsistentHashLoadBalance.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/ConsistentHashLoadBalance.java @@ -32,7 +32,6 @@ /** * The type consistent hash load balance. * - * @author ph3636 */ @LoadLevel(name = CONSISTENT_HASH_LOAD_BALANCE) public class ConsistentHashLoadBalance implements LoadBalance { diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LeastActiveLoadBalance.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LeastActiveLoadBalance.java index 473ae620d68..0835b26c285 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LeastActiveLoadBalance.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LeastActiveLoadBalance.java @@ -27,7 +27,6 @@ /** * The type Least Active load balance. * - * @author ph3636 */ @LoadLevel(name = LEAST_ACTIVE_LOAD_BALANCE) public class LeastActiveLoadBalance implements LoadBalance { diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalance.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalance.java index 431c8df0b18..42fa71a6b4c 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalance.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalance.java @@ -21,7 +21,6 @@ /** * The interface Load balance. * - * @author slievrly */ public interface LoadBalance { diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalanceFactory.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalanceFactory.java index f0a67f720ac..e79b686d57e 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalanceFactory.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LoadBalanceFactory.java @@ -24,7 +24,6 @@ /** * The type Load balance factory. * - * @author slievrly */ public class LoadBalanceFactory { diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RandomLoadBalance.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RandomLoadBalance.java index 5ad6473108b..e37e506bc6a 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RandomLoadBalance.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RandomLoadBalance.java @@ -26,7 +26,6 @@ /** * The type Random load balance. * - * @author yuoyao */ @LoadLevel(name = RANDOM_LOAD_BALANCE) public class RandomLoadBalance implements LoadBalance { diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RoundRobinLoadBalance.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RoundRobinLoadBalance.java index 3c52fad42e5..fadaf4e0aca 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RoundRobinLoadBalance.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/RoundRobinLoadBalance.java @@ -26,7 +26,6 @@ /** * The type Round robin load balance. * - * @author slievrly */ @LoadLevel(name = ROUND_ROBIN_LOAD_BALANCE) public class RoundRobinLoadBalance implements LoadBalance { diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/XIDLoadBalance.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/XIDLoadBalance.java index dd9c7a51493..b182e3e7f5e 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/XIDLoadBalance.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/XIDLoadBalance.java @@ -32,7 +32,6 @@ /** * The type xid load balance. * - * @author funkye */ @LoadLevel(name = XID_LOAD_BALANCE) public class XIDLoadBalance implements LoadBalance { diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryProvider.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryProvider.java index 69916eed2b0..11e41df49e7 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryProvider.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryProvider.java @@ -19,7 +19,6 @@ import io.seata.common.loader.LoadLevel; /** - * @author slievrly */ @LoadLevel(name = "File", order = 1) public class FileRegistryProvider implements RegistryProvider { diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryServiceImpl.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryServiceImpl.java index bfb15696c48..8205a6e5228 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryServiceImpl.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/FileRegistryServiceImpl.java @@ -30,7 +30,6 @@ /** * The type File registry service. * - * @author slievrly */ public class FileRegistryServiceImpl implements RegistryService { diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/MultiRegistryFactory.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/MultiRegistryFactory.java index 99f67e71298..d719bcec4f4 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/MultiRegistryFactory.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/MultiRegistryFactory.java @@ -32,7 +32,6 @@ /** * The type multiple Registry factory. * - * @author liuqiufeng */ public class MultiRegistryFactory { diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryFactory.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryFactory.java index aa41d542b44..d3bba3c9213 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryFactory.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryFactory.java @@ -28,7 +28,6 @@ /** * The type Registry factory. * - * @author slievrly */ public class RegistryFactory { diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryHeartBeats.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryHeartBeats.java index 549e6f24116..21a474419e2 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryHeartBeats.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryHeartBeats.java @@ -29,7 +29,6 @@ import io.seata.config.ConfigurationFactory; /** - * @author xizhou * @since 2021/6/13 5:09 pm */ public class RegistryHeartBeats { diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryProvider.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryProvider.java index 0ed028d04d6..b4d5271e5fa 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryProvider.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryProvider.java @@ -18,7 +18,6 @@ /** * the interface registry provider - * @author xingfudeshi@gmail.com */ public interface RegistryProvider { /** diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryService.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryService.java index c9dcd29abbc..86486b1708b 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryService.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryService.java @@ -30,7 +30,6 @@ * The interface Registry service. * * @param the type parameter - * @author slievrly */ public interface RegistryService { diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryType.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryType.java index 78b27493b55..3ba7720c969 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryType.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryType.java @@ -19,7 +19,6 @@ /** * The enum Registry type. * - * @author slievrly */ public enum RegistryType { /** diff --git a/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java b/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java index ffb6d0e5164..7537d4e9197 100644 --- a/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java +++ b/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; /** - * @author Geng Zhang */ class ConfigurationFactoryTest { diff --git a/discovery/seata-discovery-core/src/test/java/io/seata/discovery/loadbalance/LoadBalanceFactoryTest.java b/discovery/seata-discovery-core/src/test/java/io/seata/discovery/loadbalance/LoadBalanceFactoryTest.java index 22ee8d18232..726de63dc7d 100644 --- a/discovery/seata-discovery-core/src/test/java/io/seata/discovery/loadbalance/LoadBalanceFactoryTest.java +++ b/discovery/seata-discovery-core/src/test/java/io/seata/discovery/loadbalance/LoadBalanceFactoryTest.java @@ -35,7 +35,6 @@ /** * The type Load balance factory test. * - * @author slievrly */ public class LoadBalanceFactoryTest { diff --git a/discovery/seata-discovery-custom/src/main/java/io/seata/discovery/registry/custom/CustomRegistryProvider.java b/discovery/seata-discovery-custom/src/main/java/io/seata/discovery/registry/custom/CustomRegistryProvider.java index 866f7b2d27f..8721102dc68 100644 --- a/discovery/seata-discovery-custom/src/main/java/io/seata/discovery/registry/custom/CustomRegistryProvider.java +++ b/discovery/seata-discovery-custom/src/main/java/io/seata/discovery/registry/custom/CustomRegistryProvider.java @@ -27,7 +27,6 @@ import java.util.stream.Stream; /** - * @author ggndnn */ @LoadLevel(name = "Custom") public class CustomRegistryProvider implements RegistryProvider { diff --git a/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryProvider.java b/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryProvider.java index f0be444167a..11120538579 100644 --- a/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryProvider.java +++ b/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryProvider.java @@ -21,7 +21,6 @@ import io.seata.discovery.registry.RegistryService; /** - * @author xingfudeshi@gmail.com */ @LoadLevel(name = "Etcd3", order = 1) public class EtcdRegistryProvider implements RegistryProvider { diff --git a/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryServiceImpl.java b/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryServiceImpl.java index 338884cb31f..a08be77e79f 100644 --- a/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryServiceImpl.java +++ b/discovery/seata-discovery-etcd3/src/main/java/io/seata/discovery/registry/etcd3/EtcdRegistryServiceImpl.java @@ -60,7 +60,6 @@ import static io.netty.util.CharsetUtil.UTF_8; /** - * @author xingfudeshi@gmail.com */ public class EtcdRegistryServiceImpl implements RegistryService { diff --git a/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryProviderTest.java b/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryProviderTest.java index 9d8cb27e554..58612aaa12c 100644 --- a/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryProviderTest.java +++ b/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryProviderTest.java @@ -23,7 +23,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author xingfudeshi@gmail.com * the type etcd registry provider test */ public class EtcdRegistryProviderTest { diff --git a/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryServiceImplTest.java b/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryServiceImplTest.java index 13948555720..e656bed6761 100644 --- a/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryServiceImplTest.java +++ b/discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryServiceImplTest.java @@ -41,7 +41,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author xingfudeshi@gmail.com */ @Disabled public class EtcdRegistryServiceImplTest { diff --git a/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/CustomEurekaInstanceConfig.java b/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/CustomEurekaInstanceConfig.java index 1005501b010..1fecf2ddd63 100644 --- a/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/CustomEurekaInstanceConfig.java +++ b/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/CustomEurekaInstanceConfig.java @@ -21,7 +21,6 @@ import com.netflix.appinfo.MyDataCenterInstanceConfig; /** - * @author rui_849217@163.com * override MyDataCenterInstanceConfig for set value, * eg: instanceId \ipAddress \ applicationName... */ diff --git a/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryProvider.java b/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryProvider.java index 185b3c6fd64..6702574159d 100644 --- a/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryProvider.java +++ b/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryProvider.java @@ -21,7 +21,6 @@ import io.seata.discovery.registry.RegistryProvider; /** - * @author xingfudeshi@gmail.com */ @LoadLevel(name = "Eureka", order = 1) public class EurekaRegistryProvider implements RegistryProvider { diff --git a/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryServiceImpl.java b/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryServiceImpl.java index d228f6dcba0..3719349710f 100644 --- a/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryServiceImpl.java +++ b/discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryServiceImpl.java @@ -47,7 +47,6 @@ /** * The type Eureka registry service. * - * @author rui_849217@163.com */ public class EurekaRegistryServiceImpl implements RegistryService { private static final Logger LOGGER = LoggerFactory.getLogger(EurekaRegistryServiceImpl.class); diff --git a/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryProvider.java b/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryProvider.java index 3adf666fa9e..b41b345a6ac 100644 --- a/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryProvider.java +++ b/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryProvider.java @@ -21,7 +21,6 @@ import io.seata.discovery.registry.RegistryProvider; /** - * @author xingfudeshi@gmail.com */ @LoadLevel(name = "Nacos", order = 1) public class NacosRegistryProvider implements RegistryProvider { diff --git a/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryServiceImpl.java b/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryServiceImpl.java index 3314831f339..db0e99b90f9 100644 --- a/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryServiceImpl.java +++ b/discovery/seata-discovery-nacos/src/main/java/io/seata/discovery/registry/nacos/NacosRegistryServiceImpl.java @@ -48,8 +48,6 @@ /** * The type Nacos registry service. * - * @author slievrly - * @author xingfudeshi@gmail.com */ public class NacosRegistryServiceImpl implements RegistryService { diff --git a/discovery/seata-discovery-nacos/src/test/java/io/seata/discovery/registry/nacos/NacosRegistryServiceImplTest.java b/discovery/seata-discovery-nacos/src/test/java/io/seata/discovery/registry/nacos/NacosRegistryServiceImplTest.java index 620dfb7fb25..4ba826175ef 100644 --- a/discovery/seata-discovery-nacos/src/test/java/io/seata/discovery/registry/nacos/NacosRegistryServiceImplTest.java +++ b/discovery/seata-discovery-nacos/src/test/java/io/seata/discovery/registry/nacos/NacosRegistryServiceImplTest.java @@ -28,7 +28,6 @@ /** * The type Nacos registry serivce impl test * - * @author xingfudeshi@gmail.com */ public class NacosRegistryServiceImplTest { diff --git a/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryProvider.java b/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryProvider.java index 8ca61e39219..bba58431762 100644 --- a/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryProvider.java +++ b/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryProvider.java @@ -21,7 +21,6 @@ import io.seata.discovery.registry.RegistryService; /** - * @author funkye */ @LoadLevel(name = "Raft", order = 1) public class RaftRegistryProvider implements RegistryProvider { diff --git a/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java b/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java index 79e36286565..1461fe73baf 100644 --- a/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java +++ b/discovery/seata-discovery-raft/src/main/java/io/seata/discovery/registry/raft/RaftRegistryServiceImpl.java @@ -62,7 +62,6 @@ /** * The type File registry service. * - * @author funkye */ public class RaftRegistryServiceImpl implements RegistryService { diff --git a/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java b/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java index a168b6ed0ac..7e266b674be 100644 --- a/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java +++ b/discovery/seata-discovery-raft/src/test/java/io/seata/discovery/registry/raft/RaftRegistryServiceImplTest.java @@ -145,4 +145,4 @@ public void testSecureTTL() throws NoSuchMethodException, InvocationTargetExcept assertEquals(true, rst); } -} \ No newline at end of file +} diff --git a/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisListener.java b/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisListener.java index 7287444c6a2..0cf6a94a46a 100644 --- a/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisListener.java +++ b/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisListener.java @@ -19,7 +19,6 @@ /** * The RedisListener * - * @author kl @kailing.pub */ public interface RedisListener { /** diff --git a/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryProvider.java b/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryProvider.java index e3aa95f11f5..64c0a0544a6 100644 --- a/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryProvider.java +++ b/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryProvider.java @@ -21,7 +21,6 @@ import io.seata.discovery.registry.RegistryService; /** - * @author xingfudeshi@gmail.com */ @LoadLevel(name = "Redis", order = 1) public class RedisRegistryProvider implements RegistryProvider { diff --git a/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryServiceImpl.java b/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryServiceImpl.java index e6719a7462f..e0775a404de 100644 --- a/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryServiceImpl.java +++ b/discovery/seata-discovery-redis/src/main/java/io/seata/discovery/registry/redis/RedisRegistryServiceImpl.java @@ -53,7 +53,6 @@ /** * The type Redis registry service. * - * @author kl @kailing.pub */ public class RedisRegistryServiceImpl implements RegistryService { diff --git a/discovery/seata-discovery-redis/src/test/java/io/seata/discovery/registry/redis/RedisRegisterServiceImplTest.java b/discovery/seata-discovery-redis/src/test/java/io/seata/discovery/registry/redis/RedisRegisterServiceImplTest.java index 3f3aa580024..18f8b152dae 100644 --- a/discovery/seata-discovery-redis/src/test/java/io/seata/discovery/registry/redis/RedisRegisterServiceImplTest.java +++ b/discovery/seata-discovery-redis/src/test/java/io/seata/discovery/registry/redis/RedisRegisterServiceImplTest.java @@ -40,7 +40,6 @@ import static org.mockito.Mockito.when; /** - * @author laywin */ public class RedisRegisterServiceImplTest { diff --git a/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryProvider.java b/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryProvider.java index 516fb9d0867..53cb32970a6 100644 --- a/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryProvider.java +++ b/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryProvider.java @@ -22,7 +22,6 @@ import io.seata.discovery.registry.RegistryService; /** - * @author leizhiyuan */ @LoadLevel(name = "Sofa", order = 1) public class SofaRegistryProvider implements RegistryProvider { diff --git a/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryServiceImpl.java b/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryServiceImpl.java index 482ca9e5821..39bd39671f1 100644 --- a/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryServiceImpl.java +++ b/discovery/seata-discovery-sofa/src/main/java/io/seata/discovery/registry/sofa/SofaRegistryServiceImpl.java @@ -48,7 +48,6 @@ /** * The type SOFARegistry registry service. * - * @author leizhiyuan */ public class SofaRegistryServiceImpl implements RegistryService { diff --git a/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImpl.java b/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImpl.java index 74860e01f14..0d26f7b6867 100644 --- a/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImpl.java +++ b/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImpl.java @@ -46,7 +46,6 @@ /** * zookeeper path as /registry/zk/ * - * @author crazier.huang */ public class ZookeeperRegisterServiceImpl implements RegistryService { private static final Logger LOGGER = LoggerFactory.getLogger(ZookeeperRegisterServiceImpl.class); diff --git a/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegistryProvider.java b/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegistryProvider.java index d560da68d82..ee5c0bff50b 100644 --- a/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegistryProvider.java +++ b/discovery/seata-discovery-zk/src/main/java/io/seata/discovery/registry/zk/ZookeeperRegistryProvider.java @@ -21,7 +21,6 @@ import io.seata.discovery.registry.RegistryService; /** - * @author xingfudeshi@gmail.com */ @LoadLevel(name = "ZK", order = 1) public class ZookeeperRegistryProvider implements RegistryProvider { diff --git a/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImplTest.java b/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImplTest.java index b8d2b125c07..9faaadf04d6 100644 --- a/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImplTest.java +++ b/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegisterServiceImplTest.java @@ -34,7 +34,6 @@ import org.junit.jupiter.api.function.Executable; /** - * @author Geng Zhang */ public class ZookeeperRegisterServiceImplTest { protected static TestingServer server = null; diff --git a/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegistryProviderTest.java b/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegistryProviderTest.java index 7b942fc492e..1e2d459c001 100644 --- a/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegistryProviderTest.java +++ b/discovery/seata-discovery-zk/src/test/java/io/seata/discovery/registry/zk/ZookeeperRegistryProviderTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; /** - * @author Geng Zhang */ public class ZookeeperRegistryProviderTest { diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/DefaultCoreDoGlobalCommitInterceptor.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/DefaultCoreDoGlobalCommitInterceptor.java index 3781c7f1774..4a83b45a671 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/DefaultCoreDoGlobalCommitInterceptor.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/DefaultCoreDoGlobalCommitInterceptor.java @@ -31,7 +31,6 @@ import java.lang.reflect.Method; /** - * @author zhaoyuguang */ public class DefaultCoreDoGlobalCommitInterceptor implements InstanceMethodsAroundInterceptor { diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/NettyRemotingClientSendSyncInterceptor.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/NettyRemotingClientSendSyncInterceptor.java index fe75d046010..0f5cf995cef 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/NettyRemotingClientSendSyncInterceptor.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/NettyRemotingClientSendSyncInterceptor.java @@ -35,7 +35,6 @@ import java.lang.reflect.Method; /** - * @author zhaoyuguang */ public class NettyRemotingClientSendSyncInterceptor implements InstanceMethodsAroundInterceptor { diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/RemotingProcessorProcessInterceptor.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/RemotingProcessorProcessInterceptor.java index 77b1d98ab46..c9a12d3e2c7 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/RemotingProcessorProcessInterceptor.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/RemotingProcessorProcessInterceptor.java @@ -36,7 +36,6 @@ /** * The RemoteProcessor deal. * - * @author zhaoyuguang */ public class RemotingProcessorProcessInterceptor implements InstanceMethodsAroundInterceptor { diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataConstants.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataConstants.java index 5df4bb26450..2bfa3e116a8 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataConstants.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataConstants.java @@ -26,7 +26,6 @@ import java.util.Set; /** - * @author zhaoyuguang */ public class SWSeataConstants { diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataUtils.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataUtils.java index f5fc34afca5..2bd0aecf4e2 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataUtils.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SWSeataUtils.java @@ -24,7 +24,6 @@ import org.apache.skywalking.apm.network.trace.component.ComponentsDefine; /** - * @author zhaoyuguang */ public class SWSeataUtils { diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SeataPluginConfig.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SeataPluginConfig.java index b42959ae324..aaeefdcea0d 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SeataPluginConfig.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/common/SeataPluginConfig.java @@ -19,7 +19,6 @@ import org.apache.skywalking.apm.agent.core.boot.PluginConfig; /** - * @author zhaoyuguang */ public class SeataPluginConfig { public static class Plugin { diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/AbstractNettyRemotingInstrumentation.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/AbstractNettyRemotingInstrumentation.java index d9c7d26c497..a4a7679ea84 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/AbstractNettyRemotingInstrumentation.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/AbstractNettyRemotingInstrumentation.java @@ -29,7 +29,6 @@ import static org.apache.skywalking.apm.agent.core.plugin.match.NameMatch.byName; /** - * @author zhaoyuguang */ public class AbstractNettyRemotingInstrumentation extends ClassInstanceMethodsEnhancePluginDefine { diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/DefaultCoreInstrumentation.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/DefaultCoreInstrumentation.java index 667328c0cf3..a2068434003 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/DefaultCoreInstrumentation.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/DefaultCoreInstrumentation.java @@ -29,7 +29,6 @@ import static org.apache.skywalking.apm.agent.core.plugin.match.NameMatch.byName; /** - * @author zhaoyuguang */ public class DefaultCoreInstrumentation extends ClassInstanceMethodsEnhancePluginDefine { diff --git a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/RemotingProcessorInstrumentation.java b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/RemotingProcessorInstrumentation.java index eb7735678d6..dd0369c87dd 100644 --- a/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/RemotingProcessorInstrumentation.java +++ b/ext/apm-seata-skywalking-plugin/src/main/java/io/seata/apm/skywalking/plugin/define/RemotingProcessorInstrumentation.java @@ -27,7 +27,6 @@ import static org.apache.skywalking.apm.agent.core.plugin.match.MultiClassNameMatch.byMultiClassMatch; /** - * @author zhaoyuguang */ public class RemotingProcessorInstrumentation extends ClassInstanceMethodsEnhancePluginDefine { diff --git a/ext/apm-seata-skywalking-plugin/src/test/java/io/seata/apm/skywalking/plugin/common/SWSeataUtilsTest.java b/ext/apm-seata-skywalking-plugin/src/test/java/io/seata/apm/skywalking/plugin/common/SWSeataUtilsTest.java index 14d8afc4525..1c395ddeca3 100644 --- a/ext/apm-seata-skywalking-plugin/src/test/java/io/seata/apm/skywalking/plugin/common/SWSeataUtilsTest.java +++ b/ext/apm-seata-skywalking-plugin/src/test/java/io/seata/apm/skywalking/plugin/common/SWSeataUtilsTest.java @@ -25,7 +25,6 @@ import org.junit.jupiter.api.Test; /** - * @author zhaoyuguang */ public class SWSeataUtilsTest { @@ -51,4 +50,4 @@ public void testConvertOperationName() { Assertions.assertEquals(SWSeataUtils.convertOperationName(rpcMessage), "Seata/TC/RegisterRMResponse"); } } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/AspectTransactional.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/AspectTransactional.java index 34337d33026..19064448ec7 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/AspectTransactional.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/AspectTransactional.java @@ -22,7 +22,6 @@ import io.seata.tm.api.transaction.Propagation; /** - * @author funkye */ public class AspectTransactional { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/BusinessActionContextParameterDesc.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/BusinessActionContextParameterDesc.java index 30c28ab3365..d01a9f22cc6 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/BusinessActionContextParameterDesc.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/annotation/BusinessActionContextParameterDesc.java @@ -22,7 +22,6 @@ import io.seata.rm.tcc.api.BusinessActionContextParameter; /** - * @author leezongjie */ public class BusinessActionContextParameterDesc { private String paramName; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/event/DegradeCheckEvent.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/event/DegradeCheckEvent.java index 780e96b9d89..de4cd38411f 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/event/DegradeCheckEvent.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/event/DegradeCheckEvent.java @@ -19,7 +19,6 @@ import io.seata.core.event.Event; /** - * @author slievrly */ public class DegradeCheckEvent implements Event { private boolean requestSuccess; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/DefaultCommonFenceHandler.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/DefaultCommonFenceHandler.java index 164db6ac181..6088c201f8a 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/DefaultCommonFenceHandler.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/DefaultCommonFenceHandler.java @@ -22,7 +22,6 @@ import io.seata.common.executor.Callback; /** - * @author leezongjie */ public class DefaultCommonFenceHandler implements FenceHandler { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/FenceHandler.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/FenceHandler.java index 215b1ad8de2..1f7fc231cf9 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/FenceHandler.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/FenceHandler.java @@ -22,7 +22,6 @@ import java.util.Date; /** - * @author leezongjie */ public interface FenceHandler { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/config/CommonFenceConfig.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/config/CommonFenceConfig.java index 38dd047a68d..e07ad8572f2 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/config/CommonFenceConfig.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/config/CommonFenceConfig.java @@ -35,7 +35,6 @@ /** * Common Fence Config * - * @author kaka2code */ public class CommonFenceConfig implements Disposable { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/constant/CommonFenceConstant.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/constant/CommonFenceConstant.java index b7c6e6d1077..eeecdd36e7e 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/constant/CommonFenceConstant.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/constant/CommonFenceConstant.java @@ -19,7 +19,6 @@ /** * Common Fence Constant * - * @author kaka2code */ public class CommonFenceConstant { @@ -46,4 +45,4 @@ private CommonFenceConstant() { * Suspended status. */ public static final int STATUS_SUSPENDED = 4; -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/exception/CommonFenceException.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/exception/CommonFenceException.java index c5d67028112..1092e47a248 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/exception/CommonFenceException.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/exception/CommonFenceException.java @@ -22,7 +22,6 @@ /** * Common Fence Exception * - * @author kaka2code */ public class CommonFenceException extends FrameworkException { @@ -50,4 +49,4 @@ public CommonFenceException(Throwable th, String msg) { super(th, msg); } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceDO.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceDO.java index 82836ed67f0..5b93c9fa911 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceDO.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceDO.java @@ -21,7 +21,6 @@ /** * Common Fence Domain * - * @author kaka2code */ public class CommonFenceDO { @@ -104,4 +103,4 @@ public void setGmtModified(Date gmtModified) { this.gmtModified = gmtModified; } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceStore.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceStore.java index 7d4ec919ab3..4f8fcbd5144 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceStore.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/CommonFenceStore.java @@ -24,7 +24,6 @@ /** * The common Fence Store * - * @author kaka2code */ public interface CommonFenceStore { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/CommonFenceStoreDataBaseDAO.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/CommonFenceStoreDataBaseDAO.java index fc92c7fc58b..7e687f0f08b 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/CommonFenceStoreDataBaseDAO.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/CommonFenceStoreDataBaseDAO.java @@ -42,7 +42,6 @@ /** * The type Common Fence store data base dao * - * @author kaka2code */ public class CommonFenceStoreDataBaseDAO implements CommonFenceStore { @@ -209,4 +208,4 @@ private static boolean isOracle(Connection connection) { } return false; } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/sql/CommonFenceStoreSqls.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/sql/CommonFenceStoreSqls.java index fb0be38d188..5a9cbb49275 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/sql/CommonFenceStoreSqls.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/fence/store/db/sql/CommonFenceStoreSqls.java @@ -21,7 +21,6 @@ /** * TCC Fence Store Sqls * - * @author kaka2code */ public class CommonFenceStoreSqls { @@ -127,4 +126,4 @@ public static String getDeleteSQLByXids(String localTccTable, String paramsPlace .replace(PRAMETER_PLACEHOLD, paramsPlaceHolder); } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextFilter.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextFilter.java index 9600490c1f2..d9cdb24ca62 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextFilter.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextFilter.java @@ -21,7 +21,6 @@ /** * The interface Action context filter. * - * @author zhangsen */ public interface ActionContextFilter { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextUtil.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextUtil.java index b7d1c238fac..b373d92babc 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextUtil.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionContextUtil.java @@ -38,8 +38,6 @@ /** * Extracting TCC Context from Method * - * @author zhangsen - * @author wang.liang */ public final class ActionContextUtil { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java index cc0f41ce888..fafe53840d4 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java @@ -45,7 +45,6 @@ /** * Handler the Tx Participant Aspect : Setting Context, Creating Branch Record * - * @author zhangsen */ public class ActionInterceptorHandler { @@ -274,4 +273,4 @@ protected Map fetchActionRequestContext(Method method, Object[] return context; } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapper.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapper.java index 84998acea90..e0b1b2b55bc 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapper.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapper.java @@ -20,7 +20,6 @@ import java.lang.reflect.Method; /** - * @author leezongjie */ public class DefaultInvocationWrapper implements InvocationWrapper { private Object proxy; diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/InvocationWrapper.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/InvocationWrapper.java index 15d628ab137..a5737053c51 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/InvocationWrapper.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/InvocationWrapper.java @@ -19,7 +19,6 @@ import java.lang.reflect.Method; /** - * @author leezongjie */ public interface InvocationWrapper { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptor.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptor.java index 16908db6cee..7205d0f4275 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptor.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptor.java @@ -19,7 +19,6 @@ /** * The interface Seata interceptor. * - * @author wang.liang */ public interface SeataInterceptor { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptorPosition.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptorPosition.java index 7b5bed367e6..54426b3fae1 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptorPosition.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/SeataInterceptorPosition.java @@ -19,7 +19,6 @@ /** * The enum Seata interceptor position. * - * @author wang.liang */ public enum SeataInterceptorPosition { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TwoPhaseBusinessActionParam.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TwoPhaseBusinessActionParam.java index ee79cd5c0af..ca005ed7e90 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TwoPhaseBusinessActionParam.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TwoPhaseBusinessActionParam.java @@ -23,7 +23,6 @@ /** * The two phase business action parameters. * - * @author ruishansun */ public class TwoPhaseBusinessActionParam { @@ -76,4 +75,4 @@ public BranchType getBranchType() { public void setBranchType(BranchType branchType) { this.branchType = branchType; } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TxBeanParserUtils.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TxBeanParserUtils.java index a0f85366231..8df19fad1fd 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TxBeanParserUtils.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/TxBeanParserUtils.java @@ -23,7 +23,6 @@ /** * parser transaction bean * - * @author zhangsen */ public class TxBeanParserUtils { @@ -67,4 +66,4 @@ public static RemotingDesc getRemotingDesc(String beanName) { return DefaultRemotingParser.get().getRemotingBeanDesc(beanName); } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/AbstractProxyInvocationHandler.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/AbstractProxyInvocationHandler.java index 7124291ad06..29496cf66b5 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/AbstractProxyInvocationHandler.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/AbstractProxyInvocationHandler.java @@ -20,7 +20,6 @@ import io.seata.integration.tx.api.interceptor.InvocationWrapper; /** - * @author leezongjie */ public abstract class AbstractProxyInvocationHandler implements ProxyInvocationHandler { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/DefaultInvocationHandler.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/DefaultInvocationHandler.java index 1a4f2829c0f..ff4e050d195 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/DefaultInvocationHandler.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/DefaultInvocationHandler.java @@ -23,7 +23,6 @@ import java.lang.reflect.Method; /** - * @author leezongjie */ public class DefaultInvocationHandler implements InvocationHandler { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/GlobalTransactionalInterceptorHandler.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/GlobalTransactionalInterceptorHandler.java index 64c24430fe6..fef57daa569 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/GlobalTransactionalInterceptorHandler.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/GlobalTransactionalInterceptorHandler.java @@ -69,8 +69,6 @@ /** * The type Global transactional interceptor handler. * - * @author slievrly - * @author leezongjie */ public class GlobalTransactionalInterceptorHandler extends AbstractProxyInvocationHandler implements ConfigurationChangeListener { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/ProxyInvocationHandler.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/ProxyInvocationHandler.java index f23ce701af5..9659d7c856b 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/ProxyInvocationHandler.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/handler/ProxyInvocationHandler.java @@ -23,7 +23,6 @@ import io.seata.integration.tx.api.interceptor.SeataInterceptorPosition; /** - * @author leezongjie */ public interface ProxyInvocationHandler extends SeataInterceptor { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultInterfaceParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultInterfaceParser.java index eccbb124b4d..89f8499db83 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultInterfaceParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultInterfaceParser.java @@ -24,7 +24,6 @@ import java.util.List; /** - * @author leezongjie */ public class DefaultInterfaceParser implements InterfaceParser { @@ -64,4 +63,4 @@ public ProxyInvocationHandler parserInterfaceToProxy(Object target, String objec return null; } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultResourceRegisterParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultResourceRegisterParser.java index 4bbc65c13ca..1ceea6d098d 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultResourceRegisterParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultResourceRegisterParser.java @@ -23,7 +23,6 @@ import java.util.List; /** - * @author leezongjie */ public class DefaultResourceRegisterParser { @@ -58,4 +57,4 @@ protected void initResourceRegisterParser() { } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultTargetClassParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultTargetClassParser.java index 5fed243d548..fd0e765f335 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultTargetClassParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultTargetClassParser.java @@ -23,7 +23,6 @@ import java.util.List; /** - * @author leezongjie */ public class DefaultTargetClassParser implements TargetClassParser { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParser.java index bee79b6ac13..5bb44043b8b 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParser.java @@ -31,7 +31,6 @@ import io.seata.tm.api.FailureHandlerHolder; /** - * @author leezongjie */ public class GlobalTransactionalInterceptorParser implements InterfaceParser { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/InterfaceParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/InterfaceParser.java index 81067438f87..23db3c4a2e5 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/InterfaceParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/InterfaceParser.java @@ -19,7 +19,6 @@ import io.seata.integration.tx.api.interceptor.handler.ProxyInvocationHandler; /** - * @author leezongjie */ public interface InterfaceParser { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/RegisterResourceParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/RegisterResourceParser.java index 00ad30abc0f..d908962a648 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/RegisterResourceParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/RegisterResourceParser.java @@ -17,7 +17,6 @@ package io.seata.integration.tx.api.interceptor.parser; /** - * @author leezongjie */ public interface RegisterResourceParser { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/TargetClassParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/TargetClassParser.java index ba9549fac6f..82fa80c6239 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/TargetClassParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/TargetClassParser.java @@ -17,7 +17,6 @@ package io.seata.integration.tx.api.interceptor.parser; /** - * @author leezongjie */ public interface TargetClassParser { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParser.java index a2b7f3c5d1b..b397ac33671 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParser.java @@ -19,8 +19,6 @@ import java.io.IOException; /** - * @author leezongjie - * @author zouwei */ public interface JsonParser { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserFactory.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserFactory.java index 90309e443ff..ee302e8b48b 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserFactory.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserFactory.java @@ -25,7 +25,6 @@ import io.seata.common.util.CollectionUtils; /** - * @author zouwei */ public class JsonParserFactory { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserWrap.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserWrap.java index 23ca18addc3..b6dd2cdb99e 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserWrap.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/json/JsonParserWrap.java @@ -19,7 +19,6 @@ import io.seata.common.exception.JsonParseException; /** - * @author zouwei */ public class JsonParserWrap implements JsonParser { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/Protocols.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/Protocols.java index d4f773b2eb7..286197cc9a1 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/Protocols.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/Protocols.java @@ -19,7 +19,6 @@ /** * remoting protocols enum * - * @author zhangsen */ public interface Protocols { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingDesc.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingDesc.java index dd480261984..3f225d5fa05 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingDesc.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingDesc.java @@ -19,7 +19,6 @@ /** * remoting bean info * - * @author zhangsen */ public class RemotingDesc { @@ -205,4 +204,4 @@ public boolean isService() { public void setService(boolean service) { isService = service; } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingParser.java index 6a8b4a6ab6a..569f5749adb 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingParser.java @@ -21,7 +21,6 @@ /** * extract remoting bean info * - * @author zhangsen */ public interface RemotingParser { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/TwoPhaseResult.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/TwoPhaseResult.java index ae015c722c7..6fe58ea155a 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/TwoPhaseResult.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/TwoPhaseResult.java @@ -21,7 +21,6 @@ /** * the TCC method result * - * @author zhangsen */ public class TwoPhaseResult { @@ -93,4 +92,4 @@ public String toString() { sb.append("]"); return sb.toString(); } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/AbstractedRemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/AbstractedRemotingParser.java index 5389b18bef6..a2574791f05 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/AbstractedRemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/AbstractedRemotingParser.java @@ -22,7 +22,6 @@ /** * The type Abstracted remoting parser. * - * @author zhangsen */ public abstract class AbstractedRemotingParser implements RemotingParser { @@ -32,4 +31,4 @@ public boolean isRemoting(Object bean, String beanName) throws FrameworkExceptio return isReference(bean, beanName) || isService(bean, beanName); } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DefaultRemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DefaultRemotingParser.java index 37bffbb6756..f3f8eafab42 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DefaultRemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DefaultRemotingParser.java @@ -30,8 +30,6 @@ /** * parsing remoting bean * - * @author zhangsen - * @author Yujianfei */ public class DefaultRemotingParser { @@ -192,4 +190,4 @@ public RemotingDesc getRemotingBeanDesc(Object bean) { return remotingServiceMap.get(bean); } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DubboRemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DubboRemotingParser.java index 1df21ddf375..681e096ad90 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DubboRemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DubboRemotingParser.java @@ -24,7 +24,6 @@ /** * dubbo remoting bean parsing * - * @author zhangsen */ public class DubboRemotingParser extends AbstractedRemotingParser { @@ -74,4 +73,4 @@ public RemotingDesc getServiceDesc(Object bean, String beanName) throws Framewor public short getProtocol() { return Protocols.DUBBO; } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/HSFRemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/HSFRemotingParser.java index 5d52a381850..aa76a403539 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/HSFRemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/HSFRemotingParser.java @@ -24,7 +24,6 @@ /** * HSF Remote Bean Parser * - * @author ppf@jiumao.org */ public class HSFRemotingParser extends AbstractedRemotingParser { @@ -121,4 +120,4 @@ public RemotingDesc getServiceDesc(Object bean, String beanName) throws Framewor public short getProtocol() { return Protocols.HSF; } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/SofaRpcRemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/SofaRpcRemotingParser.java index d8a7ee8883b..a5872ba133b 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/SofaRpcRemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/SofaRpcRemotingParser.java @@ -24,7 +24,6 @@ /** * sofa-rpc remoting bean parsing * - * @author zhangsen */ public class SofaRpcRemotingParser extends AbstractedRemotingParser { @@ -73,4 +72,4 @@ public RemotingDesc getServiceDesc(Object bean, String beanName) throws Framewor public short getProtocol() { return Protocols.SOFA_RPC; } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/DubboUtil.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/DubboUtil.java index aad19214839..a3d590215b8 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/DubboUtil.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/DubboUtil.java @@ -24,7 +24,6 @@ /** * dubbo attribute analysis * - * @author zhangsen */ public class DubboUtil { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/JsonUtil.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/JsonUtil.java index 71510ddb061..2bdbd18589e 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/JsonUtil.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/JsonUtil.java @@ -25,8 +25,6 @@ import io.seata.integration.tx.api.json.JsonParserFactory; /** - * @author leezongjie - * @author zouwei */ public class JsonUtil { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ProxyUtil.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ProxyUtil.java index 24c4b1bce47..85888033845 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ProxyUtil.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ProxyUtil.java @@ -28,7 +28,6 @@ import static net.bytebuddy.matcher.ElementMatchers.isDeclaredBy; /** - * @author leezongjie */ public class ProxyUtil { diff --git a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContext.java b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContext.java index 3fd6cb9f888..6b44207001f 100644 --- a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContext.java +++ b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContext.java @@ -248,4 +248,4 @@ public String toString() { .append(actionContext).append("]"); return sb.toString(); } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextParameter.java b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextParameter.java index 8e0eb7ef116..f65986764d8 100644 --- a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextParameter.java +++ b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextParameter.java @@ -26,7 +26,6 @@ *

* add this annotation on the parameters of the try method, and the parameters will be passed to the action context * - * @author zhangsen * @see io.seata.spring.interceptor.ActionContextUtil */ @Retention(RetentionPolicy.RUNTIME) @@ -75,4 +74,4 @@ * @see io.seata.spring.interceptor.ActionContextUtil#fetchContextFromObject */ boolean isParamInProperty() default false; -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextUtil.java b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextUtil.java index 8189aed782d..4581c2a8ec4 100644 --- a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextUtil.java +++ b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/BusinessActionContextUtil.java @@ -35,7 +35,6 @@ /** * the api of sharing business action context to tcc phase 2 * - * @author tanzj */ public final class BusinessActionContextUtil { @@ -174,4 +173,4 @@ public static Object[] getTwoPhaseMethodParams(String[] keys, Class[] argsCla } return args; } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/ParamType.java b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/ParamType.java index f3d69965d84..bcf38bd447b 100644 --- a/integration-tx-api/src/main/java/io/seata/rm/tcc/api/ParamType.java +++ b/integration-tx-api/src/main/java/io/seata/rm/tcc/api/ParamType.java @@ -19,7 +19,6 @@ /** * The enum ParamType * - * @author wang.liang */ public enum ParamType { diff --git a/integration-tx-api/src/main/java/io/seata/spring/annotation/GlobalTransactional.java b/integration-tx-api/src/main/java/io/seata/spring/annotation/GlobalTransactional.java index 1690c467eee..2086398aa7b 100644 --- a/integration-tx-api/src/main/java/io/seata/spring/annotation/GlobalTransactional.java +++ b/integration-tx-api/src/main/java/io/seata/spring/annotation/GlobalTransactional.java @@ -29,7 +29,6 @@ /** * The interface Global transactional. * - * @author slievrly * @see io.seata.spring.annotation.GlobalTransactionScanner#wrapIfNecessary(Object, String, Object) io.seata.spring * .annotation.GlobalTransactionScanner#wrapIfNecessary(Object, String, Object)// the scanner for TM, GlobalLock, and * TCC mode diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandlerTest.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandlerTest.java index dbaf9c3c3c0..07be8513a2d 100644 --- a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandlerTest.java +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandlerTest.java @@ -28,7 +28,6 @@ /** * The type Action interceptor handler test. * - * @author zhangsen */ public class ActionInterceptorHandlerTest { diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapperTest.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapperTest.java index 91a6b0c9b3a..ddc8f9c05c0 100644 --- a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapperTest.java +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/DefaultInvocationWrapperTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; /** - * @author leezongjie * @date 2023/11/29 */ class DefaultInvocationWrapperTest { @@ -51,4 +50,4 @@ public Object proceed(int divisor) { } } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestAction.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestAction.java index 7c02cd3d118..8fc064ae599 100644 --- a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestAction.java +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestAction.java @@ -22,7 +22,6 @@ import io.seata.rm.tcc.api.BusinessActionContextParameter; /** - * @author ruishansun */ public interface TestAction { diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestParam.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestParam.java index 6a099b4d573..eef6d115707 100644 --- a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestParam.java +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/TestParam.java @@ -21,7 +21,6 @@ /** * The type Tcc param. * - * @author zhangsen */ public class TestParam { diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParserTest.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParserTest.java index cba75a3e322..5039c2ba2c7 100644 --- a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParserTest.java +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParserTest.java @@ -21,7 +21,6 @@ import org.junit.jupiter.api.Test; /** - * @author leezongjie */ class GlobalTransactionalInterceptorParserTest { @@ -41,4 +40,4 @@ void parserInterfaceToProxy() throws Exception { } -} \ No newline at end of file +} diff --git a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/ProxyUtilsGlobalTransactionalTest.java b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/ProxyUtilsGlobalTransactionalTest.java index ff637c9bcaa..bc608cae35b 100644 --- a/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/ProxyUtilsGlobalTransactionalTest.java +++ b/integration-tx-api/src/test/java/io/seata/integration/tx/api/interceptor/parser/ProxyUtilsGlobalTransactionalTest.java @@ -27,7 +27,6 @@ import java.util.concurrent.atomic.AtomicReference; /** - * @author leezongjie */ public class ProxyUtilsGlobalTransactionalTest { diff --git a/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationClientInterceptor.java b/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationClientInterceptor.java index 67ca4c19bd4..8e9be181615 100644 --- a/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationClientInterceptor.java +++ b/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationClientInterceptor.java @@ -30,7 +30,6 @@ /** * load SEATA xid for brpc request * - * @author mxz0828@163.com */ public class TransactionPropagationClientInterceptor extends AbstractInterceptor implements ConsumerRpcFilter { diff --git a/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationServerInterceptor.java b/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationServerInterceptor.java index 6dc7cb7e1ed..ec6f840393b 100644 --- a/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationServerInterceptor.java +++ b/integration/brpc/src/main/java/io/seata/integration/brpc/TransactionPropagationServerInterceptor.java @@ -31,7 +31,6 @@ *

1. load SEATA xid from brpc request in handleRequest

*

2. clear SEATA xid when brpc request done in aroundProcess

* - * @author mxz0828@163.com */ public class TransactionPropagationServerInterceptor extends AbstractInterceptor implements ProviderRpcFilter { diff --git a/integration/brpc/src/test/java/io/seata/integration/brpc/TransactionInterceptorTest.java b/integration/brpc/src/test/java/io/seata/integration/brpc/TransactionInterceptorTest.java index ebdd08436da..d2eccac34bd 100644 --- a/integration/brpc/src/test/java/io/seata/integration/brpc/TransactionInterceptorTest.java +++ b/integration/brpc/src/test/java/io/seata/integration/brpc/TransactionInterceptorTest.java @@ -32,7 +32,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author mxz0828@163.com */ public class TransactionInterceptorTest { diff --git a/integration/brpc/src/test/java/io/seata/integration/brpc/server/EchoService.java b/integration/brpc/src/test/java/io/seata/integration/brpc/server/EchoService.java index 2de2bc9d4b2..864f45c9fc0 100644 --- a/integration/brpc/src/test/java/io/seata/integration/brpc/server/EchoService.java +++ b/integration/brpc/src/test/java/io/seata/integration/brpc/server/EchoService.java @@ -20,7 +20,6 @@ import io.seata.integration.brpc.dto.Echo; /** - * @author mxz0828@163.com */ public interface EchoService { diff --git a/integration/brpc/src/test/java/io/seata/integration/brpc/server/impl/EchoServiceImpl.java b/integration/brpc/src/test/java/io/seata/integration/brpc/server/impl/EchoServiceImpl.java index a19d3a971a6..baa05e77499 100644 --- a/integration/brpc/src/test/java/io/seata/integration/brpc/server/impl/EchoServiceImpl.java +++ b/integration/brpc/src/test/java/io/seata/integration/brpc/server/impl/EchoServiceImpl.java @@ -24,7 +24,6 @@ import java.util.Objects; /** - * @author mxz0828@163.com */ public class EchoServiceImpl implements EchoService { @Override diff --git a/integration/dubbo-alibaba/src/main/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilter.java b/integration/dubbo-alibaba/src/main/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilter.java index 06bdcc3a4b9..4b3503ccf6b 100644 --- a/integration/dubbo-alibaba/src/main/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilter.java +++ b/integration/dubbo-alibaba/src/main/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilter.java @@ -33,7 +33,6 @@ /** * The type Transaction propagation filter. * - * @author sharajava */ @Activate(group = {DubboConstants.PROVIDER, DubboConstants.CONSUMER}, order = 100) public class AlibabaDubboTransactionPropagationFilter implements Filter { diff --git a/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilterTest.java b/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilterTest.java index 862ce9b96dd..f8c4335a228 100644 --- a/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilterTest.java +++ b/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilterTest.java @@ -27,7 +27,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author wang.liang */ public class AlibabaDubboTransactionPropagationFilterTest { diff --git a/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/mock/MockInvoker.java b/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/mock/MockInvoker.java index 3baecba2237..21f4f91b977 100644 --- a/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/mock/MockInvoker.java +++ b/integration/dubbo-alibaba/src/test/java/io/seata/integration/dubbo/alibaba/mock/MockInvoker.java @@ -23,7 +23,6 @@ import com.alibaba.dubbo.rpc.RpcException; /** - * @author wang.liang */ public class MockInvoker implements Invoker { diff --git a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/GrpcHeaderKey.java b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/GrpcHeaderKey.java index 54ceab4dbe0..4c4c0ae9443 100644 --- a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/GrpcHeaderKey.java +++ b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/GrpcHeaderKey.java @@ -20,7 +20,6 @@ import io.seata.core.context.RootContext; /** - * @author eddyxu1213@126.com */ public interface GrpcHeaderKey { diff --git a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/client/ClientTransactionInterceptor.java b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/client/ClientTransactionInterceptor.java index 14721d088c0..156e5f21abb 100644 --- a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/client/ClientTransactionInterceptor.java +++ b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/client/ClientTransactionInterceptor.java @@ -28,7 +28,6 @@ import io.seata.integration.grpc.interceptor.GrpcHeaderKey; /** - * @author eddyxu1213@126.com */ public class ClientTransactionInterceptor implements ClientInterceptor { diff --git a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerListenerProxy.java b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerListenerProxy.java index 0ff8d317a50..caa1377bc8b 100644 --- a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerListenerProxy.java +++ b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerListenerProxy.java @@ -27,7 +27,6 @@ import org.slf4j.LoggerFactory; /** - * @author eddyxu1213@126.com */ public class ServerListenerProxy extends ServerCall.Listener { private static final Logger LOGGER = LoggerFactory.getLogger(ServerListenerProxy.class); diff --git a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerTransactionInterceptor.java b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerTransactionInterceptor.java index e4dfc4f5a29..fd3bc831e86 100644 --- a/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerTransactionInterceptor.java +++ b/integration/grpc/src/main/java/io/seata/integration/grpc/interceptor/server/ServerTransactionInterceptor.java @@ -28,7 +28,6 @@ import io.seata.integration.grpc.interceptor.GrpcHeaderKey; /** - * @author eddyxu1213@126.com */ public class ServerTransactionInterceptor implements ServerInterceptor { diff --git a/integration/grpc/src/test/java/io/seata/integration/grpc/interceptor/GrpcTest.java b/integration/grpc/src/test/java/io/seata/integration/grpc/interceptor/GrpcTest.java index c3c6c956121..6704786c8d8 100644 --- a/integration/grpc/src/test/java/io/seata/integration/grpc/interceptor/GrpcTest.java +++ b/integration/grpc/src/test/java/io/seata/integration/grpc/interceptor/GrpcTest.java @@ -51,7 +51,6 @@ import static org.mockito.Mockito.verify; /** - * @author eddyxu1213@126.com */ public class GrpcTest { diff --git a/integration/hsf/src/main/java/io/seata/integration/hsf/HsfTransactionFilter.java b/integration/hsf/src/main/java/io/seata/integration/hsf/HsfTransactionFilter.java index ef832829aa2..5deb31e7491 100644 --- a/integration/hsf/src/main/java/io/seata/integration/hsf/HsfTransactionFilter.java +++ b/integration/hsf/src/main/java/io/seata/integration/hsf/HsfTransactionFilter.java @@ -32,7 +32,6 @@ /** * The type Transaction propagation filter. * - * @author slievrly */ public class HsfTransactionFilter implements ClientFilter, ServerFilter { diff --git a/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaSeataWebMvcConfigurer.java b/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaSeataWebMvcConfigurer.java index d2ea32b78b4..94b0d85a4f7 100644 --- a/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaSeataWebMvcConfigurer.java +++ b/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaSeataWebMvcConfigurer.java @@ -21,7 +21,6 @@ /** * The Jakarta Seata Web Mvc Configurer * - * @author wang.liang */ public class JakartaSeataWebMvcConfigurer extends SeataWebMvcConfigurer { diff --git a/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaTransactionPropagationInterceptor.java b/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaTransactionPropagationInterceptor.java index 2ff33c839f7..d9bf15687c0 100644 --- a/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaTransactionPropagationInterceptor.java +++ b/integration/http-jakarta/src/main/java/io/seata/integration/http/JakartaTransactionPropagationInterceptor.java @@ -21,8 +21,6 @@ /** * The Jakarta SpringMVC Interceptor. * - * @author wangxb - * @author wang.liang */ public class JakartaTransactionPropagationInterceptor extends TransactionPropagationInterceptor { diff --git a/integration/http/src/main/java/io/seata/integration/http/AbstractHttpExecutor.java b/integration/http/src/main/java/io/seata/integration/http/AbstractHttpExecutor.java index 5c57b73ffc2..3bd2426d4c2 100644 --- a/integration/http/src/main/java/io/seata/integration/http/AbstractHttpExecutor.java +++ b/integration/http/src/main/java/io/seata/integration/http/AbstractHttpExecutor.java @@ -44,7 +44,6 @@ /** * Abstract http executor. * - * @author wangxb */ public abstract class AbstractHttpExecutor implements HttpExecutor { diff --git a/integration/http/src/main/java/io/seata/integration/http/DefaultHttpExecutor.java b/integration/http/src/main/java/io/seata/integration/http/DefaultHttpExecutor.java index b0b796d650f..0b1d2958638 100644 --- a/integration/http/src/main/java/io/seata/integration/http/DefaultHttpExecutor.java +++ b/integration/http/src/main/java/io/seata/integration/http/DefaultHttpExecutor.java @@ -29,7 +29,6 @@ /** * Default http executor. * - * @author wangxb */ public class DefaultHttpExecutor extends AbstractHttpExecutor { diff --git a/integration/http/src/main/java/io/seata/integration/http/HandlerInterceptorAdapter.java b/integration/http/src/main/java/io/seata/integration/http/HandlerInterceptorAdapter.java index 2a01b2ada90..1c53bc2781a 100644 --- a/integration/http/src/main/java/io/seata/integration/http/HandlerInterceptorAdapter.java +++ b/integration/http/src/main/java/io/seata/integration/http/HandlerInterceptorAdapter.java @@ -26,7 +26,6 @@ /** * The Handler Interceptor Adapter * - * @author wang.liang */ public interface HandlerInterceptorAdapter extends HandlerInterceptor { diff --git a/integration/http/src/main/java/io/seata/integration/http/HttpExecutor.java b/integration/http/src/main/java/io/seata/integration/http/HttpExecutor.java index db36412c024..160b6b3573a 100644 --- a/integration/http/src/main/java/io/seata/integration/http/HttpExecutor.java +++ b/integration/http/src/main/java/io/seata/integration/http/HttpExecutor.java @@ -22,7 +22,6 @@ /** * Http executor. * - * @author wangxb */ public interface HttpExecutor { diff --git a/integration/http/src/main/java/io/seata/integration/http/SeataWebMvcConfigurer.java b/integration/http/src/main/java/io/seata/integration/http/SeataWebMvcConfigurer.java index 552f96f3ef6..d54187671b9 100644 --- a/integration/http/src/main/java/io/seata/integration/http/SeataWebMvcConfigurer.java +++ b/integration/http/src/main/java/io/seata/integration/http/SeataWebMvcConfigurer.java @@ -21,8 +21,6 @@ /** * The Seata Web Mvc Configurer * - * @author wangxb - * @author wang.liang */ public class SeataWebMvcConfigurer implements WebMvcConfigurerAdapter { diff --git a/integration/http/src/main/java/io/seata/integration/http/TransactionPropagationInterceptor.java b/integration/http/src/main/java/io/seata/integration/http/TransactionPropagationInterceptor.java index 97039a932fe..05b9956ce96 100644 --- a/integration/http/src/main/java/io/seata/integration/http/TransactionPropagationInterceptor.java +++ b/integration/http/src/main/java/io/seata/integration/http/TransactionPropagationInterceptor.java @@ -27,8 +27,6 @@ /** * The SpringMVC Interceptor. * - * @author wangxb - * @author wang.liang */ public class TransactionPropagationInterceptor implements HandlerInterceptorAdapter { diff --git a/integration/http/src/main/java/io/seata/integration/http/WebMvcConfigurerAdapter.java b/integration/http/src/main/java/io/seata/integration/http/WebMvcConfigurerAdapter.java index 6f823ce0c00..80ceead131b 100644 --- a/integration/http/src/main/java/io/seata/integration/http/WebMvcConfigurerAdapter.java +++ b/integration/http/src/main/java/io/seata/integration/http/WebMvcConfigurerAdapter.java @@ -40,7 +40,6 @@ /** * The Web Mvc Configurer Adapter * - * @author wang.liang */ public interface WebMvcConfigurerAdapter extends WebMvcConfigurer { diff --git a/integration/http/src/main/java/io/seata/integration/http/XidResource.java b/integration/http/src/main/java/io/seata/integration/http/XidResource.java index 10eb7457a81..a2f3207e9e2 100644 --- a/integration/http/src/main/java/io/seata/integration/http/XidResource.java +++ b/integration/http/src/main/java/io/seata/integration/http/XidResource.java @@ -24,7 +24,6 @@ /** * Xid handler. * - * @author wangxb */ public class XidResource { diff --git a/integration/http/src/test/java/io/seata/integration/http/HttpTest.java b/integration/http/src/test/java/io/seata/integration/http/HttpTest.java index d5f58da7d10..e5f6bc335a1 100644 --- a/integration/http/src/test/java/io/seata/integration/http/HttpTest.java +++ b/integration/http/src/test/java/io/seata/integration/http/HttpTest.java @@ -38,7 +38,6 @@ import static io.seata.integration.http.AbstractHttpExecutor.convertParamOfJsonString; /** - * @author wangxb */ class HttpTest { @@ -233,4 +232,4 @@ void convertParamOfJsonStringTest() { } -} \ No newline at end of file +} diff --git a/integration/http/src/test/java/io/seata/integration/http/MockController.java b/integration/http/src/test/java/io/seata/integration/http/MockController.java index 949f0e67981..49acd47dde6 100644 --- a/integration/http/src/test/java/io/seata/integration/http/MockController.java +++ b/integration/http/src/test/java/io/seata/integration/http/MockController.java @@ -25,7 +25,6 @@ import org.springframework.web.bind.annotation.ResponseBody; /** - * @author : wangxb * @description Mock springmvc controller */ @Controller diff --git a/integration/http/src/test/java/io/seata/integration/http/MockHttpExecuter.java b/integration/http/src/test/java/io/seata/integration/http/MockHttpExecuter.java index 5e87bbf2866..c1a8f14be72 100644 --- a/integration/http/src/test/java/io/seata/integration/http/MockHttpExecuter.java +++ b/integration/http/src/test/java/io/seata/integration/http/MockHttpExecuter.java @@ -27,7 +27,6 @@ import java.util.Map; /** - * @author : wangxb */ public class MockHttpExecuter extends AbstractHttpExecutor { diff --git a/integration/http/src/test/java/io/seata/integration/http/MockHttpServletRequest.java b/integration/http/src/test/java/io/seata/integration/http/MockHttpServletRequest.java index 4fa64895b03..f9ec96a4332 100644 --- a/integration/http/src/test/java/io/seata/integration/http/MockHttpServletRequest.java +++ b/integration/http/src/test/java/io/seata/integration/http/MockHttpServletRequest.java @@ -41,7 +41,6 @@ import java.util.Map; /** - * @author : wangxb */ public class MockHttpServletRequest implements HttpServletRequest { diff --git a/integration/http/src/test/java/io/seata/integration/http/MockRequest.java b/integration/http/src/test/java/io/seata/integration/http/MockRequest.java index 0bcc27f50d8..c18db4c98c7 100644 --- a/integration/http/src/test/java/io/seata/integration/http/MockRequest.java +++ b/integration/http/src/test/java/io/seata/integration/http/MockRequest.java @@ -24,7 +24,6 @@ import java.util.Map; /** - * @author : wangxb */ public class MockRequest { private String url; diff --git a/integration/http/src/test/java/io/seata/integration/http/MockResponse.java b/integration/http/src/test/java/io/seata/integration/http/MockResponse.java index af5dac0336a..a7ecb00030e 100644 --- a/integration/http/src/test/java/io/seata/integration/http/MockResponse.java +++ b/integration/http/src/test/java/io/seata/integration/http/MockResponse.java @@ -21,7 +21,6 @@ import java.io.OutputStream; /** - * @author : wangxb */ public class MockResponse { diff --git a/integration/http/src/test/java/io/seata/integration/http/MockWebServer.java b/integration/http/src/test/java/io/seata/integration/http/MockWebServer.java index 60b513f1eb4..ff8f00909eb 100644 --- a/integration/http/src/test/java/io/seata/integration/http/MockWebServer.java +++ b/integration/http/src/test/java/io/seata/integration/http/MockWebServer.java @@ -33,7 +33,6 @@ import static io.seata.integration.http.AbstractHttpExecutor.convertParamOfJsonString; /** - * @author : wangxb */ public class MockWebServer { @@ -161,4 +160,4 @@ public static Map getUrlParams(String param) { return map; } -} \ No newline at end of file +} diff --git a/integration/http/src/test/java/io/seata/integration/http/ServletMapping.java b/integration/http/src/test/java/io/seata/integration/http/ServletMapping.java index 6b7be4c353d..0d6ad3138f4 100644 --- a/integration/http/src/test/java/io/seata/integration/http/ServletMapping.java +++ b/integration/http/src/test/java/io/seata/integration/http/ServletMapping.java @@ -20,7 +20,6 @@ import java.util.List; /** - * @author : wangxb */ public class ServletMapping { diff --git a/integration/motan/src/main/java/io/seata/integration/motan/MotanTransactionFilter.java b/integration/motan/src/main/java/io/seata/integration/motan/MotanTransactionFilter.java index 1ab81f538dc..452b49089ad 100644 --- a/integration/motan/src/main/java/io/seata/integration/motan/MotanTransactionFilter.java +++ b/integration/motan/src/main/java/io/seata/integration/motan/MotanTransactionFilter.java @@ -31,7 +31,6 @@ import org.slf4j.LoggerFactory; /** - * @author slievrly */ @Spi(scope = Scope.SINGLETON) @Activation(key = {MotanConstants.NODE_TYPE_SERVICE, MotanConstants.NODE_TYPE_REFERER}, sequence = 100) diff --git a/integration/motan/src/test/java/io/seata/integration/motan/MotanTransactionFilterTest.java b/integration/motan/src/test/java/io/seata/integration/motan/MotanTransactionFilterTest.java index 0387bc5e4ad..e933043c6c4 100644 --- a/integration/motan/src/test/java/io/seata/integration/motan/MotanTransactionFilterTest.java +++ b/integration/motan/src/test/java/io/seata/integration/motan/MotanTransactionFilterTest.java @@ -25,7 +25,6 @@ import org.junit.jupiter.api.Test; /** - * @author slievrly */ class MotanTransactionFilterTest { diff --git a/integration/motan/src/test/java/io/seata/integration/motan/XIDService.java b/integration/motan/src/test/java/io/seata/integration/motan/XIDService.java index 6eb082f6031..8ead63f2678 100644 --- a/integration/motan/src/test/java/io/seata/integration/motan/XIDService.java +++ b/integration/motan/src/test/java/io/seata/integration/motan/XIDService.java @@ -17,7 +17,6 @@ package io.seata.integration.motan; /** - * @author slievrly */ public interface XIDService { String getXid(); diff --git a/integration/motan/src/test/java/io/seata/integration/motan/XIDServiceImpl.java b/integration/motan/src/test/java/io/seata/integration/motan/XIDServiceImpl.java index 7ae14e29279..27cad50284f 100644 --- a/integration/motan/src/test/java/io/seata/integration/motan/XIDServiceImpl.java +++ b/integration/motan/src/test/java/io/seata/integration/motan/XIDServiceImpl.java @@ -19,7 +19,6 @@ import io.seata.core.context.RootContext; /** - * @author slievrly */ public class XIDServiceImpl implements XIDService { diff --git a/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/BaseRpcFilter.java b/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/BaseRpcFilter.java index a41cdb0acb9..db31701041b 100644 --- a/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/BaseRpcFilter.java +++ b/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/BaseRpcFilter.java @@ -23,7 +23,6 @@ import io.seata.core.context.RootContext; /** - * @author slievrly */ public interface BaseRpcFilter { String[] TRX_CONTEXT_KEYS = new String[] {RootContext.KEY_XID, RootContext.KEY_BRANCH_TYPE}; diff --git a/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/ProviderRpcFilter.java b/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/ProviderRpcFilter.java index 545327db90d..aa1762945c4 100644 --- a/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/ProviderRpcFilter.java +++ b/integration/rpc-core/src/main/java/io/seata/integration/rpc/core/ProviderRpcFilter.java @@ -24,7 +24,6 @@ import io.seata.core.model.BranchType; /** - * @author slievrly */ public interface ProviderRpcFilter extends BaseRpcFilter { diff --git a/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextConsumerFilter.java b/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextConsumerFilter.java index 78a20684131..70a06f76cbe 100644 --- a/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextConsumerFilter.java +++ b/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextConsumerFilter.java @@ -33,7 +33,6 @@ /** * TransactionContext on consumer side. * - * @author Geng Zhang * @since 0.6.0 */ @Extension(value = "transactionContextConsumer") diff --git a/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextProviderFilter.java b/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextProviderFilter.java index 0e7e560782a..01dba2ba685 100644 --- a/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextProviderFilter.java +++ b/integration/sofa-rpc/src/main/java/io/seata/integration/sofa/rpc/TransactionContextProviderFilter.java @@ -33,7 +33,6 @@ /** * TransactionContext on provider side. * - * @author Geng Zhang * @since 0.6.0 */ @Extension(value = "transactionContextProvider") diff --git a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloService.java b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloService.java index 64ba5bb47bc..10484216ac2 100644 --- a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloService.java +++ b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloService.java @@ -17,7 +17,6 @@ package io.seata.integration.sofa.rpc; /** - * @author Geng Zhang */ public interface HelloService { diff --git a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceImpl.java b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceImpl.java index 9024125adfa..2209bd1e446 100644 --- a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceImpl.java +++ b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceImpl.java @@ -20,7 +20,6 @@ import io.seata.core.model.BranchType; /** - * @author Geng Zhang */ public class HelloServiceImpl implements HelloService { diff --git a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceProxy.java b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceProxy.java index 279ae6e7295..8eb2b1c1d7a 100644 --- a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceProxy.java +++ b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/HelloServiceProxy.java @@ -20,7 +20,6 @@ import io.seata.core.model.BranchType; /** - * @author Geng Zhang */ public class HelloServiceProxy implements HelloService { diff --git a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/TransactionContextFilterTest.java b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/TransactionContextFilterTest.java index 11ab3795faf..6ddad33f913 100644 --- a/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/TransactionContextFilterTest.java +++ b/integration/sofa-rpc/src/test/java/io/seata/integration/sofa/rpc/TransactionContextFilterTest.java @@ -32,7 +32,6 @@ import org.junit.jupiter.api.Test; /** - * @author Geng Zhang */ public class TransactionContextFilterTest { @@ -149,4 +148,4 @@ public static void adAfterClass() { RpcInternalContext.removeContext(); RpcInvokeContext.removeContext(); } -} \ No newline at end of file +} diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Clock.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Clock.java index b5e9289d885..686280cbd3f 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Clock.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Clock.java @@ -19,7 +19,6 @@ /** * Clock interface for metrics * - * @author zhengyangyong */ public interface Clock { double getCurrentMilliseconds(); diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Counter.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Counter.java index 91c43710f51..e948014b3ca 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Counter.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Counter.java @@ -19,7 +19,6 @@ /** * Counter interface for metrics * - * @author zhengyangyong */ public interface Counter extends Meter { long increase(long value); diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Gauge.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Gauge.java index 4550c1687e1..3560223580c 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Gauge.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Gauge.java @@ -19,7 +19,6 @@ /** * Gauge interface for metrics * - * @author zhengyangyong */ public interface Gauge extends Meter { T get(); diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Id.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Id.java index 3df03422112..375ae61c171 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Id.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Id.java @@ -24,7 +24,6 @@ /** * Meter id * - * @author zhengyangyong */ public class Id { private final UUID id; diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/IdConstants.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/IdConstants.java index 6dfcd90f134..d114bdc64e7 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/IdConstants.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/IdConstants.java @@ -19,7 +19,6 @@ /** * Seata metrics constants for id * - * @author zhengyangyong */ public interface IdConstants { String SEATA_TRANSACTION = "seata.transaction"; diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Measurement.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Measurement.java index e6fe49e0658..bf53b89458f 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Measurement.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Measurement.java @@ -19,7 +19,6 @@ /** * Value of meter * - * @author zhengyangyong */ public class Measurement { private final Id id; diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Meter.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Meter.java index fb72e306cc2..46eaf369c4b 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Meter.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Meter.java @@ -19,7 +19,6 @@ /** * Meter interface for metrics * - * @author zhengyangyong */ public interface Meter { Id getId(); diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Summary.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Summary.java index 163260c8c53..1fba370b782 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Summary.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Summary.java @@ -19,7 +19,6 @@ /** * Summary interface for metrics * - * @author zhengyangyong */ public interface Summary extends Meter { default void increase() { diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/SystemClock.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/SystemClock.java index 632cc546340..0259760ab2e 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/SystemClock.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/SystemClock.java @@ -19,7 +19,6 @@ /** * Default clock implement use system * - * @author zhengyangyong */ public class SystemClock implements Clock { public static final Clock INSTANCE = new SystemClock(); diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Timer.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Timer.java index f1d2aa2fa51..eaf118cacce 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Timer.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/Timer.java @@ -21,7 +21,6 @@ /** * Default clock implement use system * - * @author zhengyangyong */ public interface Timer extends Meter { void record(long value, TimeUnit unit); diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/exporter/Exporter.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/exporter/Exporter.java index ad8d429602c..15744708985 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/exporter/Exporter.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/exporter/Exporter.java @@ -23,8 +23,7 @@ /** * Exporter interface for metrics * - * @author zhengyangyong */ public interface Exporter extends Closeable { void setRegistry(Registry registry); -} \ No newline at end of file +} diff --git a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/registry/Registry.java b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/registry/Registry.java index ead481855a9..0da3d12e1f2 100644 --- a/metrics/seata-metrics-api/src/main/java/io/seata/metrics/registry/Registry.java +++ b/metrics/seata-metrics-api/src/main/java/io/seata/metrics/registry/Registry.java @@ -28,7 +28,6 @@ /** * Registry interface for metrics * - * @author zhengyangyong */ public interface Registry { Gauge getGauge(Id id, Supplier supplier); diff --git a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterFactory.java b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterFactory.java index 57a634fd8b6..00e4a624a7a 100644 --- a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterFactory.java +++ b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterFactory.java @@ -32,7 +32,6 @@ /** * Exporter Factory for load all configured exporters * - * @author zhengyangyong */ public class ExporterFactory { private static final Logger LOGGER = LoggerFactory.getLogger(ExporterFactory.class); diff --git a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterType.java b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterType.java index 42c0d7c0715..ed32188af25 100644 --- a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterType.java +++ b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/exporter/ExporterType.java @@ -19,7 +19,6 @@ /** * Supported metrics exporter type * - * @author zhengyangyong */ public enum ExporterType { /** diff --git a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryFactory.java b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryFactory.java index 3681338d64f..16c5a60ba9b 100644 --- a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryFactory.java +++ b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryFactory.java @@ -29,7 +29,6 @@ /** * Registry Factory for load configured metrics registry * - * @author zhengyangyong */ public class RegistryFactory { public static Registry getInstance() { diff --git a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryType.java b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryType.java index d2ead775fbe..bac2437b4e3 100644 --- a/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryType.java +++ b/metrics/seata-metrics-core/src/main/java/io/seata/metrics/registry/RegistryType.java @@ -19,7 +19,6 @@ /** * Supported metrics registry type * - * @author zhengyangyong */ public enum RegistryType { /** diff --git a/metrics/seata-metrics-core/src/test/java/io/seata/metrics/exporter/ExporterTypeTest.java b/metrics/seata-metrics-core/src/test/java/io/seata/metrics/exporter/ExporterTypeTest.java index 75cecd653d5..e537bd90ba2 100644 --- a/metrics/seata-metrics-core/src/test/java/io/seata/metrics/exporter/ExporterTypeTest.java +++ b/metrics/seata-metrics-core/src/test/java/io/seata/metrics/exporter/ExporterTypeTest.java @@ -22,7 +22,6 @@ /** * Unit test for {@link ExporterType} * - * @author Mia0451 */ class ExporterTypeTest { @@ -50,4 +49,4 @@ void getType_validTypeNameLowerCase() { void getType_validTypeNameMixedCase() { Assertions.assertEquals(ExporterType.PROMETHEUS, ExporterType.getType("proMethEus")); } -} \ No newline at end of file +} diff --git a/metrics/seata-metrics-core/src/test/java/io/seata/metrics/registry/RegistryTypeTest.java b/metrics/seata-metrics-core/src/test/java/io/seata/metrics/registry/RegistryTypeTest.java index 7e0c77c5681..79392a8dc46 100644 --- a/metrics/seata-metrics-core/src/test/java/io/seata/metrics/registry/RegistryTypeTest.java +++ b/metrics/seata-metrics-core/src/test/java/io/seata/metrics/registry/RegistryTypeTest.java @@ -22,7 +22,6 @@ /** * Unit test for {@link RegistryType} * - * @author Mia0451 */ class RegistryTypeTest { @@ -50,4 +49,4 @@ void getType_validTypeNameMixedCase() { void values() { Assertions.assertArrayEquals(new RegistryType[]{RegistryType.COMPACT}, RegistryType.values()); } -} \ No newline at end of file +} diff --git a/metrics/seata-metrics-exporter-prometheus/src/main/java/io/seata/metrics/exporter/prometheus/PrometheusExporter.java b/metrics/seata-metrics-exporter-prometheus/src/main/java/io/seata/metrics/exporter/prometheus/PrometheusExporter.java index e3df743c1b7..9780440ad13 100644 --- a/metrics/seata-metrics-exporter-prometheus/src/main/java/io/seata/metrics/exporter/prometheus/PrometheusExporter.java +++ b/metrics/seata-metrics-exporter-prometheus/src/main/java/io/seata/metrics/exporter/prometheus/PrometheusExporter.java @@ -37,7 +37,6 @@ /** * Exporter for Prometheus * - * @author zhengyangyong */ @LoadLevel(name = "prometheus", order = 1) public class PrometheusExporter extends Collector implements Collector.Describable, Exporter { @@ -111,4 +110,4 @@ public void close() { server.stop(); } -} \ No newline at end of file +} diff --git a/metrics/seata-metrics-exporter-prometheus/src/test/java/io/seata/metrics/exporter/prometheus/PrometheusExporterTest.java b/metrics/seata-metrics-exporter-prometheus/src/test/java/io/seata/metrics/exporter/prometheus/PrometheusExporterTest.java index 0f799369edc..d978f29a748 100644 --- a/metrics/seata-metrics-exporter-prometheus/src/test/java/io/seata/metrics/exporter/prometheus/PrometheusExporterTest.java +++ b/metrics/seata-metrics-exporter-prometheus/src/test/java/io/seata/metrics/exporter/prometheus/PrometheusExporterTest.java @@ -22,7 +22,6 @@ /** * test {@link PrometheusExporter} * - * @author wang.liang */ public class PrometheusExporterTest { diff --git a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactCounter.java b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactCounter.java index 0474d25e168..71c60cfb0b5 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactCounter.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactCounter.java @@ -28,7 +28,6 @@ /** * Compact Counter implement with AtomicLong * - * @author zhengyangyong */ public class CompactCounter implements Counter { private final Id id; @@ -71,4 +70,4 @@ public long get() { public Iterable measure() { return Collections.singletonList(new Measurement(id, clock.getCurrentMilliseconds(), counter.get())); } -} \ No newline at end of file +} diff --git a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactGauge.java b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactGauge.java index 8b4e753e2bb..ce681668073 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactGauge.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactGauge.java @@ -28,7 +28,6 @@ /** * Compact Gauge implement with Supplier * - * @author zhengyangyong */ public class CompactGauge implements Gauge { private final Id id; diff --git a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactRegistry.java b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactRegistry.java index 8903d08070f..37ae5713c75 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactRegistry.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactRegistry.java @@ -36,7 +36,6 @@ /** * Compact Registry implement, this registry only compute all Measurements when call measure method and do not cache * - * @author zhengyangyong */ @LoadLevel(name = "compact", order = 1) public class CompactRegistry implements Registry { diff --git a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactSummary.java b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactSummary.java index 62e15b86382..05882ed1fb0 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactSummary.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactSummary.java @@ -28,7 +28,6 @@ /** * Compact Summary implement with SummaryValue * - * @author zhengyangyong */ public class CompactSummary implements Summary { private final Id id; diff --git a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactTimer.java b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactTimer.java index 3f61236384e..c3f34fd66bb 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactTimer.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/CompactTimer.java @@ -29,7 +29,6 @@ /** * Compact Timer implement with TimerValue * - * @author zhengyangyong */ public class CompactTimer implements Timer { private final Id id; diff --git a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/SummaryValue.java b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/SummaryValue.java index c61a54f89be..7a13b4aa85d 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/SummaryValue.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/SummaryValue.java @@ -21,7 +21,6 @@ /** * Record container for CompactSummary * - * @author zhengyangyong */ public class SummaryValue { private final LongAdder count; diff --git a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/TimerValue.java b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/TimerValue.java index a853b3a1f28..bd6c8a638e0 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/TimerValue.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/io/seata/metrics/registry/compact/TimerValue.java @@ -23,7 +23,6 @@ /** * Record container for CompactTimer * - * @author zhengyangyong */ public class TimerValue { private final LongAdder count; @@ -65,4 +64,4 @@ public void record(long value, TimeUnit unit) { this.total.add(changeValue); this.max.accumulateAndGet(changeValue, Math::max); } -} \ No newline at end of file +} diff --git a/rm-datasource/src/main/java/io/seata/rm/BaseDataSourceResource.java b/rm-datasource/src/main/java/io/seata/rm/BaseDataSourceResource.java index 3ff53c2f643..90620dcdf5d 100644 --- a/rm-datasource/src/main/java/io/seata/rm/BaseDataSourceResource.java +++ b/rm-datasource/src/main/java/io/seata/rm/BaseDataSourceResource.java @@ -39,7 +39,6 @@ /** * Base class of those DataSources working as Seata Resource. * - * @author sharajava */ public abstract class BaseDataSourceResource implements SeataDataSourceProxy, Resource, Holder { diff --git a/rm-datasource/src/main/java/io/seata/rm/GlobalLockExecutor.java b/rm-datasource/src/main/java/io/seata/rm/GlobalLockExecutor.java index 65fdd878410..ae880824997 100644 --- a/rm-datasource/src/main/java/io/seata/rm/GlobalLockExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/GlobalLockExecutor.java @@ -20,7 +20,6 @@ /** * executor to execute business logic that require global lock - * @author selfishlover */ public interface GlobalLockExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/GlobalLockTemplate.java b/rm-datasource/src/main/java/io/seata/rm/GlobalLockTemplate.java index 0f8b44ed17c..52e84721897 100644 --- a/rm-datasource/src/main/java/io/seata/rm/GlobalLockTemplate.java +++ b/rm-datasource/src/main/java/io/seata/rm/GlobalLockTemplate.java @@ -22,7 +22,6 @@ /** * executor template for local transaction which need global lock - * @author selfishlover */ public class GlobalLockTemplate { diff --git a/rm-datasource/src/main/java/io/seata/rm/RMHandlerAT.java b/rm-datasource/src/main/java/io/seata/rm/RMHandlerAT.java index d5a6958146e..7042f17e0f8 100644 --- a/rm-datasource/src/main/java/io/seata/rm/RMHandlerAT.java +++ b/rm-datasource/src/main/java/io/seata/rm/RMHandlerAT.java @@ -35,7 +35,6 @@ /** * The type Rm handler at. * - * @author sharajava */ public class RMHandlerAT extends AbstractRMHandler { diff --git a/rm-datasource/src/main/java/io/seata/rm/RMHandlerXA.java b/rm-datasource/src/main/java/io/seata/rm/RMHandlerXA.java index ab80f0b34d1..16f4506b86d 100644 --- a/rm-datasource/src/main/java/io/seata/rm/RMHandlerXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/RMHandlerXA.java @@ -22,7 +22,6 @@ /** * The type RM handler XA. * - * @author sharajava */ public class RMHandlerXA extends AbstractRMHandler { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractConnectionProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractConnectionProxy.java index 7cc64905c15..73c6f89c62b 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractConnectionProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractConnectionProxy.java @@ -45,7 +45,6 @@ /** * The type Abstract connection proxy. * - * @author sharajava */ public abstract class AbstractConnectionProxy implements Connection { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceCacheResourceManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceCacheResourceManager.java index eeb6d1dd69f..88a14d244a9 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceCacheResourceManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceCacheResourceManager.java @@ -26,7 +26,6 @@ /** * Abstract RM with DataSource Cache. * - * @author sharajava */ public abstract class AbstractDataSourceCacheResourceManager extends AbstractResourceManager implements Initialize { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceProxy.java index 10c27c343e4..ee450177ba6 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractDataSourceProxy.java @@ -25,7 +25,6 @@ /** * The type Abstract data source proxy. * - * @author sharajava */ public abstract class AbstractDataSourceProxy implements SeataDataSourceProxy { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractPreparedStatementProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractPreparedStatementProxy.java index d440bf64b0f..af3a503b12f 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractPreparedStatementProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractPreparedStatementProxy.java @@ -45,7 +45,6 @@ /** * The type Abstract prepared statement proxy. * - * @author sharajava */ public abstract class AbstractPreparedStatementProxy extends StatementProxy implements PreparedStatement { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractStatementProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractStatementProxy.java index 3d9e9f9c23d..0e3d722de77 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractStatementProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/AbstractStatementProxy.java @@ -27,7 +27,6 @@ /** * The type Abstract statement proxy. * - * @author sharajava * * @param the type parameter */ diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/AsyncWorker.java b/rm-datasource/src/main/java/io/seata/rm/datasource/AsyncWorker.java index 49b8211b5bd..5bcea3bc3ae 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/AsyncWorker.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/AsyncWorker.java @@ -49,7 +49,6 @@ /** * The type Async worker. * - * @author sharajava */ public class AsyncWorker { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionContext.java b/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionContext.java index 46877c01810..faf5d36ca86 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionContext.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionContext.java @@ -45,7 +45,6 @@ /** * The type Connection context. * - * @author sharajava */ public class ConnectionContext { private static final Savepoint DEFAULT_SAVEPOINT = new Savepoint() { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionProxy.java index bded16f0f12..cec292bad94 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/ConnectionProxy.java @@ -42,7 +42,6 @@ /** * The type Connection proxy. * - * @author sharajava */ public class ConnectionProxy extends AbstractConnectionProxy { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/DataCompareUtils.java b/rm-datasource/src/main/java/io/seata/rm/datasource/DataCompareUtils.java index d7d974abb29..903ac78a760 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/DataCompareUtils.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/DataCompareUtils.java @@ -42,7 +42,6 @@ /** * The type Data compare utils. * - * @author Geng Zhang */ public class DataCompareUtils { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceManager.java index d7bf153bfb1..9742bf3ddd1 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceManager.java @@ -42,7 +42,6 @@ /** * The type Data source manager. * - * @author sharajava */ public class DataSourceManager extends AbstractResourceManager { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceProxy.java index 499871da98f..292859058db 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceProxy.java @@ -45,7 +45,6 @@ /** * The type Data source proxy. * - * @author sharajava */ public class DataSourceProxy extends AbstractDataSourceProxy implements Resource { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/PreparedStatementProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/PreparedStatementProxy.java index 5ee7d3cabff..8dd526ca3bf 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/PreparedStatementProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/PreparedStatementProxy.java @@ -28,7 +28,6 @@ /** * The type Prepared statement proxy. * - * @author sharajava */ public class PreparedStatementProxy extends AbstractPreparedStatementProxy implements PreparedStatement, ParametersHolder { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/SeataDataSourceProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/SeataDataSourceProxy.java index 8905527cd55..2a56f2e2ca8 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/SeataDataSourceProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/SeataDataSourceProxy.java @@ -23,7 +23,6 @@ /** * The interface Seata data source. * - * @author wang.liang */ public interface SeataDataSourceProxy extends DataSource { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/SqlGenerateUtils.java b/rm-datasource/src/main/java/io/seata/rm/datasource/SqlGenerateUtils.java index 29de93598ca..c24b6b2f017 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/SqlGenerateUtils.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/SqlGenerateUtils.java @@ -27,7 +27,6 @@ /** * generate sql and set value to sql * - * @author JerryYin */ public class SqlGenerateUtils { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/StatementProxy.java b/rm-datasource/src/main/java/io/seata/rm/datasource/StatementProxy.java index 8ca392ce8d0..0f9b7f3833a 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/StatementProxy.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/StatementProxy.java @@ -27,7 +27,6 @@ * The type Statement proxy. * * @param the type parameter - * @author sharajava */ public class StatementProxy extends AbstractStatementProxy { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exception/TableMetaException.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exception/TableMetaException.java index 4e3cbce1b8f..e0740f85276 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exception/TableMetaException.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exception/TableMetaException.java @@ -21,7 +21,6 @@ /** * The type TableMetaException exception. * - * @author Bughue */ public class TableMetaException extends SQLException { private String columnName; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutor.java index e38c6466940..c48770d1764 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutor.java @@ -42,7 +42,6 @@ * * @param the type parameter * @param the type parameter - * @author sharajava */ public abstract class AbstractDMLBaseExecutor extends BaseTransactionalExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseInsertExecutor.java index 2b35c6ca6ad..f6c298e404c 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseInsertExecutor.java @@ -49,7 +49,6 @@ /** * The Base Insert Executor. - * @author jsbxyyx */ public abstract class BaseInsertExecutor extends AbstractDMLBaseExecutor implements InsertExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java index 23da18a913c..4f8ef03e7d8 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java @@ -60,7 +60,6 @@ * * @param the type parameter * @param the type parameter - * @author sharajava */ public abstract class BaseTransactionalExecutor implements Executor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/DeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/DeleteExecutor.java index a5985c376f9..d5bd14f652b 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/DeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/DeleteExecutor.java @@ -33,7 +33,6 @@ /** * The type Delete executor. * - * @author sharajava * * @param the type parameter * @param the type parameter diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/ExecuteTemplate.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/ExecuteTemplate.java index c9876dce8a4..dbaf37000b8 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/ExecuteTemplate.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/ExecuteTemplate.java @@ -43,7 +43,6 @@ /** * The type Execute template. * - * @author sharajava */ public class ExecuteTemplate { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/Executor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/Executor.java index c393e03764f..2b37e1cecb4 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/Executor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/Executor.java @@ -19,7 +19,6 @@ /** * The interface Executor. * - * @author sharajava * * @param the type parameter */ diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/InsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/InsertExecutor.java index 38d12899840..65df4616ee5 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/InsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/InsertExecutor.java @@ -24,7 +24,6 @@ * The interface Insert executor. * * @param the type parameter - * @author jsbxyyx */ public interface InsertExecutor extends Executor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockConflictException.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockConflictException.java index 576f0c780cf..1386519f110 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockConflictException.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockConflictException.java @@ -22,7 +22,6 @@ /** * The type Lock conflict exception. * - * @author sharajava */ public class LockConflictException extends SQLException { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockRetryController.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockRetryController.java index c65852de1ee..860f8327f89 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockRetryController.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockRetryController.java @@ -31,7 +31,6 @@ /** * Lock retry controller * - * @author sharajava */ public class LockRetryController { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockWaitTimeoutException.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockWaitTimeoutException.java index 279c890cd4b..ca6ab058cbf 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockWaitTimeoutException.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/LockWaitTimeoutException.java @@ -21,7 +21,6 @@ /** * The type Lock wait timeout exception. * - * @author sharajava */ public class LockWaitTimeoutException extends SQLException { private static final long serialVersionUID = -6754599774015964707L; diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiDeleteExecutor.java index d6b7f8ac0c1..5f291783547 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiDeleteExecutor.java @@ -38,7 +38,6 @@ * * @param the type parameter * @param the type parameter - * @author wangwei.ying */ public class MultiDeleteExecutor extends AbstractDMLBaseExecutor { public MultiDeleteExecutor(StatementProxy statementProxy, StatementCallback statementCallback, List sqlRecognizers) { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiExecutor.java index 56231c45f7d..d6e5052f0d3 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiExecutor.java @@ -42,7 +42,6 @@ * * @param the type parameter * @param the type parameter - * @author wangwei.ying */ public class MultiExecutor extends AbstractDMLBaseExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiUpdateExecutor.java index 0e6afb18ff2..eea71481967 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/MultiUpdateExecutor.java @@ -46,7 +46,6 @@ * * @param the type parameter * @param the type parameter - * @author wangwei-ying */ public class MultiUpdateExecutor extends AbstractDMLBaseExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/PlainExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/PlainExecutor.java index 3bc451e7e22..a0ec701f11e 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/PlainExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/PlainExecutor.java @@ -23,7 +23,6 @@ /** * The type Plain executor. * - * @author sharajava * * @param the type parameter * @param the type parameter diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java index a78859036e8..8b27efb069d 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java @@ -38,7 +38,6 @@ * The type Select for update executor. * * @param the type parameter - * @author sharajava */ public class SelectForUpdateExecutor extends BaseTransactionalExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/StatementCallback.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/StatementCallback.java index e601325ce3c..392de54944b 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/StatementCallback.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/StatementCallback.java @@ -22,7 +22,6 @@ /** * The interface Statement callback. * - * @author sharajava * * @param the type parameter * @param the type parameter diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/UpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/UpdateExecutor.java index 5966cb0bc03..dd31d5f6093 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/UpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/UpdateExecutor.java @@ -42,7 +42,6 @@ * * @param the type parameter * @param the type parameter - * @author sharajava */ public class UpdateExecutor extends AbstractDMLBaseExecutor { @@ -122,4 +121,4 @@ private String buildAfterImageSQL(TableMeta tableMeta, TableRecords beforeImage) return selectSQLJoiner.toString(); } -} \ No newline at end of file +} diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/dm/DmInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/dm/DmInsertExecutor.java index 315d850f666..0f02d957181 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/dm/DmInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/dm/DmInsertExecutor.java @@ -39,7 +39,6 @@ /** * The type DM insert executor. * - * @author chengxiaoxiao */ @LoadLevel(name = JdbcConstants.DM, scope = Scope.PROTOTYPE) public class DmInsertExecutor extends BaseInsertExecutor implements Sequenceable { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertExecutor.java index 220256a802e..92d4b942916 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertExecutor.java @@ -27,7 +27,6 @@ /** * The type Mariadb insert executor. * - * @author funkye */ @LoadLevel(name = JdbcConstants.MARIADB, scope = Scope.PROTOTYPE) public class MariadbInsertExecutor extends MySQLInsertExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertOnDuplicateUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertOnDuplicateUpdateExecutor.java index cfc4b5eed47..19a709f1856 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertOnDuplicateUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbInsertOnDuplicateUpdateExecutor.java @@ -25,7 +25,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author funkye */ @LoadLevel(name = JdbcConstants.MARIADB, scope = Scope.PROTOTYPE) public class MariadbInsertOnDuplicateUpdateExecutor extends MySQLInsertOnDuplicateUpdateExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbUpdateJoinExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbUpdateJoinExecutor.java index 3b450191064..ce4b23e6d83 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbUpdateJoinExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mariadb/MariadbUpdateJoinExecutor.java @@ -24,7 +24,6 @@ import io.seata.sqlparser.SQLRecognizer; /** - * @author funkye */ public class MariadbUpdateJoinExecutor extends MySQLUpdateJoinExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertExecutor.java index 813210bcf6c..35d1b9fb376 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertExecutor.java @@ -49,7 +49,6 @@ /** * The type My sql insert executor. * - * @author jsbxyyx */ @LoadLevel(name = JdbcConstants.MYSQL, scope = Scope.PROTOTYPE) public class MySQLInsertExecutor extends BaseInsertExecutor implements Defaultable { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertOnDuplicateUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertOnDuplicateUpdateExecutor.java index 67a54cd4977..b1c55da0aa5 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertOnDuplicateUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertOnDuplicateUpdateExecutor.java @@ -58,7 +58,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author yangyicong */ @LoadLevel(name = JdbcConstants.MYSQL, scope = Scope.PROTOTYPE) public class MySQLInsertOnDuplicateUpdateExecutor extends MySQLInsertExecutor implements Defaultable { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLUpdateJoinExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLUpdateJoinExecutor.java index ed11f4a39fc..47ad51d59cb 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLUpdateJoinExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLUpdateJoinExecutor.java @@ -53,7 +53,6 @@ /** - * @author renliangyu857 */ public class MySQLUpdateJoinExecutor extends UpdateExecutor { protected final Logger logger = LoggerFactory.getLogger(getClass()); diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleInsertExecutor.java index f4bbda301d6..ba25c679788 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleInsertExecutor.java @@ -42,7 +42,6 @@ /** * The type Oracle insert executor. * - * @author jsbxyyx */ @LoadLevel(name = JdbcConstants.ORACLE, scope = Scope.PROTOTYPE) public class OracleInsertExecutor extends BaseInsertExecutor implements Sequenceable { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleJdbcType.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleJdbcType.java index 40257e33276..9f04ddba2d1 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleJdbcType.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/oracle/OracleJdbcType.java @@ -17,7 +17,6 @@ package io.seata.rm.datasource.exec.oracle; /** - * @author doubleDimple lovele.cn@gmail.com */ public class OracleJdbcType { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertExecutor.java index 23bf917f533..2ceb57f88c7 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertExecutor.java @@ -27,7 +27,6 @@ /** * Insert executor for PolarDB-X * - * @author hsien999 */ @LoadLevel(name = JdbcConstants.POLARDBX, scope = Scope.PROTOTYPE) public class PolarDBXInsertExecutor extends MySQLInsertExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertOnDuplicateUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertOnDuplicateUpdateExecutor.java index e1575eb32de..8868e0ba8db 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertOnDuplicateUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXInsertOnDuplicateUpdateExecutor.java @@ -27,7 +27,6 @@ /** * Insert on duplicated update executor for PolarDB-X * - * @author hsien999 */ @LoadLevel(name = JdbcConstants.POLARDBX, scope = Scope.PROTOTYPE) public class PolarDBXInsertOnDuplicateUpdateExecutor extends MySQLInsertOnDuplicateUpdateExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXUpdateJoinExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXUpdateJoinExecutor.java index b8ce2855a8a..59642d8b391 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXUpdateJoinExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/polardbx/PolarDBXUpdateJoinExecutor.java @@ -26,7 +26,6 @@ /** * Update join executor for PolarDB-X * - * @author hsien999 */ public class PolarDBXUpdateJoinExecutor extends MySQLUpdateJoinExecutor { public PolarDBXUpdateJoinExecutor(StatementProxy statementProxy, StatementCallback statementCallback, diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/postgresql/PostgresqlInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/postgresql/PostgresqlInsertExecutor.java index e4b0112b90e..e092edf2a50 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/postgresql/PostgresqlInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/postgresql/PostgresqlInsertExecutor.java @@ -46,7 +46,6 @@ /** * The type Postgresql insert executor. * - * @author jsbxyyx */ @LoadLevel(name = JdbcConstants.POSTGRESQL, scope = Scope.PROTOTYPE) public class PostgresqlInsertExecutor extends BaseInsertExecutor implements Sequenceable, Defaultable { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerDeleteExecutor.java index 45450e1138c..8c61053cad3 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerDeleteExecutor.java @@ -35,7 +35,6 @@ * * @param the type parameter * @param the type parameter - * @author GoodBoyCoder */ public class SqlServerDeleteExecutor extends DeleteExecutor { /** diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerInsertExecutor.java index 44ee8f11ebc..b84ad5bbce8 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerInsertExecutor.java @@ -50,7 +50,6 @@ /** * The type MS SqlServer insert executor. * - * @author GoodBoyCoder */ @LoadLevel(name = JdbcConstants.SQLSERVER, scope = Scope.PROTOTYPE) public class SqlServerInsertExecutor extends BaseInsertExecutor implements Sequenceable, Defaultable { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiDeleteExecutor.java index 608ee55d291..2b6655250c0 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiDeleteExecutor.java @@ -38,7 +38,6 @@ * * @param the type parameter * @param the type parameter - * @author GoodBoyCoder */ public class SqlServerMultiDeleteExecutor extends MultiDeleteExecutor { public SqlServerMultiDeleteExecutor(StatementProxy statementProxy, StatementCallback statementCallback, List sqlRecognizers) { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiUpdateExecutor.java index 8100670c4a8..3673d72684e 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerMultiUpdateExecutor.java @@ -30,7 +30,6 @@ * * @param the type parameter * @param the type parameter - * @author GoodBoyCoder */ public class SqlServerMultiUpdateExecutor extends MultiUpdateExecutor { /** diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerSelectForUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerSelectForUpdateExecutor.java index 431000f5423..16c35a4642c 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerSelectForUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerSelectForUpdateExecutor.java @@ -31,7 +31,6 @@ * The type SqlServer Select for update executor. * * @param the type parameter - * @author GoodBoyCoder */ public class SqlServerSelectForUpdateExecutor extends SelectForUpdateExecutor { /** diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerUpdateExecutor.java index 8d2c002dab8..89e163950ba 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/sqlserver/SqlServerUpdateExecutor.java @@ -33,7 +33,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author GoodBoyCoder * @date 2021-07-21 */ @LoadLevel(name = JdbcConstants.SQLSERVER, scope = Scope.PROTOTYPE) diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/SQLVisitorFactory.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/SQLVisitorFactory.java index 5f98bb08014..7e2ec98e54d 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/SQLVisitorFactory.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/SQLVisitorFactory.java @@ -26,7 +26,6 @@ import java.util.List; /** - * @author ggndnn */ public class SQLVisitorFactory { /** diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/dm/DmEscapeHandler.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/dm/DmEscapeHandler.java index ab75db79633..f9b13730d6b 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/dm/DmEscapeHandler.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/dm/DmEscapeHandler.java @@ -30,7 +30,6 @@ /** * The type dm sql keyword checker. * - * @author chengxiaoxiao */ @LoadLevel(name = JdbcConstants.DM) public class DmEscapeHandler implements EscapeHandler { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mariadb/MariadbEscapeHandler.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mariadb/MariadbEscapeHandler.java index 096bddfea8b..0db70588e49 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mariadb/MariadbEscapeHandler.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mariadb/MariadbEscapeHandler.java @@ -23,7 +23,6 @@ /** * The type Mariadb escape handler. * - * @author slievrly */ @LoadLevel(name = JdbcConstants.MARIADB) public class MariadbEscapeHandler extends MySQLEscapeHandler { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mysql/MySQLEscapeHandler.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mysql/MySQLEscapeHandler.java index f4263bcff2a..f145cc09f34 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mysql/MySQLEscapeHandler.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/mysql/MySQLEscapeHandler.java @@ -30,7 +30,6 @@ /** * The type MySQL keyword checker. * - * @author xingfudeshi@gmail.com */ @LoadLevel(name = JdbcConstants.MYSQL) public class MySQLEscapeHandler implements EscapeHandler { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/oracle/OracleEscapeHandler.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/oracle/OracleEscapeHandler.java index 8052c514e0f..9bd8e38c0a3 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/oracle/OracleEscapeHandler.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/oracle/OracleEscapeHandler.java @@ -30,7 +30,6 @@ /** * The type oracle sql keyword checker. * - * @author ccg */ @LoadLevel(name = JdbcConstants.ORACLE) public class OracleEscapeHandler implements EscapeHandler { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/polardbx/PolarDBXEscapeHandler.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/polardbx/PolarDBXEscapeHandler.java index 048ef3014e6..aa52a5bf5ba 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/polardbx/PolarDBXEscapeHandler.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/polardbx/PolarDBXEscapeHandler.java @@ -23,7 +23,6 @@ /** * Escape handler for PolarDB-X * - * @author hsien999 */ @LoadLevel(name = JdbcConstants.POLARDBX) public class PolarDBXEscapeHandler extends MySQLEscapeHandler { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/postgresql/PostgresqlEscapeHandler.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/postgresql/PostgresqlEscapeHandler.java index 27597308048..9414c5f15cc 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/postgresql/PostgresqlEscapeHandler.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/postgresql/PostgresqlEscapeHandler.java @@ -30,7 +30,6 @@ /** * The type postgresql keyword checker. * - * @author japsercloud */ @LoadLevel(name = JdbcConstants.POSTGRESQL) public class PostgresqlEscapeHandler implements EscapeHandler { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/sqlserver/SqlServerEscapeHandler.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/sqlserver/SqlServerEscapeHandler.java index 5bfe16ca6a8..cf968e3db9a 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/sqlserver/SqlServerEscapeHandler.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/handler/sqlserver/SqlServerEscapeHandler.java @@ -29,7 +29,6 @@ /** * The type SqlServer keyword checker. * - * @author GoodBoyCoder */ @LoadLevel(name = JdbcConstants.SQLSERVER) public class SqlServerEscapeHandler implements EscapeHandler { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/serial/SerialArray.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/serial/SerialArray.java index dc293cdd438..e2d82f70ce8 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/serial/SerialArray.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/serial/SerialArray.java @@ -32,7 +32,6 @@ /** * used for jdbc type is JDBCType.ARRAY serialize. * - * @author jsbxyyx */ public class SerialArray implements java.sql.Array, java.io.Serializable { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Field.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Field.java index 91c5b5b2425..efea801b11a 100755 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Field.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Field.java @@ -19,7 +19,6 @@ /** * Field * - * @author sharajava */ public class Field implements java.io.Serializable { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/KeyType.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/KeyType.java index fe5e9b2d713..b80f6fbe01a 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/KeyType.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/KeyType.java @@ -19,7 +19,6 @@ /** * The enum Key type. * - * @author sharajava */ public enum KeyType { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Row.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Row.java index 45924b634b4..ded1a835999 100755 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Row.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/Row.java @@ -23,7 +23,6 @@ /** * The type Row. * - * @author sharajava */ public class Row implements java.io.Serializable { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactory.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactory.java index 8da94f02642..da0c67fe725 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactory.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactory.java @@ -41,7 +41,6 @@ /** * Table meta cache factory * - * @author guoyao */ public class TableMetaCacheFactory { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableRecords.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableRecords.java index 5bb871d71f9..9459b6884eb 100755 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableRecords.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/TableRecords.java @@ -49,7 +49,6 @@ /** * The type Table records. * - * @author sharajava */ public class TableRecords implements java.io.Serializable { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/AbstractTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/AbstractTableMetaCache.java index b13ae659ace..50c13cc1c15 100755 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/AbstractTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/AbstractTableMetaCache.java @@ -35,7 +35,6 @@ /** * The type Table meta cache. * - * @author sharajava */ public abstract class AbstractTableMetaCache implements TableMetaCache { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCache.java index 8b8f4a309fc..7c22f62dc80 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCache.java @@ -32,7 +32,6 @@ /** * The type Table meta cache. * - * @author chengxiaoxiao */ @LoadLevel(name = JdbcConstants.DM) public class DmTableMetaCache extends OracleTableMetaCache { @@ -174,4 +173,4 @@ protected IndexMeta toIndexMeta(ResultSet rs, String indexName, ColumnMeta colum } return result; } -} \ No newline at end of file +} diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCache.java index 2bc6da56f94..1c497c0e2d9 100755 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCache.java @@ -29,7 +29,6 @@ /** * The type Table meta cache. * - * @author funkye */ @LoadLevel(name = JdbcConstants.MARIADB) public class MariadbTableMetaCache extends MysqlTableMetaCache { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCache.java index c235feaa505..c85585a13cc 100755 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCache.java @@ -38,7 +38,6 @@ /** * The type Table meta cache. * - * @author sharajava */ @LoadLevel(name = JdbcConstants.MYSQL) public class MysqlTableMetaCache extends AbstractTableMetaCache { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCache.java index 32af0bef053..9ab9bede70d 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCache.java @@ -38,7 +38,6 @@ /** * The type Table meta cache. * - * @author ygy */ @LoadLevel(name = JdbcConstants.ORACLE) public class OracleTableMetaCache extends AbstractTableMetaCache { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PolarDBXTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PolarDBXTableMetaCache.java index b9ebeca2e2b..6055b9315bf 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PolarDBXTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PolarDBXTableMetaCache.java @@ -29,7 +29,6 @@ /** * Table meta cache for PolarDB-X * - * @author hsien999 */ @LoadLevel(name = JdbcConstants.POLARDBX) public class PolarDBXTableMetaCache extends MysqlTableMetaCache { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCache.java index a31cbc625c9..c2def7517b3 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCache.java @@ -34,7 +34,6 @@ /** * The type Table meta cache. * - * @author jaspercloud */ @LoadLevel(name = JdbcConstants.POSTGRESQL) public class PostgresqlTableMetaCache extends AbstractTableMetaCache { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCache.java b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCache.java index 3c544439b9c..7dedc626a27 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCache.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCache.java @@ -37,7 +37,6 @@ /** * The type SqlServer Table meta cache. * - * @author GoodBoyCoder */ @LoadLevel(name = JdbcConstants.SQLSERVER) public class SqlServerTableMetaCache extends AbstractTableMetaCache { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoExecutor.java index 92d60f521ae..4ffed6e5c45 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoExecutor.java @@ -56,8 +56,6 @@ /** * The type Abstract undo executor. * - * @author sharajava - * @author Geng Zhang */ public abstract class AbstractUndoExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoLogManager.java index 66759fae4bc..5fe87f25b3f 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoLogManager.java @@ -53,7 +53,6 @@ import static io.seata.core.exception.TransactionExceptionCode.BranchRollbackFailed_Unretriable; /** - * @author jsbxyyx */ public abstract class AbstractUndoLogManager implements UndoLogManager { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/BranchUndoLog.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/BranchUndoLog.java index 65d95ac558f..850224f6cdd 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/BranchUndoLog.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/BranchUndoLog.java @@ -21,7 +21,6 @@ /** * The type Branch undo log. * - * @author sharajava */ public class BranchUndoLog implements java.io.Serializable { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoDirtyException.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoDirtyException.java index 39c57226c40..9d88f3dfdd0 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoDirtyException.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoDirtyException.java @@ -20,7 +20,6 @@ import java.sql.SQLException; /** - * @author zouwei */ class SQLUndoDirtyException extends SQLException implements Serializable { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoLog.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoLog.java index 876746851ee..ec22334dccb 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoLog.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/SQLUndoLog.java @@ -24,7 +24,6 @@ /** * The type Sql undo log. * - * @author sharajava */ public class SQLUndoLog implements java.io.Serializable { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorFactory.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorFactory.java index c9969fd5cb5..3ee9ba3a407 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorFactory.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorFactory.java @@ -21,7 +21,6 @@ /** * The type Undo executor factory. * - * @author sharajava */ public class UndoExecutorFactory { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolder.java index 368a68d6bea..a3d86cbded6 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolder.java @@ -19,7 +19,6 @@ /** * The Type UndoExecutorHolder * - * @author Zhibei Hao */ public interface UndoExecutorHolder { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolderFactory.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolderFactory.java index eff17e19406..e71383605d4 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolderFactory.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoExecutorHolderFactory.java @@ -25,7 +25,6 @@ /** * The Type UndoExecutorHolderFactory * - * @author Zhibei Hao */ public class UndoExecutorHolderFactory { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogConstants.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogConstants.java index 7afc29a738e..4b21cbe8095 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogConstants.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogConstants.java @@ -22,7 +22,6 @@ import static io.seata.common.DefaultValues.DEFAULT_TRANSACTION_UNDO_LOG_SERIALIZATION; /** - * @author Geng Zhang */ public interface UndoLogConstants { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManager.java index b3ab435512a..1b7a656bfad 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManager.java @@ -28,8 +28,6 @@ /** * The type Undo log manager. * - * @author sharajava - * @author Geng Zhang */ public interface UndoLogManager { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManagerFactory.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManagerFactory.java index cd2aab223d7..e514e7c5f63 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManagerFactory.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogManagerFactory.java @@ -23,7 +23,6 @@ import io.seata.common.util.CollectionUtils; /** - * @author jsbxyyx */ public class UndoLogManagerFactory { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParser.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParser.java index 5d3481919a2..bdb906fbc25 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParser.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParser.java @@ -19,8 +19,6 @@ /** * The interface Undo log parser. * - * @author sharajava - * @author Geng Zhang */ public interface UndoLogParser { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParserFactory.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParserFactory.java index 007fe506925..56713199b93 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParserFactory.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/UndoLogParserFactory.java @@ -26,8 +26,6 @@ /** * The type Undo log parser factory. * - * @author sharajava - * @author Geng Zhang */ public class UndoLogParserFactory { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoDeleteExecutor.java index e49dd01b4b6..8be445df6c7 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoDeleteExecutor.java @@ -33,7 +33,6 @@ /** * The type dm undo delete executor. * - * @author chengxiaoxiao */ public class DmUndoDeleteExecutor extends AbstractUndoExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoExecutorHolder.java index d64f4c3b904..4b201407978 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoExecutorHolder.java @@ -25,7 +25,6 @@ /** * The Type DmUndoExecutorHolder * - * @author: chengxiaoxiao */ @LoadLevel(name = JdbcConstants.DM) public class DmUndoExecutorHolder implements UndoExecutorHolder { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoInsertExecutor.java index ee85bb0e789..e3a84f72a62 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoInsertExecutor.java @@ -35,7 +35,6 @@ /** * The type dm undo insert executor. * - * @author chengxiaoxiao */ public class DmUndoInsertExecutor extends AbstractUndoExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoLogManager.java index 945954f8e88..9f9c3f4a935 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoLogManager.java @@ -35,7 +35,6 @@ import java.util.Date; /** - * @author chengxiaoxiao */ @LoadLevel(name = JdbcConstants.DM) public class DmUndoLogManager extends AbstractUndoLogManager { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoUpdateExecutor.java index 9d56afaec9c..864c5175cec 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/dm/DmUndoUpdateExecutor.java @@ -33,7 +33,6 @@ /** * The type dm undo update executor. * - * @author chengxiaoxiao */ public class DmUndoUpdateExecutor extends AbstractUndoExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutor.java index 1c328aee6ba..8629cc7679d 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutor.java @@ -23,7 +23,6 @@ /** * The type Mariadb undo delete executor. * - * @author funkye */ public class MariadbUndoDeleteExecutor extends MySQLUndoDeleteExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoExecutorHolder.java index 4087b781706..823d314f2e5 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoExecutorHolder.java @@ -25,7 +25,6 @@ /** * The Type MariadbUndoExecutorHolder * - * @author funkye */ @LoadLevel(name = JdbcConstants.MARIADB) public class MariadbUndoExecutorHolder implements UndoExecutorHolder { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoInsertExecutor.java index aeb68363073..e3a1d82fddc 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoInsertExecutor.java @@ -28,7 +28,6 @@ /** * The type Mariadb undo insert executor. * - * @author funkye */ public class MariadbUndoInsertExecutor extends MySQLUndoInsertExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManager.java index 9ee553e0825..5ccd4b2ff99 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManager.java @@ -25,7 +25,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author funkye */ @LoadLevel(name = JdbcConstants.MARIADB) public class MariadbUndoLogManager extends MySQLUndoLogManager { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutor.java index 62b4ae24dbb..75b6e61819e 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutor.java @@ -23,7 +23,6 @@ /** * The type Mariadb undo update executor. * - * @author funkye */ public class MariadbUndoUpdateExecutor extends MySQLUndoUpdateExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutor.java index 0f0ef79c128..9ebf829b4f9 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutor.java @@ -33,7 +33,6 @@ /** * The type My sql undo delete executor. * - * @author sharajava */ public class MySQLUndoDeleteExecutor extends AbstractUndoExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoExecutorHolder.java index 8b0257fa5ad..2567151747a 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoExecutorHolder.java @@ -25,7 +25,6 @@ /** * The Type MySQLUndoExecutorHolder * - * @author Zhibei Hao */ @LoadLevel(name = JdbcConstants.MYSQL) public class MySQLUndoExecutorHolder implements UndoExecutorHolder { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutor.java index 7627b6e38b7..d58a1ae106e 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutor.java @@ -35,7 +35,6 @@ /** * The type My sql undo insert executor. * - * @author sharajava */ public class MySQLUndoInsertExecutor extends AbstractUndoExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManager.java index 16b8db51987..71ec90e5d70 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManager.java @@ -31,7 +31,6 @@ import org.slf4j.LoggerFactory; /** - * @author jsbxyyx */ @LoadLevel(name = JdbcConstants.MYSQL) public class MySQLUndoLogManager extends AbstractUndoLogManager { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutor.java index 6498e32c31b..e58cb5e22b5 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutor.java @@ -33,7 +33,6 @@ /** * The type My sql undo update executor. * - * @author sharajava */ public class MySQLUndoUpdateExecutor extends AbstractUndoExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutor.java index df2954a47e3..581fad92642 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutor.java @@ -33,7 +33,6 @@ /** * The type oracle undo delete executor. * - * @author ccg */ public class OracleUndoDeleteExecutor extends AbstractUndoExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoExecutorHolder.java index 6aa2f4d5238..6c17bd3b16f 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoExecutorHolder.java @@ -25,7 +25,6 @@ /** * The Type OracleUndoExecutorHolder * - * @author Zhibei Hao */ @LoadLevel(name = JdbcConstants.ORACLE) public class OracleUndoExecutorHolder implements UndoExecutorHolder { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutor.java index 3f3bc6a52a6..5ef02ecccc7 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutor.java @@ -35,7 +35,6 @@ /** * The type oralce undo insert executor. * - * @author ccg */ public class OracleUndoInsertExecutor extends AbstractUndoExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoLogManager.java index 82b159c6a87..7eb372db8d3 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoLogManager.java @@ -32,7 +32,6 @@ import org.slf4j.LoggerFactory; /** - * @author jsbxyyx */ @LoadLevel(name = JdbcConstants.ORACLE) public class OracleUndoLogManager extends AbstractUndoLogManager { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutor.java index d2ab021b9f4..e4d1647b57b 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutor.java @@ -33,7 +33,6 @@ /** * The type oracle undo update executor. * - * @author ccg */ public class OracleUndoUpdateExecutor extends AbstractUndoExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParser.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParser.java index 621791785aa..db6f71f4b4e 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParser.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParser.java @@ -28,7 +28,6 @@ /** * The type Json based undo log parser. * - * @author sharajava */ @LoadLevel(name = FastjsonUndoLogParser.NAME) public class FastjsonUndoLogParser implements UndoLogParser, Initialize { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParser.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParser.java index 7cba772c137..b32fd423305 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParser.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParser.java @@ -63,7 +63,6 @@ /** * The type Json based undo log parser. * - * @author jsbxyyx */ @LoadLevel(name = JacksonUndoLogParser.NAME) public class JacksonUndoLogParser implements UndoLogParser, Initialize { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializer.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializer.java index a136f50dfbe..f855ec8e678 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializer.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializer.java @@ -25,7 +25,6 @@ import java.util.Objects; /** - * @author jsbxyyx */ public class KryoSerializer { @@ -54,4 +53,4 @@ public T deserialize(byte[] bytes) { return (T) kryo.readClassAndObject(input); } -} \ No newline at end of file +} diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializerFactory.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializerFactory.java index 9ef0bd98900..f657c4a07cd 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializerFactory.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoSerializerFactory.java @@ -35,7 +35,6 @@ import org.slf4j.LoggerFactory; /** - * @author jsbxyyx */ public class KryoSerializerFactory { @@ -165,4 +164,4 @@ public Timestamp read(Kryo kryo, Input input, Class type) { return timestamp; } } -} \ No newline at end of file +} diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParser.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParser.java index bc877f4832a..62b1af16298 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParser.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParser.java @@ -32,7 +32,6 @@ /** * kryo serializer - * @author jsbxyyx */ @LoadLevel(name = KryoUndoLogParser.NAME) public class KryoUndoLogParser implements UndoLogParser, Initialize { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParser.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParser.java index 7cb4ada4c4b..d4f309bd742 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParser.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParser.java @@ -48,7 +48,6 @@ /** * The type protostuff based undo log parser. * - * @author Geng Zhang */ @LoadLevel(name = ProtostuffUndoLogParser.NAME) public class ProtostuffUndoLogParser implements UndoLogParser, Initialize { @@ -116,7 +115,6 @@ public BranchUndoLog decode(byte[] bytes) { /** * Delegate for java.sql.Timestamp * - * @author zhangsen */ public static class TimestampDelegate implements Delegate { @@ -159,7 +157,6 @@ public void transfer(Pipe pipe, Input input, Output output, int number, boolean /** * Delegate for java.sql.Date * - * @author zhangsen */ public static class SqlDateDelegate implements Delegate { @@ -192,7 +189,6 @@ public void writeTo(Output output, int number, java.sql.Date value, boolean repe /** * Delegate for java.sql.Time * - * @author zhangsen */ public static class TimeDelegate implements Delegate { @@ -225,7 +221,6 @@ public void writeTo(Output output, int number, java.sql.Time value, boolean repe /** * Delegate for java.util.Date * - * @author zhangsen */ public static class DateDelegate implements Delegate { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/UndoLogSerializerClassRegistry.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/UndoLogSerializerClassRegistry.java index e0926f4acf0..d71cb8552b1 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/UndoLogSerializerClassRegistry.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/UndoLogSerializerClassRegistry.java @@ -49,7 +49,6 @@ /** * Provide a unified serialization registry, this class used for {@code seata-serializer-fst} * and {@code seata-serializer-kryo}, it will register some classes at startup time (for example {@link KryoSerializerFactory#create}) - * @author funkye */ public class UndoLogSerializerClassRegistry { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/JacksonSerializer.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/JacksonSerializer.java index eef17b1b955..d0e5227d48e 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/JacksonSerializer.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/JacksonSerializer.java @@ -23,7 +23,6 @@ * The interface Jackson serializer. * * @param the type parameter - * @author jsbxyyx */ public interface JacksonSerializer { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/KryoTypeSerializer.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/KryoTypeSerializer.java index d0af05f1842..11bc3ec3c56 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/KryoTypeSerializer.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/KryoTypeSerializer.java @@ -22,7 +22,6 @@ * The interface Kryo type serializer. * * @param the type parameter - * @author jsbxyyx */ public interface KryoTypeSerializer { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/ProtostuffDelegate.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/ProtostuffDelegate.java index 3b6d753c019..b118ff58f99 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/ProtostuffDelegate.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/parser/spi/ProtostuffDelegate.java @@ -22,7 +22,6 @@ * The interface Protostuff delegate. * * @param the type parameter - * @author jsbxyyx */ public interface ProtostuffDelegate { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutor.java index f21049f9ba3..bc4b3759989 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutor.java @@ -23,7 +23,6 @@ /** * Undo delete executor for PolarDB-X * - * @author hsien999 */ public class PolarDBXUndoDeleteExecutor extends MySQLUndoDeleteExecutor { public PolarDBXUndoDeleteExecutor(SQLUndoLog sqlUndoLog) { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoExecutorHolder.java index d802f733d7d..fb33285e8f7 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoExecutorHolder.java @@ -25,7 +25,6 @@ /** * Undo executor holder for PolarDB-X * - * @author hsien999 */ @LoadLevel(name = JdbcConstants.POLARDBX) public class PolarDBXUndoExecutorHolder implements UndoExecutorHolder { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutor.java index dce805628fe..0c311e3f93e 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutor.java @@ -29,7 +29,6 @@ /** * Undo insert executor for PolarDB-X * - * @author hsien999 */ public class PolarDBXUndoInsertExecutor extends MySQLUndoInsertExecutor { public PolarDBXUndoInsertExecutor(SQLUndoLog sqlUndoLog) { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManager.java index 1f79d5d25b3..2223a3d239b 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManager.java @@ -28,7 +28,6 @@ /** * Undo log manager for PolarDB-X * - * @author hsien999 */ @LoadLevel(name = JdbcConstants.POLARDBX) public class PolarDBXUndoLogManager extends MySQLUndoLogManager { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutor.java index 3cc50d49acf..e15c2cd5f65 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutor.java @@ -23,7 +23,6 @@ /** * Undo update executor for PolarDB-X * - * @author hsien999 */ public class PolarDBXUndoUpdateExecutor extends MySQLUndoUpdateExecutor { public PolarDBXUndoUpdateExecutor(SQLUndoLog sqlUndoLog) { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoDeleteExecutor.java index 68d83b689d5..b13820b9198 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoDeleteExecutor.java @@ -33,7 +33,6 @@ /** * The type postgresql undo delete executor. * - * @author japsercloud */ public class PostgresqlUndoDeleteExecutor extends AbstractUndoExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoExecutorHolder.java index 356959662ff..599b76f370b 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoExecutorHolder.java @@ -25,7 +25,6 @@ /** * The Type PostgresqlUndoExecutorHolder * - * @author will */ @LoadLevel(name = JdbcConstants.POSTGRESQL) public class PostgresqlUndoExecutorHolder implements UndoExecutorHolder { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoInsertExecutor.java index 2e8157fa0a3..33356eabc18 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoInsertExecutor.java @@ -35,7 +35,6 @@ /** * The type postgresql undo insert executor. * - * @author japsercloud */ public class PostgresqlUndoInsertExecutor extends AbstractUndoExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoLogManager.java index 9d0b8236605..72fc1230982 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoLogManager.java @@ -31,7 +31,6 @@ import org.slf4j.LoggerFactory; /** - * @author japsercloud */ @LoadLevel(name = JdbcConstants.POSTGRESQL) public class PostgresqlUndoLogManager extends AbstractUndoLogManager { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoUpdateExecutor.java index 63450de8695..79753bf638d 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/postgresql/PostgresqlUndoUpdateExecutor.java @@ -31,7 +31,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author japsercloud */ public class PostgresqlUndoUpdateExecutor extends AbstractUndoExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/BaseSqlServerUndoExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/BaseSqlServerUndoExecutor.java index a74f9d2e64d..d149f3af944 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/BaseSqlServerUndoExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/BaseSqlServerUndoExecutor.java @@ -20,7 +20,6 @@ import io.seata.rm.datasource.undo.SQLUndoLog; /** - * @author GoodBoyCoder * @date 2021-07-26 */ public abstract class BaseSqlServerUndoExecutor extends AbstractUndoExecutor { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutor.java index c39ea746d2d..7417997f6da 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutor.java @@ -30,7 +30,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author GoodBoyCoder */ public class SqlServerUndoDeleteExecutor extends BaseSqlServerUndoExecutor { /** diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoExecutorHolder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoExecutorHolder.java index b17ea9176d7..11480f03662 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoExecutorHolder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoExecutorHolder.java @@ -23,7 +23,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author GoodBoyCoder */ @LoadLevel(name = JdbcConstants.SQLSERVER) public class SqlServerUndoExecutorHolder implements UndoExecutorHolder { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutor.java index f4824e67524..6c2a97d32e3 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutor.java @@ -32,7 +32,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author GoodBoyCoder */ public class SqlServerUndoInsertExecutor extends BaseSqlServerUndoExecutor { /** diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoLogManager.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoLogManager.java index e316bd42c72..702a8344428 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoLogManager.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoLogManager.java @@ -31,7 +31,6 @@ import org.slf4j.LoggerFactory; /** - * @author GoodBoyCoder */ @LoadLevel(name = JdbcConstants.SQLSERVER) public class SqlServerUndoLogManager extends AbstractUndoLogManager { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutor.java index dedd599a30e..c9b51716078 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutor.java @@ -30,7 +30,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author GoodBoyCoder */ public class SqlServerUndoUpdateExecutor extends BaseSqlServerUndoExecutor { /** diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/util/JdbcUtils.java b/rm-datasource/src/main/java/io/seata/rm/datasource/util/JdbcUtils.java index 801b2d892ad..4cd17f12d99 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/util/JdbcUtils.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/util/JdbcUtils.java @@ -30,8 +30,6 @@ import java.sql.SQLException; /** - * @author ggndnn - * @author sharajava */ public final class JdbcUtils { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/util/OffsetTimeUtils.java b/rm-datasource/src/main/java/io/seata/rm/datasource/util/OffsetTimeUtils.java index 716e9561dd4..98e6279d62a 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/util/OffsetTimeUtils.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/util/OffsetTimeUtils.java @@ -33,7 +33,6 @@ * @see java.time.ZoneId * * - * @author doubleDimple */ public class OffsetTimeUtils { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/util/SeataXAResource.java b/rm-datasource/src/main/java/io/seata/rm/datasource/util/SeataXAResource.java index 7745eaa0132..4112fded817 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/util/SeataXAResource.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/util/SeataXAResource.java @@ -19,7 +19,6 @@ import javax.transaction.xa.XAResource; /** - * @author PeppaO * @since 2023/3/16 */ public interface SeataXAResource extends XAResource { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractConnectionProxyXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractConnectionProxyXA.java index 61f1f5ea947..bbf0bbab881 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractConnectionProxyXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractConnectionProxyXA.java @@ -43,7 +43,6 @@ /** * The type Abstract connection proxy on XA mode. * - * @author sharajava */ public abstract class AbstractConnectionProxyXA implements Connection { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractDataSourceProxyXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractDataSourceProxyXA.java index 3ba9a0d249c..f7da6db2d23 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractDataSourceProxyXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/AbstractDataSourceProxyXA.java @@ -24,7 +24,6 @@ /** * Abstract DataSource proxy for XA mode. * - * @author sharajava */ public abstract class AbstractDataSourceProxyXA extends BaseDataSourceResource { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ConnectionProxyXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ConnectionProxyXA.java index e087cabcfe3..6d6b46d9698 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ConnectionProxyXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ConnectionProxyXA.java @@ -41,7 +41,6 @@ /** * Connection proxy for XA mode. * - * @author sharajava */ public class ConnectionProxyXA extends AbstractConnectionProxyXA implements Holdable { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXA.java index 67b10438c69..8f6f98fd797 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXA.java @@ -38,7 +38,6 @@ /** * DataSource proxy for XA mode. * - * @author sharajava */ public class DataSourceProxyXA extends AbstractDataSourceProxyXA { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXANative.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXANative.java index c4abf0cf8a1..1a0a3b3596e 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXANative.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/DataSourceProxyXANative.java @@ -29,7 +29,6 @@ /** * DataSource proxy to wrap a XADataSource. * - * @author sharajava */ public class DataSourceProxyXANative extends AbstractDataSourceProxyXA { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ExecuteTemplateXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ExecuteTemplateXA.java index 5e747686cf3..59c3ab6abd5 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ExecuteTemplateXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ExecuteTemplateXA.java @@ -26,7 +26,6 @@ /** * The type Execute template. * - * @author sharajava */ public class ExecuteTemplateXA { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/PreparedStatementProxyXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/PreparedStatementProxyXA.java index d9944a1dabc..a83485702de 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/PreparedStatementProxyXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/PreparedStatementProxyXA.java @@ -40,7 +40,6 @@ /** * PreparedStatement proxy for XA mode. * - * @author sharajava */ public class PreparedStatementProxyXA extends StatementProxyXA implements PreparedStatement { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ResourceManagerXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ResourceManagerXA.java index a1142006d5e..2d87da573d7 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ResourceManagerXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/ResourceManagerXA.java @@ -39,7 +39,6 @@ /** * RM for XA mode. * - * @author sharajava */ public class ResourceManagerXA extends AbstractDataSourceCacheResourceManager { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/StatementProxyXA.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/StatementProxyXA.java index 294b67a4b8a..850607f8b44 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/StatementProxyXA.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/StatementProxyXA.java @@ -25,7 +25,6 @@ /** * Statement proxy for XA mode. * - * @author sharajava */ public class StatementProxyXA implements Statement { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XABranchXid.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XABranchXid.java index edb0be6e470..1e214c10798 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XABranchXid.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XABranchXid.java @@ -21,7 +21,6 @@ /** * Xid in XA Protocol. Wrap info of Seata xid and branchId. * - * @author sharajava */ public class XABranchXid implements XAXid { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXid.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXid.java index 8c1bf34be68..02263e8cd42 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXid.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXid.java @@ -21,7 +21,6 @@ /** * Seata XA Mode defined XA-Xid. * - * @author sharajava */ public interface XAXid extends Xid { diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXidBuilder.java b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXidBuilder.java index 7adf126b1ac..29167a4b4c4 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXidBuilder.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/xa/XAXidBuilder.java @@ -19,7 +19,6 @@ /** * XA-Xid builder. * - * @author sharajava */ public class XAXidBuilder { diff --git a/rm-datasource/src/test/java/io/seata/rm/GlobalLockTemplateTest.java b/rm-datasource/src/test/java/io/seata/rm/GlobalLockTemplateTest.java index ee1a15e1f9c..4cdc3174292 100644 --- a/rm-datasource/src/test/java/io/seata/rm/GlobalLockTemplateTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/GlobalLockTemplateTest.java @@ -26,7 +26,6 @@ import static org.junit.jupiter.api.Assertions.*; /** - * @author selfishlover */ public class GlobalLockTemplateTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/RMHandlerATTest.java b/rm-datasource/src/test/java/io/seata/rm/RMHandlerATTest.java index fd6f6da9829..d2e08982c54 100644 --- a/rm-datasource/src/test/java/io/seata/rm/RMHandlerATTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/RMHandlerATTest.java @@ -40,7 +40,6 @@ import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; /** - * @author selfishlover */ class RMHandlerATTest { @@ -95,4 +94,4 @@ private UndoLogDeleteRequest buildRequest() { request.setSaveDays((short) 1); return request; } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/AsyncWorkerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/AsyncWorkerTest.java index 1d828be0ee2..dd70e02956f 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/AsyncWorkerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/AsyncWorkerTest.java @@ -71,4 +71,4 @@ private Stream generateContextStream(String resourceI private AsyncWorker.Phase2Context buildContext(String resourceId) { return new AsyncWorker.Phase2Context("test", 0, resourceId); } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/ColumnUtilsTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/ColumnUtilsTest.java index 8e4efdd50b3..4782c26e26c 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/ColumnUtilsTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/ColumnUtilsTest.java @@ -25,7 +25,6 @@ import java.util.List; /** - * @author jsbxyyx */ public class ColumnUtilsTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionContextProxyTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionContextProxyTest.java index e6e82cb90fd..8ce0c2139f3 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionContextProxyTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionContextProxyTest.java @@ -30,7 +30,6 @@ /** * ConnectionContextProxy test * - * @author chd */ public class ConnectionContextProxyTest { ConnectionContext connectionContext = new ConnectionContext(); diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionProxyTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionProxyTest.java index 4bf0f45d2a9..fcf4548f379 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionProxyTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/ConnectionProxyTest.java @@ -42,7 +42,6 @@ /** * ConnectionProxy test * - * @author ggndnn */ @EnabledOnJre({JRE.JAVA_8, JRE.JAVA_11}) // `ReflectionUtil.modifyStaticFinalField` does not supported java17 and above versions public class ConnectionProxyTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/DataCompareUtilsTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/DataCompareUtilsTest.java index 5c617fbd2a6..a5984c8617d 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/DataCompareUtilsTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/DataCompareUtilsTest.java @@ -31,7 +31,6 @@ import java.util.Map; /** - * @author Geng Zhang */ public class DataCompareUtilsTest { @@ -221,4 +220,4 @@ public void testRowListToMapWithMultipPk(){ Assertions.assertEquals(result.keySet().iterator().next(),"1_2"); } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java index 5e713afcaa0..aafae33d0d0 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java @@ -38,7 +38,6 @@ import static org.mockito.Mockito.*; /** - * @author ph3636 */ public class DataSourceProxyTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/PreparedStatementProxyTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/PreparedStatementProxyTest.java index 3a869d9e65a..b7ad28fede8 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/PreparedStatementProxyTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/PreparedStatementProxyTest.java @@ -65,7 +65,6 @@ import static org.mockito.ArgumentMatchers.anyString; /** - * @author will */ public class PreparedStatementProxyTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/SqlGenerateUtilsTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/SqlGenerateUtilsTest.java index 2431bb897a6..2780bb34edf 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/SqlGenerateUtilsTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/SqlGenerateUtilsTest.java @@ -24,7 +24,6 @@ import org.junit.jupiter.api.Test; /** - * @author slievrly */ class SqlGenerateUtilsTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/StatementProxyTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/StatementProxyTest.java index 37d090750ad..e4535fbca8a 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/StatementProxyTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/StatementProxyTest.java @@ -53,7 +53,6 @@ import static org.mockito.ArgumentMatchers.anyString; /** - * @author will */ @TestMethodOrder(MethodOrderer.Alphanumeric.class) public class StatementProxyTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutorTest.java index d3caec9af01..f8de972c3b6 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/AbstractDMLBaseExecutorTest.java @@ -43,7 +43,6 @@ /** * AbstractDMLBaseExecutor test * - * @author ggndnn */ @EnabledOnJre({JRE.JAVA_8, JRE.JAVA_11}) // `ReflectionUtil.modifyStaticFinalField` does not supported java17 and above versions public class AbstractDMLBaseExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/BatchInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/BatchInsertExecutorTest.java index b4a110d03b3..75c6b156a68 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/BatchInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/BatchInsertExecutorTest.java @@ -44,7 +44,6 @@ /** * batch insert executor test * - * @author zjinlei */ public class BatchInsertExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java index 0d7b514e075..d548c6f8481 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DeleteExecutorTest.java @@ -49,7 +49,6 @@ import static org.mockito.Mockito.when; /** - * @author will */ public class DeleteExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DmInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DmInsertExecutorTest.java index 3570b1c88ee..0cfc65327ad 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DmInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/DmInsertExecutorTest.java @@ -44,7 +44,6 @@ import static org.mockito.Mockito.when; /** - * @author Jefferlau */ public class DmInsertExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/LockRetryControllerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/LockRetryControllerTest.java index 8879eff713c..dde448e47eb 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/LockRetryControllerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/LockRetryControllerTest.java @@ -28,7 +28,6 @@ import static org.junit.jupiter.api.Assertions.*; /** - * @author selfishlover */ public class LockRetryControllerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertExecutorTest.java index aa80b4fae2b..8c2b528fa04 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertExecutorTest.java @@ -48,7 +48,6 @@ import static org.mockito.Mockito.when; /** - * @author funkye */ public class MariadbInsertExecutorTest extends MySQLInsertExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertOnDuplicateUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertOnDuplicateUpdateExecutorTest.java index 24cf87897f4..c36d70c1475 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertOnDuplicateUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MariadbInsertOnDuplicateUpdateExecutorTest.java @@ -44,7 +44,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author funkye */ public class MariadbInsertOnDuplicateUpdateExecutorTest extends MySQLInsertOnDuplicateUpdateExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertExecutorTest.java index b35951629ed..1f711d5c470 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertExecutorTest.java @@ -69,7 +69,6 @@ import static org.mockito.Mockito.when; /** - * @author guoyao, jsbxyyx */ public class MySQLInsertExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertOnDuplicateUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertOnDuplicateUpdateExecutorTest.java index 81b727be081..17c28ccebeb 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertOnDuplicateUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/MySQLInsertOnDuplicateUpdateExecutorTest.java @@ -49,7 +49,6 @@ /** - * @author: yangyicong */ public class MySQLInsertOnDuplicateUpdateExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/OracleInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/OracleInsertExecutorTest.java index 1bb49e883e4..ab18656e4ae 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/OracleInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/OracleInsertExecutorTest.java @@ -47,7 +47,6 @@ import static org.mockito.Mockito.when; /** - * @author jsbxyyx */ public class OracleInsertExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PlainExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PlainExecutorTest.java index 2ea9af69008..e5d07ae740c 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PlainExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PlainExecutorTest.java @@ -32,7 +32,6 @@ import org.junit.jupiter.api.Test; /** - * @author will */ public class PlainExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertExecutorTest.java index cb74b08cfd6..38b9d5cc94b 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertExecutorTest.java @@ -47,7 +47,6 @@ /** * Insert executor test for PolarDB-X * - * @author hsien999 */ public class PolarDBXInsertExecutorTest extends MySQLInsertExecutorTest { @BeforeEach diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertOnDuplicateUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertOnDuplicateUpdateExecutorTest.java index 9b34f86ac28..2d32598571b 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertOnDuplicateUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PolarDBXInsertOnDuplicateUpdateExecutorTest.java @@ -44,7 +44,6 @@ /** * Insert on duplicate update executor test for PolarDB-X * - * @author hsien999 */ public class PolarDBXInsertOnDuplicateUpdateExecutorTest extends MySQLInsertOnDuplicateUpdateExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PostgresqlInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PostgresqlInsertExecutorTest.java index ddf161ebe0a..8a9da668682 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PostgresqlInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/PostgresqlInsertExecutorTest.java @@ -44,7 +44,6 @@ import static org.mockito.Mockito.when; /** - * @author jsbxyyx */ public class PostgresqlInsertExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SelectForUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SelectForUpdateExecutorTest.java index fb3232d0e3d..506d8e2508f 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SelectForUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SelectForUpdateExecutorTest.java @@ -46,7 +46,6 @@ import static org.mockito.ArgumentMatchers.anyString; /** - * @author will */ public class SelectForUpdateExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SqlServerInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SqlServerInsertExecutorTest.java index 57f0bfd9643..5010150c2bb 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SqlServerInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/SqlServerInsertExecutorTest.java @@ -45,7 +45,6 @@ import static org.mockito.Mockito.when; /** - * @author GoodBoyCoder */ public class SqlServerInsertExecutorTest { private static final String ID_COLUMN = "id"; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java index 67da4655e7f..80bdaf0b2d7 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateExecutorTest.java @@ -42,7 +42,6 @@ import org.junit.jupiter.api.Test; /** - * @author will */ public class UpdateExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateJoinExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateJoinExecutorTest.java index ee6498cad66..f0bbee6abb0 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateJoinExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/exec/UpdateJoinExecutorTest.java @@ -46,7 +46,6 @@ import static org.mockito.ArgumentMatchers.anyString; /** - * @author renliangyu857 */ public class UpdateJoinExecutorTest { @Test diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockBlob.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockBlob.java index 48fa977c4a5..b01c9ce7623 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockBlob.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockBlob.java @@ -22,7 +22,6 @@ import java.sql.SQLException; /** - * @author will */ public class MockBlob implements Blob { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockClob.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockClob.java index aab39054367..2c0adfbe2af 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockClob.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockClob.java @@ -26,7 +26,6 @@ import java.sql.SQLException; /** - * @author will */ public class MockClob implements Clob { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnection.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnection.java index b4d94939a0f..e87db43cff1 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnection.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnection.java @@ -23,7 +23,6 @@ /** * Mock connection - * @author will */ public class MockConnection extends com.alibaba.druid.mock.MockConnection { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnectionProxy.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnectionProxy.java index 4defa5cedcb..5b26da39aa1 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnectionProxy.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockConnectionProxy.java @@ -23,7 +23,6 @@ import io.seata.rm.datasource.DataSourceProxy; /** - * @author will */ public class MockConnectionProxy extends ConnectionProxy { /** diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDataSource.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDataSource.java index cca73fda5ab..f9949b77d83 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDataSource.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDataSource.java @@ -24,7 +24,6 @@ import java.util.logging.Logger; /** - * @author wang.liang */ public class MockDataSource implements DataSource { @Override diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDatabaseMetaData.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDatabaseMetaData.java index 6e67dfc34d3..3e7f1e02aaa 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDatabaseMetaData.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDatabaseMetaData.java @@ -28,7 +28,6 @@ import com.alibaba.druid.mock.MockStatementBase; /** - * @author will */ public class MockDatabaseMetaData implements DatabaseMetaData { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDriver.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDriver.java index 5774a363f79..5541c7e707d 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDriver.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockDriver.java @@ -29,7 +29,6 @@ /** * Mock driver - * @author will */ public class MockDriver extends com.alibaba.druid.mock.MockDriver { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockExecuteHandlerImpl.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockExecuteHandlerImpl.java index 9af9e7b0504..c7971ff1bc1 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockExecuteHandlerImpl.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockExecuteHandlerImpl.java @@ -33,7 +33,6 @@ import com.alibaba.druid.mock.handler.MockExecuteHandler; /** - * @author will */ public class MockExecuteHandlerImpl implements MockExecuteHandler { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockLockConflictConnectionProxy.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockLockConflictConnectionProxy.java index fd96145623a..394c4b8cf62 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockLockConflictConnectionProxy.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockLockConflictConnectionProxy.java @@ -25,7 +25,6 @@ import io.seata.rm.datasource.exec.LockConflictException; /** - * @author will */ public class MockLockConflictConnectionProxy extends ConnectionProxy { /** diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockMariadbDataSource.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockMariadbDataSource.java index afb62a5ed39..90eae013333 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockMariadbDataSource.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockMariadbDataSource.java @@ -20,7 +20,6 @@ import java.sql.SQLException; /** - * @author funkye */ public class MockMariadbDataSource extends MockDataSource { @Override diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockParameterMetaData.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockParameterMetaData.java index 42bc305dd2c..031ad56bc05 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockParameterMetaData.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockParameterMetaData.java @@ -20,7 +20,6 @@ import java.sql.SQLException; /** - * @author will */ public class MockParameterMetaData implements ParameterMetaData { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockPreparedStatement.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockPreparedStatement.java index 0873effbc38..1802115b78e 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockPreparedStatement.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockPreparedStatement.java @@ -24,7 +24,6 @@ import com.alibaba.druid.util.jdbc.PreparedStatementBase; /** - * @author will */ public class MockPreparedStatement extends PreparedStatementBase implements MockStatementBase { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSet.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSet.java index 4b08b3a1cc1..cbac6b823a5 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSet.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSet.java @@ -32,7 +32,6 @@ import org.slf4j.LoggerFactory; /** - * @author will */ public class MockResultSet extends ResultSetBase { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSetMetaData.java b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSetMetaData.java index 9b0d06eb17e..2fa481679f7 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSetMetaData.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/mock/MockResultSetMetaData.java @@ -24,7 +24,6 @@ import io.seata.sqlparser.struct.ColumnMeta; /** - * @author will */ public class MockResultSetMetaData implements ResultSetMetaData { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmDeleteRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmDeleteRecognizerTest.java index 56ad7c2622a..e2bbab030cd 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmDeleteRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmDeleteRecognizerTest.java @@ -31,7 +31,6 @@ import org.junit.jupiter.api.Test; /** - * @author Jefferlau */ public class DmDeleteRecognizerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmInsertRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmInsertRecognizerTest.java index a4d61b219f4..1e1a03180cf 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmInsertRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmInsertRecognizerTest.java @@ -30,7 +30,6 @@ import org.junit.jupiter.api.Test; /** - * @author Jefferlau */ public class DmInsertRecognizerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmSelectForUpdateRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmSelectForUpdateRecognizerTest.java index 003eb53deb8..cb741da59df 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmSelectForUpdateRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmSelectForUpdateRecognizerTest.java @@ -30,7 +30,6 @@ import org.junit.jupiter.api.Test; /** - * @author Jefferlau */ public class DmSelectForUpdateRecognizerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmUpdateRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmUpdateRecognizerTest.java index 9a39e47ee75..45cb3a69d0f 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmUpdateRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/dm/DmUpdateRecognizerTest.java @@ -32,7 +32,6 @@ import org.junit.jupiter.api.Test; /** - * @author Jefferlau */ public class DmUpdateRecognizerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleDeleteRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleDeleteRecognizerTest.java index 2800da0d766..b02a9c7ca57 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleDeleteRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleDeleteRecognizerTest.java @@ -31,7 +31,6 @@ import org.junit.jupiter.api.Test; /** - * @author will */ public class OracleDeleteRecognizerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleInsertRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleInsertRecognizerTest.java index 27d47bfd700..0dc1b5c6240 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleInsertRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleInsertRecognizerTest.java @@ -30,7 +30,6 @@ import org.junit.jupiter.api.Test; /** - * @author will */ public class OracleInsertRecognizerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleSelectForUpdateRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleSelectForUpdateRecognizerTest.java index 2a1ffbf578b..a7dae06ad93 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleSelectForUpdateRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleSelectForUpdateRecognizerTest.java @@ -31,7 +31,6 @@ import java.util.Map; /** - * @author will */ public class OracleSelectForUpdateRecognizerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleUpdateRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleUpdateRecognizerTest.java index 8056cb61eed..f6233a80bc1 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleUpdateRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/oracle/OracleUpdateRecognizerTest.java @@ -33,7 +33,6 @@ import java.util.Map; /** - * @author will */ public class OracleUpdateRecognizerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlDeleteRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlDeleteRecognizerTest.java index 55997c94a57..0329df5ab7a 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlDeleteRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlDeleteRecognizerTest.java @@ -32,7 +32,6 @@ import org.junit.jupiter.api.Test; /** - * @author will */ public class PostgresqlDeleteRecognizerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlInsertRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlInsertRecognizerTest.java index 07ce547b806..e9f21304f9f 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlInsertRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlInsertRecognizerTest.java @@ -34,7 +34,6 @@ import org.junit.jupiter.api.Test; /** - * @author will */ public class PostgresqlInsertRecognizerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlSelectForUpdateRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlSelectForUpdateRecognizerTest.java index 4a4327f3add..52704a54f1f 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlSelectForUpdateRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlSelectForUpdateRecognizerTest.java @@ -27,7 +27,6 @@ import org.junit.jupiter.api.Test; /** - * @author will */ public class PostgresqlSelectForUpdateRecognizerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlUpdateRecognizerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlUpdateRecognizerTest.java index 73e70a25e6d..0ef388c43f5 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlUpdateRecognizerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/druid/postgresql/PostgresqlUpdateRecognizerTest.java @@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test; /** - * @author will */ public class PostgresqlUpdateRecognizerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/handler/EscapeHandlerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/handler/EscapeHandlerTest.java index 9a843ce3072..ce264a91320 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/handler/EscapeHandlerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/handler/EscapeHandlerTest.java @@ -34,7 +34,6 @@ /** * The type Escape handler test. * - * @author slievrly */ public class EscapeHandlerTest { /** diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/ColumnMetaTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/ColumnMetaTest.java index 057b8c5b10c..ae5d8ee6b76 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/ColumnMetaTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/ColumnMetaTest.java @@ -21,7 +21,6 @@ import org.junit.jupiter.api.Test; /** - * @author will */ public class ColumnMetaTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexMetaTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexMetaTest.java index 17cd242f4c1..15b3020b2d9 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexMetaTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexMetaTest.java @@ -24,7 +24,6 @@ import org.junit.jupiter.api.Test; /** - * @author will */ public class IndexMetaTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexTypeTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexTypeTest.java index 85ebd134dc6..beaa04d77da 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexTypeTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/IndexTypeTest.java @@ -21,7 +21,6 @@ import org.junit.jupiter.api.Test; /** - * @author will */ public class IndexTypeTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactoryTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactoryTest.java index 70c4956cd3f..527a943b266 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactoryTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaCacheFactoryTest.java @@ -27,7 +27,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author guoyao */ public class TableMetaCacheFactoryTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaTest.java index 3294064a19c..5b8d0db4cf9 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableMetaTest.java @@ -28,7 +28,6 @@ import java.util.List; /** - * @author will */ public class TableMetaTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableRecordsTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableRecordsTest.java index db64bca880b..505fc0832eb 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableRecordsTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/TableRecordsTest.java @@ -38,7 +38,6 @@ /** * the table records test - * @author will */ public class TableRecordsTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCacheTest.java index 35cf70a4566..d96eb18e7bc 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/DmTableMetaCacheTest.java @@ -30,7 +30,6 @@ import org.junit.jupiter.api.Test; /** - * @author Jefferlau */ public class DmTableMetaCacheTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCacheTest.java index 6f6acb2eef5..a7a33c1f276 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCacheTest.java @@ -46,7 +46,6 @@ /** * The table meta fetch test. * - * @author funkye */ public class MariadbTableMetaCacheTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCacheTest.java index fe4d851a4d6..247242b5531 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCacheTest.java @@ -49,7 +49,6 @@ /** * The table meta fetch test. * - * @author hanwen created at 2019-02-01 */ public class MysqlTableMetaCacheTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCacheTest.java index 1ae071a3df4..847c4f25b80 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/OracleTableMetaCacheTest.java @@ -39,7 +39,6 @@ import static org.mockito.ArgumentMatchers.anyString; /** - * @author will.zjw */ public class OracleTableMetaCacheTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCacheTest.java index 04920788c17..6b1e6f48240 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/PostgresqlTableMetaCacheTest.java @@ -41,7 +41,6 @@ import static org.mockito.ArgumentMatchers.anyString; /** - * @author will.zjw */ public class PostgresqlTableMetaCacheTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCacheTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCacheTest.java index 4cbe67d32ee..c1a1f257c32 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCacheTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/sql/struct/cache/SqlServerTableMetaCacheTest.java @@ -45,7 +45,6 @@ import static org.mockito.Mockito.mock; /** - * @author GoodBoyCoder */ public class SqlServerTableMetaCacheTest { private static Object[][] columnMetas = diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/AbstractUndoExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/AbstractUndoExecutorTest.java index e2de57bb55e..c3d8bc6fe4a 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/AbstractUndoExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/AbstractUndoExecutorTest.java @@ -31,7 +31,6 @@ import java.util.*; /** - * @author Geng Zhang */ public class AbstractUndoExecutorTest extends BaseH2Test { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseExecutorTest.java index aade064c19a..b5b4d00bcf2 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseExecutorTest.java @@ -21,7 +21,6 @@ import io.seata.rm.datasource.sql.struct.Row; /** - * @author Geng Zhang */ public abstract class BaseExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseH2Test.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseH2Test.java index fda2e278af7..b4bf65ef670 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseH2Test.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseH2Test.java @@ -45,7 +45,6 @@ import static org.mockito.ArgumentMatchers.anyString; /** - * @author Geng Zhang */ public abstract class BaseH2Test { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseUndoLogParserTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseUndoLogParserTest.java index 8a6939cbd85..386b6a28aac 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseUndoLogParserTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/BaseUndoLogParserTest.java @@ -35,7 +35,6 @@ import org.slf4j.LoggerFactory; /** - * @author Geng Zhang */ public abstract class BaseUndoLogParserTest extends BaseH2Test { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/EscapeHandlerFactoryTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/EscapeHandlerFactoryTest.java index 16c81106788..ff751d3fda2 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/EscapeHandlerFactoryTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/EscapeHandlerFactoryTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; /** - * @author will */ public class EscapeHandlerFactoryTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogManagerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogManagerTest.java index da3a5da2bbf..54382215609 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogManagerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogManagerTest.java @@ -34,7 +34,6 @@ import static org.mockito.Mockito.when; /** - * @author guoyao */ public class UndoLogManagerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserFactoryTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserFactoryTest.java index a7dc09a2150..aaaf4bc3e45 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserFactoryTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserFactoryTest.java @@ -21,7 +21,6 @@ import org.junit.jupiter.api.Test; /** - * @author Geng Zhang */ class UndoLogParserFactoryTest { @@ -30,4 +29,4 @@ void getInstance() { Assertions.assertThrowsExactly(IllegalArgumentException.class, () -> UndoLogParserFactory.getInstance("fst")); Assertions.assertTrue(UndoLogParserFactory.getInstance() instanceof JacksonUndoLogParser); } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserProviderTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserProviderTest.java index ee7ddc6ea7d..6425a5b9c01 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserProviderTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/UndoLogParserProviderTest.java @@ -27,7 +27,6 @@ import io.seata.rm.datasource.undo.parser.ProtostuffUndoLogParser; /** - * @author Geng Zhang */ class UndoLogParserProviderTest { @@ -56,4 +55,4 @@ void testLoad(){ Assertions.assertTrue(e instanceof EnhancedServiceNotFoundException); } } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/h2/keyword/H2EscapeHandler.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/h2/keyword/H2EscapeHandler.java index fbf38a214bb..6fcb055ac28 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/h2/keyword/H2EscapeHandler.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/h2/keyword/H2EscapeHandler.java @@ -21,7 +21,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author JerryYin */ @LoadLevel(name = JdbcConstants.H2) public class H2EscapeHandler extends MySQLEscapeHandler { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbLUndoInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbLUndoInsertExecutorTest.java index a2f4c61ffc4..fb3dee5cc88 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbLUndoInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbLUndoInsertExecutorTest.java @@ -33,7 +33,6 @@ import io.seata.sqlparser.SQLType; /** - * @author funkye */ public class MariadbLUndoInsertExecutorTest extends BaseExecutorTest { @@ -95,4 +94,4 @@ public void buildUndoSQL() { public void getUndoRows() { Assertions.assertEquals(executor.getUndoRows(), executor.getSqlUndoLog().getAfterImage()); } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutorTest.java index d8722695cd0..c7b425781e4 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoDeleteExecutorTest.java @@ -33,7 +33,6 @@ import io.seata.sqlparser.SQLType; /** - * @author funkye */ public class MariadbUndoDeleteExecutorTest extends BaseExecutorTest { @@ -95,4 +94,4 @@ public void buildUndoSQL() { public void getUndoRows() { Assertions.assertEquals(executor.getUndoRows(), executor.getSqlUndoLog().getBeforeImage()); } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManagerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManagerTest.java index 877f428c9e0..8405f72ab1e 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManagerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoLogManagerTest.java @@ -63,7 +63,6 @@ import static org.mockito.Mockito.when; /** - * @author funkye */ public class MariadbUndoLogManagerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutorTest.java index 3bd0802d007..a7d4a3e1650 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/MariadbUndoUpdateExecutorTest.java @@ -33,7 +33,6 @@ import io.seata.sqlparser.SQLType; /** - * @author funkye */ public class MariadbUndoUpdateExecutorTest extends BaseExecutorTest { @@ -97,4 +96,4 @@ public void getUndoRows() { Assertions.assertEquals(executor.getUndoRows(), executor.getSqlUndoLog().getBeforeImage()); } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/keyword/MariadbEscapeHandlerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/keyword/MariadbEscapeHandlerTest.java index 4cdd1927a97..d47c1eb91df 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/keyword/MariadbEscapeHandlerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mariadb/keyword/MariadbEscapeHandlerTest.java @@ -36,7 +36,6 @@ /** * The type Mariadb keyword checker test. * - * @author funkye */ public class MariadbEscapeHandlerTest { /** diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutorTest.java index 44c9ab7bc58..568670935d1 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutorTest.java @@ -32,7 +32,6 @@ import java.util.List; /** - * @author Geng Zhang */ public class MySQLUndoDeleteExecutorTest extends BaseExecutorTest { @@ -94,4 +93,4 @@ public void buildUndoSQL() { public void getUndoRows() { Assertions.assertEquals(executor.getUndoRows(), executor.getSqlUndoLog().getBeforeImage()); } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutorTest.java index ac2fec5a2a8..74154f1fb22 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoInsertExecutorTest.java @@ -32,7 +32,6 @@ import java.util.List; /** - * @author Geng Zhang */ public class MySQLUndoInsertExecutorTest extends BaseExecutorTest { @@ -94,4 +93,4 @@ public void buildUndoSQL() { public void getUndoRows() { Assertions.assertEquals(executor.getUndoRows(), executor.getSqlUndoLog().getAfterImage()); } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManagerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManagerTest.java index 07ad2854319..14c594fa759 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManagerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoLogManagerTest.java @@ -60,7 +60,6 @@ import static org.mockito.ArgumentMatchers.anyString; /** - * @author will */ public class MySQLUndoLogManagerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutorTest.java index e1683300567..d0cb439ebee 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutorTest.java @@ -32,7 +32,6 @@ import java.util.List; /** - * @author Geng Zhang */ public class MySQLUndoUpdateExecutorTest extends BaseExecutorTest { @@ -96,4 +95,4 @@ public void getUndoRows() { Assertions.assertEquals(executor.getUndoRows(), executor.getSqlUndoLog().getBeforeImage()); } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/keyword/MySQLEscapeHandlerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/keyword/MySQLEscapeHandlerTest.java index 8f469cab9e9..0fcc3deb986 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/keyword/MySQLEscapeHandlerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/mysql/keyword/MySQLEscapeHandlerTest.java @@ -38,7 +38,6 @@ /** * The type My sql keyword checker test. * - * @author Wu */ public class MySQLEscapeHandlerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutorTest.java index 29c5a058b57..8652bff655d 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoDeleteExecutorTest.java @@ -31,7 +31,6 @@ import java.util.List; /** - * @author jsbxyyx */ public class OracleUndoDeleteExecutorTest extends BaseExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutorTest.java index 59626c6d188..41f07df6d2f 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoInsertExecutorTest.java @@ -31,7 +31,6 @@ import java.util.List; /** - * @author jsbxyyx */ public class OracleUndoInsertExecutorTest extends BaseExecutorTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutorTest.java index ad54e61fbca..e0c86bef23b 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutorTest.java @@ -31,7 +31,6 @@ import java.util.List; /** - * @author jsbxyyx */ public class OracleUndoUpdateExecutorTest extends BaseExecutorTest { @@ -96,4 +95,4 @@ private OracleUndoUpdateExecutor upperCaseSQL() { return new OracleUndoUpdateExecutor(sqlUndoLog); } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/keyword/OracleEscapeHandlerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/keyword/OracleEscapeHandlerTest.java index d27f18205e6..be05046c108 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/keyword/OracleEscapeHandlerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/oracle/keyword/OracleEscapeHandlerTest.java @@ -24,7 +24,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author will */ public class OracleEscapeHandlerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParserTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParserTest.java index 4837407ac8a..e6884e7deb1 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParserTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/FastjsonUndoLogParserTest.java @@ -40,7 +40,6 @@ import org.junit.jupiter.api.Test; /** - * @author Geng Zhang */ public class FastjsonUndoLogParserTest extends BaseUndoLogParserTest { @@ -116,4 +115,4 @@ public Object process(Object object, String name, Object value) { return null; } } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParserTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParserTest.java index 6fd4ad093f1..f36cb8c2764 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParserTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/JacksonUndoLogParserTest.java @@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test; /** - * @author Geng Zhang */ public class JacksonUndoLogParserTest extends BaseUndoLogParserTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParserTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParserTest.java index bcc7cac3298..dd08bd1aff5 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParserTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/KryoUndoLogParserTest.java @@ -21,7 +21,6 @@ import io.seata.rm.datasource.undo.UndoLogParser; /** - * @author jsbxyyx */ public class KryoUndoLogParserTest extends BaseUndoLogParserTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParserTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParserTest.java index 7aaa832aae5..63d78497596 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParserTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/parser/ProtostuffUndoLogParserTest.java @@ -21,7 +21,6 @@ import io.seata.rm.datasource.undo.UndoLogParser; /** - * @author Geng Zhang */ class ProtostuffUndoLogParserTest extends BaseUndoLogParserTest { @@ -32,4 +31,4 @@ public UndoLogParser getParser() { return parser; } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutorTest.java index 2e8489f8b65..5477f6e62ed 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoDeleteExecutorTest.java @@ -34,7 +34,6 @@ /** * Undo delete executor test for PolarDB-X * - * @author hsien999 */ public class PolarDBXUndoDeleteExecutorTest extends BaseExecutorTest { private static PolarDBXUndoDeleteExecutor executor; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutorTest.java index 4a05725b52c..33e4820f350 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoInsertExecutorTest.java @@ -34,7 +34,6 @@ /** * Undo insert executor test for PolarDB-X * - * @author hsien999 */ public class PolarDBXUndoInsertExecutorTest extends BaseExecutorTest { private static PolarDBXUndoInsertExecutor executor; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManagerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManagerTest.java index bb649e216ea..e285fbea00a 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManagerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoLogManagerTest.java @@ -60,7 +60,6 @@ /** * Undo log manager test for PolarDB-X * - * @author hsien999 **/ public class PolarDBXUndoLogManagerTest { @@ -210,4 +209,4 @@ private SQLUndoLog getUndoLogItem(int size) throws NoSuchFieldException, Illegal return sqlUndoLog; } -} \ No newline at end of file +} diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutorTest.java index 78fe00bfec4..6bfa3c55973 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/PolarDBXUndoUpdateExecutorTest.java @@ -34,7 +34,6 @@ /** * Undo update executor test for PolarDB-X * - * @author hsien999 */ public class PolarDBXUndoUpdateExecutorTest extends BaseExecutorTest { private static PolarDBXUndoUpdateExecutor executor; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/keyword/PolarDBXEscapeHandlerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/keyword/PolarDBXEscapeHandlerTest.java index 634f6fcc1f2..b62e2078cfc 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/keyword/PolarDBXEscapeHandlerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/polardbx/keyword/PolarDBXEscapeHandlerTest.java @@ -25,7 +25,6 @@ /** * The type PolarDB-X keyword checker test. * - * @author hsien999 */ public class PolarDBXEscapeHandlerTest { @Test diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/postgresql/keyword/PostgresqlEscapeHandlerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/postgresql/keyword/PostgresqlEscapeHandlerTest.java index dc1bbcaec97..d1feeb5e89d 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/postgresql/keyword/PostgresqlEscapeHandlerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/postgresql/keyword/PostgresqlEscapeHandlerTest.java @@ -24,7 +24,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author will */ public class PostgresqlEscapeHandlerTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutorTest.java index a327931415b..da60fc0d0cb 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoDeleteExecutorTest.java @@ -32,7 +32,6 @@ import org.mockito.Mockito; /** - * @author GoodBoyCoder */ public class SqlServerUndoDeleteExecutorTest extends BaseExecutorTest { private static SqlServerUndoDeleteExecutor executor; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutorTest.java index c3ca98a3333..87cc4752349 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoInsertExecutorTest.java @@ -37,7 +37,6 @@ import org.mockito.Mockito; /** - * @author GoodBoyCoder */ public class SqlServerUndoInsertExecutorTest extends BaseExecutorTest { private static SqlServerUndoInsertExecutor executor; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutorTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutorTest.java index b324559be06..50897229175 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutorTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutorTest.java @@ -32,7 +32,6 @@ import org.mockito.Mockito; /** - * @author GoodBoyCoder */ public class SqlServerUndoUpdateExecutorTest extends BaseExecutorTest { private static SqlServerUndoUpdateExecutor executor; diff --git a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/keyword/SqlServerKeywordCheckerTest.java b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/keyword/SqlServerKeywordCheckerTest.java index d771766b8cf..6124c8c726f 100644 --- a/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/keyword/SqlServerKeywordCheckerTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/datasource/undo/sqlserver/keyword/SqlServerKeywordCheckerTest.java @@ -25,7 +25,6 @@ /** * The type sqlserver sql keyword checker test. * - * @author GoodBoyCoder */ public class SqlServerKeywordCheckerTest { @Test diff --git a/rm-datasource/src/test/java/io/seata/rm/xa/ConnectionProxyXATest.java b/rm-datasource/src/test/java/io/seata/rm/xa/ConnectionProxyXATest.java index 4fe00a477f6..406b5e13ee9 100644 --- a/rm-datasource/src/test/java/io/seata/rm/xa/ConnectionProxyXATest.java +++ b/rm-datasource/src/test/java/io/seata/rm/xa/ConnectionProxyXATest.java @@ -41,7 +41,6 @@ /** * Tests for ConnectionProxyXA * - * @author sharajava */ public class ConnectionProxyXATest { diff --git a/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXANativeTest.java b/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXANativeTest.java index ddc7cdc7aae..2e750a57b85 100644 --- a/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXANativeTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXANativeTest.java @@ -31,7 +31,6 @@ /** * Tests for DataSourceProxyXANative * - * @author sharajava */ public class DataSourceProxyXANativeTest { diff --git a/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXATest.java b/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXATest.java index f129202dc02..20d268cdac1 100644 --- a/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXATest.java +++ b/rm-datasource/src/test/java/io/seata/rm/xa/DataSourceProxyXATest.java @@ -43,7 +43,6 @@ /** * Tests for DataSourceProxyXA * - * @author sharajava */ public class DataSourceProxyXATest { diff --git a/rm-datasource/src/test/java/io/seata/rm/xa/XAXidBuilderTest.java b/rm-datasource/src/test/java/io/seata/rm/xa/XAXidBuilderTest.java index 1acbcd21096..e0724c413b0 100644 --- a/rm-datasource/src/test/java/io/seata/rm/xa/XAXidBuilderTest.java +++ b/rm-datasource/src/test/java/io/seata/rm/xa/XAXidBuilderTest.java @@ -24,7 +24,6 @@ /** * Tests for XAXidBuilder * - * @author sharajava */ public class XAXidBuilderTest { diff --git a/rm/src/main/java/io/seata/rm/AbstractRMHandler.java b/rm/src/main/java/io/seata/rm/AbstractRMHandler.java index 49cf7e99911..ff6029604b2 100644 --- a/rm/src/main/java/io/seata/rm/AbstractRMHandler.java +++ b/rm/src/main/java/io/seata/rm/AbstractRMHandler.java @@ -38,7 +38,6 @@ /** * The Abstract RM event handler * - * @author sharajava */ public abstract class AbstractRMHandler extends AbstractExceptionHandler implements RMInboundHandler, TransactionMessageHandler { diff --git a/rm/src/main/java/io/seata/rm/AbstractResourceManager.java b/rm/src/main/java/io/seata/rm/AbstractResourceManager.java index 2f425d34958..811d4b68dec 100644 --- a/rm/src/main/java/io/seata/rm/AbstractResourceManager.java +++ b/rm/src/main/java/io/seata/rm/AbstractResourceManager.java @@ -42,7 +42,6 @@ /** * abstract ResourceManager * - * @author zhangsen */ public abstract class AbstractResourceManager implements ResourceManager { diff --git a/rm/src/main/java/io/seata/rm/DefaultRMHandler.java b/rm/src/main/java/io/seata/rm/DefaultRMHandler.java index 8f8c78d0838..ee15f21b683 100644 --- a/rm/src/main/java/io/seata/rm/DefaultRMHandler.java +++ b/rm/src/main/java/io/seata/rm/DefaultRMHandler.java @@ -36,7 +36,6 @@ /** * the default RM event handler implement, deal with the phase two events * - * @author zhangsen */ public class DefaultRMHandler extends AbstractRMHandler { diff --git a/rm/src/main/java/io/seata/rm/DefaultResourceManager.java b/rm/src/main/java/io/seata/rm/DefaultResourceManager.java index ee0792bc0ea..f1866e56ac2 100644 --- a/rm/src/main/java/io/seata/rm/DefaultResourceManager.java +++ b/rm/src/main/java/io/seata/rm/DefaultResourceManager.java @@ -33,7 +33,6 @@ /** * default resource manager, adapt all resource managers * - * @author zhangsen */ public class DefaultResourceManager implements ResourceManager { diff --git a/rm/src/main/java/io/seata/rm/RMClient.java b/rm/src/main/java/io/seata/rm/RMClient.java index 45318e839a0..cf645503607 100644 --- a/rm/src/main/java/io/seata/rm/RMClient.java +++ b/rm/src/main/java/io/seata/rm/RMClient.java @@ -21,7 +21,6 @@ /** * The Rm client Initiator. * - * @author slievrly */ public class RMClient { diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/config/DbStateMachineConfig.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/config/DbStateMachineConfig.java index b757f1660a1..85ad6129d8e 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/config/DbStateMachineConfig.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/config/DbStateMachineConfig.java @@ -44,7 +44,6 @@ /** * DbStateMachineConfig * - * @author lorne.cl */ public class DbStateMachineConfig extends DefaultStateMachineConfig implements DisposableBean { diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/pcext/interceptors/InSagaBranchHandlerInterceptor.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/pcext/interceptors/InSagaBranchHandlerInterceptor.java index 1fff4e4a654..a3e3995b282 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/pcext/interceptors/InSagaBranchHandlerInterceptor.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/pcext/interceptors/InSagaBranchHandlerInterceptor.java @@ -35,7 +35,6 @@ /** * InSagaBranchHandler Interceptor * - * @author wang.liang */ @LoadLevel(name = "InSagaBranch", order = 50) public class InSagaBranchHandlerInterceptor implements StateHandlerInterceptor { diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/Serializer.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/Serializer.java index c0d241196b3..e16a7516d7a 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/Serializer.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/Serializer.java @@ -19,7 +19,6 @@ /** * Object serializer * - * @author lorne.cl */ public interface Serializer { @@ -38,4 +37,4 @@ public interface Serializer { * @return the deserialize result */ S deserialize(T obj); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ExceptionSerializer.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ExceptionSerializer.java index 0c5f77ffad5..2434ea0cca5 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ExceptionSerializer.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ExceptionSerializer.java @@ -30,7 +30,6 @@ /** * Exception serializer * - * @author lorne.cl */ public class ExceptionSerializer implements Serializer { diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ParamsSerializer.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ParamsSerializer.java index 47c979eae01..f58183ae3ac 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ParamsSerializer.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/serializer/impl/ParamsSerializer.java @@ -24,7 +24,6 @@ /** * Parameter serializer based on Fastjson * - * @author lorne.cl */ public class ParamsSerializer implements Serializer { @@ -61,4 +60,4 @@ public String getJsonParserName() { public void setJsonParserName(String jsonParserName) { this.jsonParserName = jsonParserName; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/AbstractStore.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/AbstractStore.java index 7a3293c5be3..581f3a2ebde 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/AbstractStore.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/AbstractStore.java @@ -34,7 +34,6 @@ /** * Abstract store * - * @author lorne.cl */ public class AbstractStore { diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbAndReportTcStateLogStore.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbAndReportTcStateLogStore.java index c4e00f674bc..8a57152ade3 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbAndReportTcStateLogStore.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbAndReportTcStateLogStore.java @@ -65,7 +65,6 @@ /** * State machine logs and definitions persist to database and report status to TC (Transaction Coordinator) * - * @author lorne.cl */ public class DbAndReportTcStateLogStore extends AbstractStore implements StateLogStore { diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbStateLangStore.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbStateLangStore.java index 935180c2c34..2a03951d5b3 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbStateLangStore.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbStateLangStore.java @@ -33,7 +33,6 @@ /** * State language definition store in DB * - * @author lorne.cl */ public class DbStateLangStore extends AbstractStore implements StateLangStore { @@ -109,4 +108,4 @@ public void toStatement(StateMachine stateMachine, PreparedStatement statement) statement.setString(11, stateMachine.getComment()); } } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLangStoreSqls.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLangStoreSqls.java index a24a1b8ebf5..13aad67258e 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLangStoreSqls.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLangStoreSqls.java @@ -19,7 +19,6 @@ /** * StateLang store sqls * - * @author lorne.cl */ public class StateLangStoreSqls { @@ -70,4 +69,4 @@ public String getInsertStateMachineSql(String dbType) { public String getTablePrefix() { return tablePrefix; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLogStoreSqls.java b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLogStoreSqls.java index aeeabe47428..9aa77fbb9fb 100644 --- a/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLogStoreSqls.java +++ b/saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/StateLogStoreSqls.java @@ -19,7 +19,6 @@ /** * State log store sqls * - * @author lorne.cl */ public class StateLogStoreSqls { @@ -190,4 +189,4 @@ public String getGetStateInstanceByIdAndMachineInstanceIdSql(String dbType) { public String getTablePrefix() { return tablePrefix; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/AsyncCallback.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/AsyncCallback.java index 4f24a9d5f20..1d1f13137b8 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/AsyncCallback.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/AsyncCallback.java @@ -22,7 +22,6 @@ /** * Async Callback * - * @author lorne.cl */ public interface AsyncCallback { @@ -42,4 +41,4 @@ public interface AsyncCallback { * @param exp */ void onError(ProcessContext context, StateMachineInstance stateMachineInstance, Exception exp); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineConfig.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineConfig.java index 216b1a3b21f..58768596847 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineConfig.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineConfig.java @@ -35,7 +35,6 @@ /** * StateMachineConfig * - * @author lorne.cl */ public interface StateMachineConfig { @@ -169,4 +168,4 @@ public interface StateMachineConfig { * @return the script engine manager info */ ScriptEngineManager getScriptEngineManager(); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineEngine.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineEngine.java index 61df64c5ad3..754104fefe2 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineEngine.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/StateMachineEngine.java @@ -25,7 +25,6 @@ /** * State machine engine * - * @author lorne.cl */ public interface StateMachineEngine { @@ -161,4 +160,4 @@ StateMachineInstance skipAndForwardAsync(String stateMachineInstId, AsyncCallbac * @return the state machine instance */ StateMachineInstance reloadStateMachineInstance(String instId); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/EngineExecutionException.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/EngineExecutionException.java index 66098506d8e..bfaa85e614b 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/EngineExecutionException.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/EngineExecutionException.java @@ -22,7 +22,6 @@ /** * StateMachineEngine Execution Exception * - * @author lorne.cl */ public class EngineExecutionException extends FrameworkException { @@ -89,4 +88,4 @@ public String getStateInstanceId() { public void setStateInstanceId(String stateInstanceId) { this.stateInstanceId = stateInstanceId; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/ForwardInvalidException.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/ForwardInvalidException.java index 92ceb5eee61..99c03f0703c 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/ForwardInvalidException.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/ForwardInvalidException.java @@ -21,7 +21,6 @@ /** * Forward operation invalid exception * - * @author lorne.cl */ public class ForwardInvalidException extends EngineExecutionException { @@ -51,4 +50,4 @@ public ForwardInvalidException(Throwable th) { public ForwardInvalidException(Throwable th, String msg) { super(th, msg); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/Expression.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/Expression.java index 1dcd1d7a6f8..5468840a424 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/Expression.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/Expression.java @@ -19,7 +19,6 @@ /** * Expression * - * @author lorne.cl */ public interface Expression { @@ -45,4 +44,4 @@ public interface Expression { * @return the get expression string */ String getExpressionString(); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactory.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactory.java index 142fd14e2a3..40a74e8ebfa 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactory.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactory.java @@ -19,7 +19,6 @@ /** * Expression Factory * - * @author lorne.cl */ public interface ExpressionFactory { @@ -30,4 +29,4 @@ public interface ExpressionFactory { * @return the expression */ Expression createExpression(String expression); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactoryManager.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactoryManager.java index 348a801244d..71742b6a97b 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactoryManager.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionFactoryManager.java @@ -24,7 +24,6 @@ /** * Expression factory manager * - * @author lorne.cl */ public class ExpressionFactoryManager { @@ -47,4 +46,4 @@ public void setExpressionFactoryMap(Map expressionFac public void putExpressionFactory(String type, ExpressionFactory factory) { this.expressionFactoryMap.put(type, factory); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionResolver.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionResolver.java index 881702893c3..644adafab58 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionResolver.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/ExpressionResolver.java @@ -19,7 +19,6 @@ /** * Expression structure resolver * - * @author ptyin */ public interface ExpressionResolver { Expression getExpression(String expressionStr); diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpression.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpression.java index f6c3838638b..d4f446f418d 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpression.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpression.java @@ -26,7 +26,6 @@ /** * Exception match evaluator expression * - * @author ptyin */ public class ExceptionMatchExpression implements Expression { private static final Logger LOGGER = LoggerFactory.getLogger(ExceptionMatchExpression.class); diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpressionFactory.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpressionFactory.java index 3a973d8af30..ca60028e0f1 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpressionFactory.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/exception/ExceptionMatchExpressionFactory.java @@ -22,7 +22,6 @@ /** * Exception match expression factory * - * @author ptyin */ public class ExceptionMatchExpressionFactory implements ExpressionFactory { @Override diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/impl/DefaultExpressionResolver.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/impl/DefaultExpressionResolver.java index 06bb7d7778e..76db6e11f7c 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/impl/DefaultExpressionResolver.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/impl/DefaultExpressionResolver.java @@ -24,7 +24,6 @@ /** * Default {@link ExpressionResolver} implementation * - * @author ptyin */ public class DefaultExpressionResolver implements ExpressionResolver { diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpression.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpression.java index 385f8c1c95f..93efc89a60d 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpression.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpression.java @@ -22,7 +22,6 @@ /** * Generate sequence expression * - * @author lorne.cl */ public class SequenceExpression implements Expression { @@ -68,4 +67,4 @@ public String getRule() { public void setRule(String rule) { this.rule = rule; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpressionFactory.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpressionFactory.java index 7114ec2ed33..bf7765055f0 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpressionFactory.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/seq/SequenceExpressionFactory.java @@ -24,7 +24,6 @@ /** * Sequence expression factory * - * @author lorne.cl */ public class SequenceExpressionFactory implements ExpressionFactory { @@ -52,4 +51,4 @@ public SeqGenerator getSeqGenerator() { public void setSeqGenerator(SeqGenerator seqGenerator) { this.seqGenerator = seqGenerator; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpression.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpression.java index fe498353473..ce8e6445968 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpression.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpression.java @@ -21,7 +21,6 @@ /** * Expression base on Spring EL * - * @author lorne.cl */ public class SpringELExpression implements Expression { @@ -45,4 +44,4 @@ public void setValue(Object value, Object elContext) { public String getExpressionString() { return expression.getExpressionString(); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpressionFactory.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpressionFactory.java index 6224a7e50cb..1dd36c1cf64 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpressionFactory.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/expression/spel/SpringELExpressionFactory.java @@ -32,7 +32,6 @@ /** * SpringELExpression factory * - * @author lorne.cl */ public class SpringELExpressionFactory implements ExpressionFactory, ApplicationContextAware { @@ -60,4 +59,4 @@ public Object resolve(EvaluationContext context, String beanName) throws AccessE } } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/DefaultStateMachineConfig.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/DefaultStateMachineConfig.java index 8a7af0989fb..38f16d878c3 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/DefaultStateMachineConfig.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/DefaultStateMachineConfig.java @@ -79,7 +79,6 @@ /** * Default state machine configuration * - * @author lorne.cl */ public class DefaultStateMachineConfig implements StateMachineConfig, ApplicationContextAware, InitializingBean { @@ -506,4 +505,4 @@ public boolean isSagaCompensatePersistModeUpdate() { public void setSagaCompensatePersistModeUpdate(boolean sagaCompensatePersistModeUpdate) { this.sagaCompensatePersistModeUpdate = sagaCompensatePersistModeUpdate; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/ProcessCtrlStateMachineEngine.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/ProcessCtrlStateMachineEngine.java index db0984959d7..162a1d7d410 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/ProcessCtrlStateMachineEngine.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/impl/ProcessCtrlStateMachineEngine.java @@ -55,7 +55,6 @@ /** * ProcessCtrl-based state machine engine * - * @author lorne.cl */ public class ProcessCtrlStateMachineEngine implements StateMachineEngine { @@ -710,4 +709,4 @@ public StateMachineConfig getStateMachineConfig() { public void setStateMachineConfig(StateMachineConfig stateMachineConfig) { this.stateMachineConfig = stateMachineConfig; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvoker.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvoker.java index 0b521178a68..fb91ddc61c4 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvoker.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvoker.java @@ -21,7 +21,6 @@ /** * Service invoker * - * @author lorne.cl */ public interface ServiceInvoker { @@ -33,4 +32,4 @@ public interface ServiceInvoker { * @throws Throwable the throwable */ Object invoke(ServiceTaskState serviceTaskState, Object... input) throws Throwable; -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvokerManager.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvokerManager.java index 5169dc69929..4f0b2ae9362 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvokerManager.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/ServiceInvokerManager.java @@ -25,7 +25,6 @@ /** * Service Invoker Manager * - * @author lorne.cl */ public class ServiceInvokerManager { @@ -45,4 +44,4 @@ public void putServiceInvoker(String serviceType, ServiceInvoker serviceInvoker) public Map getServiceInvokerMap() { return serviceInvokerMap; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/impl/SpringBeanServiceInvoker.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/impl/SpringBeanServiceInvoker.java index 9ee39cf0553..54ad81eedca 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/impl/SpringBeanServiceInvoker.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/invoker/impl/SpringBeanServiceInvoker.java @@ -48,7 +48,6 @@ /** * SpringBean Service Invoker * - * @author lorne.cl */ public class SpringBeanServiceInvoker implements ServiceInvoker, ApplicationContextAware { @@ -361,4 +360,4 @@ public String getSagaJsonParser() { public void setSagaJsonParser(String sagaJsonParser) { this.sagaJsonParser = sagaJsonParser; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateHandler.java index 52a2831f4f4..e339eec3333 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateHandler.java @@ -21,11 +21,10 @@ /** * Interceptible State Handler * - * @author lorne.cl */ public interface InterceptableStateHandler extends StateHandler { List getInterceptors(); void addInterceptor(StateHandlerInterceptor interceptor); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateRouter.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateRouter.java index 3835802576b..05599c4e3ed 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateRouter.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/InterceptableStateRouter.java @@ -21,11 +21,10 @@ /** * Interceptable State Router * - * @author lorne.cl */ public interface InterceptableStateRouter extends StateRouter { List getInterceptors(); void addInterceptor(StateRouterInterceptor interceptor); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandler.java index 27135b536d3..aeebe7f9f38 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandler.java @@ -22,9 +22,8 @@ /** * State Handler * - * @author lorne.cl */ public interface StateHandler { void process(ProcessContext context) throws EngineExecutionException; -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandlerInterceptor.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandlerInterceptor.java index edc50cda4ca..3986b19e74f 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandlerInterceptor.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateHandlerInterceptor.java @@ -22,7 +22,6 @@ /** * StateHandler Interceptor * - * @author lorne.cl */ public interface StateHandlerInterceptor { @@ -31,4 +30,4 @@ public interface StateHandlerInterceptor { void postProcess(ProcessContext context, Exception e) throws EngineExecutionException; boolean match(Class clazz); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateInstruction.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateInstruction.java index 64f1464982c..9c799dbee27 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateInstruction.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateInstruction.java @@ -29,7 +29,6 @@ /** * State Instruction * - * @author lorne.cl * @see Instruction */ public class StateInstruction implements Instruction { @@ -170,4 +169,4 @@ public String getTenantId() { public void setTenantId(String tenantId) { this.tenantId = tenantId; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessHandler.java index 4c7cb838986..8036cc8eb34 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessHandler.java @@ -39,7 +39,6 @@ /** * StateMachine ProcessHandler * - * @author lorne.cl * @see ProcessHandler */ public class StateMachineProcessHandler implements ProcessHandler { @@ -109,4 +108,4 @@ public Map getStateHandlers() { public void setStateHandlers(Map stateHandlers) { this.stateHandlers.putAll(stateHandlers); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessRouter.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessRouter.java index ce083a7cfdd..e34c9790fbf 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessRouter.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateMachineProcessRouter.java @@ -37,7 +37,6 @@ /** * StateMachine ProcessRouter * - * @author lorne.cl * @see ProcessRouter */ public class StateMachineProcessRouter implements ProcessRouter { @@ -128,4 +127,4 @@ public Map getStateRouters() { public void setStateRouters(Map stateRouters) { this.stateRouters.putAll(stateRouters); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouter.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouter.java index b38ecf736fd..3a6a9045a82 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouter.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouter.java @@ -24,9 +24,8 @@ /** * StateRouter * - * @author lorne.cl */ public interface StateRouter { Instruction route(ProcessContext context, State state) throws EngineExecutionException; -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouterInterceptor.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouterInterceptor.java index ec6d5dee2e5..d0130950b55 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouterInterceptor.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/StateRouterInterceptor.java @@ -24,7 +24,6 @@ /** * StateRouter Interceptor * - * @author lorne.cl * @see StateRouter */ public interface StateRouterInterceptor { @@ -52,4 +51,4 @@ void postRoute(ProcessContext context, State state, Instruction instruction, Exc boolean match(Class clazz); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ChoiceStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ChoiceStateHandler.java index 083e26d48ba..3f40301eabf 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ChoiceStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ChoiceStateHandler.java @@ -39,7 +39,6 @@ /** * ChoiceState Handler * - * @author lorne.cl */ public class ChoiceStateHandler implements StateHandler { @@ -96,4 +95,4 @@ public void process(ProcessContext context) throws EngineExecutionException { context.setVariable(DomainConstants.VAR_NAME_CURRENT_CHOICE, choiceState.getDefault()); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/CompensationTriggerStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/CompensationTriggerStateHandler.java index cac3fbcae6f..8fac5f3adc6 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/CompensationTriggerStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/CompensationTriggerStateHandler.java @@ -36,7 +36,6 @@ * CompensationTriggerState Handler * Start to execute compensation * - * @author lorne.cl */ public class CompensationTriggerStateHandler implements StateHandler { @@ -86,4 +85,4 @@ public void process(ProcessContext context) throws EngineExecutionException { EngineUtils.endStateMachine(context); } } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/FailEndStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/FailEndStateHandler.java index aaf70b6194e..24540c755c6 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/FailEndStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/FailEndStateHandler.java @@ -28,7 +28,6 @@ /** * FailEndState Handler * - * @author lorne.cl */ public class FailEndStateHandler implements StateHandler { @@ -44,4 +43,4 @@ public void process(ProcessContext context) throws EngineExecutionException { contextVariables.put(DomainConstants.VAR_NAME_STATEMACHINE_ERROR_CODE, state.getErrorCode()); contextVariables.put(DomainConstants.VAR_NAME_STATEMACHINE_ERROR_MSG, state.getMessage()); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/LoopStartStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/LoopStartStateHandler.java index 28b0397ffec..e1805c85c31 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/LoopStartStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/LoopStartStateHandler.java @@ -43,7 +43,6 @@ * Loop State Handler * Start Loop Execution * - * @author anselleeyy */ public class LoopStartStateHandler implements StateHandler { diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ScriptTaskStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ScriptTaskStateHandler.java index dda804078ff..29f7fe2fa99 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ScriptTaskStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ScriptTaskStateHandler.java @@ -44,7 +44,6 @@ /** * ScriptTaskState Handler * - * @author lorne.cl */ public class ScriptTaskStateHandler implements StateHandler, InterceptableStateHandler { @@ -150,4 +149,4 @@ public void addInterceptor(StateHandlerInterceptor interceptor) { public void setInterceptors(List interceptors) { this.interceptors = interceptors; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ServiceTaskStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ServiceTaskStateHandler.java index 2d9db1b42a9..a7eecb7b3ba 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ServiceTaskStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/ServiceTaskStateHandler.java @@ -49,7 +49,6 @@ /** * ServiceTaskState Handler * - * @author lorne.cl */ public class ServiceTaskStateHandler implements StateHandler, InterceptableStateHandler { @@ -189,4 +188,4 @@ public void addInterceptor(StateHandlerInterceptor interceptor) { public void setInterceptors(List interceptors) { this.interceptors = interceptors; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SubStateMachineHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SubStateMachineHandler.java index 62e1dd92b77..41fe54e0ddb 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SubStateMachineHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SubStateMachineHandler.java @@ -46,7 +46,6 @@ /** * SubStateMachine Handler * - * @author lorne.cl */ public class SubStateMachineHandler implements StateHandler, InterceptableStateHandler { diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SucceedEndStateHandler.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SucceedEndStateHandler.java index 6a3a4991d96..1067cd7b569 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SucceedEndStateHandler.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/handlers/SucceedEndStateHandler.java @@ -23,7 +23,6 @@ /** * SucceedEndState Handler * - * @author lorne.cl */ public class SucceedEndStateHandler implements StateHandler { @@ -31,4 +30,4 @@ public class SucceedEndStateHandler implements StateHandler { public void process(ProcessContext context) throws EngineExecutionException { //Do Nothing } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/EndStateRouterInterceptor.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/EndStateRouterInterceptor.java index 0183b9d85b5..0628a6c5fd8 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/EndStateRouterInterceptor.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/EndStateRouterInterceptor.java @@ -29,7 +29,6 @@ /** * EndStateRouter Interceptor * - * @author lorne.cl */ @LoadLevel(name = "EndState", order = 100) public class EndStateRouterInterceptor implements StateRouterInterceptor { @@ -49,4 +48,4 @@ public void postRoute(ProcessContext context, State state, Instruction instructi public boolean match(Class clazz) { return clazz != null && EndStateRouter.class.isAssignableFrom(clazz); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/LoopTaskHandlerInterceptor.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/LoopTaskHandlerInterceptor.java index d7725101381..8214f1b2289 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/LoopTaskHandlerInterceptor.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/LoopTaskHandlerInterceptor.java @@ -44,7 +44,6 @@ /** * State Interceptor For ServiceTask, SubStateMachine, ScriptTask With Loop Attribute * - * @author anselleeyy */ @LoadLevel(name = "LoopTask", order = 90) public class LoopTaskHandlerInterceptor implements StateHandlerInterceptor { diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ScriptTaskHandlerInterceptor.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ScriptTaskHandlerInterceptor.java index 1f28cd41376..d2b9f01b301 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ScriptTaskHandlerInterceptor.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ScriptTaskHandlerInterceptor.java @@ -40,7 +40,6 @@ /** * StateInterceptor for ScriptTask * - * @author lorne.cl */ @LoadLevel(name = "ScriptTask", order = 100) public class ScriptTaskHandlerInterceptor implements StateHandlerInterceptor { diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ServiceTaskHandlerInterceptor.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ServiceTaskHandlerInterceptor.java index 432f3d24fe3..2fc8af3ce80 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ServiceTaskHandlerInterceptor.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/interceptors/ServiceTaskHandlerInterceptor.java @@ -55,7 +55,6 @@ /** * StateInterceptor for ServiceTask, SubStateMachine, CompensateState * - * @author lorne.cl */ @LoadLevel(name = "ServiceTask", order = 100) public class ServiceTaskHandlerInterceptor implements StateHandlerInterceptor { diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/EndStateRouter.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/EndStateRouter.java index bd2fc88c51b..41576b41ebe 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/EndStateRouter.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/EndStateRouter.java @@ -30,7 +30,6 @@ /** * EndState Router * - * @author lorne.cl */ public class EndStateRouter implements StateRouter, InterceptableStateRouter { @@ -56,4 +55,4 @@ public void addInterceptor(StateRouterInterceptor interceptor) { public void setInterceptors(List interceptors) { this.interceptors = interceptors; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/TaskStateRouter.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/TaskStateRouter.java index 2578110bca6..fbbbc847ff8 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/TaskStateRouter.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/routers/TaskStateRouter.java @@ -44,7 +44,6 @@ /** * TaskState Router * - * @author lorne.cl */ public class TaskStateRouter implements StateRouter { @@ -193,4 +192,4 @@ private Instruction compensateRoute(ProcessContext context, State compensationTr return instruction; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/CompensationHolder.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/CompensationHolder.java index 55b4b6101d9..963ed10df46 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/CompensationHolder.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/CompensationHolder.java @@ -39,7 +39,6 @@ /** * CompensationHolder * - * @author lorne.cl */ public class CompensationHolder { @@ -161,4 +160,4 @@ public void addForCompensationState(String stateName, StateInstance forCompensat public Stack getStateStackNeedCompensation() { return stateStackNeedCompensation; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/EngineUtils.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/EngineUtils.java index ac6d1c380a2..cb8fcb244ff 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/EngineUtils.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/EngineUtils.java @@ -40,7 +40,6 @@ import org.slf4j.LoggerFactory; /** - * @author lorne.cl */ public class EngineUtils { @@ -249,4 +248,4 @@ public static void handleException(ProcessContext context, AbstractTaskState sta LOGGER.error("Task execution failed and no catches configured"); ((HierarchicalProcessContext) context).setVariableLocally(DomainConstants.VAR_NAME_IS_EXCEPTION_NOT_CATCH, true); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopContextHolder.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopContextHolder.java index df3e82755ed..1fa62e4db91 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopContextHolder.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopContextHolder.java @@ -26,7 +26,6 @@ /** * Loop Context Holder for Loop Attributes * - * @author anselleeyy */ public class LoopContextHolder { diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopTaskUtils.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopTaskUtils.java index d40a60f7f09..deff5f97842 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopTaskUtils.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/LoopTaskUtils.java @@ -48,7 +48,6 @@ /** * Loop Task Util * - * @author anselleeyy */ public class LoopTaskUtils { diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/ParameterUtils.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/ParameterUtils.java index 8e1ff8d95e7..e69fb5953cd 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/ParameterUtils.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/pcext/utils/ParameterUtils.java @@ -34,7 +34,6 @@ * * ParameterUtils * - * @author lorne.cl */ public class ParameterUtils { diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateLogRepository.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateLogRepository.java index 4e91fe095ad..fdddfb512be 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateLogRepository.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateLogRepository.java @@ -24,7 +24,6 @@ /** * State Log Repository * - * @author lorne.cl */ public interface StateLogRepository { @@ -69,4 +68,4 @@ public interface StateLogRepository { * @return the state machine instance list */ List queryStateInstanceListByMachineInstanceId(String stateMachineInstanceId); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateMachineRepository.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateMachineRepository.java index e2441316571..deab33004df 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateMachineRepository.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/StateMachineRepository.java @@ -24,7 +24,6 @@ /** * StateMachineRepository * - * @author lorne.cl */ public interface StateMachineRepository { @@ -69,4 +68,4 @@ public interface StateMachineRepository { * @param tenantId */ void registryByResources(Resource[] resources, String tenantId) throws IOException; -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateLogRepositoryImpl.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateLogRepositoryImpl.java index 56d585319c6..dc4f1d93a30 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateLogRepositoryImpl.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateLogRepositoryImpl.java @@ -26,7 +26,6 @@ /** * State Log Repository * - * @author lorne.cl */ public class StateLogRepositoryImpl implements StateLogRepository { @@ -75,4 +74,4 @@ public List queryStateInstanceListByMachineInstanceId(String stat public void setStateLogStore(StateLogStore stateLogStore) { this.stateLogStore = stateLogStore; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateMachineRepositoryImpl.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateMachineRepositoryImpl.java index 809a8ea72bb..3bf7d04db86 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateMachineRepositoryImpl.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/repo/impl/StateMachineRepositoryImpl.java @@ -41,7 +41,6 @@ /** * StateMachineRepository Implementation * - * @author lorne.cl */ public class StateMachineRepositoryImpl implements StateMachineRepository { @@ -238,4 +237,4 @@ public void setValue(StateMachine value) { this.value = value; } } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SeqGenerator.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SeqGenerator.java index 2d2d3d6a1ae..c522fa433fe 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SeqGenerator.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SeqGenerator.java @@ -21,7 +21,6 @@ /** * SeqGenerator * - * @author lorne.cl */ public interface SeqGenerator { @@ -51,4 +50,4 @@ public interface SeqGenerator { * @return the string */ String generate(String entity, String ruleName, List shardingParameters); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SpringJvmUUIDSeqGenerator.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SpringJvmUUIDSeqGenerator.java index 4c797bd2a4a..158eb9af97b 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SpringJvmUUIDSeqGenerator.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SpringJvmUUIDSeqGenerator.java @@ -24,7 +24,6 @@ /** * Based On Spring AlternativeJdkIdGenerator * - * @author lorne.cl */ public class SpringJvmUUIDSeqGenerator implements SeqGenerator { @@ -49,4 +48,4 @@ public String generate(String entity, List shardingParameters) { public String generate(String entity) { return generate(entity, null); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLangStore.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLangStore.java index 7c12f3d947b..01449303bc5 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLangStore.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLangStore.java @@ -21,7 +21,6 @@ /** * State language definition store * - * @author lorne.cl */ public interface StateLangStore { @@ -49,4 +48,4 @@ public interface StateLangStore { * @return whether the store state machine action is successful */ boolean storeStateMachine(StateMachine stateMachine); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLogStore.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLogStore.java index cdaca063f1a..9f57d9385ff 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLogStore.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/store/StateLogStore.java @@ -25,7 +25,6 @@ /** * StateMachine engine log store * - * @author lorne.cl */ public interface StateLogStore { @@ -115,4 +114,4 @@ public interface StateLogStore { * clear the LocalThread */ void clearUp(); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/StatusDecisionStrategy.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/StatusDecisionStrategy.java index 00fc01e3a7b..f138d9d2cfa 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/StatusDecisionStrategy.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/StatusDecisionStrategy.java @@ -27,7 +27,6 @@ * to be UN (the data is inconsistent), * otherwise FA (failure: no data inconsistency) * - * @author lorne.cl */ public interface StatusDecisionStrategy { @@ -59,4 +58,4 @@ public interface StatusDecisionStrategy { */ boolean decideMachineForwardExecutionStatus(StateMachineInstance stateMachineInstance, Exception exp, boolean specialPolicy); -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/impl/DefaultStatusDecisionStrategy.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/impl/DefaultStatusDecisionStrategy.java index a6786331b7e..d210606b2b2 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/impl/DefaultStatusDecisionStrategy.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/strategy/impl/DefaultStatusDecisionStrategy.java @@ -36,7 +36,6 @@ /** * Default state machine execution status decision strategy * - * @author lorne.cl * @see StatusDecisionStrategy */ public class DefaultStatusDecisionStrategy implements StatusDecisionStrategy { @@ -241,4 +240,4 @@ public boolean decideMachineForwardExecutionStatus(StateMachineInstance stateMac return result; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ExceptionUtils.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ExceptionUtils.java index a11dbf6eab8..50104bf364c 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ExceptionUtils.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ExceptionUtils.java @@ -24,7 +24,6 @@ /** * Exception Utils * - * @author lorne.cl */ public class ExceptionUtils { @@ -138,4 +137,4 @@ public static boolean isNetException(Throwable throwable) { NetExceptionType netExceptionType = getNetExceptionType(throwable); return netExceptionType != null && netExceptionType != NetExceptionType.NOT_NET_EXCEPTION; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ProcessContextBuilder.java b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ProcessContextBuilder.java index 3ca336eb566..f2ea92718e4 100644 --- a/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ProcessContextBuilder.java +++ b/saga/seata-saga-engine/src/main/java/io/seata/saga/engine/utils/ProcessContextBuilder.java @@ -32,7 +32,6 @@ /** * Process Context Builder * - * @author lorne.cl */ public class ProcessContextBuilder { @@ -119,4 +118,4 @@ public ProcessContextBuilder withIsAsyncExecution(boolean isAsyncExecution) { this.processContext.setVariable(DomainConstants.VAR_NAME_IS_ASYNC_EXECUTION, isAsyncExecution); return this; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/HierarchicalProcessContext.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/HierarchicalProcessContext.java index a46b9f80b6b..ab5f82990e4 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/HierarchicalProcessContext.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/HierarchicalProcessContext.java @@ -21,7 +21,6 @@ /** * Hierarchical process context * - * @author lorne.cl */ public interface HierarchicalProcessContext extends ProcessContext { @@ -75,4 +74,4 @@ public interface HierarchicalProcessContext extends ProcessContext { * Clear locally. */ void clearLocally(); -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/Instruction.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/Instruction.java index 7121fae84b1..1be7cf51fb6 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/Instruction.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/Instruction.java @@ -19,10 +19,7 @@ /** * Instruction * - * @author jin.xie - * @author xi.chen - * @author lorne.cl */ public interface Instruction { -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessContext.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessContext.java index f4c53bd921b..b7acb8c4e23 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessContext.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessContext.java @@ -21,8 +21,6 @@ /** * Process Context * - * @author jin.xie - * @author lorne.cl */ public interface ProcessContext { @@ -96,4 +94,4 @@ public interface ProcessContext { * @return the get instruction */ T getInstruction(Class clazz); -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessController.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessController.java index 0a1c708935d..d660265423f 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessController.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessController.java @@ -21,8 +21,6 @@ /** * Process Controller * - * @author jin.xie - * @author lorne.cl */ public interface ProcessController { @@ -33,4 +31,4 @@ public interface ProcessController { * @throws FrameworkException the framework exception */ void process(ProcessContext context) throws FrameworkException; -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessRouter.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessRouter.java index 49f60befbc1..c5d374368d9 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessRouter.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessRouter.java @@ -21,8 +21,6 @@ /** * Process Router * - * @author jin.xie - * @author lorne.cl */ public interface ProcessRouter { @@ -34,4 +32,4 @@ public interface ProcessRouter { * @throws FrameworkException the framework exception */ Instruction route(ProcessContext context) throws FrameworkException; -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessType.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessType.java index e4a6d24282b..322d4500563 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessType.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/ProcessType.java @@ -19,8 +19,6 @@ /** * Process type * - * @author jin.xie - * @author lorne.cl */ public enum ProcessType { @@ -70,4 +68,4 @@ public String getCode() { public String getMessage() { return message; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventBus.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventBus.java index 04a402ade64..3a755b935ef 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventBus.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventBus.java @@ -23,7 +23,6 @@ /** * Event bus * - * @author lorne.cl */ public interface EventBus { @@ -50,4 +49,4 @@ public interface EventBus { * @param eventConsumer the event consumer */ void registerEventConsumer(EventConsumer eventConsumer); -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventConsumer.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventConsumer.java index 910c6e44959..492c8a25264 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventConsumer.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventConsumer.java @@ -21,7 +21,6 @@ /** * Event Consumer * - * @author lorne.cl */ public interface EventConsumer { @@ -40,4 +39,4 @@ public interface EventConsumer { * @return the boolean */ boolean accept(Class clazz); -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventPublisher.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventPublisher.java index 829f9978eef..9933824bc33 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventPublisher.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/EventPublisher.java @@ -21,9 +21,8 @@ /** * Event publisher * - * @author lorne.cl */ public interface EventPublisher { boolean publish(E event) throws FrameworkException; -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AbstractEventBus.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AbstractEventBus.java index e0b0f5b5586..2857428ce94 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AbstractEventBus.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AbstractEventBus.java @@ -25,8 +25,6 @@ /** * Abstract Event Bus * - * @author jin.xie - * @author lorne.cl */ public abstract class AbstractEventBus implements EventBus { @@ -48,4 +46,4 @@ public List getEventConsumers(Class clazz) { public void registerEventConsumer(EventConsumer eventConsumer) { eventConsumerList.add(eventConsumer); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AsyncEventBus.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AsyncEventBus.java index df592d6e665..3a288ce0b62 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AsyncEventBus.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/AsyncEventBus.java @@ -29,7 +29,6 @@ /** * Asynchronized EventBus * - * @author lorne.cl */ public class AsyncEventBus extends AbstractEventBus { @@ -56,4 +55,4 @@ public boolean offer(ProcessContext context) throws FrameworkException { public void setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor) { this.threadPoolExecutor = threadPoolExecutor; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/DirectEventBus.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/DirectEventBus.java index 2f0d4c97b12..d833ad58a7e 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/DirectEventBus.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/DirectEventBus.java @@ -29,7 +29,6 @@ /** * Deliver event to event consumer directly * - * @author lorne.cl */ public class DirectEventBus extends AbstractEventBus { @@ -76,4 +75,4 @@ public boolean offer(ProcessContext context) throws FrameworkException { } return true; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventConsumer.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventConsumer.java index c23e863614f..96748f5df25 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventConsumer.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventConsumer.java @@ -24,7 +24,6 @@ /** * ProcessCtrl Event Consumer * - * @author lorne.cl */ public class ProcessCtrlEventConsumer implements EventConsumer { @@ -44,4 +43,4 @@ public boolean accept(Class clazz) { public void setProcessController(ProcessController processController) { this.processController = processController; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventPublisher.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventPublisher.java index 363aa6ecd56..774ad847b0e 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventPublisher.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/eventing/impl/ProcessCtrlEventPublisher.java @@ -24,7 +24,6 @@ /** * ProcessCtrl Event Pulisher * - * @author lorne.cl */ public class ProcessCtrlEventPublisher implements EventPublisher { @@ -38,4 +37,4 @@ public boolean publish(ProcessContext event) throws FrameworkException { public void setEventBus(EventBus eventBus) { this.eventBus = eventBus; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/DefaultRouterHandler.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/DefaultRouterHandler.java index d40bce55eb8..fdf7d1d6f22 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/DefaultRouterHandler.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/DefaultRouterHandler.java @@ -31,8 +31,6 @@ /** * Default Router handler * - * @author jin.xie - * @author lorne.cl */ public class DefaultRouterHandler implements RouterHandler { diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/ProcessHandler.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/ProcessHandler.java index 8bbe399a77a..e24057b0e94 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/ProcessHandler.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/ProcessHandler.java @@ -22,8 +22,6 @@ /** * Process Handler * - * @author jin.xie - * @author lorne.cl */ public interface ProcessHandler { @@ -34,4 +32,4 @@ public interface ProcessHandler { * @throws FrameworkException */ void process(ProcessContext context) throws FrameworkException; -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/RouterHandler.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/RouterHandler.java index 9cbc21316e2..946848724c5 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/RouterHandler.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/handler/RouterHandler.java @@ -22,8 +22,6 @@ /** * Router Handler * - * @author jin.xie - * @author lorne.cl */ public interface RouterHandler { @@ -34,4 +32,4 @@ public interface RouterHandler { * @throws FrameworkException */ void route(ProcessContext context) throws FrameworkException; -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessContextImpl.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessContextImpl.java index 8b6c3626dff..49eecd8361c 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessContextImpl.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessContextImpl.java @@ -28,7 +28,6 @@ /** * The default process context implementation * - * @author lorne.cl */ public class ProcessContextImpl implements HierarchicalProcessContext, ProcessContext { @@ -166,4 +165,4 @@ public void setParent(ProcessContext parent) { public String toString() { return "{" + "variables=" + variables + ", instruction=" + instruction + ", parent=" + parent + '}'; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessControllerImpl.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessControllerImpl.java index 01dbeb6b6cd..6d24e06aeaa 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessControllerImpl.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/impl/ProcessControllerImpl.java @@ -27,8 +27,6 @@ /** * Default implementation of Process controller * - * @author jin.xie - * @author lorne.cl */ public class ProcessControllerImpl implements ProcessController { diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/BusinessProcessor.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/BusinessProcessor.java index c7a620812e7..3c5d8060014 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/BusinessProcessor.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/BusinessProcessor.java @@ -22,8 +22,6 @@ /** * Business logic processor * - * @author jin.xie - * @author lorne.cl */ public interface BusinessProcessor { @@ -42,4 +40,4 @@ public interface BusinessProcessor { * @throws FrameworkException */ void route(ProcessContext context) throws FrameworkException; -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/impl/CustomizeBusinessProcessor.java b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/impl/CustomizeBusinessProcessor.java index 2159ebe3221..2ae4cadae09 100644 --- a/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/impl/CustomizeBusinessProcessor.java +++ b/saga/seata-saga-processctrl/src/main/java/io/seata/saga/proctrl/process/impl/CustomizeBusinessProcessor.java @@ -31,8 +31,6 @@ /** * Customizable Business Processor * - * @author jin.xie - * @author lorne.cl */ public class CustomizeBusinessProcessor implements BusinessProcessor { diff --git a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/ProcessControllerTests.java b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/ProcessControllerTests.java index a132c32a6cf..0f1e83b8fa4 100644 --- a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/ProcessControllerTests.java +++ b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/ProcessControllerTests.java @@ -41,7 +41,6 @@ /** * ProcessController Tests * - * @author lorne.cl */ public class ProcessControllerTests { @@ -140,4 +139,4 @@ private ProcessControllerImpl createProcessorController(ProcessCtrlEventPublishe return processorController; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockInstruction.java b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockInstruction.java index 4e2f9842b23..8ec76d98d99 100644 --- a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockInstruction.java +++ b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockInstruction.java @@ -19,7 +19,6 @@ import io.seata.saga.proctrl.Instruction; /** - * @author lorne.cl */ public class MockInstruction implements Instruction { @@ -37,4 +36,4 @@ public void setTestString(String testString) { public String toString() { return "MockInstruction{" + "testString='" + testString + '\'' + '}'; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessHandler.java b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessHandler.java index c5c4fd97018..9fdd78eb2ec 100644 --- a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessHandler.java +++ b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessHandler.java @@ -21,7 +21,6 @@ import io.seata.saga.proctrl.handler.ProcessHandler; /** - * @author lorne.cl */ public class MockProcessHandler implements ProcessHandler { @@ -29,4 +28,4 @@ public class MockProcessHandler implements ProcessHandler { public void process(ProcessContext context) throws FrameworkException { System.out.println("MockProcessHandler.process executed. context: " + context); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessRouter.java b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessRouter.java index e635ebe69c6..9a1e7674b88 100644 --- a/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessRouter.java +++ b/saga/seata-saga-processctrl/src/test/java/io/seata/saga/proctrl/mock/MockProcessRouter.java @@ -22,7 +22,6 @@ import io.seata.saga.proctrl.ProcessRouter; /** - * @author lorne.cl */ public class MockProcessRouter implements ProcessRouter { @@ -42,4 +41,4 @@ public Instruction route(ProcessContext context) throws FrameworkException { } return instruction; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/RMHandlerSaga.java b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/RMHandlerSaga.java index dd6f0b37a81..4db09a5f65d 100644 --- a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/RMHandlerSaga.java +++ b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/RMHandlerSaga.java @@ -25,7 +25,6 @@ /** * The type Rm handler SAGA. * - * @author lorne.cl */ public class RMHandlerSaga extends AbstractRMHandler { diff --git a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResource.java b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResource.java index 1aef957d548..aa5b8ff2968 100644 --- a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResource.java +++ b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResource.java @@ -22,7 +22,6 @@ /** * Saga resource (Only register application as a saga resource) * - * @author lorne.cl */ public class SagaResource implements Resource { @@ -86,4 +85,4 @@ public String getApplicationId() { public void setApplicationId(String applicationId) { this.applicationId = applicationId; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResourceManager.java b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResourceManager.java index c5059daffcc..86fa4598c40 100644 --- a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResourceManager.java +++ b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/SagaResourceManager.java @@ -37,7 +37,6 @@ /** * Saga resource manager * - * @author lorne.cl */ public class SagaResourceManager extends AbstractResourceManager { diff --git a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/StateMachineEngineHolder.java b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/StateMachineEngineHolder.java index 49895d84508..ba4bcf74999 100644 --- a/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/StateMachineEngineHolder.java +++ b/saga/seata-saga-rm/src/main/java/io/seata/saga/rm/StateMachineEngineHolder.java @@ -19,7 +19,6 @@ import io.seata.saga.engine.StateMachineEngine; /** - * @author lorne.cl */ public class StateMachineEngineHolder { @@ -32,4 +31,4 @@ public static StateMachineEngine getStateMachineEngine() { public void setStateMachineEngine(StateMachineEngine smEngine) { stateMachineEngine = smEngine; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ChoiceState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ChoiceState.java index bd27a2d54d4..b58c9a1eb87 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ChoiceState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ChoiceState.java @@ -21,7 +21,6 @@ /** * Choice State, We can choose only one choice * - * @author lorne.cl */ public interface ChoiceState extends State { @@ -48,4 +47,4 @@ static interface Choice { String getNext(); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensateSubStateMachineState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensateSubStateMachineState.java index a4d8925d9b5..bad71df40f8 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensateSubStateMachineState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensateSubStateMachineState.java @@ -19,8 +19,7 @@ /** * Compensate SubStateMachine State * - * @author lorne.cl */ public interface CompensateSubStateMachineState extends ServiceTaskState { -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensationTriggerState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensationTriggerState.java index fe15b53675d..eacef283463 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensationTriggerState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/CompensationTriggerState.java @@ -19,8 +19,7 @@ /** * Compensation trigger State * - * @author lorne.cl */ public interface CompensationTriggerState extends State { -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/DomainConstants.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/DomainConstants.java index 04acdb8b833..87bd9fe44a1 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/DomainConstants.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/DomainConstants.java @@ -19,7 +19,6 @@ /** * State Language Domain Constants * - * @author lorne.cl */ public interface DomainConstants { @@ -97,4 +96,4 @@ public interface DomainConstants { String SEPERATOR_PARENT_ID = ":"; String DEFAULT_JSON_PARSER = "fastjson"; -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/EndState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/EndState.java index af76aa2695f..1b750c524c5 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/EndState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/EndState.java @@ -19,8 +19,7 @@ /** * End State * - * @author lorne.cl */ public interface EndState extends State { -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ExecutionStatus.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ExecutionStatus.java index cea4a27b749..050e1fdb7ca 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ExecutionStatus.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ExecutionStatus.java @@ -19,7 +19,6 @@ /** * Execution Status * - * @author lorne.cl */ public enum ExecutionStatus { @@ -57,4 +56,4 @@ private ExecutionStatus(String statusString) { public String getStatusString() { return statusString; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/FailEndState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/FailEndState.java index 99725cd61db..4e8e5cac71c 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/FailEndState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/FailEndState.java @@ -19,7 +19,6 @@ /** * Fail End State * - * @author lorne.cl */ public interface FailEndState extends EndState { @@ -36,4 +35,4 @@ public interface FailEndState extends EndState { * @return the state error message */ String getMessage(); -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/LoopStartState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/LoopStartState.java index ce5c4153a1a..f52bd755a31 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/LoopStartState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/LoopStartState.java @@ -19,7 +19,6 @@ /** * Loop Starter * - * @author anselleeyy */ public interface LoopStartState extends State { diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/RecoverStrategy.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/RecoverStrategy.java index 7929b3fce66..59a926cfee4 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/RecoverStrategy.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/RecoverStrategy.java @@ -19,7 +19,6 @@ /** * Recover Strategy * - * @author lorne.cl */ public enum RecoverStrategy { @@ -32,4 +31,4 @@ public enum RecoverStrategy { * Forward */ Forward -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ScriptTaskState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ScriptTaskState.java index b95bdf61849..3860ba3752f 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ScriptTaskState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ScriptTaskState.java @@ -19,7 +19,6 @@ /** * ScriptTask State, execute scripts * - * @author lorne.cl */ public interface ScriptTaskState extends TaskState { @@ -36,4 +35,4 @@ public interface ScriptTaskState extends TaskState { * @return the script content */ String getScriptContent(); -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ServiceTaskState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ServiceTaskState.java index e8e65e215a9..0a525b0f072 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ServiceTaskState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/ServiceTaskState.java @@ -21,7 +21,6 @@ /** * ServiceTask State, be used to invoke a service * - * @author lorne.cl */ public interface ServiceTaskState extends TaskState { @@ -73,4 +72,4 @@ public interface ServiceTaskState extends TaskState { * @return the boolean */ Boolean isCompensatePersistModeUpdate(); -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/State.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/State.java index 981f6dd0e76..52535746ab6 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/State.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/State.java @@ -21,7 +21,6 @@ /** * A State in StateMachine * - * @author lorne.cl */ public interface State { @@ -66,4 +65,4 @@ public interface State { * @return the state machine */ StateMachine getStateMachine(); -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateInstance.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateInstance.java index c5f46ef146b..39109b3c0c5 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateInstance.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateInstance.java @@ -21,7 +21,6 @@ /** * State execution instance * - * @author lorne.cl */ public interface StateInstance { @@ -374,4 +373,4 @@ public interface StateInstance { * @return the get compensation status */ ExecutionStatus getCompensationStatus(); -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachine.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachine.java index 7a8c87ce595..b4c7c3d6e8d 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachine.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachine.java @@ -22,7 +22,6 @@ /** * StateMachine * - * @author lorne.cl */ public interface StateMachine { @@ -200,4 +199,4 @@ public String getStatusString() { return statusString; } } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachineInstance.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachineInstance.java index c1a69c79185..b4b8efec3b1 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachineInstance.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/StateMachineInstance.java @@ -23,7 +23,6 @@ /** * StateMachine execution instance * - * @author lorne.cl */ public interface StateMachineInstance { @@ -328,4 +327,4 @@ public interface StateMachineInstance { * @param serializedException the serialized exception */ void setSerializedException(Object serializedException); -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SubStateMachine.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SubStateMachine.java index 282a445d9e0..b1715c44388 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SubStateMachine.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SubStateMachine.java @@ -19,7 +19,6 @@ /** * SubStateMachine * - * @author lorne.cl * @see TaskState */ public interface SubStateMachine extends TaskState { @@ -37,4 +36,4 @@ public interface SubStateMachine extends TaskState { * @return the compensate state object */ TaskState getCompensateStateObject(); -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SucceedEndState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SucceedEndState.java index 1a11e11e6b4..a273a146f0e 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SucceedEndState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/SucceedEndState.java @@ -19,8 +19,7 @@ /** * SucceedEndState * - * @author lorne.cl */ public interface SucceedEndState extends EndState { -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/TaskState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/TaskState.java index 30b14425cc6..0997cd10151 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/TaskState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/TaskState.java @@ -22,7 +22,6 @@ /** * A state used to execute a task * - * @author lorne.cl */ public interface TaskState extends State { @@ -222,4 +221,4 @@ interface Loop { */ String getCompletionCondition(); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/AbstractTaskState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/AbstractTaskState.java index 51845f235d5..c78bd3001c2 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/AbstractTaskState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/AbstractTaskState.java @@ -25,7 +25,6 @@ /** * The state of the execution task (abstract class), the specific task to be executed is determined by the subclass * - * @author lorne.cl */ public abstract class AbstractTaskState extends BaseState implements TaskState { @@ -310,4 +309,4 @@ public void setCompletionCondition(String completionCondition) { this.completionCondition = completionCondition; } } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/BaseState.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/BaseState.java index a6e625a015b..1ba9aa1c02a 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/BaseState.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/BaseState.java @@ -24,7 +24,6 @@ /** * BaseState * - * @author lorne.cl */ public abstract class BaseState implements State { @@ -88,4 +87,4 @@ public String getType() { protected void setType(String type) { this.type = type; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ChoiceStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ChoiceStateImpl.java index 257dbb68f59..99e9d8f1c12 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ChoiceStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ChoiceStateImpl.java @@ -25,7 +25,6 @@ /** * Single selection status * - * @author lorne.cl */ public class ChoiceStateImpl extends BaseState implements ChoiceState { @@ -89,4 +88,4 @@ public void setNext(String next) { this.next = next; } } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensateSubStateMachineStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensateSubStateMachineStateImpl.java index 40678c0348d..fd5d3b58e6a 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensateSubStateMachineStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensateSubStateMachineStateImpl.java @@ -22,10 +22,9 @@ /** * Used to compensate the state of the sub state machine, inherited from ServiceTaskState * - * @author lorne.cl */ public class CompensateSubStateMachineStateImpl extends ServiceTaskStateImpl implements CompensateSubStateMachineState { public CompensateSubStateMachineStateImpl() { setType(DomainConstants.STATE_TYPE_SUB_MACHINE_COMPENSATION); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensationTriggerStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensationTriggerStateImpl.java index ff5ec61c746..4691bf769ac 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensationTriggerStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/CompensationTriggerStateImpl.java @@ -22,11 +22,10 @@ /** * Triggering the "compensation" process for the state machine * - * @author lorne.cl */ public class CompensationTriggerStateImpl extends BaseState implements CompensationTriggerState { public CompensationTriggerStateImpl() { setType(DomainConstants.STATE_TYPE_COMPENSATION_TRIGGER); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/FailEndStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/FailEndStateImpl.java index dc92255233b..ed5a80235dd 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/FailEndStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/FailEndStateImpl.java @@ -22,7 +22,6 @@ /** * FailEndState * - * @author lorne.cl */ public class FailEndStateImpl extends BaseState implements FailEndState { @@ -50,4 +49,4 @@ public String getMessage() { public void setMessage(String message) { this.message = message; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/LoopStartStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/LoopStartStateImpl.java index 34acb7ac629..c6a5c67cba2 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/LoopStartStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/LoopStartStateImpl.java @@ -22,7 +22,6 @@ /** * Start the "loop" execution for the state with loop attribute * - * @author anselleeyy */ public class LoopStartStateImpl extends BaseState implements LoopStartState { diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ScriptTaskStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ScriptTaskStateImpl.java index a439eb80584..cb46ed4a167 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ScriptTaskStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ScriptTaskStateImpl.java @@ -22,7 +22,6 @@ /** * A state used to execute script such as groovy * - * @author lorne.cl */ public class ScriptTaskStateImpl extends AbstractTaskState implements ScriptTaskState { @@ -53,4 +52,4 @@ public void setScriptType(String scriptType) { public void setScriptContent(String scriptContent) { this.scriptContent = scriptContent; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ServiceTaskStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ServiceTaskStateImpl.java index 4ec791a4fb1..6970601e175 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ServiceTaskStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/ServiceTaskStateImpl.java @@ -26,7 +26,6 @@ /** * A state used to invoke a service * - * @author lorne.cl */ public class ServiceTaskStateImpl extends AbstractTaskState implements ServiceTaskState { @@ -101,4 +100,4 @@ public boolean isAsync() { public void setAsync(boolean async) { isAsync = async; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateInstanceImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateInstanceImpl.java index e10453fe029..d9974b4def9 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateInstanceImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateInstanceImpl.java @@ -26,7 +26,6 @@ /** * state execution instance * - * @author lorne.cl */ public class StateInstanceImpl implements StateInstance { @@ -308,4 +307,4 @@ public ExecutionStatus getCompensationStatus() { return null; } } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineImpl.java index c4e2574fe86..947d7db4f0f 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineImpl.java @@ -27,7 +27,6 @@ /** * state machine * - * @author lorne.cl */ public class StateMachineImpl implements StateMachine { @@ -210,4 +209,4 @@ public Boolean isCompensatePersistModeUpdate() { public void setCompensatePersistModeUpdate(Boolean compensatePersistModeUpdate) { this.compensatePersistModeUpdate = compensatePersistModeUpdate; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineInstanceImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineInstanceImpl.java index 27fa0085ead..0120e483039 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineInstanceImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/StateMachineInstanceImpl.java @@ -32,7 +32,6 @@ /** * state machine execution instance * - * @author lorne.cl */ public class StateMachineInstanceImpl implements StateMachineInstance { @@ -275,4 +274,4 @@ public Object getSerializedException() { public void setSerializedException(Object serializedException) { this.serializedException = serializedException; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SubStateMachineImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SubStateMachineImpl.java index 2e2b4f31d3f..6cfc9e95260 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SubStateMachineImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SubStateMachineImpl.java @@ -23,7 +23,6 @@ /** * sub state machine * - * @author lorne.cl */ public class SubStateMachineImpl extends ServiceTaskStateImpl implements SubStateMachine { @@ -52,4 +51,4 @@ public TaskState getCompensateStateObject() { public void setCompensateStateObject(TaskState compensateStateObject) { this.compensateStateObject = compensateStateObject; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SucceedEndStateImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SucceedEndStateImpl.java index 5e4411d11c3..5463d632564 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SucceedEndStateImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/domain/impl/SucceedEndStateImpl.java @@ -22,11 +22,10 @@ /** * SucceedEndState * - * @author lorne.cl */ public class SucceedEndStateImpl extends BaseState implements SucceedEndState { public SucceedEndStateImpl() { setType(DomainConstants.STATE_TYPE_SUCCEED); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParser.java index 9112842d87e..bf50384f962 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParser.java @@ -20,7 +20,6 @@ * * Json Parser * - * @author lorne.cl */ public interface JsonParser { @@ -67,4 +66,4 @@ public interface JsonParser { * @return the parse result */ T parse(String json, Class type, boolean ignoreAutoType); -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParserFactory.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParserFactory.java index fb0406e523a..3f847c40c23 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParserFactory.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/JsonParserFactory.java @@ -25,7 +25,6 @@ /** * JsonParserFactory * - * @author lorne.cl */ public class JsonParserFactory { @@ -44,4 +43,4 @@ public static JsonParser getJsonParser(String name) { return CollectionUtils.computeIfAbsent(INSTANCES, name, key -> EnhancedServiceLoader.load(JsonParser.class, name, Thread.currentThread().getContextClassLoader())); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParser.java index 59c17e8d3ea..3a52d85d195 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParser.java @@ -21,7 +21,6 @@ /** * State machine parser * - * @author lorne.cl */ public interface StateMachineParser { @@ -32,4 +31,4 @@ public interface StateMachineParser { * @return the state machine */ StateMachine parse(String json); -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParserFactory.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParserFactory.java index f3480f6391b..713a80ab223 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParserFactory.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateMachineParserFactory.java @@ -21,11 +21,10 @@ /** * A simple factory of State machine language parser * - * @author lorne.cl */ public class StateMachineParserFactory { public static StateMachineParser getStateMachineParser(String jsonParserName) { return new StateMachineParserImpl(jsonParserName); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParser.java index 8834063cedd..f81bcd56839 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParser.java @@ -21,7 +21,6 @@ /** * State Parser * - * @author lorne.cl */ public interface StateParser { @@ -32,4 +31,4 @@ public interface StateParser { * @return the state model */ T parse(Object node); -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParserFactory.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParserFactory.java index 7060a358e35..3a9dd172ea0 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParserFactory.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/StateParserFactory.java @@ -32,7 +32,6 @@ /** * A simple factory of state parser * - * @author lorne.cl */ public class StateParserFactory { @@ -53,4 +52,4 @@ public class StateParserFactory { public static StateParser getStateParser(String stateType) { return stateParserMap.get(stateType); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/AbstractTaskStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/AbstractTaskStateParser.java index d20ed01bd8d..5f0f91a2d75 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/AbstractTaskStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/AbstractTaskStateParser.java @@ -32,7 +32,6 @@ /** * AbstractTaskStateParser * - * @author lorne.cl */ public abstract class AbstractTaskStateParser extends BaseStatePaser { @@ -149,4 +148,4 @@ protected Loop parseLoop(Object loopObj) { return loop; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/BaseStatePaser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/BaseStatePaser.java index f92f021cab4..489dbccf6ed 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/BaseStatePaser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/BaseStatePaser.java @@ -23,7 +23,6 @@ /** * BaseStatePaser * - * @author lorne.cl */ public abstract class BaseStatePaser { @@ -34,4 +33,4 @@ protected void parseBaseAttributes(BaseState state, Object node) { state.setNext((String)nodeMap.get("Next")); state.setExtensions((Map)nodeMap.get("Extensions")); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ChoiceStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ChoiceStateParser.java index 610d3ffb7ed..98c93524c0a 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ChoiceStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ChoiceStateParser.java @@ -29,7 +29,6 @@ /** * Single item selection state parser * - * @author lorne.cl */ public class ChoiceStateParser extends BaseStatePaser implements StateParser { @@ -57,4 +56,4 @@ public ChoiceState parse(Object node) { return choiceState; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensateSubStateMachineStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensateSubStateMachineStateParser.java index de7c804b9cf..090ffc5645a 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensateSubStateMachineStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensateSubStateMachineStateParser.java @@ -25,7 +25,6 @@ /** * CompensateSubStateMachineState Parser * - * @author lorne.cl */ public class CompensateSubStateMachineStateParser extends AbstractTaskStateParser implements StateParser { @@ -44,4 +43,4 @@ public ServiceTaskState parse(Object node) { } return compensateSubStateMachineState; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensationTriggerStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensationTriggerStateParser.java index 0078899ef20..dc8047ab2e9 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensationTriggerStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/CompensationTriggerStateParser.java @@ -23,7 +23,6 @@ /** * 'trigger compensation process' state parser * - * @author lorne.cl */ public class CompensationTriggerStateParser extends BaseStatePaser implements StateParser { @@ -35,4 +34,4 @@ public CompensationTriggerState parse(Object node) { return compensationTriggerState; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FailEndStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FailEndStateParser.java index 80acb8f76d4..95df758452d 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FailEndStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FailEndStateParser.java @@ -25,7 +25,6 @@ /** * Failed end state parser * - * @author lorne.cl */ public class FailEndStateParser extends BaseStatePaser implements StateParser { @@ -41,4 +40,4 @@ public FailEndState parse(Object node) { return failEndState; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FastjsonParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FastjsonParser.java index fe96238b128..8735dd2258f 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FastjsonParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/FastjsonParser.java @@ -25,7 +25,6 @@ /** * JsonParser implement by Fastjson * - * @author lorne.cl */ @LoadLevel(name = FastjsonParser.NAME) public class FastjsonParser implements JsonParser { @@ -92,4 +91,4 @@ public T parse(String json, Class type, boolean ignoreAutoType) { return JSON.parseObject(json, type, Feature.SupportAutoType, Feature.OrderedField); } } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/JacksonJsonParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/JacksonJsonParser.java index 7de8f24ca20..a4e6ec8f53b 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/JacksonJsonParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/JacksonJsonParser.java @@ -32,7 +32,6 @@ /** * JsonParser implement by Jackson * - * @author lorne.cl */ @LoadLevel(name = JacksonJsonParser.NAME) public class JacksonJsonParser implements JsonParser { @@ -110,4 +109,4 @@ public T parse(String json, Class type, boolean ignoreAutoType) { throw new RuntimeException("Parse json to object error", e); } } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ScriptTaskStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ScriptTaskStateParser.java index d8351b7056c..0ab66c5accf 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ScriptTaskStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ScriptTaskStateParser.java @@ -26,7 +26,6 @@ /** * ScriptTaskState parser * - * @author lorne.cl */ public class ScriptTaskStateParser extends AbstractTaskStateParser implements StateParser { @@ -50,4 +49,4 @@ public ScriptTaskState parse(Object node) { return scriptTaskState; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ServiceTaskStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ServiceTaskStateParser.java index 4cb8e48968b..1a1bbf93352 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ServiceTaskStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/ServiceTaskStateParser.java @@ -26,7 +26,6 @@ /** * ServcieTaskTask parser * - * @author lorne.cl */ public class ServiceTaskStateParser extends AbstractTaskStateParser implements StateParser { @@ -49,4 +48,4 @@ public ServiceTaskState parse(Object node) { return serviceTaskState; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/StateMachineParserImpl.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/StateMachineParserImpl.java index cf018edf53c..c9b680a2995 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/StateMachineParserImpl.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/StateMachineParserImpl.java @@ -38,7 +38,6 @@ /** * State machine language parser * - * @author lorne.cl */ public class StateMachineParserImpl implements StateMachineParser { diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SubStateMachineParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SubStateMachineParser.java index cfc0568a525..443ba0d3b07 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SubStateMachineParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SubStateMachineParser.java @@ -27,7 +27,6 @@ /** * SubStateMachineParser * - * @author lorne.cl */ public class SubStateMachineParser extends AbstractTaskStateParser implements StateParser { @@ -52,4 +51,4 @@ public SubStateMachine parse(Object node) { return subStateMachine; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SucceedEndStateParser.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SucceedEndStateParser.java index 2819562cff1..3ccb5707957 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SucceedEndStateParser.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/impl/SucceedEndStateParser.java @@ -23,7 +23,6 @@ /** * Succeed end state parser * - * @author lorne.cl */ public class SucceedEndStateParser extends BaseStatePaser implements StateParser { @@ -35,4 +34,4 @@ public SucceedEndState parse(Object node) { return succeedEndState; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/DesignerJsonTransformer.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/DesignerJsonTransformer.java index fd0d3920454..9e171b0ef32 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/DesignerJsonTransformer.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/DesignerJsonTransformer.java @@ -34,7 +34,6 @@ /** * Transform designer json to standard Saga State language json * - * @author lorne.cl */ public class DesignerJsonTransformer { @@ -285,4 +284,4 @@ public static String generateTracingGraphJson(StateMachineInstance stateMachineI } return ""; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/IOUtils.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/IOUtils.java index 6ef456b9365..f55deb904f9 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/IOUtils.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/IOUtils.java @@ -27,7 +27,6 @@ * IOUtils * copy from commons-io * - * @author lorne.cl */ public class IOUtils { @@ -63,4 +62,4 @@ public static int copy(Reader input, Writer output) throws IOException { } return count; } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/ResourceUtil.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/ResourceUtil.java index b7268fe88c4..f1c973157b7 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/ResourceUtil.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/ResourceUtil.java @@ -26,7 +26,6 @@ /** * State lang resource util. * - * @author wang.liang */ public class ResourceUtil { @@ -46,4 +45,4 @@ public static Resource[] getResources(String[] locationArr) { .flatMap(location -> Stream.of(getResources(location))) .toArray(i -> new Resource[i]); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/StateMachineUtils.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/StateMachineUtils.java index ebb4bf0d4fc..ab95000c87d 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/StateMachineUtils.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/parser/utils/StateMachineUtils.java @@ -30,7 +30,6 @@ /** * Util class for parsing StateMachine * - * @author ptyin */ public class StateMachineUtils { public static Set getAllPossibleSubsequentStates(State state) { diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/Rule.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/Rule.java index a5050b3214c..cff69a25ac3 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/Rule.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/Rule.java @@ -21,7 +21,6 @@ /** * Validation rule interface, use SPI to inject rules * - * @author ptyin */ public interface Rule { /** diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/RuleFactory.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/RuleFactory.java index cf47a5afaef..307ba427b5e 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/RuleFactory.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/RuleFactory.java @@ -23,7 +23,6 @@ /** * Factorial class to get all rules. * - * @author ptyin */ public class RuleFactory { private static final List RULES = EnhancedServiceLoader.loadAll(Rule.class); diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/StateMachineValidator.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/StateMachineValidator.java index 612b3c40181..4e9d4b7e1c4 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/StateMachineValidator.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/StateMachineValidator.java @@ -23,7 +23,6 @@ /** * State machine validator used to validate rules. * - * @author ptyin */ public class StateMachineValidator { diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/ValidationException.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/ValidationException.java index 9c429751ead..ef8ac69a5f1 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/ValidationException.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/ValidationException.java @@ -21,7 +21,6 @@ /** * Validation exception throws if exception occurs in validation phase. * - * @author ptyin */ public class ValidationException extends RuntimeException { diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/AbstractRule.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/AbstractRule.java index 496437d2750..23aca162cd3 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/AbstractRule.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/AbstractRule.java @@ -21,7 +21,6 @@ /** * Abstract class for {@link Rule} * - * @author ptyin */ public abstract class AbstractRule implements Rule { diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/FiniteTerminationRule.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/FiniteTerminationRule.java index f743641b35b..f75da342e03 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/FiniteTerminationRule.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/FiniteTerminationRule.java @@ -30,7 +30,6 @@ /** * Rule to check if the state machine can terminate in finite time, i.e. if there is an infinite loop * - * @author ptyin */ public class FiniteTerminationRule extends AbstractRule { diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/NoRecursiveSubStateMachineRule.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/NoRecursiveSubStateMachineRule.java index 5f0bec232f9..83614654d68 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/NoRecursiveSubStateMachineRule.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/NoRecursiveSubStateMachineRule.java @@ -24,7 +24,6 @@ /** * Rule to check if all SubStateMachines has no recursive call * - * @author ptyin */ public class NoRecursiveSubStateMachineRule extends AbstractRule { diff --git a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/StateNameExistsRule.java b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/StateNameExistsRule.java index 6708b096e45..d426dd45eea 100644 --- a/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/StateNameExistsRule.java +++ b/saga/seata-saga-statelang/src/main/java/io/seata/saga/statelang/validator/impl/StateNameExistsRule.java @@ -25,7 +25,6 @@ /** * Rule to check if all the state name exists * - * @author ptyin */ public class StateNameExistsRule extends AbstractRule { diff --git a/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/StateParserTests.java b/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/StateParserTests.java index 5aaeacc5e6b..b0c93d811ce 100644 --- a/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/StateParserTests.java +++ b/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/StateParserTests.java @@ -30,7 +30,6 @@ /** * StateParser tests * - * @author lorne.cl */ public class StateParserTests { @@ -119,4 +118,4 @@ public void testRecursiveSubStateMachine() throws IOException { }); Assertions.assertTrue(e.getMessage().endsWith("call itself")); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/utils/ResourceUtilTests.java b/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/utils/ResourceUtilTests.java index 4cc8a72d0e6..29e1f8f2894 100644 --- a/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/utils/ResourceUtilTests.java +++ b/saga/seata-saga-statelang/src/test/java/io/seata/saga/statelang/parser/utils/ResourceUtilTests.java @@ -24,7 +24,6 @@ /** * ResourceUtil tests * - * @author wang.liang */ public class ResourceUtilTests { @@ -36,4 +35,4 @@ public void getResources_test() { Resource[] resources2 = ResourceUtil.getResources(new String[]{"classpath*:statelang/*.json"}); assertThat(resources2.length).isEqualTo(6); } -} \ No newline at end of file +} diff --git a/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/DefaultSagaTransactionalTemplate.java b/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/DefaultSagaTransactionalTemplate.java index b00a80ad4c2..923a442e57f 100644 --- a/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/DefaultSagaTransactionalTemplate.java +++ b/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/DefaultSagaTransactionalTemplate.java @@ -49,7 +49,6 @@ /** * Template of executing business logic with a global transaction for SAGA mode * - * @author lorne.cl */ public class DefaultSagaTransactionalTemplate implements SagaTransactionalTemplate, ApplicationContextAware, DisposableBean, InitializingBean { diff --git a/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/SagaTransactionalTemplate.java b/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/SagaTransactionalTemplate.java index 188b9fab828..78ef8c258bb 100644 --- a/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/SagaTransactionalTemplate.java +++ b/saga/seata-saga-tm/src/main/java/io/seata/saga/tm/SagaTransactionalTemplate.java @@ -26,7 +26,6 @@ /** * Template of executing business logic with a global transaction for SAGA mode * - * @author lorne.cl */ public interface SagaTransactionalTemplate { @@ -52,4 +51,4 @@ void branchReport(String xid, long branchId, BranchStatus status, String applica void triggerAfterCompletion(GlobalTransaction tx); void cleanUp(); -} \ No newline at end of file +} diff --git a/script/config-center/etcd3/etcd3-config-interactive.sh b/script/config-center/etcd3/etcd3-config-interactive.sh index 275834200a5..3ecef9c9941 100644 --- a/script/config-center/etcd3/etcd3-config-interactive.sh +++ b/script/config-center/etcd3/etcd3-config-interactive.sh @@ -17,7 +17,6 @@ # # etcd REST API v3. -# author:wangyuewen # shellcheck disable=SC2039,SC2162,SC2046,SC2013,SC2002 echo -e "Please enter the host of etcd3.\n请输入etcd3的host [localhost]:" diff --git a/script/config-center/nacos/nacos-config-interactive.py b/script/config-center/nacos/nacos-config-interactive.py index f23654ce834..28c2a30a86a 100644 --- a/script/config-center/nacos/nacos-config-interactive.py +++ b/script/config-center/nacos/nacos-config-interactive.py @@ -1,6 +1,5 @@ #!/usr/bin/env python3 # -*- coding: UTF-8 -*- -# @Author : wangyeuwen import http.client import urllib.parse import re diff --git a/script/config-center/nacos/nacos-config-interactive.sh b/script/config-center/nacos/nacos-config-interactive.sh index 8ea84a28e37..d6c05fed37e 100644 --- a/script/config-center/nacos/nacos-config-interactive.sh +++ b/script/config-center/nacos/nacos-config-interactive.sh @@ -16,8 +16,6 @@ # limitations under the License. # -# author:wangyuewen - # shellcheck disable=SC2039,SC2162,SC2046,SC2013,SC2002,SC2086 echo -e "Please enter the host of nacos.\n请输入nacos的host [localhost]:" read -p ">>> " host diff --git a/seata-plugin/seata-jackson-parser-oracle/src/main/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializer.java b/seata-plugin/seata-jackson-parser-oracle/src/main/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializer.java index 7f6ff847315..e994c774279 100644 --- a/seata-plugin/seata-jackson-parser-oracle/src/main/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializer.java +++ b/seata-plugin/seata-jackson-parser-oracle/src/main/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializer.java @@ -34,7 +34,6 @@ import java.io.IOException; /** - * @author jsbxyyx */ @LoadLevel(name = "oracleTimestamp") public class OracleTimestampJacksonSerializer implements JacksonSerializer { diff --git a/seata-plugin/seata-jackson-parser-oracle/src/test/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializerTest.java b/seata-plugin/seata-jackson-parser-oracle/src/test/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializerTest.java index 657f8c3414d..60fee367a98 100644 --- a/seata-plugin/seata-jackson-parser-oracle/src/test/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializerTest.java +++ b/seata-plugin/seata-jackson-parser-oracle/src/test/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializerTest.java @@ -24,7 +24,6 @@ import java.util.List; /** - * @author jsbxyyx */ public class OracleTimestampJacksonSerializerTest { diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataClientEnvironmentPostProcessor.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataClientEnvironmentPostProcessor.java index 6050fdbdae8..9598e5dba26 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataClientEnvironmentPostProcessor.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataClientEnvironmentPostProcessor.java @@ -49,8 +49,6 @@ /** - * @author xingfudeshi@gmail.com - * @author wang.liang */ public class SeataClientEnvironmentPostProcessor implements EnvironmentPostProcessor, Ordered { @@ -75,4 +73,4 @@ public void postProcessEnvironment(ConfigurableEnvironment environment, SpringAp public int getOrder() { return Ordered.HIGHEST_PRECEDENCE; } -} \ No newline at end of file +} diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataSpringFenceAutoConfiguration.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataSpringFenceAutoConfiguration.java index 7a9428433da..00a1b88002a 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataSpringFenceAutoConfiguration.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/SeataSpringFenceAutoConfiguration.java @@ -38,7 +38,6 @@ /** * Spring fence auto configuration. * - * @author kaka2code */ @ConditionalOnExpression("${seata.enabled:true}") @ConditionalOnBean(type = {"javax.sql.DataSource", "org.springframework.transaction.PlatformTransactionManager"}) @@ -63,4 +62,4 @@ public SpringFenceConfig springFenceConfig( return springFenceConfig; } -} \ No newline at end of file +} diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SagaAsyncThreadPoolProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SagaAsyncThreadPoolProperties.java index 966d532ce91..11a29dde5a0 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SagaAsyncThreadPoolProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SagaAsyncThreadPoolProperties.java @@ -23,7 +23,6 @@ /** * Saga state machine async thread pool properties. * - * @author wang.liang */ @Component @ConfigurationProperties(StarterConstants.SAGA_ASYNC_THREAD_POOL_PREFIX) @@ -67,4 +66,4 @@ public int getKeepAliveTime() { public void setKeepAliveTime(int keepAliveTime) { this.keepAliveTime = keepAliveTime; } -} \ No newline at end of file +} diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SeataProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SeataProperties.java index 6429470ed5f..acd43759d39 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SeataProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SeataProperties.java @@ -24,7 +24,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.SEATA_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = SEATA_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SpringCloudAlibabaConfiguration.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SpringCloudAlibabaConfiguration.java index a1beb6c33d5..29dc040a70d 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SpringCloudAlibabaConfiguration.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/SpringCloudAlibabaConfiguration.java @@ -28,7 +28,6 @@ /** * The type Spring cloud alibaba configuration. * - * @author slievrly */ @Component @ConfigurationProperties(prefix = StarterConstants.SEATA_SPRING_CLOUD_ALIBABA_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalanceProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalanceProperties.java index 8d2e729c01c..f383a95e291 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalanceProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalanceProperties.java @@ -24,7 +24,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.LOAD_BALANCE_PREFIX_KEBAB_STYLE; /** - * @author ls9527 */ @Component @ConfigurationProperties(prefix = LOAD_BALANCE_PREFIX_KEBAB_STYLE) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LockProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LockProperties.java index ef865df2b7a..c189bde6979 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LockProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/LockProperties.java @@ -25,7 +25,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.LOCK_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = LOCK_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/RmProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/RmProperties.java index afd4ff6f33d..6939182728a 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/RmProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/RmProperties.java @@ -36,7 +36,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.CLIENT_RM_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = CLIENT_RM_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/ServiceProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/ServiceProperties.java index 529622320b1..c4cae5df71f 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/ServiceProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/ServiceProperties.java @@ -31,7 +31,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.SERVICE_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = SERVICE_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/TmProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/TmProperties.java index cf08076d87e..325232695e5 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/TmProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/TmProperties.java @@ -29,7 +29,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.CLIENT_TM_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = CLIENT_TM_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoCompressProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoCompressProperties.java index d3e7e8d4691..6c25f636c99 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoCompressProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoCompressProperties.java @@ -23,7 +23,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.COMPRESS_PREFIX; /** - * @author chd */ @Component @ConfigurationProperties(prefix = COMPRESS_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoProperties.java index b184bda1e18..463815a6e88 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/io/seata/spring/boot/autoconfigure/properties/client/UndoProperties.java @@ -26,7 +26,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.UNDO_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = UNDO_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java index 116e0137b3f..b680e48de15 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java @@ -41,7 +41,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue; /** - * @author xingfudeshi@gmail.com */ public class ClientPropertiesTest { private static AnnotationConfigApplicationContext context; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalancePropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalancePropertiesTest.java index f673f32c97f..196fd3355dc 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalancePropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalancePropertiesTest.java @@ -34,7 +34,6 @@ import static org.mockito.Mockito.mock; /** - * @author xingfudeshi@gmail.com **/ @Import(SpringApplicationContextProvider.class) @org.springframework.context.annotation.Configuration diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreAutoConfiguration.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreAutoConfiguration.java index 534561c4a86..c594cf9375c 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreAutoConfiguration.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreAutoConfiguration.java @@ -27,7 +27,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.SEATA_PREFIX; /** - * @author xingfudeshi@gmail.com */ @ConditionalOnProperty(prefix = SEATA_PREFIX, name = "enabled", havingValue = "true", matchIfMissing = true) @ComponentScan(basePackages = "io.seata.spring.boot.autoconfigure.properties") diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreEnvironmentPostProcessor.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreEnvironmentPostProcessor.java index ec81405ffea..67ef2b370ac 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreEnvironmentPostProcessor.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/SeataCoreEnvironmentPostProcessor.java @@ -69,9 +69,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.TRANSPORT_PREFIX; /** - * @author xingfudeshi@gmail.com - * @author wang.liang - * @author funkye */ public class SeataCoreEnvironmentPostProcessor implements EnvironmentPostProcessor, Ordered { diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/StarterConstants.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/StarterConstants.java index 8c2ff64d768..f6868df3b09 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/StarterConstants.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/StarterConstants.java @@ -21,7 +21,6 @@ import io.seata.config.ConfigurationKeys; /** - * @author xingfudeshi@gmail.com */ public interface StarterConstants { String SEATA_PREFIX = "seata"; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/LogProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/LogProperties.java index db2b51b7c30..d5b92580755 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/LogProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/LogProperties.java @@ -23,7 +23,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.LOG_PREFIX; /** - * @author jsbxyyx */ @Component @ConfigurationProperties(prefix = LOG_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ShutdownProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ShutdownProperties.java index 3c325db901d..283c52397d7 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ShutdownProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ShutdownProperties.java @@ -23,7 +23,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.SHUTDOWN_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = SHUTDOWN_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ThreadFactoryProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ThreadFactoryProperties.java index d0a783ba151..66214ec3546 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ThreadFactoryProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/ThreadFactoryProperties.java @@ -30,7 +30,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.THREAD_FACTORY_PREFIX_KEBAB_STYLE; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = THREAD_FACTORY_PREFIX_KEBAB_STYLE) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/TransportProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/TransportProperties.java index 985e952c875..ee84c363484 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/TransportProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/TransportProperties.java @@ -30,7 +30,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.TRANSPORT_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = TRANSPORT_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigApolloProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigApolloProperties.java index e4d2a7ab493..bae227b1379 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigApolloProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigApolloProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.CONFIG_APOLLO_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = CONFIG_APOLLO_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigConsulProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigConsulProperties.java index 440f2909d69..80bcefec2c7 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigConsulProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigConsulProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.CONFIG_CONSUL_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = CONFIG_CONSUL_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigCustomProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigCustomProperties.java index 888e918ca78..d0f4d0a2e07 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigCustomProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigCustomProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.CONFIG_CUSTOM_PREFIX; /** - * @author jrial95@gmail.com */ @Component @ConfigurationProperties(prefix = CONFIG_CUSTOM_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigEtcd3Properties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigEtcd3Properties.java index deb06170073..e87b411a19c 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigEtcd3Properties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigEtcd3Properties.java @@ -23,7 +23,6 @@ /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = CONFIG_ETCD3_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigFileProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigFileProperties.java index 612704e3c6a..b52ad1864d2 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigFileProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigFileProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.CONFIG_FILE_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = CONFIG_FILE_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigNacosProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigNacosProperties.java index 7404cd32dcb..3b5412807e8 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigNacosProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigNacosProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.CONFIG_NACOS_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = CONFIG_NACOS_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigProperties.java index e11a565b416..9d853247787 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.CONFIG_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = CONFIG_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigZooKeeperProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigZooKeeperProperties.java index 7ed43f5396c..859ed5eeff7 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigZooKeeperProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/config/ConfigZooKeeperProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.CONFIG_ZK_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = CONFIG_ZK_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryConsulProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryConsulProperties.java index d25cf99e3d9..601f4aef2cb 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryConsulProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryConsulProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.REGISTRY_CONSUL_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = REGISTRY_CONSUL_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryCustomProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryCustomProperties.java index eeb2c6e51ac..216d6beec0b 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryCustomProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryCustomProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.REGISTRY_CUSTOM_PREFIX; /** - * @author jrial95@gmail.com */ @Component @ConfigurationProperties(prefix = REGISTRY_CUSTOM_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEtcd3Properties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEtcd3Properties.java index 8cf548ca856..2402118c5fa 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEtcd3Properties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEtcd3Properties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.REGISTRY_ETCD3_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = REGISTRY_ETCD3_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEurekaProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEurekaProperties.java index ae344f29fa4..488d804d9f0 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEurekaProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryEurekaProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.REGISTRY_EUREKA_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = REGISTRY_EUREKA_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryNacosProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryNacosProperties.java index 2f7a158b5d5..1eb5238b7fe 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryNacosProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryNacosProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.REGISTRY_NACOS_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = REGISTRY_NACOS_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryProperties.java index eb19e972395..94e3a321846 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.REGISTRY_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = REGISTRY_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRaftProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRaftProperties.java index 636cb28380c..9977db9d960 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRaftProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRaftProperties.java @@ -23,7 +23,6 @@ import org.springframework.stereotype.Component; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = REGISTRY_RAFT_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRedisProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRedisProperties.java index a8c258311fa..52c3b7c1831 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRedisProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryRedisProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.REGISTRY_REDIS_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = REGISTRY_REDIS_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistrySofaProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistrySofaProperties.java index 3cb9fc958c5..4311eded24c 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistrySofaProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistrySofaProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.REGISTRY_SOFA_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = REGISTRY_SOFA_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryZooKeeperProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryZooKeeperProperties.java index 01a6a7d7321..e3589bc39ff 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryZooKeeperProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/properties/registry/RegistryZooKeeperProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.REGISTRY_ZK_PREFIX; /** - * @author xingfudeshi@gmail.com */ @Component @ConfigurationProperties(prefix = REGISTRY_ZK_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringApplicationContextProvider.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringApplicationContextProvider.java index a361c0ecdec..a7b8204c1da 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringApplicationContextProvider.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringApplicationContextProvider.java @@ -24,7 +24,6 @@ import static io.seata.common.Constants.OBJECT_KEY_SPRING_APPLICATION_CONTEXT; /** - * @author xingfudeshi@gmail.com * The type spring application context provider */ public class SpringApplicationContextProvider implements ApplicationContextAware { diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringBootConfigurationProvider.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringBootConfigurationProvider.java index 1d2bcb93a0e..13367c0300e 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringBootConfigurationProvider.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringBootConfigurationProvider.java @@ -48,8 +48,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.SPECIAL_KEY_VGROUP_MAPPING; /** - * @author xingfudeshi@gmail.com - * @author funkye */ public class SpringBootConfigurationProvider implements ExtConfigurationProvider { @@ -147,7 +145,6 @@ private Object getDefaultValueFromPropertyObject(String dataId) throws IllegalAc * @param propertyObj the property object * @param fieldName the field name * @return defaultValue - * @author xingfudeshi@gmail.com */ @Nullable private Object getDefaultValueFromPropertyObject(Object propertyObj, String fieldName) throws IllegalAccessException { diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/BasePropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/BasePropertiesTest.java index ec02316f03b..076e0fd2aa4 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/BasePropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/BasePropertiesTest.java @@ -33,7 +33,6 @@ import static io.seata.common.Constants.OBJECT_KEY_SPRING_CONFIGURABLE_ENVIRONMENT; /** - * @author slievrly */ public class BasePropertiesTest { protected static AnnotationConfigApplicationContext applicationContex; @@ -74,4 +73,4 @@ public void closeContext() { } } -} \ No newline at end of file +} diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/CorePropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/CorePropertiesTest.java index b1a92512897..829e6f83a2e 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/CorePropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/CorePropertiesTest.java @@ -40,7 +40,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue; /** - * @author xingfudeshi@gmail.com */ public class CorePropertiesTest { private static AnnotationConfigApplicationContext context; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ApolloPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ApolloPropertiesTest.java index 4e4860222dd..5032778e2ea 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ApolloPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ApolloPropertiesTest.java @@ -32,7 +32,6 @@ import static org.mockito.Mockito.mock; /** - * @author slievrly */ @org.springframework.context.annotation.Configuration @Import(SpringApplicationContextProvider.class) @@ -57,4 +56,4 @@ public void testConfigApolloProperties() { assertEquals(STR_TEST_EEE, currentConfiguration.getConfig(ApolloConfiguration.getApolloCluster())); assertEquals(STR_TEST_FFF, currentConfiguration.getConfig(ApolloConfiguration.getApolloConfigService())); } -} \ No newline at end of file +} diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConfigPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConfigPropertiesTest.java index 5c649497a03..91a5de9f54d 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConfigPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConfigPropertiesTest.java @@ -31,7 +31,6 @@ import static org.mockito.Mockito.mock; /** - * @author slievrly */ @org.springframework.context.annotation.Configuration @Import(SpringApplicationContextProvider.class) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConsulPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConsulPropertiesTest.java index 8efbed4cbec..29df747de1d 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConsulPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ConsulPropertiesTest.java @@ -31,7 +31,6 @@ import static org.mockito.Mockito.mock; /** - * @author slievrly */ @org.springframework.context.annotation.Configuration @Import(SpringApplicationContextProvider.class) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/CustomPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/CustomPropertiesTest.java index 5b80d6f293a..1daa1be6cba 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/CustomPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/CustomPropertiesTest.java @@ -31,7 +31,6 @@ import static org.mockito.Mockito.mock; /** - * @author slievrly */ @org.springframework.context.annotation.Configuration @Import(SpringApplicationContextProvider.class) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/Etcd3PropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/Etcd3PropertiesTest.java index f89fca0e89b..f77a39a8e61 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/Etcd3PropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/Etcd3PropertiesTest.java @@ -31,7 +31,6 @@ import static org.mockito.Mockito.mock; /** - * @author slievrly */ @org.springframework.context.annotation.Configuration @Import(SpringApplicationContextProvider.class) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/FilePropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/FilePropertiesTest.java index df06b7232db..8326e799aea 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/FilePropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/FilePropertiesTest.java @@ -31,7 +31,6 @@ import static org.mockito.Mockito.mock; /** - * @author slievrly */ @org.springframework.context.annotation.Configuration @Import(SpringApplicationContextProvider.class) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/NacosPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/NacosPropertiesTest.java index 09d0cb90774..16495310342 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/NacosPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/NacosPropertiesTest.java @@ -32,7 +32,6 @@ import static org.mockito.Mockito.mock; /** - * @author slievrly */ @org.springframework.context.annotation.Configuration @Import(SpringApplicationContextProvider.class) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ZooKeeperPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ZooKeeperPropertiesTest.java index a80cb5894c9..83a6a7ec02a 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ZooKeeperPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/io/seata/spring/boot/autoconfigure/properties/config/test/ZooKeeperPropertiesTest.java @@ -31,7 +31,6 @@ import static org.mockito.Mockito.mock; /** - * @author slievrly */ @org.springframework.context.annotation.Configuration @Import(SpringApplicationContextProvider.class) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/SeataServerEnvironmentPostProcessor.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/SeataServerEnvironmentPostProcessor.java index d47a4a2df28..38525f5f7e1 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/SeataServerEnvironmentPostProcessor.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/SeataServerEnvironmentPostProcessor.java @@ -49,8 +49,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.STORE_SESSION_PREFIX; /** - * @author xingfudeshi@gmail.com - * @author wang.liang */ public class SeataServerEnvironmentPostProcessor implements EnvironmentPostProcessor, Ordered { diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/MetricsProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/MetricsProperties.java index e3f7ac62c26..bfe76e5c56f 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/MetricsProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/MetricsProperties.java @@ -26,7 +26,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.METRICS_PREFIX; /** - * @author spilledyear@outlook.com */ @Component @ConfigurationProperties(prefix = METRICS_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerProperties.java index 7145dbc9c9e..8755313eccd 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerProperties.java @@ -22,7 +22,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.SERVER_PREFIX; /** - * @author spilledyear@outlook.com */ @Component @ConfigurationProperties(prefix = SERVER_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRaftProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRaftProperties.java index f6bf1db82f1..5526db61b6c 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRaftProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRaftProperties.java @@ -23,7 +23,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.SERVER_RAFT_PREFIX; /** - * @author funkye */ @Component @ConfigurationProperties(prefix = SERVER_RAFT_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRecoveryProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRecoveryProperties.java index 7d1b99d07b5..756a5a0a770 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRecoveryProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerRecoveryProperties.java @@ -26,7 +26,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.SERVER_RECOVERY_PREFIX; /** - * @author spilledyear@outlook.com */ @Component @ConfigurationProperties(prefix = SERVER_RECOVERY_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerUndoProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerUndoProperties.java index 72e30553d46..954341ff604 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerUndoProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/ServerUndoProperties.java @@ -24,7 +24,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.SERVER_UNDO_PREFIX; /** - * @author spilledyear@outlook.com */ @Component @ConfigurationProperties(prefix = SERVER_UNDO_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/session/SessionProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/session/SessionProperties.java index adbee17148e..a817a66719c 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/session/SessionProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/session/SessionProperties.java @@ -24,7 +24,6 @@ /** * session properties * - * @author yangwenpeng * @since 2022-01-07 17:39 */ @Component diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreDBProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreDBProperties.java index c5f8110d118..1518d886d7d 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreDBProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreDBProperties.java @@ -25,7 +25,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.STORE_DB_PREFIX; /** - * @author spilledyear@outlook.com */ @Component @ConfigurationProperties(prefix = STORE_DB_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreFileProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreFileProperties.java index 385405104c6..38f5c64ac2b 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreFileProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreFileProperties.java @@ -23,7 +23,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.STORE_FILE_PREFIX; /** - * @author spilledyear@outlook.com */ @Component @ConfigurationProperties(prefix = STORE_FILE_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreProperties.java index 2ff26b02d5f..b20e329f770 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreProperties.java @@ -24,7 +24,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.STORE_LOCK_PREFIX; /** - * @author spilledyear@outlook.com */ @Component @ConfigurationProperties(prefix = STORE_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreRedisProperties.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreRedisProperties.java index 2398cc7e911..f7584ba79ad 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreRedisProperties.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/java/io/seata/spring/boot/autoconfigure/properties/server/store/StoreRedisProperties.java @@ -27,7 +27,6 @@ import static io.seata.spring.boot.autoconfigure.StarterConstants.STORE_REDIS_SENTINEL_PREFIX; /** - * @author spilledyear@outlook.com */ @Component @ConfigurationProperties(prefix = STORE_REDIS_PREFIX) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/test/java/io/seata/spring/boot/autoconfigure/ServerPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/test/java/io/seata/spring/boot/autoconfigure/ServerPropertiesTest.java index 1da23a5fe74..0ebf2b64258 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/test/java/io/seata/spring/boot/autoconfigure/ServerPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/test/java/io/seata/spring/boot/autoconfigure/ServerPropertiesTest.java @@ -37,7 +37,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; /** - * @author xingfudeshi@gmail.com */ public class ServerPropertiesTest { private static AnnotationConfigApplicationContext context; diff --git a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataAutoConfiguration.java b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataAutoConfiguration.java index 6c272805e53..bf5e72f2363 100644 --- a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataAutoConfiguration.java +++ b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataAutoConfiguration.java @@ -41,7 +41,6 @@ /** * The type Seata auto configuration * - * @author xingfudeshi@gmail.com */ @ConditionalOnProperty(prefix = SEATA_PREFIX, name = "enabled", havingValue = "true", matchIfMissing = true) @AutoConfigureAfter({SeataCoreAutoConfiguration.class}) diff --git a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataDataSourceAutoConfiguration.java b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataDataSourceAutoConfiguration.java index 54b5ed56774..e6fa5dc90ee 100644 --- a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataDataSourceAutoConfiguration.java +++ b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataDataSourceAutoConfiguration.java @@ -32,7 +32,6 @@ /** * The type Seata data source auto configuration. * - * @author xingfudeshi@gmail.com */ @ConditionalOnBean(DataSource.class) @ConditionalOnExpression("${seata.enabled:true} && ${seata.enableAutoDataSourceProxy:true} && ${seata.enable-auto-data-source-proxy:true}") diff --git a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataHttpAutoConfiguration.java b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataHttpAutoConfiguration.java index 89a30f0cc08..3fccc8bbd9c 100644 --- a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataHttpAutoConfiguration.java +++ b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataHttpAutoConfiguration.java @@ -32,8 +32,6 @@ /** * Auto bean add for spring webmvc if in springboot env. * - * @author wangxb - * @author wang.liang */ @Configuration(proxyBeanMethods = false) @ConditionalOnWebApplication diff --git a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataSagaAutoConfiguration.java b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataSagaAutoConfiguration.java index acc3c3e08f9..bfe7b387c36 100644 --- a/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataSagaAutoConfiguration.java +++ b/seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/SeataSagaAutoConfiguration.java @@ -44,7 +44,6 @@ /** * Saga auto configuration. * - * @author wang.liang */ @Configuration(proxyBeanMethods = false) @ConditionalOnProperty({StarterConstants.SEATA_PREFIX + ".enabled", StarterConstants.SAGA_PREFIX + ".enabled"}) diff --git a/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/PropertyBeanPostProcessorTest.java b/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/PropertyBeanPostProcessorTest.java index 7a9b5a11b34..499a0d8bc31 100644 --- a/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/PropertyBeanPostProcessorTest.java +++ b/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/PropertyBeanPostProcessorTest.java @@ -25,7 +25,6 @@ import org.springframework.context.annotation.Configuration; /** - * @author xingfudeshi@gmail.com */ @Configuration(proxyBeanMethods = false) public class PropertyBeanPostProcessorTest { diff --git a/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/RedisAutoInjectionTypeConvertTest.java b/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/RedisAutoInjectionTypeConvertTest.java index 61332538b9e..cc41caedb2d 100644 --- a/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/RedisAutoInjectionTypeConvertTest.java +++ b/seata-spring-boot-starter/src/test/java/io/seata/spring/boot/autoconfigure/RedisAutoInjectionTypeConvertTest.java @@ -35,7 +35,6 @@ import static org.mockito.Mockito.mock; /** - * @author zhangheng **/ @Import(SpringApplicationContextProvider.class) @org.springframework.context.annotation.Configuration diff --git a/serializer/seata-serializer-hessian/src/main/java/io/seata/serializer/hessian/HessianSerializer.java b/serializer/seata-serializer-hessian/src/main/java/io/seata/serializer/hessian/HessianSerializer.java index dd9ee161c23..37a93f8aa0b 100644 --- a/serializer/seata-serializer-hessian/src/main/java/io/seata/serializer/hessian/HessianSerializer.java +++ b/serializer/seata-serializer-hessian/src/main/java/io/seata/serializer/hessian/HessianSerializer.java @@ -29,7 +29,6 @@ import java.io.IOException; /** - * @author XinWang */ @LoadLevel(name = "HESSIAN") public class HessianSerializer implements Serializer { diff --git a/serializer/seata-serializer-hessian/src/test/java/io/seata/serializer/hessian/HessianSerializerTest.java b/serializer/seata-serializer-hessian/src/test/java/io/seata/serializer/hessian/HessianSerializerTest.java index 5fad0846e7f..86c695dacb7 100644 --- a/serializer/seata-serializer-hessian/src/test/java/io/seata/serializer/hessian/HessianSerializerTest.java +++ b/serializer/seata-serializer-hessian/src/test/java/io/seata/serializer/hessian/HessianSerializerTest.java @@ -35,7 +35,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author Xin Wang */ public class HessianSerializerTest { diff --git a/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoInnerSerializer.java b/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoInnerSerializer.java index 99ca268e8c5..770b2b709ca 100644 --- a/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoInnerSerializer.java +++ b/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoInnerSerializer.java @@ -25,7 +25,6 @@ import com.esotericsoftware.kryo.io.Output; /** - * @author jsbxyyx */ public class KryoInnerSerializer implements AutoCloseable { diff --git a/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializer.java b/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializer.java index 9562d7c239c..a6c6462e4f4 100644 --- a/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializer.java +++ b/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializer.java @@ -21,7 +21,6 @@ import io.seata.core.serializer.Serializer; /** - * @author jsbxyyx */ @LoadLevel(name = "KRYO") public class KryoSerializer implements Serializer { diff --git a/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializerFactory.java b/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializerFactory.java index 3e4daaa536b..9cc0a7a9b6f 100644 --- a/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializerFactory.java +++ b/serializer/seata-serializer-kryo/src/main/java/io/seata/serializer/kryo/KryoSerializerFactory.java @@ -21,7 +21,6 @@ import io.seata.core.serializer.SerializerSecurityRegistry; /** - * @author jsbxyyx */ public class KryoSerializerFactory { diff --git a/serializer/seata-serializer-kryo/src/test/java/io/seata/serializer/kryo/KryoSerializerTest.java b/serializer/seata-serializer-kryo/src/test/java/io/seata/serializer/kryo/KryoSerializerTest.java index 6ef8c2eaed3..fac6dd979d7 100644 --- a/serializer/seata-serializer-kryo/src/test/java/io/seata/serializer/kryo/KryoSerializerTest.java +++ b/serializer/seata-serializer-kryo/src/test/java/io/seata/serializer/kryo/KryoSerializerTest.java @@ -36,7 +36,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author jsbxyyx */ public class KryoSerializerTest { diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufHelper.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufHelper.java index ac882405b5a..65ca15a006a 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufHelper.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufHelper.java @@ -25,7 +25,6 @@ import java.util.concurrent.ConcurrentMap; /** - * @author leizhiyuan */ public class ProtobufHelper { diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufInnerSerializer.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufInnerSerializer.java index 04e73b21c72..c0539ba4cc5 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufInnerSerializer.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufInnerSerializer.java @@ -23,7 +23,6 @@ import java.lang.reflect.Modifier; /** - * @author leizhiyuan */ public class ProtobufInnerSerializer { @@ -85,4 +84,4 @@ public static T deserializeContent(String responseClazz, byte[] content) { throw new ShouldNeverHappenException("Error when invoke " + clazz.getName() + ".parseFrom(byte[]).", e); } } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufSerializer.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufSerializer.java index 106cf1037b0..98ad2544ece 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufSerializer.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/ProtobufSerializer.java @@ -31,7 +31,6 @@ /** * The type Protobuf codec. * - * @author leizhiyuan */ @LoadLevel(name = "PROTOBUF", order = 0) public class ProtobufSerializer implements Serializer { diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertor.java index e63fa42d6ed..9a7de4f9aff 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertor.java @@ -33,7 +33,6 @@ /** * The type batch result message protobuf convertor. * - * @author zhangchenghui.dev@gmail.com * @since 1.5.0 */ public class BatchResultMessageConvertor implements PbConvertor { @@ -88,4 +87,4 @@ private static String getTypeNameFromTypeUrl(String typeUrl) { int pos = typeUrl.lastIndexOf('/'); return pos == -1 ? "" : typeUrl.substring(pos + 1); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertor.java index 6e89bb258e9..064a29d010b 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertor.java @@ -26,7 +26,6 @@ import io.seata.core.protocol.transaction.BranchCommitRequest; /** - * @author leizhiyuan */ public class BranchCommitRequestConvertor implements PbConvertor { @Override @@ -65,4 +64,4 @@ public BranchCommitRequest convert2Model(BranchCommitRequestProto branchCommitRe return branchCommitRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertor.java index 6d78f37eaff..e6f5556b710 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertor.java @@ -31,7 +31,6 @@ import io.seata.core.protocol.transaction.BranchCommitResponse; /** - * @author leizhiyuan */ public class BranchCommitResponseConvertor implements PbConvertor { @Override @@ -81,4 +80,4 @@ public BranchCommitResponse convert2Model(BranchCommitResponseProto branchCommit .getTransactionExceptionCode().name())); return branchCommitResponse; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertor.java index 7b94fa3ba2d..d3cfac51540 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertor.java @@ -25,7 +25,6 @@ import io.seata.core.protocol.transaction.BranchRegisterRequest; /** - * @author leizhiyuan */ public class BranchRegisterRequestConvertor implements PbConvertor { @Override @@ -59,4 +58,4 @@ public BranchRegisterRequest convert2Model(BranchRegisterRequestProto branchRegi branchRegisterRequest.setXid(branchRegisterRequestProto.getXid()); return branchRegisterRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertor.java index d6ce2b3c098..fb571f35372 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertor.java @@ -28,7 +28,6 @@ import io.seata.core.protocol.transaction.BranchRegisterResponse; /** - * @author leizhiyuan */ public class BranchRegisterResponseConvertor implements PbConvertor { @@ -69,4 +68,4 @@ public BranchRegisterResponse convert2Model(BranchRegisterResponseProto branchRe return branchRegisterResponse; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertor.java index a2a79e25c04..7f5b2492b74 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertor.java @@ -27,7 +27,6 @@ import io.seata.core.protocol.transaction.BranchReportRequest; /** - * @author leizhiyuan */ public class BranchReportRequestConvertor implements PbConvertor { @Override @@ -63,4 +62,4 @@ public BranchReportRequest convert2Model(BranchReportRequestProto branchReportRe branchReportRequest.setStatus(BranchStatus.valueOf(branchReportRequestProto.getStatus().name())); return branchReportRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertor.java index 87780ef4c62..d8251b72d20 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertor.java @@ -28,7 +28,6 @@ import io.seata.core.protocol.transaction.BranchReportResponse; /** - * @author leizhiyuan */ public class BranchReportResponseConvertor implements PbConvertor { @Override @@ -66,4 +65,4 @@ public BranchReportResponse convert2Model(BranchReportResponseProto branchReport return branchRegisterResponse; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertor.java index c0cd8815cdb..7429c1cb28a 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertor.java @@ -26,7 +26,6 @@ import io.seata.core.protocol.transaction.BranchRollbackRequest; /** - * @author leizhiyuan */ public class BranchRollbackRequestConvertor implements PbConvertor { @Override @@ -67,4 +66,4 @@ public BranchRollbackRequest convert2Model(BranchRollbackRequestProto branchRoll return branchCommitRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertor.java index 2c4833caa63..e391fa2b903 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertor.java @@ -31,7 +31,6 @@ import io.seata.core.protocol.transaction.BranchRollbackResponse; /** - * @author leizhiyuan */ public class BranchRollbackResponseConvertor implements PbConvertor { @@ -83,4 +82,4 @@ public BranchRollbackResponse convert2Model(BranchRollbackResponseProto branchRo .getTransactionExceptionCode().name())); return branchCommitResponse; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertor.java index 682fef375d3..6896b390b69 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertor.java @@ -23,7 +23,6 @@ import io.seata.core.protocol.transaction.GlobalBeginRequest; /** - * @author leizhiyuan */ public class GlobalBeginRequestConvertor implements PbConvertor { @@ -50,4 +49,4 @@ public GlobalBeginRequest convert2Model(GlobalBeginRequestProto globalBeginReque globalBeginRequest.setTransactionName(globalBeginRequestProto.getTransactionName()); return globalBeginRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertor.java index eb6c78391dd..08971485d45 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertor.java @@ -28,7 +28,6 @@ import io.seata.core.protocol.transaction.GlobalBeginResponse; /** - * @author leizhiyuan */ public class GlobalBeginResponseConvertor implements PbConvertor { @Override @@ -70,4 +69,4 @@ public GlobalBeginResponse convert2Model(GlobalBeginResponseProto globalBeginRes .valueOf(globalBeginResponseProto.getAbstractTransactionResponse().getTransactionExceptionCode().name())); return branchCommitResponse; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertor.java index 7a574e1cf7a..b89a18da94a 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertor.java @@ -24,7 +24,6 @@ import io.seata.core.protocol.transaction.GlobalCommitRequest; /** - * @author leizhiyuan */ public class GlobalCommitRequestConvertor implements PbConvertor { @Override @@ -56,4 +55,4 @@ public GlobalCommitRequest convert2Model(GlobalCommitRequestProto globalCommitRe branchCommitRequest.setXid(globalCommitRequestProto.getAbstractGlobalEndRequest().getXid()); return branchCommitRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertor.java index 449babb1cf7..20aaf032f73 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertor.java @@ -31,7 +31,6 @@ import io.seata.core.protocol.transaction.GlobalCommitResponse; /** - * @author leizhiyuan */ public class GlobalCommitResponseConvertor implements PbConvertor { @Override @@ -79,4 +78,4 @@ public GlobalCommitResponse convert2Model(GlobalCommitResponseProto globalCommit return branchRegisterResponse; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertor.java index 92144725e5d..1c24bf3d426 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertor.java @@ -26,7 +26,6 @@ import io.seata.core.protocol.transaction.GlobalLockQueryRequest; /** - * @author leizhiyuan */ public class GlobalLockQueryRequestConvertor implements PbConvertor { @@ -66,4 +65,4 @@ public GlobalLockQueryRequest convert2Model(GlobalLockQueryRequestProto globalLo branchRegisterRequest.setXid(branchRegisterRequestProto.getXid()); return branchRegisterRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertor.java index 3b0ba25c713..6cb4abbeeb3 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertor.java @@ -28,7 +28,6 @@ import io.seata.core.protocol.transaction.GlobalLockQueryResponse; /** - * @author leizhiyuan */ public class GlobalLockQueryResponseConvertor implements PbConvertor { @@ -71,4 +70,4 @@ public GlobalLockQueryResponse convert2Model(GlobalLockQueryResponseProto global branchRegisterResponse.setLockable(globalLockQueryResponseProto.getLockable()); return branchRegisterResponse; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportRequestConvertor.java index 9bc748a1587..73b89afd43b 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportRequestConvertor.java @@ -26,7 +26,6 @@ import io.seata.core.protocol.transaction.GlobalReportRequest; /** - * @author lorne.cl */ public class GlobalReportRequestConvertor implements PbConvertor { @Override @@ -59,4 +58,4 @@ public GlobalReportRequest convert2Model(GlobalReportRequestProto globalReportRe globalReportRequest.setGlobalStatus(GlobalStatus.valueOf(globalReportRequestProto.getGlobalStatus().name())); return globalReportRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportResponseConvertor.java index c38ad04b263..8627aefdd86 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalReportResponseConvertor.java @@ -31,7 +31,6 @@ import io.seata.core.protocol.transaction.GlobalReportResponse; /** - * @author lorne.cl */ public class GlobalReportResponseConvertor implements PbConvertor { @Override @@ -78,4 +77,4 @@ public GlobalReportResponse convert2Model(GlobalReportResponseProto globalStatus return branchRegisterResponse; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertor.java index 0c90577e9fc..f9fb97d2d85 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertor.java @@ -24,7 +24,6 @@ import io.seata.core.protocol.transaction.GlobalRollbackRequest; /** - * @author leizhiyuan */ public class GlobalRollbackRequestConvertor implements PbConvertor { @Override @@ -55,4 +54,4 @@ public GlobalRollbackRequest convert2Model(GlobalRollbackRequestProto globalRoll branchCommitRequest.setXid(globalRollbackRequestProto.getAbstractGlobalEndRequest().getXid()); return branchCommitRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertor.java index 4ddadf62612..e6a76dd56d8 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertor.java @@ -31,7 +31,6 @@ import io.seata.core.protocol.transaction.GlobalRollbackResponse; /** - * @author leizhiyuan */ public class GlobalRollbackResponseConvertor implements PbConvertor { @@ -82,4 +81,4 @@ public GlobalRollbackResponse convert2Model(GlobalRollbackResponseProto globalRo return branchRegisterResponse; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertor.java index 642a7cd2859..da2af05ad4a 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertor.java @@ -24,7 +24,6 @@ import io.seata.core.protocol.transaction.GlobalStatusRequest; /** - * @author leizhiyuan */ public class GlobalStatusRequestConvertor implements PbConvertor { @Override @@ -55,4 +54,4 @@ public GlobalStatusRequest convert2Model(GlobalStatusRequestProto globalStatusRe branchCommitRequest.setXid(globalStatusRequestProto.getAbstractGlobalEndRequest().getXid()); return branchCommitRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertor.java index c4be30cf895..6d58483d507 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertor.java @@ -31,7 +31,6 @@ import io.seata.core.protocol.transaction.GlobalStatusResponse; /** - * @author leizhiyuan */ public class GlobalStatusResponseConvertor implements PbConvertor { @Override @@ -78,4 +77,4 @@ public GlobalStatusResponse convert2Model(GlobalStatusResponseProto globalStatus return branchRegisterResponse; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertor.java index 4a361451527..1aef6276a22 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertor.java @@ -20,7 +20,6 @@ import io.seata.core.protocol.HeartbeatMessage; /** - * @author leizhiyuan */ public class HeartbeatMessageConvertor implements PbConvertor { @Override @@ -33,4 +32,4 @@ public HeartbeatMessageProto convert2Proto(HeartbeatMessage heartbeatMessage) { public HeartbeatMessage convert2Model(HeartbeatMessageProto heartbeatMessageProto) { return heartbeatMessageProto.getPing() ? HeartbeatMessage.PING : HeartbeatMessage.PONG; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertor.java index 07cd92a8b07..bf390223768 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertor.java @@ -32,7 +32,6 @@ import io.seata.serializer.protobuf.manager.ProtobufConvertManager; /** - * @author leizhiyuan */ public class MergeResultMessageConvertor implements PbConvertor { @Override @@ -85,4 +84,4 @@ private static String getTypeNameFromTypeUrl(java.lang.String typeUrl) { int pos = typeUrl.lastIndexOf('/'); return pos == -1 ? "" : typeUrl.substring(pos + 1); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergedWarpMessageConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergedWarpMessageConvertor.java index 37239d34e81..c0689adc14a 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergedWarpMessageConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/MergedWarpMessageConvertor.java @@ -31,7 +31,6 @@ import io.seata.serializer.protobuf.manager.ProtobufConvertManager; /** - * @author leizhiyuan */ public class MergedWarpMessageConvertor implements PbConvertor { @@ -85,4 +84,4 @@ private static String getTypeNameFromTypeUrl(java.lang.String typeUrl) { int pos = typeUrl.lastIndexOf('/'); return pos == -1 ? "" : typeUrl.substring(pos + 1); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/PbConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/PbConvertor.java index 22ea8c85bf1..b30de565368 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/PbConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/PbConvertor.java @@ -17,11 +17,10 @@ package io.seata.serializer.protobuf.convertor; /** - * @author leizhiyuan */ public interface PbConvertor { public S convert2Proto(T t); public T convert2Model(S s); -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertor.java index 581a59ef1f3..9bb586da6e0 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertor.java @@ -23,7 +23,6 @@ import io.seata.core.protocol.RegisterRMRequest; /** - * @author leizhiyuan */ public class RegisterRMRequestConvertor implements PbConvertor { @Override @@ -58,4 +57,4 @@ public RegisterRMRequest convert2Model(RegisterRMRequestProto registerRMRequestP return registerRMRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertor.java index 969037ca2c1..05f395399f7 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertor.java @@ -26,7 +26,6 @@ import io.seata.core.protocol.ResultCode; /** - * @author leizhiyuan */ public class RegisterRMResponseConvertor implements PbConvertor { @Override @@ -79,4 +78,4 @@ public RegisterRMResponse convert2Model(RegisterRMResponseProto registerRMRespon return registerRMRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertor.java index 32f0b6aa15e..6191730984c 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertor.java @@ -23,7 +23,6 @@ import io.seata.serializer.protobuf.generated.RegisterTMRequestProto; /** - * @author leizhiyuan */ public class RegisterTMRequestConvertor implements PbConvertor { @Override @@ -57,4 +56,4 @@ public RegisterTMRequest convert2Model(RegisterTMRequestProto registerTMRequestP return registerRMRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertor.java index 64726fe900b..69458655868 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertor.java @@ -26,7 +26,6 @@ import io.seata.core.protocol.ResultCode; /** - * @author leizhiyuan */ public class RegisterTMResponseConvertor implements PbConvertor { @Override @@ -79,4 +78,4 @@ public RegisterTMResponse convert2Model(RegisterTMResponseProto registerTMRespon return registerRMRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertor.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertor.java index 666acd44081..77f9ab64ede 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertor.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertor.java @@ -25,7 +25,6 @@ import io.seata.core.protocol.transaction.UndoLogDeleteRequest; /** - * @author yuanguoyao */ public class UndoLogDeleteRequestConvertor implements PbConvertor { @Override @@ -56,4 +55,4 @@ public UndoLogDeleteRequest convert2Model(UndoLogDeleteRequestProto undoLogDelet return undoLogDeleteRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/manager/ProtobufConvertManager.java b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/manager/ProtobufConvertManager.java index 03a5f54dacb..46efd88580c 100644 --- a/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/manager/ProtobufConvertManager.java +++ b/serializer/seata-serializer-protobuf/src/main/java/io/seata/serializer/protobuf/manager/ProtobufConvertManager.java @@ -109,7 +109,6 @@ import java.util.concurrent.ConcurrentHashMap; /** - * @author leizhiyuan */ public class ProtobufConvertManager { @@ -329,4 +328,4 @@ public Class fetchProtoClass(String clazz) { return protoClazzMap.get(clazz); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertorTest.java index d7c9334290e..d307dcef5de 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BatchResultMessageConvertorTest.java @@ -28,7 +28,6 @@ /** * The type batch result message protobuf convertor test. * - * @author zhangchenghui.dev@gmail.com * @since 1.5.0 */ public class BatchResultMessageConvertorTest { @@ -56,4 +55,4 @@ private BranchCommitResponse buildBranchCommitResponsePhaseTwoCommitted() { branchCommitResponse.setBranchStatus(BranchStatus.PhaseTwo_Committed); return branchCommitResponse; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertorTest.java index 371ad66ef11..6adebd64195 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitRequestConvertorTest.java @@ -24,7 +24,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class BranchCommitRequestConvertorTest { @@ -51,4 +50,4 @@ public void convert2Proto() { assertThat(realRequest.getApplicationData()).isEqualTo(branchCommitRequest.getApplicationData()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertorTest.java index dda0ace2d5c..0f9c835291f 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchCommitResponseConvertorTest.java @@ -26,7 +26,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class BranchCommitResponseConvertorTest { @@ -52,4 +51,4 @@ public void convert2Proto() { assertThat(real.getBranchStatus()).isEqualTo(branchCommitResponse.getBranchStatus()); assertThat(real.getResultCode()).isEqualTo(branchCommitResponse.getResultCode()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertorTest.java index 047ac8cd9a7..ab1d9f76be1 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterRequestConvertorTest.java @@ -24,7 +24,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class BranchRegisterRequestConvertorTest { @@ -50,4 +49,4 @@ public void convert2Proto() { assertThat(real.getLockKey()).isEqualTo(branchRegisterRequest.getLockKey()); assertThat(real.getResourceId()).isEqualTo(branchRegisterRequest.getResourceId()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertorTest.java index 6a06275a858..ce20b3eb56d 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRegisterResponseConvertorTest.java @@ -25,7 +25,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class BranchRegisterResponseConvertorTest { @@ -49,4 +48,4 @@ public void convert2Proto() { assertThat(real.getMsg()).isEqualTo(branchRegisterResponse.getMsg()); assertThat(real.getBranchId()).isEqualTo(branchRegisterResponse.getBranchId()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertorTest.java index a114aaa7a2b..4ccd38c0e72 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportRequestConvertorTest.java @@ -25,7 +25,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class BranchReportRequestConvertorTest { @@ -53,4 +52,4 @@ public void convert2Proto() { assertThat(real.getStatus()).isEqualTo(branchReportRequest.getStatus()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertorTest.java index afb1726d463..a640d7f95ee 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchReportResponseConvertorTest.java @@ -25,7 +25,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class BranchReportResponseConvertorTest { @@ -45,4 +44,4 @@ public void convert2Proto() { assertThat((real.getTransactionExceptionCode())).isEqualTo(branchReportResponse.getTransactionExceptionCode()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertorTest.java index 0148cebcdad..f4fb540a418 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackRequestConvertorTest.java @@ -24,7 +24,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class BranchRollbackRequestConvertorTest { @@ -52,4 +51,4 @@ public void convert2Proto() { assertThat((real.getBranchId())).isEqualTo(branchRegisterRequest.getBranchId()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertorTest.java index b1501dbb8fe..5c8ab218ca4 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/BranchRollbackResponseConvertorTest.java @@ -26,7 +26,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class BranchRollbackResponseConvertorTest { @@ -53,4 +52,4 @@ public void convert2Proto() { assertThat(real.getBranchStatus()).isEqualTo(branchRollbackResponse.getBranchStatus()); assertThat(real.getResultCode()).isEqualTo(branchRollbackResponse.getResultCode()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertorTest.java index ec73db05c2a..3dc76bc7cd6 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginRequestConvertorTest.java @@ -23,7 +23,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class GlobalBeginRequestConvertorTest { @@ -42,4 +41,4 @@ public void convert2Proto() { assertThat(real.getTransactionName()).isEqualTo(globalBeginRequest.getTransactionName()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertorTest.java index c207aac2aa7..5cc9176ac23 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalBeginResponseConvertorTest.java @@ -25,7 +25,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class GlobalBeginResponseConvertorTest { @@ -48,4 +47,4 @@ public void convert2Proto() { assertThat((real.getResultCode())).isEqualTo(globalBeginResponse.getResultCode()); assertThat((real.getTransactionExceptionCode())).isEqualTo(globalBeginResponse.getTransactionExceptionCode()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertorTest.java index dbd25191835..fc7a4b7b2e2 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitRequestConvertorTest.java @@ -23,7 +23,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class GlobalCommitRequestConvertorTest { @@ -41,4 +40,4 @@ public void convert2Proto() { assertThat((real.getXid())).isEqualTo(globalCommitRequest.getXid()); assertThat((real.getExtraData())).isEqualTo(globalCommitRequest.getExtraData()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertorTest.java index d2a8266d84c..edf53d64635 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalCommitResponseConvertorTest.java @@ -26,7 +26,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class GlobalCommitResponseConvertorTest { @@ -46,4 +45,4 @@ public void convert2Proto() { assertThat((real.getResultCode())).isEqualTo(globalCommitResponse.getResultCode()); assertThat((real.getTransactionExceptionCode())).isEqualTo(globalCommitResponse.getTransactionExceptionCode()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertorTest.java index 1a9aabfe332..402437ed9d4 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryRequestConvertorTest.java @@ -24,7 +24,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class GlobalLockQueryRequestConvertorTest { @@ -50,4 +49,4 @@ public void convert2Proto() { assertThat(real.getLockKey()).isEqualTo(globalLockQueryRequest.getLockKey()); assertThat(real.getResourceId()).isEqualTo(globalLockQueryRequest.getResourceId()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertorTest.java index cf0bec7d1ef..83ef99bb0eb 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalLockQueryResponseConvertorTest.java @@ -25,7 +25,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class GlobalLockQueryResponseConvertorTest { @@ -47,4 +46,4 @@ public void convert2Proto() { assertThat((real.getTransactionExceptionCode())).isEqualTo( globalLockQueryResponse.getTransactionExceptionCode()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertorTest.java index e769d71bbf1..1c4604966bf 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackRequestConvertorTest.java @@ -23,7 +23,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class GlobalRollbackRequestConvertorTest { @@ -42,4 +41,4 @@ public void convert2Proto() { assertThat((real.getXid())).isEqualTo(globalRollbackRequest.getXid()); assertThat((real.getExtraData())).isEqualTo(globalRollbackRequest.getExtraData()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertorTest.java index c8a5ad426ad..d77cd3e252a 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalRollbackResponseConvertorTest.java @@ -26,7 +26,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class GlobalRollbackResponseConvertorTest { @@ -48,4 +47,4 @@ public void convert2Proto() { assertThat((real.getTransactionExceptionCode())).isEqualTo( globalRollbackResponse.getTransactionExceptionCode()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertorTest.java index b0500032820..87adf7391d6 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusRequestConvertorTest.java @@ -23,7 +23,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class GlobalStatusRequestConvertorTest { @@ -42,4 +41,4 @@ public void convert2Proto() { assertThat((real.getExtraData())).isEqualTo(globalStatusRequest.getExtraData()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertorTest.java index 08eae55de6f..4a2a365001a 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/GlobalStatusResponseConvertorTest.java @@ -26,7 +26,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class GlobalStatusResponseConvertorTest { @@ -49,4 +48,4 @@ public void convert2Proto() { globalStatusResponse.getTransactionExceptionCode()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertorTest.java index 90572e18c0c..f202a186160 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/HeartbeatMessageConvertorTest.java @@ -23,7 +23,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class HeartbeatMessageConvertorTest { @@ -36,4 +35,4 @@ public void test() { assertThat(real).isEqualTo(heartbeatMessage); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeMessageConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeMessageConvertorTest.java index 748705ca8cc..37caad2de33 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeMessageConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeMessageConvertorTest.java @@ -27,7 +27,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class MergeMessageConvertorTest { @@ -60,4 +59,4 @@ private GlobalBeginRequest buildGlobalBeginRequest() { globalBeginRequest.setTimeout(3000); return globalBeginRequest; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertorTest.java index 18215b80989..6bdba3e7306 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/MergeResultMessageConvertorTest.java @@ -28,7 +28,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class MergeResultMessageConvertorTest { @@ -57,4 +56,4 @@ public void convert2Proto() { assertThat((realObj.getTransactionExceptionCode())).isEqualTo( globalCommitResponse.getTransactionExceptionCode()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertorTest.java index 8f1dc143d9c..325aaa4e326 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMRequestConvertorTest.java @@ -23,7 +23,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class RegisterRMRequestConvertorTest { @@ -48,4 +47,4 @@ public void convert2Proto() { assertThat((real.getApplicationId())).isEqualTo(registerRMRequest.getApplicationId()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertorTest.java index 8900561ef18..26584ed090d 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterRMResponseConvertorTest.java @@ -24,7 +24,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class RegisterRMResponseConvertorTest { @@ -49,4 +48,4 @@ public void convert2Proto() { assertThat((real.getExtraData())).isEqualTo(registerRMResponse.getExtraData()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertorTest.java index 049a1b59cde..85a381fcbe0 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMRequestConvertorTest.java @@ -23,7 +23,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class RegisterTMRequestConvertorTest { @@ -45,4 +44,4 @@ public void convert2Proto() { assertThat((real.getExtraData())).isEqualTo(registerRMRequest.getExtraData()); assertThat((real.getApplicationId())).isEqualTo(registerRMRequest.getApplicationId()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertorTest.java index f142b4f382f..2ec25e67025 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/RegisterTMResponseConvertorTest.java @@ -24,7 +24,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author leizhiyuan */ public class RegisterTMResponseConvertorTest { @@ -48,4 +47,4 @@ public void convert2Proto() { assertThat((real.getVersion())).isEqualTo(registerRMResponse.getVersion()); assertThat((real.getExtraData())).isEqualTo(registerRMResponse.getExtraData()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertorTest.java b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertorTest.java index 75a53c8e1f0..98bf9d21106 100644 --- a/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertorTest.java +++ b/serializer/seata-serializer-protobuf/src/test/java/io/seata/serializer/protobuf/convertor/UndoLogDeleteRequestConvertorTest.java @@ -24,7 +24,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author yuanguoyao */ public class UndoLogDeleteRequestConvertorTest { @@ -51,4 +50,4 @@ public void convert2Proto() { assertThat(realRequest.getSaveDays()).isEqualTo(undoLogDeleteRequest.getSaveDays()); } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/MessageCodecFactory.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/MessageCodecFactory.java index 65fe0960809..6aeaa904899 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/MessageCodecFactory.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/MessageCodecFactory.java @@ -81,7 +81,6 @@ /** * The type Message codec factory. * - * @author zhangsen */ public class MessageCodecFactory { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/SeataSerializer.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/SeataSerializer.java index eb6b8930383..3e94cbf9749 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/SeataSerializer.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/SeataSerializer.java @@ -28,7 +28,6 @@ /** * The Seata codec. * - * @author zhangsen */ @LoadLevel(name = "SEATA") public class SeataSerializer implements Serializer { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractIdentifyResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractIdentifyResponseCodec.java index 55989568eff..dfe0f88eece 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractIdentifyResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractIdentifyResponseCodec.java @@ -24,7 +24,6 @@ /** * The type Abstract identify response. * - * @author sharajava */ public abstract class AbstractIdentifyResponseCodec extends AbstractResultMessageCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractMessageCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractMessageCodec.java index ffc3ece7f96..e8b795d70b3 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractMessageCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractMessageCodec.java @@ -26,7 +26,6 @@ /** * The type Abstract message codec. * - * @author zhangsen */ public abstract class AbstractMessageCodec implements MessageSeataCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractResultMessageCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractResultMessageCodec.java index a06d08a9d0e..16ab83a46bf 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractResultMessageCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/AbstractResultMessageCodec.java @@ -26,7 +26,6 @@ /** * The type Abstract result message codec. * - * @author zhangsen */ public abstract class AbstractResultMessageCodec extends AbstractMessageCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/BatchResultMessageCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/BatchResultMessageCodec.java index b3457bb6763..9a280d10262 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/BatchResultMessageCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/BatchResultMessageCodec.java @@ -31,7 +31,6 @@ /** * the type batch result message codec * - * @author zhangchenghui.dev@gmail.com * @since 1.5.0 */ public class BatchResultMessageCodec extends AbstractMessageCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergeResultMessageCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergeResultMessageCodec.java index fb608976263..17eeb3b64b9 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergeResultMessageCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergeResultMessageCodec.java @@ -28,7 +28,6 @@ /** * The type Merge result message codec. * - * @author zhangsen */ public class MergeResultMessageCodec extends AbstractMessageCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergedWarpMessageCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergedWarpMessageCodec.java index 9119c6836c0..11e02adc003 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergedWarpMessageCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/MergedWarpMessageCodec.java @@ -30,7 +30,6 @@ /** * The type Merged warp message codec. * - * @author zhangsen */ public class MergedWarpMessageCodec extends AbstractMessageCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMRequestCodec.java index b00fd925b78..5df78d57cbb 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMRequestCodec.java @@ -24,7 +24,6 @@ /** * The type Register rm request codec. * - * @author zhangsen */ public class RegisterRMRequestCodec extends AbstractIdentifyRequestCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMResponseCodec.java index b3d0d599f05..4eed601915a 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterRMResponseCodec.java @@ -21,7 +21,6 @@ /** * The type Register rm response codec. * - * @author zhangsen */ public class RegisterRMResponseCodec extends AbstractIdentifyResponseCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMRequestCodec.java index b129f12ce4e..ab967490ff5 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMRequestCodec.java @@ -22,7 +22,6 @@ /** * The type Register tm request codec. * - * @author zhangsen */ public class RegisterTMRequestCodec extends AbstractIdentifyRequestCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMResponseCodec.java index 0d696b1e8b5..1953995e784 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/RegisterTMResponseCodec.java @@ -22,7 +22,6 @@ /** * The type Register tm response codec. * - * @author zhangsen */ public class RegisterTMResponseCodec extends AbstractIdentifyResponseCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndRequestCodec.java index c1e7aa6a104..2b1fb13ee0c 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndRequestCodec.java @@ -25,7 +25,6 @@ /** * The type Abstract branch end request codec. * - * @author zhangsen */ public abstract class AbstractBranchEndRequestCodec extends AbstractTransactionRequestToRMCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndResponseCodec.java index e919153c95d..d45ba0ae4c6 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractBranchEndResponseCodec.java @@ -25,7 +25,6 @@ /** * The type Abstract branch end response codec. * - * @author zhangsen */ public abstract class AbstractBranchEndResponseCodec extends AbstractTransactionResponseCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndRequestCodec.java index 7e47278f4fd..064256eecde 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndRequestCodec.java @@ -24,7 +24,6 @@ /** * The type Abstract global end request codec. * - * @author zhangsen */ public abstract class AbstractGlobalEndRequestCodec extends AbstractTransactionRequestToTCCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndResponseCodec.java index c8527612c7d..026c28b5640 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractGlobalEndResponseCodec.java @@ -25,7 +25,6 @@ /** * The type Abstract global end response codec. * - * @author zhangsen */ public abstract class AbstractGlobalEndResponseCodec extends AbstractTransactionResponseCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestCodec.java index 313c3ca2998..6819ef48d81 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestCodec.java @@ -22,7 +22,6 @@ /** * The type Abstract transaction request codec. * - * @author zhangsen */ public abstract class AbstractTransactionRequestCodec extends AbstractMessageCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToRMCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToRMCodec.java index 93f8f9c5d3f..0461f708fdd 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToRMCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToRMCodec.java @@ -21,7 +21,6 @@ /** * The type Abstract transaction request to rm codec. * - * @author zhangsen */ public abstract class AbstractTransactionRequestToRMCodec extends AbstractTransactionRequestCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToTCCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToTCCodec.java index 54016d7d4c6..a61b5a62524 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToTCCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionRequestToTCCodec.java @@ -21,7 +21,6 @@ /** * The type Abstract transaction request to tc codec. * - * @author zhangsen */ public abstract class AbstractTransactionRequestToTCCodec extends AbstractTransactionRequestCodec { @@ -30,4 +29,4 @@ public Class getMessageClassType() { return AbstractTransactionRequestToTC.class; } -} \ No newline at end of file +} diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionResponseCodec.java index 0fc913dcc9b..77a68b2037b 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/AbstractTransactionResponseCodec.java @@ -26,7 +26,6 @@ /** * The type Abstract transaction response codec. * - * @author zhangsen */ public abstract class AbstractTransactionResponseCodec extends AbstractResultMessageCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestCodec.java index 9a9cc7e468e..e6351b5226c 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestCodec.java @@ -21,7 +21,6 @@ /** * The type Branch commit request codec. * - * @author zhangsen */ public class BranchCommitRequestCodec extends AbstractBranchEndRequestCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseCodec.java index 2c5527f2f19..a8e2cd76ab2 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseCodec.java @@ -22,7 +22,6 @@ /** * The type Branch commit response codec. * - * @author zhangsen */ public class BranchCommitResponseCodec extends AbstractBranchEndResponseCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestCodec.java index 734ddaecd39..6b454dc894e 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestCodec.java @@ -25,7 +25,6 @@ /** * The type Branch register request codec. * - * @author zhangsen */ public class BranchRegisterRequestCodec extends AbstractTransactionRequestToTCCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseCodec.java index 1dad52a6ffb..5c15e2b04b3 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseCodec.java @@ -25,7 +25,6 @@ /** * The type Branch register response codec. * - * @author zhangsen */ public class BranchRegisterResponseCodec extends AbstractTransactionResponseCodec implements Serializable { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestCodec.java index ae7f40f72b4..b39681f688a 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestCodec.java @@ -26,7 +26,6 @@ /** * The type Branch report request codec. * - * @author zhangsen */ public class BranchReportRequestCodec extends AbstractTransactionRequestToTCCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseCodec.java index 4ab28605606..b9216c3e2e5 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseCodec.java @@ -21,7 +21,6 @@ /** * The type Branch report response codec. * - * @author zhangsen */ public class BranchReportResponseCodec extends AbstractTransactionResponseCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestCodec.java index 8ca8c6a0c25..b2c22c029f4 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestCodec.java @@ -22,7 +22,6 @@ /** * The type Branch rollback request codec. * - * @author zhangsen */ public class BranchRollbackRequestCodec extends AbstractBranchEndRequestCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseCodec.java index 91efc388f1c..4d22c49430b 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseCodec.java @@ -22,7 +22,6 @@ /** * The type Branch rollback response codec. * - * @author zhangsen */ public class BranchRollbackResponseCodec extends AbstractBranchEndResponseCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestCodec.java index daf43ef8224..7a6117a9d6d 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestCodec.java @@ -24,7 +24,6 @@ /** * The type Global begin request codec. * - * @author zhangsen */ public class GlobalBeginRequestCodec extends AbstractTransactionRequestToTCCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseCodec.java index 6521f9194b0..4106f4e7faf 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseCodec.java @@ -24,7 +24,6 @@ /** * The type Global begin response codec. * - * @author zhangsen */ public class GlobalBeginResponseCodec extends AbstractTransactionResponseCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodec.java index a369400dd48..5ff4474acfe 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodec.java @@ -22,7 +22,6 @@ /** * The type Global commit request codec. * - * @author zhangsen */ public class GlobalCommitRequestCodec extends AbstractGlobalEndRequestCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseCodec.java index 6fb183f6345..2491362eb99 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseCodec.java @@ -21,7 +21,6 @@ /** * The type Global commit response codec. * - * @author zhangsen */ public class GlobalCommitResponseCodec extends AbstractGlobalEndResponseCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestCodec.java index 6f4282d37b4..9b50fbc39c3 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestCodec.java @@ -22,7 +22,6 @@ /** * The type Global lock query request codec. * - * @author zhangsen */ public class GlobalLockQueryRequestCodec extends BranchRegisterRequestCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseCodec.java index fb82ba7b4c9..38f2240712e 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseCodec.java @@ -24,7 +24,6 @@ /** * The type Global lock query response codec. * - * @author zhangsen */ public class GlobalLockQueryResponseCodec extends AbstractTransactionResponseCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportRequestCodec.java index a1a00b2dd34..b27e4f8278d 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportRequestCodec.java @@ -25,7 +25,6 @@ /** * The type Global status report codec. * - * @author lorne.cl */ public class GlobalReportRequestCodec extends AbstractGlobalEndRequestCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportResponseCodec.java index c00397d647e..ba27fe0e77b 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalReportResponseCodec.java @@ -22,7 +22,6 @@ /** * The type Global report response codec. * - * @author lorne.cl */ public class GlobalReportResponseCodec extends AbstractGlobalEndResponseCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodec.java index e6ce652b13c..62a3a3ed6dc 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodec.java @@ -21,7 +21,6 @@ /** * The type Global rollback request codec. * - * @author zhangsen */ public class GlobalRollbackRequestCodec extends AbstractGlobalEndRequestCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseCodec.java index aa267fbaaca..d92e238d003 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseCodec.java @@ -22,7 +22,6 @@ /** * The type Global rollback response codec. * - * @author zhangsen */ public class GlobalRollbackResponseCodec extends AbstractGlobalEndResponseCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodec.java index 7bc4b1e59ce..95e7025dedf 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodec.java @@ -21,7 +21,6 @@ /** * The type Global status request codec. * - * @author zhangsen */ public class GlobalStatusRequestCodec extends AbstractGlobalEndRequestCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseCodec.java index 7c6ef0e4149..14a4cbdb864 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseCodec.java @@ -22,7 +22,6 @@ /** * The type Global status response codec. * - * @author zhangsen */ public class GlobalStatusResponseCodec extends AbstractGlobalEndResponseCodec { diff --git a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestCodec.java b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestCodec.java index 05a942a5077..1725b8a0981 100644 --- a/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestCodec.java +++ b/serializer/seata-serializer-seata/src/main/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestCodec.java @@ -25,7 +25,6 @@ /** * The type UndoLog Delete end request codec. * - * @author yuanguoyao */ public class UndoLogDeleteRequestCodec extends AbstractTransactionRequestToRMCodec { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/BatchResultMessageSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/BatchResultMessageSerializerTest.java index 9b19c1c16c7..b8d8cf21744 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/BatchResultMessageSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/BatchResultMessageSerializerTest.java @@ -32,7 +32,6 @@ /** * The type batch result message codec test. * - * @author zhangchenghui.dev@gmail.com * @since 1.5.0 */ public class BatchResultMessageSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergeResultMessageSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergeResultMessageSerializerTest.java index d7e9eb26b78..ccc692a3a90 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergeResultMessageSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergeResultMessageSerializerTest.java @@ -29,7 +29,6 @@ /** * The type Merge result message codec test. * - * @author zhangsen */ public class MergeResultMessageSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergedWarpMessageSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergedWarpMessageSerializerTest.java index d83ee1d3901..854656b963b 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergedWarpMessageSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/MergedWarpMessageSerializerTest.java @@ -31,7 +31,6 @@ /** * The type Merged warp message codec test. * - * @author zhangsen */ public class MergedWarpMessageSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMRequestSerializerTest.java index c06f91a1111..ea8fbaad0cf 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMRequestSerializerTest.java @@ -25,7 +25,6 @@ /** * The type Register rm request codec test. * - * @author zhangsen */ public class RegisterRMRequestSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMResponseSerializerTest.java index 74ba5fb9821..1fac2b015c5 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterRMResponseSerializerTest.java @@ -27,7 +27,6 @@ /** * The type Register rm response codec test. * - * @author zhangsen */ public class RegisterRMResponseSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMRequestSerializerTest.java index 52e30efc34e..13a05463deb 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMRequestSerializerTest.java @@ -31,7 +31,6 @@ /** * The type Register tm request codec test. * - * @author zhangsen */ public class RegisterTMRequestSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMResponseSerializerTest.java index 867bfd5cd33..785a075344b 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/RegisterTMResponseSerializerTest.java @@ -26,7 +26,6 @@ /** * The type Register tm response codec test. * - * @author zhangsen */ public class RegisterTMResponseSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestSerializerTest.java index 1d5138be447..03caa1bbecd 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitRequestSerializerTest.java @@ -26,7 +26,6 @@ /** * The type Branch commit request codec test. * - * @author zhangsen */ public class BranchCommitRequestSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseSerializerTest.java index 512b2fc5c41..9fda8b1f8a6 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchCommitResponseSerializerTest.java @@ -28,7 +28,6 @@ /** * The type Branch commit response codec test. * - * @author zhangsen */ public class BranchCommitResponseSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestSerializerTest.java index dc917161d25..4ee59378f0b 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterRequestSerializerTest.java @@ -26,7 +26,6 @@ /** * The type Branch register request codec test. * - * @author zhangsen */ public class BranchRegisterRequestSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseSerializerTest.java index 4b499035c41..670f863a68c 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRegisterResponseSerializerTest.java @@ -27,7 +27,6 @@ /** * The type Branch register response codec test. * - * @author zhangsen */ public class BranchRegisterResponseSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestSerializerTest.java index ee4e774c630..a7ec699e47b 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportRequestSerializerTest.java @@ -27,7 +27,6 @@ /** * The type Branch report request codec test. * - * @author zhangsen */ public class BranchReportRequestSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseSerializerTest.java index 0bf352c0ded..36c885e8746 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchReportResponseSerializerTest.java @@ -27,7 +27,6 @@ /** * The type Branch report response codec test. * - * @author zhangsen */ public class BranchReportResponseSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestSerializerTest.java index 1b4a058826b..b339ea16317 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackRequestSerializerTest.java @@ -26,7 +26,6 @@ /** * The type Branch rollback request codec test. * - * @author zhangsen */ public class BranchRollbackRequestSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseSerializerTest.java index 2d89af84fc4..0d47d07de7a 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/BranchRollbackResponseSerializerTest.java @@ -28,7 +28,6 @@ /** * The type Branch rollback response codec test. * - * @author zhangsen */ public class BranchRollbackResponseSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestSerializerTest.java index 6d63471713e..47eb946502c 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginRequestSerializerTest.java @@ -25,7 +25,6 @@ /** * The type Global begin request codec test. * - * @author zhangsen */ public class GlobalBeginRequestSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseSerializerTest.java index 3eac6f2455b..547688c54a7 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalBeginResponseSerializerTest.java @@ -26,7 +26,6 @@ /** * The type Global begin response codec test. * - * @author zhangsen */ public class GlobalBeginResponseSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodecTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodecTest.java index 918cd04bbfa..000fdd75886 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodecTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodecTest.java @@ -25,7 +25,6 @@ /** * The type Global commit request codec test. * - * @author zhangsen */ public class GlobalCommitRequestCodecTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseSerializerTest.java index 931d1d0c169..e297937958d 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalCommitResponseSerializerTest.java @@ -27,7 +27,6 @@ /** * The type Global commit response codec test. * - * @author zhangsen */ public class GlobalCommitResponseSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestSerializerTest.java index a6c9ee001fc..9346bc0ef04 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestSerializerTest.java @@ -25,7 +25,6 @@ /** * The type Global lock query request codec test. * - * @author zhangsen */ public class GlobalLockQueryRequestSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseSerializerTest.java index 70e98a248c8..5140308361b 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseSerializerTest.java @@ -27,7 +27,6 @@ /** * The type Global lock query response codec test. * - * @author zhangsen */ public class GlobalLockQueryResponseSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodecTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodecTest.java index fce2a44aea9..5e6c059afb6 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodecTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodecTest.java @@ -25,7 +25,6 @@ /** * The type Global rollback request codec test. * - * @author zhangsen */ public class GlobalRollbackRequestCodecTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseSerializerTest.java index 5336a3aac47..8049625b295 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseSerializerTest.java @@ -28,7 +28,6 @@ /** * The type Global rollback response codec test. * - * @author zhangsen */ public class GlobalRollbackResponseSerializerTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodecTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodecTest.java index f55f3a50505..0d88d5e64e9 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodecTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodecTest.java @@ -25,7 +25,6 @@ /** * The type Global status request codec test. * - * @author zhangsen */ public class GlobalStatusRequestCodecTest { diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseSerializerTest.java index a5a038be855..4f3e818aaae 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/GlobalStatusResponseSerializerTest.java @@ -28,7 +28,6 @@ /** * The type Global status response codec test. * - * @author zhangsen */ public class GlobalStatusResponseSerializerTest { /** diff --git a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestSerializerTest.java b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestSerializerTest.java index 3c0e9905a48..d2c3c8ea004 100644 --- a/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestSerializerTest.java +++ b/serializer/seata-serializer-seata/src/test/java/io/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestSerializerTest.java @@ -26,7 +26,6 @@ /** * The type Undo Log Delete request codec test. * - * @author guoyao */ public class UndoLogDeleteRequestSerializerTest { diff --git a/server/src/main/java/io/seata/server/AbstractTCInboundHandler.java b/server/src/main/java/io/seata/server/AbstractTCInboundHandler.java index 7fc391928eb..a2e8c6a5032 100644 --- a/server/src/main/java/io/seata/server/AbstractTCInboundHandler.java +++ b/server/src/main/java/io/seata/server/AbstractTCInboundHandler.java @@ -49,7 +49,6 @@ /** * The type Abstract tc inbound handler. * - * @author sharajava */ public abstract class AbstractTCInboundHandler extends AbstractExceptionHandler implements TCInboundHandler { diff --git a/server/src/main/java/io/seata/server/ParameterParser.java b/server/src/main/java/io/seata/server/ParameterParser.java index 5f72ad6e384..f7969d25eac 100644 --- a/server/src/main/java/io/seata/server/ParameterParser.java +++ b/server/src/main/java/io/seata/server/ParameterParser.java @@ -30,7 +30,6 @@ /** * The type Parameter parser. * - * @author xingfudeshi @gmail.com */ public class ParameterParser { diff --git a/server/src/main/java/io/seata/server/Server.java b/server/src/main/java/io/seata/server/Server.java index 8ab8959f1f6..8741e64d4eb 100644 --- a/server/src/main/java/io/seata/server/Server.java +++ b/server/src/main/java/io/seata/server/Server.java @@ -43,7 +43,6 @@ /** * The type Server. * - * @author slievrly */ public class Server { /** diff --git a/server/src/main/java/io/seata/server/ServerApplication.java b/server/src/main/java/io/seata/server/ServerApplication.java index 1ece114e617..28c3811f6f3 100644 --- a/server/src/main/java/io/seata/server/ServerApplication.java +++ b/server/src/main/java/io/seata/server/ServerApplication.java @@ -22,7 +22,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; /** - * @author spilledyear@outlook.com */ @SpringBootApplication(scanBasePackages = {"io.seata"}) public class ServerApplication { diff --git a/server/src/main/java/io/seata/server/ServerRunner.java b/server/src/main/java/io/seata/server/ServerRunner.java index 69801cbaf1d..1f6d7c568cc 100644 --- a/server/src/main/java/io/seata/server/ServerRunner.java +++ b/server/src/main/java/io/seata/server/ServerRunner.java @@ -33,7 +33,6 @@ /** - * @author spilledyear@outlook.com */ @Component public class ServerRunner implements CommandLineRunner, DisposableBean, diff --git a/server/src/main/java/io/seata/server/UUIDGenerator.java b/server/src/main/java/io/seata/server/UUIDGenerator.java index 08da15e57f6..a2e8830ebde 100644 --- a/server/src/main/java/io/seata/server/UUIDGenerator.java +++ b/server/src/main/java/io/seata/server/UUIDGenerator.java @@ -21,7 +21,6 @@ /** * The type Uuid generator. * - * @author sharajava */ public class UUIDGenerator { diff --git a/server/src/main/java/io/seata/server/auth/AbstractCheckAuthHandler.java b/server/src/main/java/io/seata/server/auth/AbstractCheckAuthHandler.java index 4f02b847d57..64e79210097 100644 --- a/server/src/main/java/io/seata/server/auth/AbstractCheckAuthHandler.java +++ b/server/src/main/java/io/seata/server/auth/AbstractCheckAuthHandler.java @@ -25,7 +25,6 @@ import static io.seata.common.DefaultValues.DEFAULT_SERVER_ENABLE_CHECK_AUTH; /** - * @author slievrly */ public abstract class AbstractCheckAuthHandler implements RegisterCheckAuthHandler { diff --git a/server/src/main/java/io/seata/server/auth/DefaultCheckAuthHandler.java b/server/src/main/java/io/seata/server/auth/DefaultCheckAuthHandler.java index 1aa67dd2509..ca0f20799d0 100644 --- a/server/src/main/java/io/seata/server/auth/DefaultCheckAuthHandler.java +++ b/server/src/main/java/io/seata/server/auth/DefaultCheckAuthHandler.java @@ -21,7 +21,6 @@ import io.seata.core.protocol.RegisterTMRequest; /** - * @author slievrly */ @LoadLevel(name = "defaultCheckAuthHandler", order = 100) public class DefaultCheckAuthHandler extends AbstractCheckAuthHandler { diff --git a/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeEvent.java b/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeEvent.java index 8c58a40d309..f17faa882cc 100644 --- a/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeEvent.java +++ b/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeEvent.java @@ -20,7 +20,6 @@ import org.springframework.context.ApplicationEvent; /** - * @author funkye */ public class ClusterChangeEvent extends ApplicationEvent { diff --git a/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeListener.java b/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeListener.java index 84b497672cf..3c815700d02 100644 --- a/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeListener.java +++ b/server/src/main/java/io/seata/server/cluster/listener/ClusterChangeListener.java @@ -17,7 +17,6 @@ package io.seata.server.cluster.listener; /** - * @author funkye */ public interface ClusterChangeListener { diff --git a/server/src/main/java/io/seata/server/cluster/manager/ClusterWatcherManager.java b/server/src/main/java/io/seata/server/cluster/manager/ClusterWatcherManager.java index eb6c3e566a9..82bc1a027b6 100644 --- a/server/src/main/java/io/seata/server/cluster/manager/ClusterWatcherManager.java +++ b/server/src/main/java/io/seata/server/cluster/manager/ClusterWatcherManager.java @@ -37,7 +37,6 @@ import org.springframework.stereotype.Component; /** - * @author funkye */ @Component public class ClusterWatcherManager implements ClusterChangeListener { diff --git a/server/src/main/java/io/seata/server/cluster/raft/RaftServer.java b/server/src/main/java/io/seata/server/cluster/raft/RaftServer.java index 19cc3ae4638..3f6d0f328b7 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/RaftServer.java +++ b/server/src/main/java/io/seata/server/cluster/raft/RaftServer.java @@ -38,7 +38,6 @@ import static io.seata.common.ConfigurationKeys.SERVER_RAFT_REPORTER_INITIAL_DELAY; /** - * @author funkye */ public class RaftServer implements Disposable, Closeable { diff --git a/server/src/main/java/io/seata/server/cluster/raft/RaftServerManager.java b/server/src/main/java/io/seata/server/cluster/raft/RaftServerManager.java index dbe74cf8d49..2feff246b5e 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/RaftServerManager.java +++ b/server/src/main/java/io/seata/server/cluster/raft/RaftServerManager.java @@ -60,7 +60,6 @@ import static java.io.File.separator; /** - * @author funkye */ public class RaftServerManager { diff --git a/server/src/main/java/io/seata/server/cluster/raft/RaftStateMachine.java b/server/src/main/java/io/seata/server/cluster/raft/RaftStateMachine.java index e1a23288c3b..0998c78829c 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/RaftStateMachine.java +++ b/server/src/main/java/io/seata/server/cluster/raft/RaftStateMachine.java @@ -81,7 +81,6 @@ import static io.seata.server.cluster.raft.sync.msg.RaftSyncMsgType.UPDATE_GLOBAL_SESSION_STATUS; /** - * @author funkye */ public class RaftStateMachine extends StateMachineAdapter { diff --git a/server/src/main/java/io/seata/server/cluster/raft/context/SeataClusterContext.java b/server/src/main/java/io/seata/server/cluster/raft/context/SeataClusterContext.java index 984bb8487d7..f3c6396e27d 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/context/SeataClusterContext.java +++ b/server/src/main/java/io/seata/server/cluster/raft/context/SeataClusterContext.java @@ -27,7 +27,6 @@ import static io.seata.common.DefaultValues.DEFAULT_SEATA_GROUP; /** - * @author funkye */ public class SeataClusterContext { diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/AbstractRaftMsgExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/AbstractRaftMsgExecute.java index 0c50c87e7e9..dcd0b043feb 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/AbstractRaftMsgExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/AbstractRaftMsgExecute.java @@ -23,7 +23,6 @@ import io.seata.server.storage.raft.lock.RaftLockManager; /** - * @author jianbin.chen */ public abstract class AbstractRaftMsgExecute implements RaftMsgExecute { diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/RaftMsgExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/RaftMsgExecute.java index 5aee39064c2..39e2557e02a 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/RaftMsgExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/RaftMsgExecute.java @@ -19,7 +19,6 @@ import io.seata.server.cluster.raft.sync.msg.RaftBaseMsg; /** - * @author jianbin.chen */ public interface RaftMsgExecute { diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/branch/AddBranchSessionExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/branch/AddBranchSessionExecute.java index fd42019e0ff..7ab6b8cd97d 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/branch/AddBranchSessionExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/branch/AddBranchSessionExecute.java @@ -27,7 +27,6 @@ import io.seata.server.storage.raft.session.RaftSessionManager; /** - * @author jianbin.chen */ public class AddBranchSessionExecute extends AbstractRaftMsgExecute { diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/branch/RemoveBranchSessionExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/branch/RemoveBranchSessionExecute.java index 512a8da7e3c..977e1f65608 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/branch/RemoveBranchSessionExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/branch/RemoveBranchSessionExecute.java @@ -25,7 +25,6 @@ import io.seata.server.storage.raft.session.RaftSessionManager; /** - * @author jianbin.chen */ public class RemoveBranchSessionExecute extends AbstractRaftMsgExecute { diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/branch/UpdateBranchSessionExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/branch/UpdateBranchSessionExecute.java index 39c5e7e105c..a6f8ddf38c0 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/branch/UpdateBranchSessionExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/branch/UpdateBranchSessionExecute.java @@ -26,7 +26,6 @@ import io.seata.server.storage.raft.session.RaftSessionManager; /** - * @author jianbin.chen */ public class UpdateBranchSessionExecute extends AbstractRaftMsgExecute { diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/global/AddGlobalSessionExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/global/AddGlobalSessionExecute.java index f0e96dc2142..c4b70482218 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/global/AddGlobalSessionExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/global/AddGlobalSessionExecute.java @@ -25,7 +25,6 @@ import io.seata.server.storage.raft.session.RaftSessionManager; /** - * @author jianbin.chen */ public class AddGlobalSessionExecute extends AbstractRaftMsgExecute { diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/global/RemoveGlobalSessionExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/global/RemoveGlobalSessionExecute.java index f8ba8fb7f9b..841b9061ade 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/global/RemoveGlobalSessionExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/global/RemoveGlobalSessionExecute.java @@ -29,7 +29,6 @@ import io.seata.server.storage.raft.session.RaftSessionManager; /** - * @author jianbin.chen */ public class RemoveGlobalSessionExecute extends AbstractRaftMsgExecute { diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/global/UpdateGlobalSessionExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/global/UpdateGlobalSessionExecute.java index a0896645816..4d26312ac58 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/global/UpdateGlobalSessionExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/global/UpdateGlobalSessionExecute.java @@ -27,7 +27,6 @@ import io.seata.server.storage.raft.session.RaftSessionManager; /** - * @author jianbin.chen */ public class UpdateGlobalSessionExecute extends AbstractRaftMsgExecute { diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/lock/BranchReleaseLockExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/lock/BranchReleaseLockExecute.java index c2528958468..c72601f1c53 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/lock/BranchReleaseLockExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/lock/BranchReleaseLockExecute.java @@ -24,7 +24,6 @@ import io.seata.server.session.SessionHolder; /** - * @author jianbin.chen */ public class BranchReleaseLockExecute extends AbstractRaftMsgExecute { diff --git a/server/src/main/java/io/seata/server/cluster/raft/execute/lock/GlobalReleaseLockExecute.java b/server/src/main/java/io/seata/server/cluster/raft/execute/lock/GlobalReleaseLockExecute.java index 20d73c0ad62..d14582e8adb 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/execute/lock/GlobalReleaseLockExecute.java +++ b/server/src/main/java/io/seata/server/cluster/raft/execute/lock/GlobalReleaseLockExecute.java @@ -23,7 +23,6 @@ import io.seata.server.session.SessionHolder; /** - * @author jianbin.chen */ public class GlobalReleaseLockExecute extends AbstractRaftMsgExecute { diff --git a/server/src/main/java/io/seata/server/cluster/raft/serializer/JacksonSerializer.java b/server/src/main/java/io/seata/server/cluster/raft/serializer/JacksonSerializer.java index 7cfd4a0cce4..f4a1c8ccacc 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/serializer/JacksonSerializer.java +++ b/server/src/main/java/io/seata/server/cluster/raft/serializer/JacksonSerializer.java @@ -23,7 +23,6 @@ import io.seata.core.serializer.Serializer; /** - * @author jianbin.chen */ @LoadLevel(name = "JACKSON") public class JacksonSerializer implements Serializer { diff --git a/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshot.java b/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshot.java index 10cc8586b06..df8c1cfdeb9 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshot.java +++ b/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshot.java @@ -28,7 +28,6 @@ import static io.seata.common.DefaultValues.DEFAULT_RAFT_SERIALIZATION; /** - * @author funkye */ public class RaftSnapshot implements Serializable { diff --git a/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshotSerializer.java b/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshotSerializer.java index 5b84c97b8ea..ca4aa3c5041 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshotSerializer.java +++ b/server/src/main/java/io/seata/server/cluster/raft/snapshot/RaftSnapshotSerializer.java @@ -32,7 +32,6 @@ import io.seata.core.serializer.SerializerType; /** - * @author funkye */ public class RaftSnapshotSerializer { diff --git a/server/src/main/java/io/seata/server/cluster/raft/snapshot/StoreSnapshotFile.java b/server/src/main/java/io/seata/server/cluster/raft/snapshot/StoreSnapshotFile.java index 8defb0a106a..3e802398828 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/snapshot/StoreSnapshotFile.java +++ b/server/src/main/java/io/seata/server/cluster/raft/snapshot/StoreSnapshotFile.java @@ -24,7 +24,6 @@ import org.apache.commons.io.FileUtils; /** - * @author funkye */ public interface StoreSnapshotFile { diff --git a/server/src/main/java/io/seata/server/cluster/raft/snapshot/metadata/LeaderMetadataSnapshotFile.java b/server/src/main/java/io/seata/server/cluster/raft/snapshot/metadata/LeaderMetadataSnapshotFile.java index a7a14b8c32c..e4b91667cfb 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/snapshot/metadata/LeaderMetadataSnapshotFile.java +++ b/server/src/main/java/io/seata/server/cluster/raft/snapshot/metadata/LeaderMetadataSnapshotFile.java @@ -31,7 +31,6 @@ import org.slf4j.LoggerFactory; /** - * @author jianbin.chen */ public class LeaderMetadataSnapshotFile implements Serializable, StoreSnapshotFile { private static final long serialVersionUID = 78637164618855724L; diff --git a/server/src/main/java/io/seata/server/cluster/raft/snapshot/session/SessionSnapshotFile.java b/server/src/main/java/io/seata/server/cluster/raft/snapshot/session/SessionSnapshotFile.java index 5f1f5623ba3..c0ef31546d1 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/snapshot/session/SessionSnapshotFile.java +++ b/server/src/main/java/io/seata/server/cluster/raft/snapshot/session/SessionSnapshotFile.java @@ -34,7 +34,6 @@ import org.slf4j.LoggerFactory; /** - * @author funkye */ public class SessionSnapshotFile implements Serializable,StoreSnapshotFile { diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/RaftSyncMessageSerializer.java b/server/src/main/java/io/seata/server/cluster/raft/sync/RaftSyncMessageSerializer.java index e4e455b41d9..6540f755910 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/RaftSyncMessageSerializer.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/RaftSyncMessageSerializer.java @@ -31,7 +31,6 @@ import org.slf4j.LoggerFactory; /** - * @author funkye */ public class RaftSyncMessageSerializer { diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBaseMsg.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBaseMsg.java index 93708748dec..33535ae15ec 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBaseMsg.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBaseMsg.java @@ -19,7 +19,6 @@ import static io.seata.common.DefaultValues.DEFAULT_SEATA_GROUP; /** - * @author jianbin.chen */ public class RaftBaseMsg implements java.io.Serializable { diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBranchSessionSyncMsg.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBranchSessionSyncMsg.java index 8450a5c56b5..81d00fbc03e 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBranchSessionSyncMsg.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftBranchSessionSyncMsg.java @@ -22,7 +22,6 @@ import io.seata.server.cluster.raft.sync.msg.dto.BranchTransactionDTO; /** - * @author funkye */ public class RaftBranchSessionSyncMsg extends RaftBaseMsg { diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftClusterMetadataMsg.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftClusterMetadataMsg.java index f893844c9d1..f34ddc03a2c 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftClusterMetadataMsg.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftClusterMetadataMsg.java @@ -20,7 +20,6 @@ import io.seata.server.cluster.raft.sync.msg.dto.RaftClusterMetadata; /** - * @author jianbin.chen */ public class RaftClusterMetadataMsg extends RaftBaseMsg { diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftGlobalSessionSyncMsg.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftGlobalSessionSyncMsg.java index 176ca182505..9f215b6ed25 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftGlobalSessionSyncMsg.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftGlobalSessionSyncMsg.java @@ -20,7 +20,6 @@ import io.seata.server.cluster.raft.sync.msg.dto.GlobalTransactionDTO; /** - * @author funkye */ public class RaftGlobalSessionSyncMsg extends RaftBaseMsg { diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMessage.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMessage.java index 33e549676cd..cea64d4229c 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMessage.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMessage.java @@ -27,7 +27,6 @@ import static io.seata.core.constants.ConfigurationKeys.SERVER_RAFT_COMPRESSOR; /** - * @author funkye */ public class RaftSyncMessage implements java.io.Serializable { diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMsgType.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMsgType.java index 2b3a00d537b..c391bc0e94e 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMsgType.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/RaftSyncMsgType.java @@ -17,7 +17,6 @@ package io.seata.server.cluster.raft.sync.msg; /** - * @author jianbin.chen */ public enum RaftSyncMsgType { diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/BranchTransactionDTO.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/BranchTransactionDTO.java index b7e4e3f6abe..e065031b245 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/BranchTransactionDTO.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/BranchTransactionDTO.java @@ -19,7 +19,6 @@ import io.seata.core.store.BranchTransactionDO; /** - * @author jianbin.chen */ public class BranchTransactionDTO extends BranchTransactionDO { diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/GlobalTransactionDTO.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/GlobalTransactionDTO.java index b5e0e6d2ce7..24b381cd458 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/GlobalTransactionDTO.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/GlobalTransactionDTO.java @@ -19,7 +19,6 @@ import io.seata.core.store.GlobalTransactionDO; /** - * @author jianbin.chen */ public class GlobalTransactionDTO extends GlobalTransactionDO { private static final long serialVersionUID = 8402806824435215696L; diff --git a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/RaftClusterMetadata.java b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/RaftClusterMetadata.java index 01c026dbc34..02c5020a083 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/RaftClusterMetadata.java +++ b/server/src/main/java/io/seata/server/cluster/raft/sync/msg/dto/RaftClusterMetadata.java @@ -25,7 +25,6 @@ import io.seata.common.util.StringUtils; /** - * @author jianbin.chen */ public class RaftClusterMetadata implements Serializable { diff --git a/server/src/main/java/io/seata/server/cluster/raft/util/RaftTaskUtil.java b/server/src/main/java/io/seata/server/cluster/raft/util/RaftTaskUtil.java index f8b83aecdff..7d3979614df 100644 --- a/server/src/main/java/io/seata/server/cluster/raft/util/RaftTaskUtil.java +++ b/server/src/main/java/io/seata/server/cluster/raft/util/RaftTaskUtil.java @@ -31,7 +31,6 @@ import io.seata.server.cluster.raft.sync.msg.RaftSyncMessage; /** - * @author funkye */ public class RaftTaskUtil { diff --git a/server/src/main/java/io/seata/server/cluster/watch/Watcher.java b/server/src/main/java/io/seata/server/cluster/watch/Watcher.java index 196f106309d..9e87f2bd4b0 100644 --- a/server/src/main/java/io/seata/server/cluster/watch/Watcher.java +++ b/server/src/main/java/io/seata/server/cluster/watch/Watcher.java @@ -19,7 +19,6 @@ import static io.seata.server.cluster.watch.Watcher.Protocol.HTTP; /** - * @author funkye */ public class Watcher { diff --git a/server/src/main/java/io/seata/server/console/controller/BranchSessionController.java b/server/src/main/java/io/seata/server/console/controller/BranchSessionController.java index 2b9dcedf09e..4f55fc1ccdd 100644 --- a/server/src/main/java/io/seata/server/console/controller/BranchSessionController.java +++ b/server/src/main/java/io/seata/server/console/controller/BranchSessionController.java @@ -23,7 +23,6 @@ /** * Branch Session Controller - * @author zhongxiang.wang */ @RestController @RequestMapping("console/branchSession") diff --git a/server/src/main/java/io/seata/server/console/controller/GlobalLockController.java b/server/src/main/java/io/seata/server/console/controller/GlobalLockController.java index 5ef8fec9bd9..db5b097bcde 100644 --- a/server/src/main/java/io/seata/server/console/controller/GlobalLockController.java +++ b/server/src/main/java/io/seata/server/console/controller/GlobalLockController.java @@ -30,7 +30,6 @@ /** * Global Lock Controller - * @author zhongxiang.wang */ @RestController @RequestMapping("/api/v1/console/globalLock") diff --git a/server/src/main/java/io/seata/server/console/controller/GlobalSessionController.java b/server/src/main/java/io/seata/server/console/controller/GlobalSessionController.java index 9a71782c72f..ab1c97464e9 100644 --- a/server/src/main/java/io/seata/server/console/controller/GlobalSessionController.java +++ b/server/src/main/java/io/seata/server/console/controller/GlobalSessionController.java @@ -29,7 +29,6 @@ /** * Global Session Controller - * @author zhongxiang.wang */ @RestController @RequestMapping("/api/v1/console/globalSession") diff --git a/server/src/main/java/io/seata/server/console/impl/db/BranchSessionDBServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/db/BranchSessionDBServiceImpl.java index 18b5dd98a6f..4bfe0b3f04a 100644 --- a/server/src/main/java/io/seata/server/console/impl/db/BranchSessionDBServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/db/BranchSessionDBServiceImpl.java @@ -45,8 +45,6 @@ /** * Branch Session DataBase ServiceImpl * - * @author zhongxiang.wang - * @author lvekee 734843455@qq.com */ @Component @org.springframework.context.annotation.Configuration diff --git a/server/src/main/java/io/seata/server/console/impl/db/GlobalLockDBServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/db/GlobalLockDBServiceImpl.java index 90bea1bc19f..740b5212807 100644 --- a/server/src/main/java/io/seata/server/console/impl/db/GlobalLockDBServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/db/GlobalLockDBServiceImpl.java @@ -48,8 +48,6 @@ /** * Global Lock DB ServiceImpl * - * @author zhongxiang.wang - * @author lvekee 734843455@qq.com */ @Component @org.springframework.context.annotation.Configuration diff --git a/server/src/main/java/io/seata/server/console/impl/db/GlobalSessionDBServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/db/GlobalSessionDBServiceImpl.java index 52a7843f81e..2d553aa8eed 100644 --- a/server/src/main/java/io/seata/server/console/impl/db/GlobalSessionDBServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/db/GlobalSessionDBServiceImpl.java @@ -52,8 +52,6 @@ /** * Global Session DataBase ServiceImpl * - * @author zhongxiang.wang - * @author lvekee 734843455@qq.com */ @Component @org.springframework.context.annotation.Configuration diff --git a/server/src/main/java/io/seata/server/console/impl/file/BranchSessionFileServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/file/BranchSessionFileServiceImpl.java index 4cb1086a90f..46e1cb26e9c 100644 --- a/server/src/main/java/io/seata/server/console/impl/file/BranchSessionFileServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/file/BranchSessionFileServiceImpl.java @@ -26,7 +26,6 @@ /** * Branch Session File ServiceImpl * - * @author zhongxiang.wang */ @Component @org.springframework.context.annotation.Configuration diff --git a/server/src/main/java/io/seata/server/console/impl/file/GlobalLockFileServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/file/GlobalLockFileServiceImpl.java index 964eee5950b..44bbffd17ab 100644 --- a/server/src/main/java/io/seata/server/console/impl/file/GlobalLockFileServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/file/GlobalLockFileServiceImpl.java @@ -45,8 +45,6 @@ /** * Global Lock File ServiceImpl * - * @author zhongxiang.wang - * @author miaoxueyu */ @Component @org.springframework.context.annotation.Configuration diff --git a/server/src/main/java/io/seata/server/console/impl/file/GlobalSessionFileServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/file/GlobalSessionFileServiceImpl.java index 8b82b74bac0..d390cba6529 100644 --- a/server/src/main/java/io/seata/server/console/impl/file/GlobalSessionFileServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/file/GlobalSessionFileServiceImpl.java @@ -38,8 +38,6 @@ /** * Global Session File ServiceImpl * - * @author zhongxiang.wang - * @author miaoxueyu */ @Component @org.springframework.context.annotation.Configuration diff --git a/server/src/main/java/io/seata/server/console/impl/raft/BranchSessionRaftServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/raft/BranchSessionRaftServiceImpl.java index 02aa8a05eed..4e88a3a6854 100644 --- a/server/src/main/java/io/seata/server/console/impl/raft/BranchSessionRaftServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/raft/BranchSessionRaftServiceImpl.java @@ -23,7 +23,6 @@ /** * Branch Session File ServiceImpl * - * @author: zhongxiang.wang */ @Component @org.springframework.context.annotation.Configuration diff --git a/server/src/main/java/io/seata/server/console/impl/raft/GlobalLockRaftServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/raft/GlobalLockRaftServiceImpl.java index de5b34c4d67..805ca70baf5 100644 --- a/server/src/main/java/io/seata/server/console/impl/raft/GlobalLockRaftServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/raft/GlobalLockRaftServiceImpl.java @@ -23,7 +23,6 @@ /** * Global Lock File ServiceImpl * - * @author: zhongxiang.wang */ @Component @org.springframework.context.annotation.Configuration diff --git a/server/src/main/java/io/seata/server/console/impl/raft/GlobalSessionRaftServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/raft/GlobalSessionRaftServiceImpl.java index 3df0226668c..d0813713b42 100644 --- a/server/src/main/java/io/seata/server/console/impl/raft/GlobalSessionRaftServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/raft/GlobalSessionRaftServiceImpl.java @@ -23,7 +23,6 @@ /** * Global Session File ServiceImpl * - * @author: zhongxiang.wang */ @Component @org.springframework.context.annotation.Configuration diff --git a/server/src/main/java/io/seata/server/console/impl/redis/BranchSessionRedisServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/redis/BranchSessionRedisServiceImpl.java index 7265049e77a..cf83d537a99 100644 --- a/server/src/main/java/io/seata/server/console/impl/redis/BranchSessionRedisServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/redis/BranchSessionRedisServiceImpl.java @@ -33,8 +33,6 @@ /** * Branch Session Redis ServiceImpl * - * @author zhongxiang.wang - * @author doubleDimple */ @Component @org.springframework.context.annotation.Configuration diff --git a/server/src/main/java/io/seata/server/console/impl/redis/GlobalLockRedisServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/redis/GlobalLockRedisServiceImpl.java index 2f7076ac3a7..4c7c85b089b 100644 --- a/server/src/main/java/io/seata/server/console/impl/redis/GlobalLockRedisServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/redis/GlobalLockRedisServiceImpl.java @@ -40,8 +40,6 @@ /** * Global Lock Redis Service Impl - * @author zhongxiang.wang - * @author doubleDimple */ @Component @org.springframework.context.annotation.Configuration diff --git a/server/src/main/java/io/seata/server/console/impl/redis/GlobalSessionRedisServiceImpl.java b/server/src/main/java/io/seata/server/console/impl/redis/GlobalSessionRedisServiceImpl.java index b602ca47451..a37e2185682 100644 --- a/server/src/main/java/io/seata/server/console/impl/redis/GlobalSessionRedisServiceImpl.java +++ b/server/src/main/java/io/seata/server/console/impl/redis/GlobalSessionRedisServiceImpl.java @@ -41,8 +41,6 @@ /** * Global Session Redis ServiceImpl - * @author zhongxiang.wang - * @author doubleDimple */ @Component @org.springframework.context.annotation.Configuration diff --git a/server/src/main/java/io/seata/server/console/param/GlobalLockParam.java b/server/src/main/java/io/seata/server/console/param/GlobalLockParam.java index 189f0223cc9..4346ac7b0d2 100644 --- a/server/src/main/java/io/seata/server/console/param/GlobalLockParam.java +++ b/server/src/main/java/io/seata/server/console/param/GlobalLockParam.java @@ -22,7 +22,6 @@ /** * Global lock param - * @author zhongxiang.wang */ public class GlobalLockParam extends BaseParam implements Serializable { diff --git a/server/src/main/java/io/seata/server/console/param/GlobalSessionParam.java b/server/src/main/java/io/seata/server/console/param/GlobalSessionParam.java index 3182c8bbf54..4279ac16dc6 100644 --- a/server/src/main/java/io/seata/server/console/param/GlobalSessionParam.java +++ b/server/src/main/java/io/seata/server/console/param/GlobalSessionParam.java @@ -22,7 +22,6 @@ /** * Global session param - * @author zhongxiang.wang */ public class GlobalSessionParam extends BaseParam implements Serializable { diff --git a/server/src/main/java/io/seata/server/console/service/BranchSessionService.java b/server/src/main/java/io/seata/server/console/service/BranchSessionService.java index 58ea6ef696d..78ec7de811e 100644 --- a/server/src/main/java/io/seata/server/console/service/BranchSessionService.java +++ b/server/src/main/java/io/seata/server/console/service/BranchSessionService.java @@ -21,7 +21,6 @@ /** * Branch session service - * @author wangzhongxiang */ public interface BranchSessionService { diff --git a/server/src/main/java/io/seata/server/console/service/GlobalLockService.java b/server/src/main/java/io/seata/server/console/service/GlobalLockService.java index 34af9d03783..7661cf194b0 100644 --- a/server/src/main/java/io/seata/server/console/service/GlobalLockService.java +++ b/server/src/main/java/io/seata/server/console/service/GlobalLockService.java @@ -23,7 +23,6 @@ /** * Global lock service - * @author wangzhongxiang */ public interface GlobalLockService { diff --git a/server/src/main/java/io/seata/server/console/service/GlobalSessionService.java b/server/src/main/java/io/seata/server/console/service/GlobalSessionService.java index 706217d5dba..6eaa467a8b7 100644 --- a/server/src/main/java/io/seata/server/console/service/GlobalSessionService.java +++ b/server/src/main/java/io/seata/server/console/service/GlobalSessionService.java @@ -22,7 +22,6 @@ /** * Global session service - * @author wangzhongxiang */ public interface GlobalSessionService { diff --git a/server/src/main/java/io/seata/server/console/vo/BranchSessionVO.java b/server/src/main/java/io/seata/server/console/vo/BranchSessionVO.java index 8afe4430580..195d7c37ed1 100644 --- a/server/src/main/java/io/seata/server/console/vo/BranchSessionVO.java +++ b/server/src/main/java/io/seata/server/console/vo/BranchSessionVO.java @@ -25,7 +25,6 @@ /** * BranchSessionVO - * @author zhongxiang.wang */ public class BranchSessionVO { diff --git a/server/src/main/java/io/seata/server/console/vo/GlobalLockVO.java b/server/src/main/java/io/seata/server/console/vo/GlobalLockVO.java index bcd7c7671a2..cef42a03579 100644 --- a/server/src/main/java/io/seata/server/console/vo/GlobalLockVO.java +++ b/server/src/main/java/io/seata/server/console/vo/GlobalLockVO.java @@ -29,8 +29,6 @@ /** * GlobalLockVO - * @author zhongxiang.wang - * @author miaoxueyu */ public class GlobalLockVO { diff --git a/server/src/main/java/io/seata/server/console/vo/GlobalSessionVO.java b/server/src/main/java/io/seata/server/console/vo/GlobalSessionVO.java index ea9226a494d..6addf491e8c 100644 --- a/server/src/main/java/io/seata/server/console/vo/GlobalSessionVO.java +++ b/server/src/main/java/io/seata/server/console/vo/GlobalSessionVO.java @@ -25,7 +25,6 @@ /** * GlobalSessionVO - * @author zhongxiang.wang */ public class GlobalSessionVO { diff --git a/server/src/main/java/io/seata/server/controller/ClusterController.java b/server/src/main/java/io/seata/server/controller/ClusterController.java index b80c08604f7..532df329b92 100644 --- a/server/src/main/java/io/seata/server/controller/ClusterController.java +++ b/server/src/main/java/io/seata/server/controller/ClusterController.java @@ -53,7 +53,6 @@ import static io.seata.common.DefaultValues.DEFAULT_SEATA_GROUP; /** - * @author funkye */ @RestController @RequestMapping("/metadata/v1") diff --git a/server/src/main/java/io/seata/server/controller/HealthController.java b/server/src/main/java/io/seata/server/controller/HealthController.java index 2c3346cde4d..900e6e7d9bf 100644 --- a/server/src/main/java/io/seata/server/controller/HealthController.java +++ b/server/src/main/java/io/seata/server/controller/HealthController.java @@ -23,7 +23,6 @@ import org.springframework.web.bind.annotation.ResponseBody; /** - * @author spilledyear@outlook.com */ @Controller @RequestMapping @@ -41,4 +40,4 @@ public class HealthController { String healthCheck() { return serverRunner.started() ? OK : NOT_OK; } -} \ No newline at end of file +} diff --git a/server/src/main/java/io/seata/server/coordinator/AbstractCore.java b/server/src/main/java/io/seata/server/coordinator/AbstractCore.java index 84025840fe2..2ed2d813c5c 100644 --- a/server/src/main/java/io/seata/server/coordinator/AbstractCore.java +++ b/server/src/main/java/io/seata/server/coordinator/AbstractCore.java @@ -57,7 +57,6 @@ /** * The type abstract core. * - * @author ph3636 */ public abstract class AbstractCore implements Core { diff --git a/server/src/main/java/io/seata/server/coordinator/Core.java b/server/src/main/java/io/seata/server/coordinator/Core.java index a788fe9332b..a75deadd726 100644 --- a/server/src/main/java/io/seata/server/coordinator/Core.java +++ b/server/src/main/java/io/seata/server/coordinator/Core.java @@ -23,7 +23,6 @@ /** * The interface Core. * - * @author sharajava */ public interface Core extends TransactionCoordinatorInbound, TransactionCoordinatorOutbound { diff --git a/server/src/main/java/io/seata/server/coordinator/DefaultCore.java b/server/src/main/java/io/seata/server/coordinator/DefaultCore.java index 7ca41a8de89..ebb50d35e63 100644 --- a/server/src/main/java/io/seata/server/coordinator/DefaultCore.java +++ b/server/src/main/java/io/seata/server/coordinator/DefaultCore.java @@ -49,7 +49,6 @@ /** * The type Default core. * - * @author sharajava */ public class DefaultCore implements Core { diff --git a/server/src/main/java/io/seata/server/coordinator/RaftCoordinator.java b/server/src/main/java/io/seata/server/coordinator/RaftCoordinator.java index 132aafc6c3d..251016a37aa 100644 --- a/server/src/main/java/io/seata/server/coordinator/RaftCoordinator.java +++ b/server/src/main/java/io/seata/server/coordinator/RaftCoordinator.java @@ -32,7 +32,6 @@ /** * The type raft tx coordinator. - * @author funkye */ public class RaftCoordinator extends DefaultCoordinator implements ApplicationListener { diff --git a/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorInbound.java b/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorInbound.java index 6714e8b9eca..a82ee96656d 100644 --- a/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorInbound.java +++ b/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorInbound.java @@ -22,7 +22,6 @@ /** * receive inbound request from RM or TM. * - * @author zhangchenghui.dev@gmail.com * @since 1.1.0 */ public interface TransactionCoordinatorInbound extends ResourceManagerOutbound, TransactionManager { diff --git a/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorOutbound.java b/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorOutbound.java index 5345a07f34c..3d5dc201c09 100644 --- a/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorOutbound.java +++ b/server/src/main/java/io/seata/server/coordinator/TransactionCoordinatorOutbound.java @@ -24,7 +24,6 @@ /** * send outbound request to RM. * - * @author zhangchenghui.dev@gmail.com * @since 1.1.0 */ public interface TransactionCoordinatorOutbound { diff --git a/server/src/main/java/io/seata/server/env/ContainerHelper.java b/server/src/main/java/io/seata/server/env/ContainerHelper.java index 8f6dc3d9889..c2d668536ce 100644 --- a/server/src/main/java/io/seata/server/env/ContainerHelper.java +++ b/server/src/main/java/io/seata/server/env/ContainerHelper.java @@ -22,8 +22,6 @@ import static io.seata.core.constants.ConfigurationKeys.ENV_SEATA_PORT_KEY; /** - * @author xingfudeshi@gmail.com - * @author wang.liang */ public class ContainerHelper { diff --git a/server/src/main/java/io/seata/server/env/PortHelper.java b/server/src/main/java/io/seata/server/env/PortHelper.java index 36b8cf7a284..cc3f8e550a1 100644 --- a/server/src/main/java/io/seata/server/env/PortHelper.java +++ b/server/src/main/java/io/seata/server/env/PortHelper.java @@ -32,7 +32,6 @@ import org.yaml.snakeyaml.Yaml; /** - * @author wang.liang */ public class PortHelper { diff --git a/server/src/main/java/io/seata/server/event/EventBusManager.java b/server/src/main/java/io/seata/server/event/EventBusManager.java index 10466a54aca..e9f4a683110 100644 --- a/server/src/main/java/io/seata/server/event/EventBusManager.java +++ b/server/src/main/java/io/seata/server/event/EventBusManager.java @@ -22,7 +22,6 @@ /** * Manager hold the singleton event bus instance. * - * @author zhengyangyong */ public class EventBusManager { private static class SingletonHolder { diff --git a/server/src/main/java/io/seata/server/lock/AbstractLockManager.java b/server/src/main/java/io/seata/server/lock/AbstractLockManager.java index ee5aff1462d..dd6ad293f4d 100644 --- a/server/src/main/java/io/seata/server/lock/AbstractLockManager.java +++ b/server/src/main/java/io/seata/server/lock/AbstractLockManager.java @@ -33,7 +33,6 @@ /** * The type Abstract lock manager. * - * @author zhangsen */ public abstract class AbstractLockManager implements LockManager { diff --git a/server/src/main/java/io/seata/server/lock/LockManager.java b/server/src/main/java/io/seata/server/lock/LockManager.java index 0c8a7ae9a7a..a7f5b7f6043 100644 --- a/server/src/main/java/io/seata/server/lock/LockManager.java +++ b/server/src/main/java/io/seata/server/lock/LockManager.java @@ -27,7 +27,6 @@ /** * The interface Lock manager. * - * @author sharajava */ public interface LockManager { diff --git a/server/src/main/java/io/seata/server/lock/LockerManagerFactory.java b/server/src/main/java/io/seata/server/lock/LockerManagerFactory.java index bb727c86486..0d6e353c898 100644 --- a/server/src/main/java/io/seata/server/lock/LockerManagerFactory.java +++ b/server/src/main/java/io/seata/server/lock/LockerManagerFactory.java @@ -27,7 +27,6 @@ /** * The type Lock manager factory. * - * @author sharajava */ public class LockerManagerFactory { diff --git a/server/src/main/java/io/seata/server/lock/distributed/DistributedLockerFactory.java b/server/src/main/java/io/seata/server/lock/distributed/DistributedLockerFactory.java index 901c76e3b14..cef7ef8d4b4 100644 --- a/server/src/main/java/io/seata/server/lock/distributed/DistributedLockerFactory.java +++ b/server/src/main/java/io/seata/server/lock/distributed/DistributedLockerFactory.java @@ -25,7 +25,6 @@ /** * Distributed locker factory - * @author zhongxiang.wang */ public class DistributedLockerFactory { diff --git a/server/src/main/java/io/seata/server/logging/listener/SystemPropertyLoggerContextListener.java b/server/src/main/java/io/seata/server/logging/listener/SystemPropertyLoggerContextListener.java index b6282a95421..5f448039d1f 100644 --- a/server/src/main/java/io/seata/server/logging/listener/SystemPropertyLoggerContextListener.java +++ b/server/src/main/java/io/seata/server/logging/listener/SystemPropertyLoggerContextListener.java @@ -26,7 +26,6 @@ import io.seata.core.constants.ConfigurationKeys; /** - * @author wang.liang */ public class SystemPropertyLoggerContextListener extends ContextAwareBase implements LoggerContextListener, LifeCycle { @@ -73,4 +72,4 @@ public void onStop(LoggerContext context) { @Override public void onLevelChange(Logger logger, Level level) { } -} \ No newline at end of file +} diff --git a/server/src/main/java/io/seata/server/logging/logback/ExtendedWhitespaceThrowableProxyConverter.java b/server/src/main/java/io/seata/server/logging/logback/ExtendedWhitespaceThrowableProxyConverter.java index a9b9375eba6..5ab88809faa 100644 --- a/server/src/main/java/io/seata/server/logging/logback/ExtendedWhitespaceThrowableProxyConverter.java +++ b/server/src/main/java/io/seata/server/logging/logback/ExtendedWhitespaceThrowableProxyConverter.java @@ -24,7 +24,6 @@ * {@link ExtendedThrowableProxyConverter} that adds some additional whitespace around the * stack trace. * Copied from spring-boot-xxx.jar by wang.liang - * @author Phillip Webb */ public class ExtendedWhitespaceThrowableProxyConverter extends ExtendedThrowableProxyConverter { diff --git a/server/src/main/java/io/seata/server/logging/logback/appender/EnhancedLogstashEncoder.java b/server/src/main/java/io/seata/server/logging/logback/appender/EnhancedLogstashEncoder.java index 716b9a952bc..8ab5ba2fcf2 100644 --- a/server/src/main/java/io/seata/server/logging/logback/appender/EnhancedLogstashEncoder.java +++ b/server/src/main/java/io/seata/server/logging/logback/appender/EnhancedLogstashEncoder.java @@ -25,7 +25,6 @@ /** * The type Enhanced logstash encoder * - * @author wang.liang * @since 1.5.0 */ public class EnhancedLogstashEncoder extends LogstashEncoder { diff --git a/server/src/main/java/io/seata/server/logging/logback/appender/MetricLogbackAppender.java b/server/src/main/java/io/seata/server/logging/logback/appender/MetricLogbackAppender.java index ba3e7bfaefc..ab19e4b346a 100644 --- a/server/src/main/java/io/seata/server/logging/logback/appender/MetricLogbackAppender.java +++ b/server/src/main/java/io/seata/server/logging/logback/appender/MetricLogbackAppender.java @@ -29,7 +29,6 @@ /** * The type metric logback appender * - * @author Bughue */ public class MetricLogbackAppender extends AppenderBase { diff --git a/server/src/main/java/io/seata/server/metrics/MeterIdConstants.java b/server/src/main/java/io/seata/server/metrics/MeterIdConstants.java index 02d04ec461c..303927886c2 100644 --- a/server/src/main/java/io/seata/server/metrics/MeterIdConstants.java +++ b/server/src/main/java/io/seata/server/metrics/MeterIdConstants.java @@ -22,7 +22,6 @@ /** * Constants for meter id in tc * - * @author zhengyangyong */ public interface MeterIdConstants { Id COUNTER_ACTIVE = new Id(IdConstants.SEATA_TRANSACTION) diff --git a/server/src/main/java/io/seata/server/metrics/MetricsManager.java b/server/src/main/java/io/seata/server/metrics/MetricsManager.java index f55e71370f8..223f5e1a7ae 100644 --- a/server/src/main/java/io/seata/server/metrics/MetricsManager.java +++ b/server/src/main/java/io/seata/server/metrics/MetricsManager.java @@ -31,7 +31,6 @@ /** * Metrics manager for init * - * @author zhengyangyong */ public class MetricsManager { private static class SingletonHolder { diff --git a/server/src/main/java/io/seata/server/metrics/MetricsPublisher.java b/server/src/main/java/io/seata/server/metrics/MetricsPublisher.java index b98f401e45a..826d6c68a42 100644 --- a/server/src/main/java/io/seata/server/metrics/MetricsPublisher.java +++ b/server/src/main/java/io/seata/server/metrics/MetricsPublisher.java @@ -25,7 +25,6 @@ /** * The type Metrics publisher. * - * @author slievrly */ public class MetricsPublisher { diff --git a/server/src/main/java/io/seata/server/metrics/MetricsSubscriber.java b/server/src/main/java/io/seata/server/metrics/MetricsSubscriber.java index 40b3759a5cb..f97f22b3cac 100644 --- a/server/src/main/java/io/seata/server/metrics/MetricsSubscriber.java +++ b/server/src/main/java/io/seata/server/metrics/MetricsSubscriber.java @@ -38,7 +38,6 @@ /** * Event subscriber for metrics * - * @author zhengyangyong */ public class MetricsSubscriber { diff --git a/server/src/main/java/io/seata/server/session/BranchSession.java b/server/src/main/java/io/seata/server/session/BranchSession.java index 0b1c3dd62e3..9c4ddc1fd36 100644 --- a/server/src/main/java/io/seata/server/session/BranchSession.java +++ b/server/src/main/java/io/seata/server/session/BranchSession.java @@ -42,7 +42,6 @@ /** * The type Branch session. * - * @author sharajava */ public class BranchSession implements Lockable, Comparable, SessionStorable { diff --git a/server/src/main/java/io/seata/server/session/BranchSessionHandler.java b/server/src/main/java/io/seata/server/session/BranchSessionHandler.java index 3f6b55f0cf8..f9e2d7a887c 100644 --- a/server/src/main/java/io/seata/server/session/BranchSessionHandler.java +++ b/server/src/main/java/io/seata/server/session/BranchSessionHandler.java @@ -21,7 +21,6 @@ /** * The Functional Interface Branch session handler * - * @author wang.liang * @since 1.5.0 */ @FunctionalInterface diff --git a/server/src/main/java/io/seata/server/session/GlobalSession.java b/server/src/main/java/io/seata/server/session/GlobalSession.java index 3773d424d61..a40fd452191 100644 --- a/server/src/main/java/io/seata/server/session/GlobalSession.java +++ b/server/src/main/java/io/seata/server/session/GlobalSession.java @@ -57,7 +57,6 @@ /** * The type Global session. * - * @author sharajava */ public class GlobalSession implements SessionLifecycle, SessionStorable { diff --git a/server/src/main/java/io/seata/server/session/GlobalSessionHandler.java b/server/src/main/java/io/seata/server/session/GlobalSessionHandler.java index ab1942ab312..8161c269830 100644 --- a/server/src/main/java/io/seata/server/session/GlobalSessionHandler.java +++ b/server/src/main/java/io/seata/server/session/GlobalSessionHandler.java @@ -21,7 +21,6 @@ /** * The Functional Interface Global session handler * - * @author wang.liang * @since 1.5.0 */ @FunctionalInterface @@ -34,4 +33,4 @@ public interface GlobalSessionHandler { * @throws TransactionException the transaction exception */ void handle(GlobalSession globalSession) throws TransactionException; -} \ No newline at end of file +} diff --git a/server/src/main/java/io/seata/server/session/Lockable.java b/server/src/main/java/io/seata/server/session/Lockable.java index 597ad863ef0..8d50bd0aada 100644 --- a/server/src/main/java/io/seata/server/session/Lockable.java +++ b/server/src/main/java/io/seata/server/session/Lockable.java @@ -21,7 +21,6 @@ /** * The interface Lockable. * - * @author sharajava */ public interface Lockable { diff --git a/server/src/main/java/io/seata/server/session/Reloadable.java b/server/src/main/java/io/seata/server/session/Reloadable.java index 8972dc2a939..995fa6921e7 100644 --- a/server/src/main/java/io/seata/server/session/Reloadable.java +++ b/server/src/main/java/io/seata/server/session/Reloadable.java @@ -19,7 +19,6 @@ /** * Service contains states which can be reloaded. * - * @author sharajava */ public interface Reloadable { diff --git a/server/src/main/java/io/seata/server/session/SessionCondition.java b/server/src/main/java/io/seata/server/session/SessionCondition.java index 9264ea5645b..73a34cfead0 100644 --- a/server/src/main/java/io/seata/server/session/SessionCondition.java +++ b/server/src/main/java/io/seata/server/session/SessionCondition.java @@ -21,7 +21,6 @@ /** * The type Session condition. * - * @author slievrly */ public class SessionCondition { private Long transactionId; diff --git a/server/src/main/java/io/seata/server/session/SessionHelper.java b/server/src/main/java/io/seata/server/session/SessionHelper.java index 7f86f73271b..472b786d6f9 100644 --- a/server/src/main/java/io/seata/server/session/SessionHelper.java +++ b/server/src/main/java/io/seata/server/session/SessionHelper.java @@ -53,7 +53,6 @@ /** * The type Session helper. * - * @author sharajava */ public class SessionHelper { diff --git a/server/src/main/java/io/seata/server/session/SessionHolder.java b/server/src/main/java/io/seata/server/session/SessionHolder.java index 05c72a62a34..19a705e8f8d 100644 --- a/server/src/main/java/io/seata/server/session/SessionHolder.java +++ b/server/src/main/java/io/seata/server/session/SessionHolder.java @@ -55,7 +55,6 @@ /** * The type Session holder. * - * @author sharajava */ public class SessionHolder { diff --git a/server/src/main/java/io/seata/server/session/SessionLifecycle.java b/server/src/main/java/io/seata/server/session/SessionLifecycle.java index 13b3fe4f6f7..544667f65be 100644 --- a/server/src/main/java/io/seata/server/session/SessionLifecycle.java +++ b/server/src/main/java/io/seata/server/session/SessionLifecycle.java @@ -23,7 +23,6 @@ /** * The interface Session lifecycle. * - * @author sharajava */ public interface SessionLifecycle { diff --git a/server/src/main/java/io/seata/server/session/SessionLifecycleListener.java b/server/src/main/java/io/seata/server/session/SessionLifecycleListener.java index 4163d815d7d..3630866bd3e 100644 --- a/server/src/main/java/io/seata/server/session/SessionLifecycleListener.java +++ b/server/src/main/java/io/seata/server/session/SessionLifecycleListener.java @@ -23,7 +23,6 @@ /** * The interface Session lifecycle listener. * - * @author sharajava */ public interface SessionLifecycleListener { diff --git a/server/src/main/java/io/seata/server/session/SessionManager.java b/server/src/main/java/io/seata/server/session/SessionManager.java index bfb3b917b30..6a6157f50a6 100644 --- a/server/src/main/java/io/seata/server/session/SessionManager.java +++ b/server/src/main/java/io/seata/server/session/SessionManager.java @@ -26,7 +26,6 @@ /** * The interface Session manager. * - * @author sharajava */ public interface SessionManager extends Disposable { diff --git a/server/src/main/java/io/seata/server/session/SessionStatusValidator.java b/server/src/main/java/io/seata/server/session/SessionStatusValidator.java index 6114a2a6bf4..0627d1e4d27 100644 --- a/server/src/main/java/io/seata/server/session/SessionStatusValidator.java +++ b/server/src/main/java/io/seata/server/session/SessionStatusValidator.java @@ -21,7 +21,6 @@ /** * The type change status validator. * - * @author Bughue */ public class SessionStatusValidator { diff --git a/server/src/main/java/io/seata/server/spring/listener/ServerApplicationListener.java b/server/src/main/java/io/seata/server/spring/listener/ServerApplicationListener.java index 0a34d6da6fe..7eb928669ec 100644 --- a/server/src/main/java/io/seata/server/spring/listener/ServerApplicationListener.java +++ b/server/src/main/java/io/seata/server/spring/listener/ServerApplicationListener.java @@ -37,8 +37,6 @@ import static io.seata.core.constants.ConfigurationKeys.SERVER_SERVICE_PORT_CONFIG; /** - * @author slievrly - * @author funkye */ public class ServerApplicationListener implements GenericApplicationListener { diff --git a/server/src/main/java/io/seata/server/storage/SessionConverter.java b/server/src/main/java/io/seata/server/storage/SessionConverter.java index c7daece3219..70f2a2e6414 100644 --- a/server/src/main/java/io/seata/server/storage/SessionConverter.java +++ b/server/src/main/java/io/seata/server/storage/SessionConverter.java @@ -39,8 +39,6 @@ /** * The session converter * - * @author wangzhongxiang - * @author doubleDimple */ public class SessionConverter { diff --git a/server/src/main/java/io/seata/server/storage/db/lock/DataBaseDistributedLocker.java b/server/src/main/java/io/seata/server/storage/db/lock/DataBaseDistributedLocker.java index df52e997c28..656893faa8d 100644 --- a/server/src/main/java/io/seata/server/storage/db/lock/DataBaseDistributedLocker.java +++ b/server/src/main/java/io/seata/server/storage/db/lock/DataBaseDistributedLocker.java @@ -49,7 +49,6 @@ import static io.seata.core.constants.ConfigurationKeys.DISTRIBUTED_LOCK_DB_TABLE; /** - * @author chd */ @LoadLevel(name = "db", scope = Scope.SINGLETON) public class DataBaseDistributedLocker implements DistributedLocker { diff --git a/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLockManager.java b/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLockManager.java index 9718906a5ce..3f82375f893 100644 --- a/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLockManager.java +++ b/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLockManager.java @@ -32,7 +32,6 @@ /** * The type db lock manager. * - * @author zjinlei */ @LoadLevel(name = "db") public class DataBaseLockManager extends AbstractLockManager implements Initialize { diff --git a/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLocker.java b/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLocker.java index 224eed5a9f4..5f7d726979a 100644 --- a/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLocker.java +++ b/server/src/main/java/io/seata/server/storage/db/lock/DataBaseLocker.java @@ -29,7 +29,6 @@ /** * The type Data base locker. * - * @author zhangsen */ public class DataBaseLocker extends AbstractLocker { diff --git a/server/src/main/java/io/seata/server/storage/db/lock/LockStoreDataBaseDAO.java b/server/src/main/java/io/seata/server/storage/db/lock/LockStoreDataBaseDAO.java index c49024c31da..d0674977bda 100644 --- a/server/src/main/java/io/seata/server/storage/db/lock/LockStoreDataBaseDAO.java +++ b/server/src/main/java/io/seata/server/storage/db/lock/LockStoreDataBaseDAO.java @@ -52,7 +52,6 @@ /** * The type Data base lock store. * - * @author zhangsen */ public class LockStoreDataBaseDAO implements LockStore { diff --git a/server/src/main/java/io/seata/server/storage/db/session/DataBaseSessionManager.java b/server/src/main/java/io/seata/server/storage/db/session/DataBaseSessionManager.java index 211314fb4e2..21d3b3edbd4 100644 --- a/server/src/main/java/io/seata/server/storage/db/session/DataBaseSessionManager.java +++ b/server/src/main/java/io/seata/server/storage/db/session/DataBaseSessionManager.java @@ -37,7 +37,6 @@ /** * The Data base session manager. * - * @author zhangsen */ @LoadLevel(name = "db", scope = Scope.PROTOTYPE) public class DataBaseSessionManager extends AbstractSessionManager implements Initialize { diff --git a/server/src/main/java/io/seata/server/storage/db/store/DataBaseTransactionStoreManager.java b/server/src/main/java/io/seata/server/storage/db/store/DataBaseTransactionStoreManager.java index a05fbd6dd5c..e4bfab24926 100644 --- a/server/src/main/java/io/seata/server/storage/db/store/DataBaseTransactionStoreManager.java +++ b/server/src/main/java/io/seata/server/storage/db/store/DataBaseTransactionStoreManager.java @@ -49,7 +49,6 @@ /** * The type Database transaction store manager. * - * @author zhangsen */ public class DataBaseTransactionStoreManager extends AbstractTransactionStoreManager implements TransactionStoreManager { diff --git a/server/src/main/java/io/seata/server/storage/db/store/LogStoreDataBaseDAO.java b/server/src/main/java/io/seata/server/storage/db/store/LogStoreDataBaseDAO.java index 8f7ef7b380a..e8690d438a3 100644 --- a/server/src/main/java/io/seata/server/storage/db/store/LogStoreDataBaseDAO.java +++ b/server/src/main/java/io/seata/server/storage/db/store/LogStoreDataBaseDAO.java @@ -46,7 +46,6 @@ /** * The type Log store data base dao. * - * @author zhangsen */ public class LogStoreDataBaseDAO implements LogStore { diff --git a/server/src/main/java/io/seata/server/storage/file/FlushDiskMode.java b/server/src/main/java/io/seata/server/storage/file/FlushDiskMode.java index e994e3c0e14..a7220d7139c 100644 --- a/server/src/main/java/io/seata/server/storage/file/FlushDiskMode.java +++ b/server/src/main/java/io/seata/server/storage/file/FlushDiskMode.java @@ -17,7 +17,6 @@ package io.seata.server.storage.file; /** - * @author lizhao */ public enum FlushDiskMode { /** diff --git a/server/src/main/java/io/seata/server/storage/file/ReloadableStore.java b/server/src/main/java/io/seata/server/storage/file/ReloadableStore.java index 6a48bfdb175..177bdc3cd23 100644 --- a/server/src/main/java/io/seata/server/storage/file/ReloadableStore.java +++ b/server/src/main/java/io/seata/server/storage/file/ReloadableStore.java @@ -21,7 +21,6 @@ /** * The interface Reloadable store. * - * @author zhangsen */ public interface ReloadableStore { diff --git a/server/src/main/java/io/seata/server/storage/file/TransactionWriteStore.java b/server/src/main/java/io/seata/server/storage/file/TransactionWriteStore.java index 7b2e0d782ed..c201ecedbf0 100644 --- a/server/src/main/java/io/seata/server/storage/file/TransactionWriteStore.java +++ b/server/src/main/java/io/seata/server/storage/file/TransactionWriteStore.java @@ -27,7 +27,6 @@ /** * The type Transaction write store. * - * @author slievrly */ public class TransactionWriteStore implements SessionStorable { private SessionStorable sessionRequest; diff --git a/server/src/main/java/io/seata/server/storage/file/lock/FileLockManager.java b/server/src/main/java/io/seata/server/storage/file/lock/FileLockManager.java index a0753824464..5f4d3f6290f 100644 --- a/server/src/main/java/io/seata/server/storage/file/lock/FileLockManager.java +++ b/server/src/main/java/io/seata/server/storage/file/lock/FileLockManager.java @@ -32,7 +32,6 @@ /** * The type file lock manager. * - * @author zhangsen */ @LoadLevel(name = "file") public class FileLockManager extends AbstractLockManager { diff --git a/server/src/main/java/io/seata/server/storage/file/lock/FileLocker.java b/server/src/main/java/io/seata/server/storage/file/lock/FileLocker.java index d5d1b3f7119..eec169ff22d 100644 --- a/server/src/main/java/io/seata/server/storage/file/lock/FileLocker.java +++ b/server/src/main/java/io/seata/server/storage/file/lock/FileLocker.java @@ -37,7 +37,6 @@ /** * The type Memory locker. * - * @author zhangsen */ public class FileLocker extends AbstractLocker { diff --git a/server/src/main/java/io/seata/server/storage/file/session/FileSessionManager.java b/server/src/main/java/io/seata/server/storage/file/session/FileSessionManager.java index 878e0bd1138..17b67086c9f 100644 --- a/server/src/main/java/io/seata/server/storage/file/session/FileSessionManager.java +++ b/server/src/main/java/io/seata/server/storage/file/session/FileSessionManager.java @@ -56,7 +56,6 @@ /** * The type File based session manager. * - * @author slievrly */ @LoadLevel(name = "file", scope = Scope.PROTOTYPE) public class FileSessionManager extends AbstractSessionManager implements Reloadable { diff --git a/server/src/main/java/io/seata/server/storage/file/store/FileTransactionStoreManager.java b/server/src/main/java/io/seata/server/storage/file/store/FileTransactionStoreManager.java index f7650884237..dce11a55469 100644 --- a/server/src/main/java/io/seata/server/storage/file/store/FileTransactionStoreManager.java +++ b/server/src/main/java/io/seata/server/storage/file/store/FileTransactionStoreManager.java @@ -57,7 +57,6 @@ /** * The type File transaction store manager. * - * @author slievrly */ public class FileTransactionStoreManager extends AbstractTransactionStoreManager implements TransactionStoreManager, ReloadableStore { diff --git a/server/src/main/java/io/seata/server/storage/raft/lock/RaftDistributedLocker.java b/server/src/main/java/io/seata/server/storage/raft/lock/RaftDistributedLocker.java index 74becd1ab11..2a0c92aa302 100644 --- a/server/src/main/java/io/seata/server/storage/raft/lock/RaftDistributedLocker.java +++ b/server/src/main/java/io/seata/server/storage/raft/lock/RaftDistributedLocker.java @@ -30,7 +30,6 @@ /** * @description raft distributed lock - * @author funkye */ @LoadLevel(name = "raft") public class RaftDistributedLocker implements DistributedLocker { diff --git a/server/src/main/java/io/seata/server/storage/raft/lock/RaftLockManager.java b/server/src/main/java/io/seata/server/storage/raft/lock/RaftLockManager.java index 22ea12bcf9e..934be1166be 100644 --- a/server/src/main/java/io/seata/server/storage/raft/lock/RaftLockManager.java +++ b/server/src/main/java/io/seata/server/storage/raft/lock/RaftLockManager.java @@ -33,7 +33,6 @@ import static io.seata.server.cluster.raft.sync.msg.RaftSyncMsgType.RELEASE_BRANCH_SESSION_LOCK; import static io.seata.server.cluster.raft.sync.msg.RaftSyncMsgType.RELEASE_GLOBAL_SESSION_LOCK; /** - * @author funkye */ @LoadLevel(name = "raft") public class RaftLockManager extends FileLockManager { diff --git a/server/src/main/java/io/seata/server/storage/raft/session/RaftSessionManager.java b/server/src/main/java/io/seata/server/storage/raft/session/RaftSessionManager.java index f39a0cd4612..f5673d39f17 100644 --- a/server/src/main/java/io/seata/server/storage/raft/session/RaftSessionManager.java +++ b/server/src/main/java/io/seata/server/storage/raft/session/RaftSessionManager.java @@ -44,7 +44,6 @@ import static io.seata.server.cluster.raft.sync.msg.RaftSyncMsgType.UPDATE_GLOBAL_SESSION_STATUS; /** - * @author funkye */ @LoadLevel(name = "raft", scope = Scope.PROTOTYPE) public class RaftSessionManager extends FileSessionManager { diff --git a/server/src/main/java/io/seata/server/storage/redis/JedisPooledFactory.java b/server/src/main/java/io/seata/server/storage/redis/JedisPooledFactory.java index 0fd5e38b95d..cd30307f7a3 100644 --- a/server/src/main/java/io/seata/server/storage/redis/JedisPooledFactory.java +++ b/server/src/main/java/io/seata/server/storage/redis/JedisPooledFactory.java @@ -39,7 +39,6 @@ import static io.seata.common.DefaultValues.DEFAULT_REDIS_MIN_IDLE; /** - * @author funkye */ public class JedisPooledFactory { /** diff --git a/server/src/main/java/io/seata/server/storage/redis/LuaParser.java b/server/src/main/java/io/seata/server/storage/redis/LuaParser.java index 4c0117e0c32..14eb3f4552a 100644 --- a/server/src/main/java/io/seata/server/storage/redis/LuaParser.java +++ b/server/src/main/java/io/seata/server/storage/redis/LuaParser.java @@ -42,7 +42,6 @@ /** * lua related utils * - * @author conghuhu */ public class LuaParser { private static final Logger LOGGER = LoggerFactory.getLogger(LuaParser.class); diff --git a/server/src/main/java/io/seata/server/storage/redis/lock/RedisDistributedLocker.java b/server/src/main/java/io/seata/server/storage/redis/lock/RedisDistributedLocker.java index d46dfca76fb..ccf0fa9d678 100644 --- a/server/src/main/java/io/seata/server/storage/redis/lock/RedisDistributedLocker.java +++ b/server/src/main/java/io/seata/server/storage/redis/lock/RedisDistributedLocker.java @@ -29,7 +29,6 @@ /** * Redis distributed lock - * @author zhongxiang.wang */ @LoadLevel(name = "redis", scope = Scope.SINGLETON) public class RedisDistributedLocker implements DistributedLocker { diff --git a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockManager.java b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockManager.java index c5fc7330908..8987a6a11f8 100644 --- a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockManager.java +++ b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockManager.java @@ -25,7 +25,6 @@ import io.seata.server.session.GlobalSession; /** - * @author funkye */ @LoadLevel(name = "redis") public class RedisLockManager extends AbstractLockManager implements Initialize { @@ -64,4 +63,4 @@ public boolean releaseGlobalSessionLock(GlobalSession globalSession) throws Tran return false; } } -} \ No newline at end of file +} diff --git a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLocker.java b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLocker.java index 78838fd7804..66b9d291e87 100644 --- a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLocker.java +++ b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLocker.java @@ -51,9 +51,6 @@ /** * The redis lock store operation * - * @author funkye - * @author wangzhongxiang - * @author conghuhu */ public class RedisLocker extends AbstractLocker { diff --git a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockerFactory.java b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockerFactory.java index b3cee56c061..8d802fc0862 100644 --- a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockerFactory.java +++ b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLockerFactory.java @@ -24,7 +24,6 @@ import static io.seata.common.Constants.STORE_REDIS_TYPE_PIPELINE; /** - * @author conghuhu */ public class RedisLockerFactory { diff --git a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLuaLocker.java b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLuaLocker.java index 1d7219ef6f1..d1f456520a9 100644 --- a/server/src/main/java/io/seata/server/storage/redis/lock/RedisLuaLocker.java +++ b/server/src/main/java/io/seata/server/storage/redis/lock/RedisLuaLocker.java @@ -44,7 +44,6 @@ import static io.seata.core.exception.TransactionExceptionCode.LockKeyConflictFailFast; /** - * @author conghuhu */ public class RedisLuaLocker extends RedisLocker { diff --git a/server/src/main/java/io/seata/server/storage/redis/session/RedisSessionManager.java b/server/src/main/java/io/seata/server/storage/redis/session/RedisSessionManager.java index b4cab3e0c1d..80449423251 100644 --- a/server/src/main/java/io/seata/server/storage/redis/session/RedisSessionManager.java +++ b/server/src/main/java/io/seata/server/storage/redis/session/RedisSessionManager.java @@ -36,7 +36,6 @@ import org.slf4j.LoggerFactory; /** - * @author funkye */ @LoadLevel(name = "redis", scope = Scope.PROTOTYPE) public class RedisSessionManager extends AbstractSessionManager diff --git a/server/src/main/java/io/seata/server/storage/redis/store/RedisLuaTransactionStoreManager.java b/server/src/main/java/io/seata/server/storage/redis/store/RedisLuaTransactionStoreManager.java index a257e23952b..279e0f75b86 100644 --- a/server/src/main/java/io/seata/server/storage/redis/store/RedisLuaTransactionStoreManager.java +++ b/server/src/main/java/io/seata/server/storage/redis/store/RedisLuaTransactionStoreManager.java @@ -48,7 +48,6 @@ import static io.seata.core.constants.RedisKeyConstants.REDIS_KEY_GLOBAL_XID; /** - * @author conghuhu */ public class RedisLuaTransactionStoreManager extends RedisTransactionStoreManager { diff --git a/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManager.java b/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManager.java index 772f6e2ca3a..edc39973b05 100644 --- a/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManager.java +++ b/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManager.java @@ -72,10 +72,6 @@ /** * The redis transaction store manager * - * @author funkye - * @author wangzhongxiang - * @author doubleDimple - * @author conghuhu */ public class RedisTransactionStoreManager extends AbstractTransactionStoreManager implements TransactionStoreManager { diff --git a/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManagerFactory.java b/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManagerFactory.java index 22929c1fc1a..3e8e1221050 100644 --- a/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManagerFactory.java +++ b/server/src/main/java/io/seata/server/storage/redis/store/RedisTransactionStoreManagerFactory.java @@ -23,7 +23,6 @@ import static io.seata.common.Constants.STORE_REDIS_TYPE_PIPELINE; /** - * @author conghuhu */ public class RedisTransactionStoreManagerFactory { diff --git a/server/src/main/java/io/seata/server/store/AbstractTransactionStoreManager.java b/server/src/main/java/io/seata/server/store/AbstractTransactionStoreManager.java index 302fe9be25b..398df00681c 100644 --- a/server/src/main/java/io/seata/server/store/AbstractTransactionStoreManager.java +++ b/server/src/main/java/io/seata/server/store/AbstractTransactionStoreManager.java @@ -26,7 +26,6 @@ /** * The type Abstract transaction store manager. * - * @author zhangsen */ public abstract class AbstractTransactionStoreManager implements TransactionStoreManager { diff --git a/server/src/main/java/io/seata/server/store/DbcpDataSourceProvider.java b/server/src/main/java/io/seata/server/store/DbcpDataSourceProvider.java index 17e50f927e6..cc04e1eec8c 100644 --- a/server/src/main/java/io/seata/server/store/DbcpDataSourceProvider.java +++ b/server/src/main/java/io/seata/server/store/DbcpDataSourceProvider.java @@ -25,9 +25,6 @@ /** * The dbcp datasource provider - * @author zhangsen - * @author ggndnn - * @author will */ @LoadLevel(name = "dbcp") public class DbcpDataSourceProvider extends AbstractDataSourceProvider { diff --git a/server/src/main/java/io/seata/server/store/DruidDataSourceProvider.java b/server/src/main/java/io/seata/server/store/DruidDataSourceProvider.java index 64504bb43cc..707b2573050 100644 --- a/server/src/main/java/io/seata/server/store/DruidDataSourceProvider.java +++ b/server/src/main/java/io/seata/server/store/DruidDataSourceProvider.java @@ -26,9 +26,6 @@ /** * The druid datasource provider - * @author zhangsen - * @author ggndnn - * @author will */ @LoadLevel(name = "druid") public class DruidDataSourceProvider extends AbstractDataSourceProvider { diff --git a/server/src/main/java/io/seata/server/store/HikariDataSourceProvider.java b/server/src/main/java/io/seata/server/store/HikariDataSourceProvider.java index deecdf176c6..212fc224c48 100644 --- a/server/src/main/java/io/seata/server/store/HikariDataSourceProvider.java +++ b/server/src/main/java/io/seata/server/store/HikariDataSourceProvider.java @@ -27,8 +27,6 @@ /** * The hikari datasource provider - * @author diguage - * @author will */ @LoadLevel(name = "hikari") public class HikariDataSourceProvider extends AbstractDataSourceProvider { diff --git a/server/src/main/java/io/seata/server/store/SessionStorable.java b/server/src/main/java/io/seata/server/store/SessionStorable.java index 315d401be60..c2c33d136b3 100644 --- a/server/src/main/java/io/seata/server/store/SessionStorable.java +++ b/server/src/main/java/io/seata/server/store/SessionStorable.java @@ -19,7 +19,6 @@ /** * The interface Session storable. * - * @author slievrly */ public interface SessionStorable { diff --git a/server/src/main/java/io/seata/server/store/StoreConfig.java b/server/src/main/java/io/seata/server/store/StoreConfig.java index c79062c0046..620393f7cfe 100644 --- a/server/src/main/java/io/seata/server/store/StoreConfig.java +++ b/server/src/main/java/io/seata/server/store/StoreConfig.java @@ -27,7 +27,6 @@ import static io.seata.core.constants.ConfigurationKeys.STORE_FILE_PREFIX; /** - * @author lizhao */ public class StoreConfig { diff --git a/server/src/main/java/io/seata/server/store/TransactionStoreManager.java b/server/src/main/java/io/seata/server/store/TransactionStoreManager.java index 5d6dd0b1090..f9aefd406b5 100644 --- a/server/src/main/java/io/seata/server/store/TransactionStoreManager.java +++ b/server/src/main/java/io/seata/server/store/TransactionStoreManager.java @@ -25,7 +25,6 @@ /** * The interface Transaction store manager. * - * @author slievrly */ public interface TransactionStoreManager { diff --git a/server/src/main/java/io/seata/server/transaction/at/ATCore.java b/server/src/main/java/io/seata/server/transaction/at/ATCore.java index 85932b2df70..04bf7437062 100644 --- a/server/src/main/java/io/seata/server/transaction/at/ATCore.java +++ b/server/src/main/java/io/seata/server/transaction/at/ATCore.java @@ -38,7 +38,6 @@ /** * The type at core. * - * @author ph3636 */ public class ATCore extends AbstractCore { diff --git a/server/src/main/java/io/seata/server/transaction/saga/SagaCore.java b/server/src/main/java/io/seata/server/transaction/saga/SagaCore.java index e06a3192d4a..e9f714b72ea 100644 --- a/server/src/main/java/io/seata/server/transaction/saga/SagaCore.java +++ b/server/src/main/java/io/seata/server/transaction/saga/SagaCore.java @@ -41,7 +41,6 @@ /** * The type saga core. * - * @author ph3636 */ public class SagaCore extends AbstractCore { diff --git a/server/src/main/java/io/seata/server/transaction/tcc/TccCore.java b/server/src/main/java/io/seata/server/transaction/tcc/TccCore.java index 5ffce7272f3..87f936364a4 100644 --- a/server/src/main/java/io/seata/server/transaction/tcc/TccCore.java +++ b/server/src/main/java/io/seata/server/transaction/tcc/TccCore.java @@ -23,7 +23,6 @@ /** * The type tcc core. * - * @author ph3636 */ public class TccCore extends AbstractCore { diff --git a/server/src/main/java/io/seata/server/transaction/xa/XACore.java b/server/src/main/java/io/seata/server/transaction/xa/XACore.java index fb7789fcd26..7063e5713a9 100644 --- a/server/src/main/java/io/seata/server/transaction/xa/XACore.java +++ b/server/src/main/java/io/seata/server/transaction/xa/XACore.java @@ -25,7 +25,6 @@ /** * The type XA core. * - * @author sharajava */ public class XACore extends AbstractCore { diff --git a/server/src/test/java/ServerTest.java b/server/src/test/java/ServerTest.java index b383a55748e..fbdcc80f006 100644 --- a/server/src/test/java/ServerTest.java +++ b/server/src/test/java/ServerTest.java @@ -27,7 +27,6 @@ /** * The type Server test. * - * @author slievrly */ public class ServerTest { diff --git a/server/src/test/java/WriteStoreMultithreadTest.java b/server/src/test/java/WriteStoreMultithreadTest.java index eff0086dba5..c593f4678cc 100644 --- a/server/src/test/java/WriteStoreMultithreadTest.java +++ b/server/src/test/java/WriteStoreMultithreadTest.java @@ -32,7 +32,6 @@ /** * The interface Session storable. * - * @author lizhao */ public class WriteStoreMultithreadTest { private static String vgroup = "vgroupMock"; diff --git a/server/src/test/java/WriteStoreTest.java b/server/src/test/java/WriteStoreTest.java index 2a81e2dd9d5..09e60290919 100644 --- a/server/src/test/java/WriteStoreTest.java +++ b/server/src/test/java/WriteStoreTest.java @@ -39,7 +39,6 @@ /** * The type Write store test. * - * @author slievrly * write cost:87281,read cost:158922 65535*5 1000 per open init 1024 write cost:86454,read * cost:160541 65535*5 2000 per open init 1024 write cost:82953,read cost:157736 65535*5 2000 per open init * 65535*5*9 write cost:115079,read cost:163664 65535*5 2000 per open init 65535*5*9 schedule flush 10||2s diff --git a/server/src/test/java/io/seata/server/LoaderConfTest.java b/server/src/test/java/io/seata/server/LoaderConfTest.java index ca3842b3cc8..b04fbcd9209 100644 --- a/server/src/test/java/io/seata/server/LoaderConfTest.java +++ b/server/src/test/java/io/seata/server/LoaderConfTest.java @@ -25,7 +25,6 @@ /** * - * @author funkye */ @SpringBootTest public class LoaderConfTest { diff --git a/server/src/test/java/io/seata/server/ParameterParserTest.java b/server/src/test/java/io/seata/server/ParameterParserTest.java index e52f71d18ae..fa83b6c4faa 100644 --- a/server/src/test/java/io/seata/server/ParameterParserTest.java +++ b/server/src/test/java/io/seata/server/ParameterParserTest.java @@ -25,7 +25,6 @@ /** * The type parameter parser test * - * @author xingfudeshi@gmail.com */ @SpringBootTest public class ParameterParserTest { diff --git a/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorMetricsTest.java b/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorMetricsTest.java index 1d7f2f86f8d..750e2a2785d 100644 --- a/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorMetricsTest.java +++ b/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorMetricsTest.java @@ -44,7 +44,6 @@ /** * Test Metrics * - * @author zhengyangyong */ @SpringBootTest @Disabled diff --git a/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorTest.java b/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorTest.java index da857ff4616..53807091a18 100644 --- a/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorTest.java +++ b/server/src/test/java/io/seata/server/coordinator/DefaultCoordinatorTest.java @@ -65,7 +65,6 @@ /** * The type DefaultCoordinator test. * - * @author leizhiyuan */ @SpringBootTest public class DefaultCoordinatorTest { diff --git a/server/src/test/java/io/seata/server/coordinator/DefaultCoreTest.java b/server/src/test/java/io/seata/server/coordinator/DefaultCoreTest.java index 262d020ce27..ac57c813649 100644 --- a/server/src/test/java/io/seata/server/coordinator/DefaultCoreTest.java +++ b/server/src/test/java/io/seata/server/coordinator/DefaultCoreTest.java @@ -43,7 +43,6 @@ /** * The type Default core test. * - * @author zhimo.xiao @gmail.com */ @SpringBootTest public class DefaultCoreTest { diff --git a/server/src/test/java/io/seata/server/env/PortHelperTest.java b/server/src/test/java/io/seata/server/env/PortHelperTest.java index 30be0219cc1..76fa0abab1c 100644 --- a/server/src/test/java/io/seata/server/env/PortHelperTest.java +++ b/server/src/test/java/io/seata/server/env/PortHelperTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; /** - * @author slievrly */ class PortHelperTest { @@ -36,4 +35,4 @@ public void testGetPortFromConfigFile() throws IOException { Assertions.assertEquals(7091,PortHelper.getPortFromConfigFile()); } -} \ No newline at end of file +} diff --git a/server/src/test/java/io/seata/server/event/DefaultCoreForEventBusTest.java b/server/src/test/java/io/seata/server/event/DefaultCoreForEventBusTest.java index e315fd6d39a..ab18f1178fa 100644 --- a/server/src/test/java/io/seata/server/event/DefaultCoreForEventBusTest.java +++ b/server/src/test/java/io/seata/server/event/DefaultCoreForEventBusTest.java @@ -49,7 +49,6 @@ /** * Test events come from Default Core. * - * @author zhengyangyong */ @SpringBootTest public class DefaultCoreForEventBusTest { diff --git a/server/src/test/java/io/seata/server/lock/DistributedLockerFactoryTest.java b/server/src/test/java/io/seata/server/lock/DistributedLockerFactoryTest.java index ba06064743b..1508c493f66 100644 --- a/server/src/test/java/io/seata/server/lock/DistributedLockerFactoryTest.java +++ b/server/src/test/java/io/seata/server/lock/DistributedLockerFactoryTest.java @@ -27,7 +27,6 @@ import org.springframework.boot.test.context.SpringBootTest; /** - * @author zhongxiang.wang * @description Distributed locker factory test */ @SpringBootTest diff --git a/server/src/test/java/io/seata/server/lock/LockManagerTest.java b/server/src/test/java/io/seata/server/lock/LockManagerTest.java index 8382b22e80b..290510ae1b1 100644 --- a/server/src/test/java/io/seata/server/lock/LockManagerTest.java +++ b/server/src/test/java/io/seata/server/lock/LockManagerTest.java @@ -53,8 +53,6 @@ /** * The type Lock manager test. * - * @author tianming.xm @gmail.com - * @author miaoxueyu * @since 2019 /1/23 */ @SpringBootTest diff --git a/server/src/test/java/io/seata/server/lock/db/DataBaseLockManagerImplTest.java b/server/src/test/java/io/seata/server/lock/db/DataBaseLockManagerImplTest.java index 939c70f59a4..c27df6550e6 100644 --- a/server/src/test/java/io/seata/server/lock/db/DataBaseLockManagerImplTest.java +++ b/server/src/test/java/io/seata/server/lock/db/DataBaseLockManagerImplTest.java @@ -39,7 +39,6 @@ /** - * @author zhangsen */ @SpringBootTest public class DataBaseLockManagerImplTest { diff --git a/server/src/test/java/io/seata/server/lock/db/DataBaseLockStoreDAOTest.java b/server/src/test/java/io/seata/server/lock/db/DataBaseLockStoreDAOTest.java index 6431aef46c1..cb9f6f493cc 100644 --- a/server/src/test/java/io/seata/server/lock/db/DataBaseLockStoreDAOTest.java +++ b/server/src/test/java/io/seata/server/lock/db/DataBaseLockStoreDAOTest.java @@ -36,7 +36,6 @@ import org.springframework.context.ApplicationContext; /** - * @author zhangsen */ @SpringBootTest public class DataBaseLockStoreDAOTest { diff --git a/server/src/test/java/io/seata/server/lock/file/FileLockManagerForTest.java b/server/src/test/java/io/seata/server/lock/file/FileLockManagerForTest.java index 9256012e7b9..d777e6a71d0 100644 --- a/server/src/test/java/io/seata/server/lock/file/FileLockManagerForTest.java +++ b/server/src/test/java/io/seata/server/lock/file/FileLockManagerForTest.java @@ -22,7 +22,6 @@ import io.seata.server.session.BranchSession; /** - * @author zhangsen */ public class FileLockManagerForTest extends FileLockManager { diff --git a/server/src/test/java/io/seata/server/lock/file/FileLockManagerImplTest.java b/server/src/test/java/io/seata/server/lock/file/FileLockManagerImplTest.java index 4fb45d61e02..b0577ffb13e 100644 --- a/server/src/test/java/io/seata/server/lock/file/FileLockManagerImplTest.java +++ b/server/src/test/java/io/seata/server/lock/file/FileLockManagerImplTest.java @@ -37,7 +37,6 @@ /** * The type Default lock manager impl test. * - * @author zhimo.xiao @gmail.com * @since 2019 /1/23 */ @SpringBootTest diff --git a/server/src/test/java/io/seata/server/lock/redis/RedisLockManagerTest.java b/server/src/test/java/io/seata/server/lock/redis/RedisLockManagerTest.java index 13b15897983..1d8e03b6342 100644 --- a/server/src/test/java/io/seata/server/lock/redis/RedisLockManagerTest.java +++ b/server/src/test/java/io/seata/server/lock/redis/RedisLockManagerTest.java @@ -38,8 +38,6 @@ import redis.clients.jedis.JedisPoolConfig; /** - * @author funkye - * @author conghuhu */ @SpringBootTest public class RedisLockManagerTest { diff --git a/server/src/test/java/io/seata/server/lock/redis/RedisLuaLockManagerTest.java b/server/src/test/java/io/seata/server/lock/redis/RedisLuaLockManagerTest.java index 8c35f366aab..a2d8f4f62c5 100644 --- a/server/src/test/java/io/seata/server/lock/redis/RedisLuaLockManagerTest.java +++ b/server/src/test/java/io/seata/server/lock/redis/RedisLuaLockManagerTest.java @@ -32,7 +32,6 @@ /** * RedisLocker use lua script * - * @author conghuhu */ @SpringBootTest public class RedisLuaLockManagerTest extends RedisLockManagerTest { diff --git a/server/src/test/java/io/seata/server/raft/RaftSyncMessageTest.java b/server/src/test/java/io/seata/server/raft/RaftSyncMessageTest.java index 6da321af68b..29f8bb59a19 100644 --- a/server/src/test/java/io/seata/server/raft/RaftSyncMessageTest.java +++ b/server/src/test/java/io/seata/server/raft/RaftSyncMessageTest.java @@ -49,7 +49,6 @@ import org.springframework.context.ApplicationContext; /** - * @author jianbin.chen */ @SpringBootTest public class RaftSyncMessageTest { diff --git a/server/src/test/java/io/seata/server/raft/execute/BranchSessionExecuteTest.java b/server/src/test/java/io/seata/server/raft/execute/BranchSessionExecuteTest.java index 11d52d18ad8..f634277913e 100644 --- a/server/src/test/java/io/seata/server/raft/execute/BranchSessionExecuteTest.java +++ b/server/src/test/java/io/seata/server/raft/execute/BranchSessionExecuteTest.java @@ -45,7 +45,6 @@ /** - * @author ptyin */ @SpringBootTest class BranchSessionExecuteTest { diff --git a/server/src/test/java/io/seata/server/raft/execute/GlobalSessionExecuteTest.java b/server/src/test/java/io/seata/server/raft/execute/GlobalSessionExecuteTest.java index cbbbd6d50ba..80a4bc5adff 100644 --- a/server/src/test/java/io/seata/server/raft/execute/GlobalSessionExecuteTest.java +++ b/server/src/test/java/io/seata/server/raft/execute/GlobalSessionExecuteTest.java @@ -41,7 +41,6 @@ /** - * @author ptyin */ @SpringBootTest class GlobalSessionExecuteTest { diff --git a/server/src/test/java/io/seata/server/raft/execute/LockExecuteTest.java b/server/src/test/java/io/seata/server/raft/execute/LockExecuteTest.java index f3948f60088..94d86339dd4 100644 --- a/server/src/test/java/io/seata/server/raft/execute/LockExecuteTest.java +++ b/server/src/test/java/io/seata/server/raft/execute/LockExecuteTest.java @@ -46,7 +46,6 @@ /** - * @author ptyin */ @SpringBootTest class LockExecuteTest { diff --git a/server/src/test/java/io/seata/server/session/BranchSessionTest.java b/server/src/test/java/io/seata/server/session/BranchSessionTest.java index 5d1bfa887fe..706d83684a9 100644 --- a/server/src/test/java/io/seata/server/session/BranchSessionTest.java +++ b/server/src/test/java/io/seata/server/session/BranchSessionTest.java @@ -33,7 +33,6 @@ /** * The type Branch session test. * - * @author tianming.xm @gmail.com * @since 2019 /1/23 */ @SpringBootTest diff --git a/server/src/test/java/io/seata/server/session/FileSessionManagerTest.java b/server/src/test/java/io/seata/server/session/FileSessionManagerTest.java index 1efca5b763d..64228a51010 100644 --- a/server/src/test/java/io/seata/server/session/FileSessionManagerTest.java +++ b/server/src/test/java/io/seata/server/session/FileSessionManagerTest.java @@ -57,7 +57,6 @@ /** * The type File based session manager test. * - * @author tianming.xm @gmail.com * @since 2019 /1/22 */ @SpringBootTest diff --git a/server/src/test/java/io/seata/server/session/GlobalSessionTest.java b/server/src/test/java/io/seata/server/session/GlobalSessionTest.java index d1f6a68b4de..897124aa94f 100644 --- a/server/src/test/java/io/seata/server/session/GlobalSessionTest.java +++ b/server/src/test/java/io/seata/server/session/GlobalSessionTest.java @@ -38,7 +38,6 @@ /** * The type Global session test. * - * @author tianming.xm @gmail.com * @since 2019 /1/23 */ @SpringBootTest diff --git a/server/src/test/java/io/seata/server/session/SessionHolderTest.java b/server/src/test/java/io/seata/server/session/SessionHolderTest.java index c46f3e42d65..4fe8c50373c 100644 --- a/server/src/test/java/io/seata/server/session/SessionHolderTest.java +++ b/server/src/test/java/io/seata/server/session/SessionHolderTest.java @@ -42,7 +42,6 @@ /** * The type Session holder test. * - * @author Wu */ @TestMethodOrder(MethodOrderer.OrderAnnotation.class) @SpringBootTest diff --git a/server/src/test/java/io/seata/server/session/SessionStatusValidatorTest.java b/server/src/test/java/io/seata/server/session/SessionStatusValidatorTest.java index 1774680e597..5b3683697d5 100644 --- a/server/src/test/java/io/seata/server/session/SessionStatusValidatorTest.java +++ b/server/src/test/java/io/seata/server/session/SessionStatusValidatorTest.java @@ -24,7 +24,6 @@ /** * the type change status validator test * - * @author Bughue */ @SpringBootTest public class SessionStatusValidatorTest { diff --git a/server/src/test/java/io/seata/server/session/db/DataBaseSessionManagerTest.java b/server/src/test/java/io/seata/server/session/db/DataBaseSessionManagerTest.java index 234b6f14715..0488e8479b6 100644 --- a/server/src/test/java/io/seata/server/session/db/DataBaseSessionManagerTest.java +++ b/server/src/test/java/io/seata/server/session/db/DataBaseSessionManagerTest.java @@ -50,7 +50,6 @@ /** * The type Data base session manager test. * - * @author zhangsen */ @SpringBootTest public class DataBaseSessionManagerTest { diff --git a/server/src/test/java/io/seata/server/session/redis/MockRedisServer.java b/server/src/test/java/io/seata/server/session/redis/MockRedisServer.java index dd6b9657373..d35d279612a 100644 --- a/server/src/test/java/io/seata/server/session/redis/MockRedisServer.java +++ b/server/src/test/java/io/seata/server/session/redis/MockRedisServer.java @@ -23,7 +23,6 @@ import redis.clients.jedis.JedisPoolConfig; /** - * @author funkye */ public class MockRedisServer { diff --git a/server/src/test/java/io/seata/server/session/redis/RedisDistributedLockerTest.java b/server/src/test/java/io/seata/server/session/redis/RedisDistributedLockerTest.java index f958812aedd..fe145159631 100644 --- a/server/src/test/java/io/seata/server/session/redis/RedisDistributedLockerTest.java +++ b/server/src/test/java/io/seata/server/session/redis/RedisDistributedLockerTest.java @@ -39,8 +39,6 @@ /** * @description redis distributed lock test * - * @author zhongxiang.wang - * @author funkye */ @SpringBootTest public class RedisDistributedLockerTest { diff --git a/server/src/test/java/io/seata/server/session/redis/RedisLuaTransactionStoreManagerTest.java b/server/src/test/java/io/seata/server/session/redis/RedisLuaTransactionStoreManagerTest.java index 5fe6b0d5463..45ed52704a3 100644 --- a/server/src/test/java/io/seata/server/session/redis/RedisLuaTransactionStoreManagerTest.java +++ b/server/src/test/java/io/seata/server/session/redis/RedisLuaTransactionStoreManagerTest.java @@ -29,7 +29,6 @@ /** * test RedisLuaTransactionStoreManager * - * @author conghuhu */ @SpringBootTest public class RedisLuaTransactionStoreManagerTest extends RedisTransactionStoreManagerTest { diff --git a/server/src/test/java/io/seata/server/session/redis/RedisQueryConsolTest.java b/server/src/test/java/io/seata/server/session/redis/RedisQueryConsolTest.java index df380aedacf..24f81743ebd 100644 --- a/server/src/test/java/io/seata/server/session/redis/RedisQueryConsolTest.java +++ b/server/src/test/java/io/seata/server/session/redis/RedisQueryConsolTest.java @@ -30,7 +30,6 @@ import org.springframework.boot.test.context.SpringBootTest; /** - * @author doubleDimple */ @SpringBootTest public class RedisQueryConsolTest { diff --git a/server/src/test/java/io/seata/server/session/redis/RedisSessionManagerTest.java b/server/src/test/java/io/seata/server/session/redis/RedisSessionManagerTest.java index ba44db77345..2ba06714675 100644 --- a/server/src/test/java/io/seata/server/session/redis/RedisSessionManagerTest.java +++ b/server/src/test/java/io/seata/server/session/redis/RedisSessionManagerTest.java @@ -46,7 +46,6 @@ import static io.seata.common.DefaultValues.DEFAULT_TX_GROUP; /** - * @author funkye */ @SpringBootTest public class RedisSessionManagerTest { diff --git a/server/src/test/java/io/seata/server/session/redis/RedisTransactionStoreManagerTest.java b/server/src/test/java/io/seata/server/session/redis/RedisTransactionStoreManagerTest.java index 450fa5605fe..e6bba245fb4 100644 --- a/server/src/test/java/io/seata/server/session/redis/RedisTransactionStoreManagerTest.java +++ b/server/src/test/java/io/seata/server/session/redis/RedisTransactionStoreManagerTest.java @@ -49,7 +49,6 @@ import static io.seata.server.storage.SessionConverter.convertToGlobalSessionVo; /** - * @author doubleDimple */ @SpringBootTest public class RedisTransactionStoreManagerTest { diff --git a/server/src/test/java/io/seata/server/session/redis/SessionConverterTest.java b/server/src/test/java/io/seata/server/session/redis/SessionConverterTest.java index 55b3b6438f8..189dc27760d 100644 --- a/server/src/test/java/io/seata/server/session/redis/SessionConverterTest.java +++ b/server/src/test/java/io/seata/server/session/redis/SessionConverterTest.java @@ -33,7 +33,6 @@ /** * The session converter utils * - * @author wangzhongxiang */ @SpringBootTest public class SessionConverterTest { diff --git a/server/src/test/java/io/seata/server/store/RaftSyncMessageSerializerTest.java b/server/src/test/java/io/seata/server/store/RaftSyncMessageSerializerTest.java index 85b20eea28d..f4d12a6f176 100644 --- a/server/src/test/java/io/seata/server/store/RaftSyncMessageSerializerTest.java +++ b/server/src/test/java/io/seata/server/store/RaftSyncMessageSerializerTest.java @@ -31,7 +31,6 @@ import io.seata.server.storage.SessionConverter; /** - * @author funkye */ @SpringBootTest public class RaftSyncMessageSerializerTest { diff --git a/server/src/test/java/io/seata/server/store/db/AbstractDataSourceProviderTest.java b/server/src/test/java/io/seata/server/store/db/AbstractDataSourceProviderTest.java index 5099be396fe..9d22f68b160 100644 --- a/server/src/test/java/io/seata/server/store/db/AbstractDataSourceProviderTest.java +++ b/server/src/test/java/io/seata/server/store/db/AbstractDataSourceProviderTest.java @@ -25,7 +25,6 @@ import org.springframework.boot.test.context.SpringBootTest; /** - * @author: will */ @SpringBootTest public class AbstractDataSourceProviderTest { diff --git a/server/src/test/java/io/seata/server/store/db/LogStoreDataBaseDAOTest.java b/server/src/test/java/io/seata/server/store/db/LogStoreDataBaseDAOTest.java index 610c43349a1..9e463b70bfd 100644 --- a/server/src/test/java/io/seata/server/store/db/LogStoreDataBaseDAOTest.java +++ b/server/src/test/java/io/seata/server/store/db/LogStoreDataBaseDAOTest.java @@ -38,7 +38,6 @@ /** - * @author zhangsen */ @SpringBootTest public class LogStoreDataBaseDAOTest { diff --git a/server/src/test/java/io/seata/server/store/file/FileTransactionStoreManagerTest.java b/server/src/test/java/io/seata/server/store/file/FileTransactionStoreManagerTest.java index bcc0701afb5..1f8636b0b42 100644 --- a/server/src/test/java/io/seata/server/store/file/FileTransactionStoreManagerTest.java +++ b/server/src/test/java/io/seata/server/store/file/FileTransactionStoreManagerTest.java @@ -45,7 +45,6 @@ import org.springframework.context.ApplicationContext; /** - * @author ggndnn */ @SpringBootTest public class FileTransactionStoreManagerTest { @@ -198,4 +197,4 @@ private byte[] createBigApplicationData(byte c) { } return applicationDataBytes; } -} \ No newline at end of file +} diff --git a/server/src/test/java/io/seata/server/util/StoreUtil.java b/server/src/test/java/io/seata/server/util/StoreUtil.java index af061cca321..51d422e4316 100644 --- a/server/src/test/java/io/seata/server/util/StoreUtil.java +++ b/server/src/test/java/io/seata/server/util/StoreUtil.java @@ -28,7 +28,6 @@ import static java.io.File.separator; /** - * @author funkye */ public class StoreUtil { diff --git a/spring/src/main/java/io/seata/rm/fence/SpringFenceConfig.java b/spring/src/main/java/io/seata/rm/fence/SpringFenceConfig.java index a20062023f5..ab40eccde0c 100644 --- a/spring/src/main/java/io/seata/rm/fence/SpringFenceConfig.java +++ b/spring/src/main/java/io/seata/rm/fence/SpringFenceConfig.java @@ -26,7 +26,6 @@ import javax.sql.DataSource; /** - * @author leezongjie */ public class SpringFenceConfig extends CommonFenceConfig implements InitializingBean { diff --git a/spring/src/main/java/io/seata/rm/fence/SpringFenceHandler.java b/spring/src/main/java/io/seata/rm/fence/SpringFenceHandler.java index 4b9a6d5debe..1fd56e79927 100644 --- a/spring/src/main/java/io/seata/rm/fence/SpringFenceHandler.java +++ b/spring/src/main/java/io/seata/rm/fence/SpringFenceHandler.java @@ -49,7 +49,6 @@ /** * Common Fence Handler(idempotent, non_rollback, suspend) * - * @author kaka2code */ public class SpringFenceHandler implements FenceHandler { @@ -397,4 +396,4 @@ public void setBranchId(Long branchId) { this.branchId = branchId; } } -} \ No newline at end of file +} diff --git a/spring/src/main/java/io/seata/spring/SpringTargetClassParser.java b/spring/src/main/java/io/seata/spring/SpringTargetClassParser.java index f0ea5a91da6..e919fd34e4d 100644 --- a/spring/src/main/java/io/seata/spring/SpringTargetClassParser.java +++ b/spring/src/main/java/io/seata/spring/SpringTargetClassParser.java @@ -20,7 +20,6 @@ import io.seata.spring.util.SpringProxyUtils; /** - * @author leezongjie */ public class SpringTargetClassParser implements TargetClassParser { @Override diff --git a/spring/src/main/java/io/seata/spring/annotation/AdapterInvocationWrapper.java b/spring/src/main/java/io/seata/spring/annotation/AdapterInvocationWrapper.java index b7410e097f3..e6a055e809b 100644 --- a/spring/src/main/java/io/seata/spring/annotation/AdapterInvocationWrapper.java +++ b/spring/src/main/java/io/seata/spring/annotation/AdapterInvocationWrapper.java @@ -22,7 +22,6 @@ import org.aopalliance.intercept.MethodInvocation; /** - * @author leezongjie */ public class AdapterInvocationWrapper implements InvocationWrapper { diff --git a/spring/src/main/java/io/seata/spring/annotation/AdapterSpringSeataInterceptor.java b/spring/src/main/java/io/seata/spring/annotation/AdapterSpringSeataInterceptor.java index 6e01e3c42fb..fd9334757ad 100644 --- a/spring/src/main/java/io/seata/spring/annotation/AdapterSpringSeataInterceptor.java +++ b/spring/src/main/java/io/seata/spring/annotation/AdapterSpringSeataInterceptor.java @@ -28,7 +28,6 @@ import org.springframework.util.Assert; /** - * @author leezongjie */ public class AdapterSpringSeataInterceptor implements MethodInterceptor, SeataInterceptor, Ordered { diff --git a/spring/src/main/java/io/seata/spring/annotation/AspectTransactionalInterceptor.java b/spring/src/main/java/io/seata/spring/annotation/AspectTransactionalInterceptor.java index 07efc2e000f..46bb8b9231c 100644 --- a/spring/src/main/java/io/seata/spring/annotation/AspectTransactionalInterceptor.java +++ b/spring/src/main/java/io/seata/spring/annotation/AspectTransactionalInterceptor.java @@ -31,7 +31,6 @@ /** * Aspect transactional interceptor. * - * @author ruishansun */ public class AspectTransactionalInterceptor implements MethodInterceptor { diff --git a/spring/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java b/spring/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java index 7e2e01de128..f37b6117be3 100644 --- a/spring/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java +++ b/spring/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java @@ -78,7 +78,6 @@ /** * The type Global transaction scanner. * - * @author slievrly */ public class GlobalTransactionScanner extends AbstractAutoProxyCreator implements ConfigurationChangeListener, InitializingBean, ApplicationContextAware, DisposableBean { diff --git a/spring/src/main/java/io/seata/spring/annotation/MethodDesc.java b/spring/src/main/java/io/seata/spring/annotation/MethodDesc.java index 470f3beedd1..3bdb3b9c391 100644 --- a/spring/src/main/java/io/seata/spring/annotation/MethodDesc.java +++ b/spring/src/main/java/io/seata/spring/annotation/MethodDesc.java @@ -21,7 +21,6 @@ /** * The type Method desc. * - * @author slievrly */ public class MethodDesc { private GlobalTransactional transactionAnnotation; diff --git a/spring/src/main/java/io/seata/spring/annotation/ScannerChecker.java b/spring/src/main/java/io/seata/spring/annotation/ScannerChecker.java index d671b91ea86..bcb9abd1294 100644 --- a/spring/src/main/java/io/seata/spring/annotation/ScannerChecker.java +++ b/spring/src/main/java/io/seata/spring/annotation/ScannerChecker.java @@ -23,7 +23,6 @@ /** * The Scanner checker for {@link GlobalTransactionScanner} * - * @author wang.liang * @see GlobalTransactionScanner#wrapIfNecessary(Object, String, Object) */ public interface ScannerChecker { diff --git a/spring/src/main/java/io/seata/spring/annotation/datasource/AutoDataSourceProxyRegistrar.java b/spring/src/main/java/io/seata/spring/annotation/datasource/AutoDataSourceProxyRegistrar.java index 87af4751018..16e79a9dc05 100644 --- a/spring/src/main/java/io/seata/spring/annotation/datasource/AutoDataSourceProxyRegistrar.java +++ b/spring/src/main/java/io/seata/spring/annotation/datasource/AutoDataSourceProxyRegistrar.java @@ -25,7 +25,6 @@ import org.springframework.core.type.AnnotationMetadata; /** - * @author xingfudeshi@gmail.com * The type auto data source proxy registrar */ public class AutoDataSourceProxyRegistrar implements ImportBeanDefinitionRegistrar { diff --git a/spring/src/main/java/io/seata/spring/annotation/datasource/DataSourceProxyHolder.java b/spring/src/main/java/io/seata/spring/annotation/datasource/DataSourceProxyHolder.java index 908d622b838..69e13fe15bd 100644 --- a/spring/src/main/java/io/seata/spring/annotation/datasource/DataSourceProxyHolder.java +++ b/spring/src/main/java/io/seata/spring/annotation/datasource/DataSourceProxyHolder.java @@ -25,8 +25,6 @@ /** * the type data source proxy holder * - * @author xingfudeshi@gmail.com - * @author selfishlover */ public class DataSourceProxyHolder { diff --git a/spring/src/main/java/io/seata/spring/annotation/datasource/EnableAutoDataSourceProxy.java b/spring/src/main/java/io/seata/spring/annotation/datasource/EnableAutoDataSourceProxy.java index 86ac5ad07c8..44e96086848 100644 --- a/spring/src/main/java/io/seata/spring/annotation/datasource/EnableAutoDataSourceProxy.java +++ b/spring/src/main/java/io/seata/spring/annotation/datasource/EnableAutoDataSourceProxy.java @@ -25,7 +25,6 @@ import org.springframework.context.annotation.Import; /** - * @author xingfudeshi@gmail.com * This annotation will enable auto proxying of datasource bean. */ @Target(ElementType.TYPE) diff --git a/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyAdvice.java b/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyAdvice.java index 1e10e0d7674..c689770dcbb 100644 --- a/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyAdvice.java +++ b/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyAdvice.java @@ -27,8 +27,6 @@ import org.springframework.aop.IntroductionInfo; /** - * @author xingfudeshi@gmail.com - * @author selfishlover */ public class SeataAutoDataSourceProxyAdvice implements MethodInterceptor, IntroductionInfo { diff --git a/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyCreator.java b/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyCreator.java index ca0902b2578..b9a32528f58 100644 --- a/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyCreator.java +++ b/spring/src/main/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyCreator.java @@ -33,8 +33,6 @@ import org.springframework.aop.support.DefaultIntroductionAdvisor; /** - * @author xingfudeshi@gmail.com - * @author selfishlover */ public class SeataAutoDataSourceProxyCreator extends AbstractAutoProxyCreator { diff --git a/spring/src/main/java/io/seata/spring/annotation/datasource/SeataProxy.java b/spring/src/main/java/io/seata/spring/annotation/datasource/SeataProxy.java index 22fbc3d07f1..23265c0dd85 100644 --- a/spring/src/main/java/io/seata/spring/annotation/datasource/SeataProxy.java +++ b/spring/src/main/java/io/seata/spring/annotation/datasource/SeataProxy.java @@ -17,7 +17,6 @@ package io.seata.spring.annotation.datasource; /** - * @author xingfudeshi@gmail.com */ public interface SeataProxy { } diff --git a/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ConfigBeansScannerChecker.java b/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ConfigBeansScannerChecker.java index 66a2ed5ecc8..3053ff86b50 100644 --- a/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ConfigBeansScannerChecker.java +++ b/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ConfigBeansScannerChecker.java @@ -25,7 +25,6 @@ /** * Config scanner checker. * - * @author wang.liang */ @LoadLevel(name = "ConfigBeans", order = 150) public class ConfigBeansScannerChecker implements ScannerChecker { diff --git a/spring/src/main/java/io/seata/spring/annotation/scannercheckers/PackageScannerChecker.java b/spring/src/main/java/io/seata/spring/annotation/scannercheckers/PackageScannerChecker.java index 532fe596818..a6755829715 100644 --- a/spring/src/main/java/io/seata/spring/annotation/scannercheckers/PackageScannerChecker.java +++ b/spring/src/main/java/io/seata/spring/annotation/scannercheckers/PackageScannerChecker.java @@ -30,7 +30,6 @@ /** * Package scanner checker. * - * @author wang.liang */ @LoadLevel(name = "Packages", order = 100) public class PackageScannerChecker implements ScannerChecker { diff --git a/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ScopeBeansScannerChecker.java b/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ScopeBeansScannerChecker.java index 750b5c276b1..5311e04721c 100644 --- a/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ScopeBeansScannerChecker.java +++ b/spring/src/main/java/io/seata/spring/annotation/scannercheckers/ScopeBeansScannerChecker.java @@ -40,7 +40,6 @@ /** * Scope scanner checker. * - * @author wang.liang */ @LoadLevel(name = "ScopeBeans", order = 200) public class ScopeBeansScannerChecker implements ScannerChecker { diff --git a/spring/src/main/java/io/seata/spring/kt/support/TransactionCoroutineContext.kt b/spring/src/main/java/io/seata/spring/kt/support/TransactionCoroutineContext.kt index b1afdb42fd7..04d03bd0308 100644 --- a/spring/src/main/java/io/seata/spring/kt/support/TransactionCoroutineContext.kt +++ b/spring/src/main/java/io/seata/spring/kt/support/TransactionCoroutineContext.kt @@ -23,8 +23,7 @@ import kotlin.coroutines.CoroutineContext /** * TransactionCoroutineContext - * - * @author sustly + * */ class TransactionCoroutineContext(private val xid: String? = RootContext.getXID()) : AbstractCoroutineContextElement(TransactionCoroutineContext), diff --git a/spring/src/main/java/io/seata/spring/kt/support/TransactionDsl.kt b/spring/src/main/java/io/seata/spring/kt/support/TransactionDsl.kt index e4ef71c2a2f..ba598385f38 100644 --- a/spring/src/main/java/io/seata/spring/kt/support/TransactionDsl.kt +++ b/spring/src/main/java/io/seata/spring/kt/support/TransactionDsl.kt @@ -32,8 +32,7 @@ import kotlin.coroutines.coroutineContext * service1.XXX() * service2.XXX() * } - * - * @author sustly + * */ suspend fun transactionScope(block: suspend CoroutineScope.() -> T): T { return if (coroutineContext[TransactionCoroutineContext] != null) { diff --git a/spring/src/main/java/io/seata/spring/remoting/parser/RemotingFactoryBeanParser.java b/spring/src/main/java/io/seata/spring/remoting/parser/RemotingFactoryBeanParser.java index 743231a8c16..a5635fbbbf9 100644 --- a/spring/src/main/java/io/seata/spring/remoting/parser/RemotingFactoryBeanParser.java +++ b/spring/src/main/java/io/seata/spring/remoting/parser/RemotingFactoryBeanParser.java @@ -25,7 +25,6 @@ import org.springframework.util.Assert; /** - * @author leezongjie */ public class RemotingFactoryBeanParser extends AbstractedRemotingParser { @@ -92,4 +91,4 @@ public short getProtocol() { return 0; } -} \ No newline at end of file +} diff --git a/spring/src/main/java/io/seata/spring/tcc/TccAnnotationProcessor.java b/spring/src/main/java/io/seata/spring/tcc/TccAnnotationProcessor.java index d0a968908ec..c9df5f90994 100644 --- a/spring/src/main/java/io/seata/spring/tcc/TccAnnotationProcessor.java +++ b/spring/src/main/java/io/seata/spring/tcc/TccAnnotationProcessor.java @@ -38,7 +38,6 @@ /** * An annotation adapter for TCC * - * @author ppf */ public class TccAnnotationProcessor implements BeanPostProcessor { private static final Logger LOGGER = LoggerFactory.getLogger(TccAnnotationProcessor.class); diff --git a/spring/src/main/java/io/seata/spring/util/OrderUtil.java b/spring/src/main/java/io/seata/spring/util/OrderUtil.java index a83e34a4d6a..1c9935eb1ad 100644 --- a/spring/src/main/java/io/seata/spring/util/OrderUtil.java +++ b/spring/src/main/java/io/seata/spring/util/OrderUtil.java @@ -23,7 +23,6 @@ /** * The type Order util. * - * @author wang.liang */ public class OrderUtil { diff --git a/spring/src/main/java/io/seata/spring/util/SpringProxyUtils.java b/spring/src/main/java/io/seata/spring/util/SpringProxyUtils.java index bf7b7a218c3..58ec033b296 100644 --- a/spring/src/main/java/io/seata/spring/util/SpringProxyUtils.java +++ b/spring/src/main/java/io/seata/spring/util/SpringProxyUtils.java @@ -32,7 +32,6 @@ /** * Proxy tools base on spring * - * @author zhangsen */ public class SpringProxyUtils { private SpringProxyUtils() { diff --git a/spring/src/test/java/io/seata/spring/annotation/AdapterSpringSeataInterceptorTest.java b/spring/src/test/java/io/seata/spring/annotation/AdapterSpringSeataInterceptorTest.java index 999791f241e..80e139f8957 100644 --- a/spring/src/test/java/io/seata/spring/annotation/AdapterSpringSeataInterceptorTest.java +++ b/spring/src/test/java/io/seata/spring/annotation/AdapterSpringSeataInterceptorTest.java @@ -32,7 +32,6 @@ import org.junit.jupiter.api.Test; /** - * @author leezongjie * @date 2023/11/29 */ class AdapterSpringSeataInterceptorTest { @@ -101,4 +100,4 @@ public AccessibleObject getStaticPart() { return null; } } -} \ No newline at end of file +} diff --git a/spring/src/test/java/io/seata/spring/annotation/MethodDescTest.java b/spring/src/test/java/io/seata/spring/annotation/MethodDescTest.java index 1844a893bcb..1d81d7850ef 100644 --- a/spring/src/test/java/io/seata/spring/annotation/MethodDescTest.java +++ b/spring/src/test/java/io/seata/spring/annotation/MethodDescTest.java @@ -31,7 +31,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author Wu */ public class MethodDescTest { diff --git a/spring/src/test/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyTest.java b/spring/src/test/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyTest.java index 40d18931eb2..e7d2706ffe1 100644 --- a/spring/src/test/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyTest.java +++ b/spring/src/test/java/io/seata/spring/annotation/datasource/SeataAutoDataSourceProxyTest.java @@ -45,7 +45,6 @@ import static org.mockito.Mockito.never; /** - * @author selfishlover */ class SeataAutoDataSourceProxyTest { @@ -155,4 +154,4 @@ private void testProxy(DataSource origin, SeataDataSourceProxy proxy, Class d verify(origin, times(1)).unwrap(Object.class); verify(proxy, never()).unwrap(Object.class); } -} \ No newline at end of file +} diff --git a/spring/src/test/java/io/seata/spring/kt/TransactionScopeTest.kt b/spring/src/test/java/io/seata/spring/kt/TransactionScopeTest.kt index 351d3d0658c..d8becf2d5b0 100644 --- a/spring/src/test/java/io/seata/spring/kt/TransactionScopeTest.kt +++ b/spring/src/test/java/io/seata/spring/kt/TransactionScopeTest.kt @@ -31,9 +31,6 @@ import kotlinx.coroutines.withContext import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test -/** - * @author sustly - */ class TransactionScopeTest { companion object { diff --git a/spring/src/test/java/io/seata/spring/tcc/NormalTccActionImpl.java b/spring/src/test/java/io/seata/spring/tcc/NormalTccActionImpl.java index 3deede20d4a..e1fd97d9d4b 100644 --- a/spring/src/test/java/io/seata/spring/tcc/NormalTccActionImpl.java +++ b/spring/src/test/java/io/seata/spring/tcc/NormalTccActionImpl.java @@ -19,7 +19,6 @@ import io.seata.rm.tcc.api.BusinessActionContext; /** - * @author leezongjie * @date 2023/11/29 */ public class NormalTccActionImpl implements NormalTccAction { diff --git a/spring/src/test/java/io/seata/spring/util/MockAdvice1.java b/spring/src/test/java/io/seata/spring/util/MockAdvice1.java index f183c592b07..163d55ff170 100644 --- a/spring/src/test/java/io/seata/spring/util/MockAdvice1.java +++ b/spring/src/test/java/io/seata/spring/util/MockAdvice1.java @@ -20,7 +20,6 @@ import org.springframework.core.Ordered; /** - * @author wang.liang */ public class MockAdvice1 implements Advice, Ordered { diff --git a/spring/src/test/java/io/seata/spring/util/MockAdvice2.java b/spring/src/test/java/io/seata/spring/util/MockAdvice2.java index 1c856cd19dc..e63d5736faf 100644 --- a/spring/src/test/java/io/seata/spring/util/MockAdvice2.java +++ b/spring/src/test/java/io/seata/spring/util/MockAdvice2.java @@ -20,7 +20,6 @@ import org.springframework.core.Ordered; /** - * @author wang.liang */ public class MockAdvice2 implements Advice, Ordered { diff --git a/spring/src/test/java/io/seata/spring/util/MockAdvisor.java b/spring/src/test/java/io/seata/spring/util/MockAdvisor.java index 71c8e474b73..0995ee85256 100644 --- a/spring/src/test/java/io/seata/spring/util/MockAdvisor.java +++ b/spring/src/test/java/io/seata/spring/util/MockAdvisor.java @@ -21,7 +21,6 @@ import org.springframework.core.Ordered; /** - * @author wang.liang */ public class MockAdvisor implements Advisor, Ordered { diff --git a/spring/src/test/java/io/seata/spring/util/MockAnnotationOrdered.java b/spring/src/test/java/io/seata/spring/util/MockAnnotationOrdered.java index 8855e22e16e..933190e0856 100644 --- a/spring/src/test/java/io/seata/spring/util/MockAnnotationOrdered.java +++ b/spring/src/test/java/io/seata/spring/util/MockAnnotationOrdered.java @@ -19,7 +19,6 @@ import org.springframework.core.annotation.Order; /** - * @author wang.liang */ @Order(1) public class MockAnnotationOrdered { diff --git a/spring/src/test/java/io/seata/spring/util/MockOrdered.java b/spring/src/test/java/io/seata/spring/util/MockOrdered.java index 15b5d2072a4..8f1280b82bc 100644 --- a/spring/src/test/java/io/seata/spring/util/MockOrdered.java +++ b/spring/src/test/java/io/seata/spring/util/MockOrdered.java @@ -19,7 +19,6 @@ import org.springframework.core.Ordered; /** - * @author wang.liang */ public class MockOrdered implements Ordered { diff --git a/spring/src/test/java/io/seata/spring/util/OrderUtilTest.java b/spring/src/test/java/io/seata/spring/util/OrderUtilTest.java index 216ca7285c1..b7b3f9a9b52 100644 --- a/spring/src/test/java/io/seata/spring/util/OrderUtilTest.java +++ b/spring/src/test/java/io/seata/spring/util/OrderUtilTest.java @@ -26,7 +26,6 @@ /** * The type OrderUtil test * - * @author wang.liang */ public class OrderUtilTest { diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/AntlrDelegatingSQLRecognizerFactory.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/AntlrDelegatingSQLRecognizerFactory.java index 40cd652ec66..29a78c5d909 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/AntlrDelegatingSQLRecognizerFactory.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/AntlrDelegatingSQLRecognizerFactory.java @@ -26,7 +26,6 @@ import java.util.List; /** - * @author zhihou */ @LoadLevel(name = SqlParserType.SQL_PARSER_TYPE_ANTLR) public class AntlrDelegatingSQLRecognizerFactory implements SQLRecognizerFactory { diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolder.java index 579f7310b0c..2e7564564e5 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolder.java @@ -21,7 +21,6 @@ /** * The interface SQLOperateRecognizerHolder * - * @author zhihou */ public interface SQLOperateRecognizerHolder { @@ -57,4 +56,4 @@ public interface SQLOperateRecognizerHolder { */ SQLRecognizer getSelectForUpdateRecognizer(String sql); -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolderFactory.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolderFactory.java index 88987413aad..8f2ba6f3956 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolderFactory.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/SQLOperateRecognizerHolderFactory.java @@ -25,7 +25,6 @@ /** * The SQLOperateRecognizerHolderFactory * - * @author zhi hou */ public class SQLOperateRecognizerHolderFactory { diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLDeleteRecognizer.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLDeleteRecognizer.java index 646759fb969..09d1f2d99c0 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLDeleteRecognizer.java @@ -32,7 +32,6 @@ /** * AntlrMySQLDeleteRecognizer * - * @author zhihou */ public class AntlrMySQLDeleteRecognizer implements SQLDeleteRecognizer { @@ -100,4 +99,4 @@ public String getOriginalSQL() { return sqlContext.getOriginalSQL(); } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLInsertRecognizer.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLInsertRecognizer.java index 319f50d0f77..223285d1294 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLInsertRecognizer.java @@ -34,7 +34,6 @@ /** * AntlrMySQLInsertRecognizer * - * @author zhihou */ public class AntlrMySQLInsertRecognizer implements SQLInsertRecognizer { @@ -114,4 +113,4 @@ public List getInsertColumnsUnEscape() { List insertColumns = getInsertColumns(); return ColumnUtils.delEscape(insertColumns, JdbcConstants.MYSQL); } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLRecognizerFactory.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLRecognizerFactory.java index e4abdfb7eed..a02d8476a6e 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLRecognizerFactory.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLRecognizerFactory.java @@ -32,7 +32,6 @@ /** * AntlrMySQLRecognizerFactory * - * @author zhihou */ class AntlrMySQLRecognizerFactory implements SQLRecognizerFactory { diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLSelectRecognizer.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLSelectRecognizer.java index 659fd333f39..dcd64440c17 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLSelectRecognizer.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLSelectRecognizer.java @@ -32,7 +32,6 @@ /** * AntlrMySQLSelectRecognizer * - * @author zhihou */ public class AntlrMySQLSelectRecognizer implements SQLSelectRecognizer { @@ -98,4 +97,4 @@ public String getTableName() { public String getOriginalSQL() { return sqlContext.getOriginalSQL(); } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLUpdateRecognizer.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLUpdateRecognizer.java index 031cb740dd6..7f2dfade2a6 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/AntlrMySQLUpdateRecognizer.java @@ -35,7 +35,6 @@ /** * AntlrMySQLUpdateRecognizer * - * @author zhihou */ public class AntlrMySQLUpdateRecognizer implements SQLUpdateRecognizer { @@ -130,4 +129,4 @@ public String getTableName() { public String getOriginalSQL() { return sqlContext.getOriginalSQL(); } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySQLOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySQLOperateRecognizerHolder.java index a5014591e32..ec22e685863 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySQLOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySQLOperateRecognizerHolder.java @@ -24,7 +24,6 @@ /** * The class MySqlOperateRecognizerHolder * - * @author zhihou */ @LoadLevel(name = JdbcConstants.MYSQL) public class MySQLOperateRecognizerHolder implements SQLOperateRecognizerHolder { diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySqlContext.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySqlContext.java index eac8f4300cb..cf362cc8c9e 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySqlContext.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/MySqlContext.java @@ -22,7 +22,6 @@ /** * MySqlContext * - * @author zhihou */ public class MySqlContext { diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/DeleteSpecificationSqlListener.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/DeleteSpecificationSqlListener.java index ec937b8a18b..af533d93b96 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/DeleteSpecificationSqlListener.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/DeleteSpecificationSqlListener.java @@ -22,7 +22,6 @@ import io.seata.sqlparser.antlr.mysql.visit.StatementSqlVisitor; /** - * @author houzhi */ public class DeleteSpecificationSqlListener extends MySqlParserBaseListener { @@ -81,4 +80,4 @@ public void enterInPredicate(MySqlParser.InPredicateContext ctx) { super.enterInPredicate(ctx); } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/SelectSpecificationSqlListener.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/SelectSpecificationSqlListener.java index a9a0e4d114c..dd087db8137 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/SelectSpecificationSqlListener.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/SelectSpecificationSqlListener.java @@ -24,7 +24,6 @@ import java.util.List; /** - * @author houzhi */ public class SelectSpecificationSqlListener extends MySqlParserBaseListener { diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/UpdateSpecificationSqlListener.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/UpdateSpecificationSqlListener.java index da8097ebb4f..365fff1735d 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/UpdateSpecificationSqlListener.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/UpdateSpecificationSqlListener.java @@ -22,7 +22,6 @@ import io.seata.sqlparser.antlr.mysql.visit.StatementSqlVisitor; /** - * @author houzhi */ public class UpdateSpecificationSqlListener extends MySqlParserBaseListener { @@ -85,4 +84,4 @@ public void enterUpdatedElement(MySqlParser.UpdatedElementContext ctx) { super.enterUpdatedElement(ctx); } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlLexer.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlLexer.java index 8c2469caa0a..9dce96f39aa 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlLexer.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlLexer.java @@ -5641,4 +5641,4 @@ public MySqlLexer(CharStream input) { _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i); } } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParser.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParser.java index 81642e9de86..3319688f791 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParser.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParser.java @@ -65739,4 +65739,4 @@ private boolean expressionAtom_sempred(ExpressionAtomContext _localctx, int pred _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i); } } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseListener.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseListener.java index 447b61b529e..14f5d24c4cb 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseListener.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseListener.java @@ -6864,4 +6864,4 @@ public class MySqlParserBaseListener implements MySqlParserListener { *

The default implementation does nothing.

*/ @Override public void visitErrorNode(ErrorNode node) { } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseVisitor.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseVisitor.java index 05ade94bc8a..97ace30c66b 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseVisitor.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseVisitor.java @@ -3994,4 +3994,4 @@ public class MySqlParserBaseVisitor extends AbstractParseTreeVisitor imple * {@link #visitChildren} on {@code ctx}.

*/ @Override public T visitFunctionNameBase(MySqlParser.FunctionNameBaseContext ctx) { return visitChildren(ctx); } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserListener.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserListener.java index 04659ac563e..924d2e8d84b 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserListener.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserListener.java @@ -6287,4 +6287,4 @@ public interface MySqlParserListener extends ParseTreeListener { * @param ctx the parse tree */ void exitFunctionNameBase(MySqlParser.FunctionNameBaseContext ctx); -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserVisitor.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserVisitor.java index 0bb2157b35c..ba08f5d1972 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserVisitor.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/MySqlParserVisitor.java @@ -3719,4 +3719,4 @@ public interface MySqlParserVisitor extends ParseTreeVisitor { * @return the visitor result */ T visitFunctionNameBase(MySqlParser.FunctionNameBaseContext ctx); -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/stream/ANTLRNoCaseStringStream.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/stream/ANTLRNoCaseStringStream.java index 36381c1ce53..34416fd457c 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/stream/ANTLRNoCaseStringStream.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/stream/ANTLRNoCaseStringStream.java @@ -22,7 +22,6 @@ /** * ANTLRNoCaseStringStream * - * @author zhihou */ public class ANTLRNoCaseStringStream extends ANTLRInputStream { diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertSpecificationSqlVisitor.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertSpecificationSqlVisitor.java index 1fc9d431ab3..ed233ec5056 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertSpecificationSqlVisitor.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertSpecificationSqlVisitor.java @@ -26,7 +26,6 @@ /** * InsertSpecificationSqlVisitor * - * @author zhihou */ public class InsertSpecificationSqlVisitor extends MySqlParserBaseVisitor { diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertStatementSqlVisitor.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertStatementSqlVisitor.java index fc5398529b3..8e060698e55 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertStatementSqlVisitor.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/InsertStatementSqlVisitor.java @@ -23,7 +23,6 @@ /** * InsertStatementSqlVisitor * - * @author zhihou */ public class InsertStatementSqlVisitor extends MySqlParserBaseVisitor { @@ -38,4 +37,4 @@ public MySqlContext visitInsertStatement(MySqlParser.InsertStatementContext ctx) return new InsertSpecificationSqlVisitor(this.mySqlContext).visitInsertStatement(ctx); } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/StatementSqlVisitor.java b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/StatementSqlVisitor.java index 861d12535e3..4cdb1539bb4 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/StatementSqlVisitor.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/visit/StatementSqlVisitor.java @@ -22,7 +22,6 @@ /** * StatementSqlVisitor * - * @author zhihou */ public class StatementSqlVisitor extends MySqlParserBaseVisitor { @@ -66,4 +65,4 @@ private boolean shouldAddSpace(String text) { } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/AntlrIsolationTest.java b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/AntlrIsolationTest.java index 49cf16fc766..007cc8ce36c 100644 --- a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/AntlrIsolationTest.java +++ b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/AntlrIsolationTest.java @@ -27,7 +27,6 @@ import java.util.List; /** - * @author zhihou */ public class AntlrIsolationTest { diff --git a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLDeleteRecognizerTest.java b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLDeleteRecognizerTest.java index 5928021587c..cee3644ef22 100644 --- a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLDeleteRecognizerTest.java +++ b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLDeleteRecognizerTest.java @@ -28,7 +28,6 @@ import org.junit.jupiter.api.Test; /** - * @author houzhi * @date 2020-7-10 * @description */ diff --git a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLInsertRecognizerTest.java b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLInsertRecognizerTest.java index 9bde6547009..ef8eb0c3eba 100644 --- a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLInsertRecognizerTest.java +++ b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLInsertRecognizerTest.java @@ -30,7 +30,6 @@ import java.util.stream.Collectors; /** - * @author houzhi * @date 2020-7-10 * @description */ @@ -121,4 +120,4 @@ public void insertRecognizerTest_3() { Assertions.assertEquals(Arrays.asList("name5", "name6"), visitorSqlContext.getInsertForValColumnNames().get(2)); } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLSelectForUpdateRecognizerForListenerTest.java b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLSelectForUpdateRecognizerForListenerTest.java index c4d0671bbb9..92be734129a 100644 --- a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLSelectForUpdateRecognizerForListenerTest.java +++ b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLSelectForUpdateRecognizerForListenerTest.java @@ -28,7 +28,6 @@ import org.junit.jupiter.api.Test; /** - * @author houzhi * @date 2020-7-9 * @description */ @@ -216,4 +215,4 @@ public void selectForUpdateRecognizerTest_5() { Assertions.assertEquals("3", mySqlContext.getQueryWhereValColumnNames().get(2).getQueryWhereValColumnName()); Assertions.assertEquals("name = 1 and id between 2 and 3 or img = '11'", mySqlContext.getWhereCondition()); } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLUpdateRecognizerTest.java b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLUpdateRecognizerTest.java index e9f99a97944..6caa0d06c56 100644 --- a/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLUpdateRecognizerTest.java +++ b/sqlparser/seata-sqlparser-antlr/src/test/java/io/seata/sqlparser/antlr/MySQLUpdateRecognizerTest.java @@ -188,4 +188,4 @@ public void updateRecognizerTest_5() { Assertions.assertEquals("2", mySqlContext.getUpdateForWhereValColumnNames().get(1).getUpdateWhereValColumnName()); Assertions.assertEquals("id between 1 and 2", mySqlContext.getWhereCondition()); } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandler.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandler.java index 96223e060c5..d79af9e73d8 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandler.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandler.java @@ -22,7 +22,6 @@ /** * The interface Keyword checker. * - * @author Wu */ public interface EscapeHandler { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandlerFactory.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandlerFactory.java index 60d4daf1300..9d89c7ca610 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandlerFactory.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeHandlerFactory.java @@ -25,7 +25,6 @@ /** * The type Keyword checker factory. * - * @author Wu */ public class EscapeHandlerFactory { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeSymbol.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeSymbol.java index b805de194e4..a7d669561f9 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeSymbol.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/EscapeSymbol.java @@ -19,7 +19,6 @@ /** * The escape symbol of keyword * - * @author goodboycoder */ public class EscapeSymbol { private final char leftSymbol; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/JoinRecognizer.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/JoinRecognizer.java index c1f7dc790fc..7ceceae8e58 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/JoinRecognizer.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/JoinRecognizer.java @@ -22,7 +22,6 @@ /** * The interface Where recognizer. * - * @author renliangyu857 */ public interface JoinRecognizer { /** diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/ParametersHolder.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/ParametersHolder.java index 1b5b1173410..14dcec0b43e 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/ParametersHolder.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/ParametersHolder.java @@ -22,7 +22,6 @@ /** * The interface Parameters holder. * - * @author sharajava */ public interface ParametersHolder { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLDeleteRecognizer.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLDeleteRecognizer.java index 065ec18d9e2..01d013017c9 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLDeleteRecognizer.java @@ -19,7 +19,6 @@ /** * The interface Sql delete recognizer. * - * @author sharajava */ public interface SQLDeleteRecognizer extends WhereRecognizer { } diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLInsertRecognizer.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLInsertRecognizer.java index 335e5ebb830..5f232d4bd19 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLInsertRecognizer.java @@ -22,7 +22,6 @@ /** * The interface Sql insert recognizer. * - * @author sharajava */ public interface SQLInsertRecognizer extends SQLRecognizer { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLParsingException.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLParsingException.java index 58c100a9a2c..1b331f310cc 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLParsingException.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLParsingException.java @@ -19,7 +19,6 @@ /** * The type Sql parsing exception. * - * @author sharajava */ public class SQLParsingException extends RuntimeException { /** diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizer.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizer.java index 95995875fc4..d6df713aea7 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizer.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizer.java @@ -19,7 +19,6 @@ /** * The interface Sql recognizer. * - * @author sharajava */ public interface SQLRecognizer { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizerFactory.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizerFactory.java index 8e5d7589379..71b6d5f3fba 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizerFactory.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLRecognizerFactory.java @@ -19,7 +19,6 @@ import java.util.List; /** - * @author ggndnn */ public interface SQLRecognizerFactory { List create(String sql, String dbType); diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLSelectRecognizer.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLSelectRecognizer.java index 608dd6d67e9..f583ed720a6 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLSelectRecognizer.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLSelectRecognizer.java @@ -19,7 +19,6 @@ /** * The interface Sql select recognizer. * - * @author sharajava */ public interface SQLSelectRecognizer extends WhereRecognizer { } diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLType.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLType.java index c2fc84d05c8..7170fed472c 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLType.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLType.java @@ -19,7 +19,6 @@ /** * The enum Sql type. * - * @author sharajava */ public enum SQLType { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLUpdateRecognizer.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLUpdateRecognizer.java index 28276937e39..aa737d74176 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SQLUpdateRecognizer.java @@ -21,7 +21,6 @@ /** * The interface Sql update recognizer. * - * @author sharajava */ public interface SQLUpdateRecognizer extends WhereRecognizer { String MULTI_TABLE_NAME_SEPERATOR = "#"; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SqlParserType.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SqlParserType.java index 48a5241bd40..d1f28ce48e9 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SqlParserType.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/SqlParserType.java @@ -17,7 +17,6 @@ package io.seata.sqlparser; /** - * @author ggndnn */ public interface SqlParserType { /** diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/WhereRecognizer.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/WhereRecognizer.java index b2705efe55b..948001b3001 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/WhereRecognizer.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/WhereRecognizer.java @@ -22,7 +22,6 @@ /** * The interface Where recognizer. * - * @author sharajava */ public interface WhereRecognizer extends SQLRecognizer { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/ColumnMeta.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/ColumnMeta.java index 409b8cb4541..7fb6646af4a 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/ColumnMeta.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/ColumnMeta.java @@ -21,7 +21,6 @@ /** * The type Column meta. * - * @author sharajava */ public class ColumnMeta { private String tableCat; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Defaultable.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Defaultable.java index 3bd5cec5f75..bb8cfab815d 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Defaultable.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Defaultable.java @@ -22,7 +22,6 @@ /** * The default expr able. * - * @author jsbxyyx */ public interface Defaultable { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexMeta.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexMeta.java index e97d943991c..c0ec510ff69 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexMeta.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexMeta.java @@ -25,7 +25,6 @@ /** * The type Index meta. * - * @author sharajava */ public class IndexMeta { private List values = new ArrayList(); diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexType.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexType.java index 58f480b4318..001c2b012e6 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexType.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/IndexType.java @@ -19,7 +19,6 @@ /** * The enum Index type. * - * @author sharajava */ public enum IndexType { /** @@ -68,4 +67,4 @@ public static IndexType valueOf(int i) { } throw new IllegalArgumentException("Invalid IndexType:" + i); } -} \ No newline at end of file +} diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/NotPlaceholderExpr.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/NotPlaceholderExpr.java index a46920a8a6b..08a66de109a 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/NotPlaceholderExpr.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/NotPlaceholderExpr.java @@ -18,7 +18,6 @@ /** * The not placeholder expression. - * @author jsbxyyx */ public class NotPlaceholderExpr { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Null.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Null.java index b86a7b8ed3f..9671928034e 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Null.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Null.java @@ -19,7 +19,6 @@ /** * The type Null. * - * @author sharajava */ public class Null { private static Null instance = new Null(); diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Sequenceable.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Sequenceable.java index 5d82a03c4a8..a940330fa81 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Sequenceable.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/Sequenceable.java @@ -19,7 +19,6 @@ /** * The sequence able. * - * @author jsbxyyx */ public interface Sequenceable { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlDefaultExpr.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlDefaultExpr.java index ec154b42982..6969c33d693 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlDefaultExpr.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlDefaultExpr.java @@ -18,7 +18,6 @@ /** * sql default expression - * @author jsbxyyx */ public class SqlDefaultExpr { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlMethodExpr.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlMethodExpr.java index 3a754c223e5..85233c76bf2 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlMethodExpr.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlMethodExpr.java @@ -19,7 +19,6 @@ /** * TODO * sql method invoke expression - * @author jsbxyyx */ public class SqlMethodExpr { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlSequenceExpr.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlSequenceExpr.java index 4f74aeaa55f..91787bc1569 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlSequenceExpr.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/SqlSequenceExpr.java @@ -19,7 +19,6 @@ /** * TODO * sql sequence expression - * @author jsbxyyx */ public class SqlSequenceExpr { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMeta.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMeta.java index 973f8ba3e9b..ac9a3550119 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMeta.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMeta.java @@ -35,7 +35,6 @@ /** * The type Table meta. * - * @author sharajava */ public class TableMeta { private String tableName; diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMetaCache.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMetaCache.java index e3bb3dc1daf..f3e608488ef 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMetaCache.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/struct/TableMetaCache.java @@ -21,7 +21,6 @@ /** * The type Table meta cache. * - * @author sharajava */ public interface TableMetaCache { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/ColumnUtils.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/ColumnUtils.java index 6097a7aa405..25808ef7511 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/ColumnUtils.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/ColumnUtils.java @@ -28,7 +28,6 @@ /** * column utils * - * @author jsbxyyx */ public final class ColumnUtils { diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/DbTypeParser.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/DbTypeParser.java index 7445a1bb962..114abdee9a6 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/DbTypeParser.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/DbTypeParser.java @@ -17,7 +17,6 @@ package io.seata.sqlparser.util; /** - * @author ggndnn */ public interface DbTypeParser { String parseFromJdbcUrl(String jdbcUrl); diff --git a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/JdbcConstants.java b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/JdbcConstants.java index 35224f8f765..505245efd01 100644 --- a/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/JdbcConstants.java +++ b/sqlparser/seata-sqlparser-core/src/main/java/io/seata/sqlparser/util/JdbcConstants.java @@ -17,7 +17,6 @@ package io.seata.sqlparser.util; /** - * @author ggndnn */ public interface JdbcConstants { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/BaseRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/BaseRecognizer.java index e7dd9d9885d..d989d23a82c 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/BaseRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/BaseRecognizer.java @@ -39,7 +39,6 @@ /** * The type Base recognizer. * - * @author sharajava */ public abstract class BaseRecognizer implements SQLRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DefaultDruidLoader.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DefaultDruidLoader.java index 2caa3aa2243..e8f11e7da7e 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DefaultDruidLoader.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DefaultDruidLoader.java @@ -26,7 +26,6 @@ import static io.seata.common.DefaultValues.DRUID_LOCATION; /** - * @author ggndnn */ class DefaultDruidLoader implements DruidLoader { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeAdapter.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeAdapter.java index 3bbc5093857..798d5c90ab7 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeAdapter.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeAdapter.java @@ -21,7 +21,6 @@ /** * A db type adapter for druid parser. * - * @author hsien999 **/ class DruidDbTypeAdapter { /** diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeParserImpl.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeParserImpl.java index f87346c85ee..441a7f4a70f 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeParserImpl.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDbTypeParserImpl.java @@ -20,7 +20,6 @@ import io.seata.sqlparser.util.DbTypeParser; /** - * @author ggndnn */ class DruidDbTypeParserImpl implements DbTypeParser { @Override diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingDbTypeParser.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingDbTypeParser.java index 96bbee74bdd..123360ab0aa 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingDbTypeParser.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingDbTypeParser.java @@ -23,7 +23,6 @@ import java.lang.reflect.Constructor; /** - * @author ggndnn */ @LoadLevel(name = SqlParserType.SQL_PARSER_TYPE_DRUID) public class DruidDelegatingDbTypeParser implements DbTypeParser { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingSQLRecognizerFactory.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingSQLRecognizerFactory.java index 45f39c0aa4b..59798317236 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingSQLRecognizerFactory.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidDelegatingSQLRecognizerFactory.java @@ -26,7 +26,6 @@ import java.util.List; /** - * @author ggndnn */ @LoadLevel(name = SqlParserType.SQL_PARSER_TYPE_DRUID) public class DruidDelegatingSQLRecognizerFactory implements SQLRecognizerFactory { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidIsolationClassLoader.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidIsolationClassLoader.java index 5e745f37dbb..d5607af5856 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidIsolationClassLoader.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidIsolationClassLoader.java @@ -25,7 +25,6 @@ /** * Used for druid isolation. * - * @author ggndnn */ class DruidIsolationClassLoader extends URLClassLoader { private final static String[] DRUID_CLASS_PREFIX = new String[]{"com.alibaba.druid.", "io.seata.sqlparser.druid."}; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidSQLRecognizerFactoryImpl.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidSQLRecognizerFactoryImpl.java index fe9215b5cb1..c600d264240 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidSQLRecognizerFactoryImpl.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/DruidSQLRecognizerFactoryImpl.java @@ -32,8 +32,6 @@ /** * DruidSQLRecognizerFactoryImpl * - * @author sharajava - * @author ggndnn */ class DruidSQLRecognizerFactoryImpl implements SQLRecognizerFactory { @Override diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolder.java index 445fd890a1d..c4ee1482522 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolder.java @@ -22,7 +22,6 @@ /** * The interface SQLOperateRecognizerHolder * - * @author Zhibei Hao */ public interface SQLOperateRecognizerHolder { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolderFactory.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolderFactory.java index d33d8b78df6..96f73f7c2d5 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolderFactory.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SQLOperateRecognizerHolderFactory.java @@ -25,7 +25,6 @@ /** * The SQLOperateRecognizerHolderFactory * - * @author Zhibei Hao */ public class SQLOperateRecognizerHolderFactory { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SupportSqlWhereMethod.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SupportSqlWhereMethod.java index 8755af82316..f70fc052286 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SupportSqlWhereMethod.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/SupportSqlWhereMethod.java @@ -19,9 +19,6 @@ import java.util.Set; import java.util.TreeSet; -/** - * author: doubleDimple lovele.cn@gmail.com - */ public class SupportSqlWhereMethod { public SupportSqlWhereMethod() { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/BaseDmRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/BaseDmRecognizer.java index 3375f4c7282..9528506ddc7 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/BaseDmRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/BaseDmRecognizer.java @@ -30,7 +30,6 @@ import java.util.Objects; /** - * @author chengxiaoxiao */ public abstract class BaseDmRecognizer extends BaseRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmDeleteRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmDeleteRecognizer.java index 024f4c6de56..56036a14d5f 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmDeleteRecognizer.java @@ -34,7 +34,6 @@ /** * The type dm delete recognizer. * - * @author chengxiaoxiao */ public class DmDeleteRecognizer extends BaseDmRecognizer implements SQLDeleteRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmInsertRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmInsertRecognizer.java index 5a19ae6bc27..01eca8890b6 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmInsertRecognizer.java @@ -43,7 +43,6 @@ /** * The type dm insert recognizer. * - * @author chengxiaoxiao */ public class DmInsertRecognizer extends BaseDmRecognizer implements SQLInsertRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmOperateRecognizerHolder.java index 591e501237a..ae27b03fd5b 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmOperateRecognizerHolder.java @@ -25,7 +25,6 @@ /** * The Type DmOperateRecognizerHolder * - * @author: chengxiaoxiao */ @LoadLevel(name = JdbcConstants.DM) public class DmOperateRecognizerHolder implements SQLOperateRecognizerHolder { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmSelectForUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmSelectForUpdateRecognizer.java index 44880daf297..e6faf108b66 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmSelectForUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmSelectForUpdateRecognizer.java @@ -35,7 +35,6 @@ /** * The type dm select for update recognizer. * - * @author chengxiaoxiao */ public class DmSelectForUpdateRecognizer extends BaseDmRecognizer implements SQLSelectRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmUpdateRecognizer.java index 0f117c1a63f..52430765625 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/dm/DmUpdateRecognizer.java @@ -40,7 +40,6 @@ /** * The type dm update recognizer. * - * @author chengxiaoxiao */ public class DmUpdateRecognizer extends BaseDmRecognizer implements SQLUpdateRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbDeleteRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbDeleteRecognizer.java index 3640b2d748e..50f1effdf2f 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbDeleteRecognizer.java @@ -22,7 +22,6 @@ /** * The type Mariadb delete recognizer. * - * @author funkye */ public class MariadbDeleteRecognizer extends MySQLDeleteRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbInsertRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbInsertRecognizer.java index 2aed7e66091..7262cb4ea69 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbInsertRecognizer.java @@ -22,7 +22,6 @@ /** * The type Mariadb insert recognizer. * - * @author funkye */ public class MariadbInsertRecognizer extends MySQLInsertRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbOperateRecognizerHolder.java index a9166a51e90..762ed6eea42 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbOperateRecognizerHolder.java @@ -27,7 +27,6 @@ /** * The class MariadbOperateRecognizerHolder * - * @author funkye */ @LoadLevel(name = JdbcConstants.MARIADB) public class MariadbOperateRecognizerHolder implements SQLOperateRecognizerHolder { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbSelectForUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbSelectForUpdateRecognizer.java index f41a01b206c..394ae7ba061 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbSelectForUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbSelectForUpdateRecognizer.java @@ -22,7 +22,6 @@ /** * The type Mariadb select for update recognizer. * - * @author funkye */ public class MariadbSelectForUpdateRecognizer extends MySQLSelectForUpdateRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbUpdateRecognizer.java index 39897e30b9b..14135d9a2b6 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mariadb/MariadbUpdateRecognizer.java @@ -22,7 +22,6 @@ /** * The type Mariadb update recognizer. * - * @author funkye */ public class MariadbUpdateRecognizer extends MySQLUpdateRecognizer { /** diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/BaseMySQLRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/BaseMySQLRecognizer.java index 1b17985da05..4a5723a1f7d 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/BaseMySQLRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/BaseMySQLRecognizer.java @@ -31,7 +31,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author will */ public abstract class BaseMySQLRecognizer extends BaseRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLDeleteRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLDeleteRecognizer.java index 917e82d0bf8..083a724d3ee 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLDeleteRecognizer.java @@ -37,7 +37,6 @@ /** * The type My sql delete recognizer. * - * @author sharajava */ public class MySQLDeleteRecognizer extends BaseMySQLRecognizer implements SQLDeleteRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLInsertRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLInsertRecognizer.java index a54dd0343f7..cdc6e226c49 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLInsertRecognizer.java @@ -42,7 +42,6 @@ /** * The type My sql insert recognizer. * - * @author sharajava */ public class MySQLInsertRecognizer extends BaseMySQLRecognizer implements SQLInsertRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLOperateRecognizerHolder.java index c4a1830a13e..431edc6e2f0 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLOperateRecognizerHolder.java @@ -26,7 +26,6 @@ /** * The class MySqlOperateRecognizerHolder * - * @author Zhibei Hao */ @LoadLevel(name = JdbcConstants.MYSQL) public class MySQLOperateRecognizerHolder implements SQLOperateRecognizerHolder { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLSelectForUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLSelectForUpdateRecognizer.java index 625ffa52b24..8730510717a 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLSelectForUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLSelectForUpdateRecognizer.java @@ -37,7 +37,6 @@ /** * The type My sql select for update recognizer. * - * @author sharajava */ public class MySQLSelectForUpdateRecognizer extends BaseMySQLRecognizer implements SQLSelectRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLUpdateRecognizer.java index 316e02848af..3d151bf9fc6 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/mysql/MySQLUpdateRecognizer.java @@ -46,7 +46,6 @@ /** * The type My sql update recognizer. * - * @author sharajava */ public class MySQLUpdateRecognizer extends BaseMySQLRecognizer implements SQLUpdateRecognizer, JoinRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/BaseOracleRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/BaseOracleRecognizer.java index e6903f378b7..99e45620703 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/BaseOracleRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/BaseOracleRecognizer.java @@ -43,7 +43,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author will */ public abstract class BaseOracleRecognizer extends BaseRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleDeleteRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleDeleteRecognizer.java index a483dc7beca..8579679b2ef 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleDeleteRecognizer.java @@ -35,7 +35,6 @@ /** * The type oracle delete recognizer. * - * @author ccg */ public class OracleDeleteRecognizer extends BaseOracleRecognizer implements SQLDeleteRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleInsertRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleInsertRecognizer.java index 1cb6c8557b4..0614006dd5a 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleInsertRecognizer.java @@ -43,7 +43,6 @@ /** * The type oracle insert recognizer. * - * @author ccg */ public class OracleInsertRecognizer extends BaseOracleRecognizer implements SQLInsertRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleOperateRecognizerHolder.java index 70d747c938b..614cb5db13e 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleOperateRecognizerHolder.java @@ -26,7 +26,6 @@ /** * The Type OracleOperateRecognizerHolder * - * @author Zhibei Hao */ @LoadLevel(name = JdbcConstants.ORACLE) public class OracleOperateRecognizerHolder implements SQLOperateRecognizerHolder { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleSelectForUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleSelectForUpdateRecognizer.java index e08df33724a..a92115da05a 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleSelectForUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleSelectForUpdateRecognizer.java @@ -37,7 +37,6 @@ /** * The type oracle select for update recognizer. * - * @author ccg */ public class OracleSelectForUpdateRecognizer extends BaseOracleRecognizer implements SQLSelectRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleUpdateRecognizer.java index d6c276ad197..a0300d5bfac 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/OracleUpdateRecognizer.java @@ -39,7 +39,6 @@ /** * The type oracle update recognizer. * - * @author ccg */ public class OracleUpdateRecognizer extends BaseOracleRecognizer implements SQLUpdateRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizer.java index e80ca9c6c1b..26f5c44824b 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizer.java @@ -22,7 +22,6 @@ /** * Delete statement recognizer for PolarDB-X * - * @author hsien999 */ public class PolarDBXDeleteRecognizer extends MySQLDeleteRecognizer { public PolarDBXDeleteRecognizer(String originalSQL, SQLStatement ast) { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizer.java index d39fae69691..9ec7f165cef 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizer.java @@ -22,7 +22,6 @@ /** * Insert statement recognizer for PolarDB-X * - * @author hsien999 */ public class PolarDBXInsertRecognizer extends MySQLInsertRecognizer { public PolarDBXInsertRecognizer(String originalSQL, SQLStatement ast) { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolder.java index 3d32f6ed909..d86c33edd87 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolder.java @@ -26,7 +26,6 @@ /** * Operate recognizer holder for PolarDB-X * - * @author hsien999 */ @LoadLevel(name = JdbcConstants.POLARDBX) public class PolarDBXOperateRecognizerHolder implements SQLOperateRecognizerHolder { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizer.java index 91a07e2f5a6..1bf2117dcea 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizer.java @@ -22,7 +22,6 @@ /** * Select for update statement recognizer for PolarDB-X * - * @author hsien999 */ public class PolarDBXSelectForUpdateRecognizer extends MySQLSelectForUpdateRecognizer { public PolarDBXSelectForUpdateRecognizer(String originalSQL, SQLStatement ast) { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizer.java index e7a0a17c145..0543372c63f 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizer.java @@ -22,7 +22,6 @@ /** * Update statement recognizer for PolarDB-X * - * @author hsien999 */ public class PolarDBXUpdateRecognizer extends MySQLUpdateRecognizer { public PolarDBXUpdateRecognizer(String originalSQL, SQLStatement ast) { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/BasePostgresqlRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/BasePostgresqlRecognizer.java index 460ca60e746..bf3c37aec54 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/BasePostgresqlRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/BasePostgresqlRecognizer.java @@ -41,7 +41,6 @@ import java.util.Objects; /** - * @author will */ public abstract class BasePostgresqlRecognizer extends BaseRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlDeleteRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlDeleteRecognizer.java index 4d4296e45ae..b7cc26ff48f 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlDeleteRecognizer.java @@ -31,7 +31,6 @@ import java.util.List; /** - * @author japsercloud */ public class PostgresqlDeleteRecognizer extends BasePostgresqlRecognizer implements SQLDeleteRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlInsertRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlInsertRecognizer.java index c56012d6e8a..fa5250fc771 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlInsertRecognizer.java @@ -44,7 +44,6 @@ import io.seata.sqlparser.struct.SqlSequenceExpr; /** - * @author japsercloud */ public class PostgresqlInsertRecognizer extends BasePostgresqlRecognizer implements SQLInsertRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlOperateRecognizerHolder.java index abeb142b63d..c27e43dd284 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlOperateRecognizerHolder.java @@ -27,7 +27,6 @@ /** * The type PostgresqlOperateRecognizerHolder * - * @author will.zjw */ @LoadLevel(name = JdbcConstants.POSTGRESQL) public class PostgresqlOperateRecognizerHolder implements SQLOperateRecognizerHolder { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlSelectForUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlSelectForUpdateRecognizer.java index f93b06add39..82850539838 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlSelectForUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlSelectForUpdateRecognizer.java @@ -34,7 +34,6 @@ import java.util.List; /** - * @author japsercloud */ public class PostgresqlSelectForUpdateRecognizer extends BasePostgresqlRecognizer implements SQLSelectRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlUpdateRecognizer.java index 21506efa1cb..b399f29bebf 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/PostgresqlUpdateRecognizer.java @@ -37,7 +37,6 @@ import io.seata.sqlparser.SQLUpdateRecognizer; /** - * @author japsercloud */ public class PostgresqlUpdateRecognizer extends BasePostgresqlRecognizer implements SQLUpdateRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/BaseSqlServerRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/BaseSqlServerRecognizer.java index 1fe2d67d99b..ba4cc3e295c 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/BaseSqlServerRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/BaseSqlServerRecognizer.java @@ -38,7 +38,6 @@ import io.seata.sqlparser.util.JdbcConstants; /** - * @author GoodBoyCoder */ public abstract class BaseSqlServerRecognizer extends BaseRecognizer { /** diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizer.java index 8d60ce5869c..6c8470793d2 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizer.java @@ -34,7 +34,6 @@ /** * The type SqlServer delete recognizer. * - * @author GoodBoyCoder */ public class SqlServerDeleteRecognizer extends BaseSqlServerRecognizer implements SQLDeleteRecognizer { private final SQLDeleteStatement ast; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizer.java index 10a56685b3f..dd15c764dff 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizer.java @@ -46,7 +46,6 @@ /** * The type SqlServer insert recognizer. * - * @author GoodBoyCoder */ public class SqlServerInsertRecognizer extends BaseSqlServerRecognizer implements SQLInsertRecognizer { private final SQLServerInsertStatement ast; diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolder.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolder.java index 49081a84b24..d6ac3ce0446 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolder.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolder.java @@ -35,7 +35,6 @@ /** * The Type SqlServerOperateRecognizerHolder * - * @author GoodBoyCoder */ @LoadLevel(name = JdbcConstants.SQLSERVER) public class SqlServerOperateRecognizerHolder implements SQLOperateRecognizerHolder { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizer.java index 2259e8b95b1..0155546c0f7 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizer.java @@ -36,7 +36,6 @@ /** * The type SqlServer select for update recognizer. * - * @author GoodBoyCoder */ public class SqlServerSelectForUpdateRecognizer extends BaseSqlServerRecognizer implements SQLSelectRecognizer { diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizer.java index d8ca9f24a42..d082989a370 100644 --- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizer.java +++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizer.java @@ -48,7 +48,6 @@ /** * The type SqlServer update recognizer. * - * @author GoodBoyCoder */ public class SqlServerUpdateRecognizer extends BaseSqlServerRecognizer implements SQLUpdateRecognizer { private SQLServerUpdateStatement ast; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/AbstractRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/AbstractRecognizerTest.java index cdf9c01be5d..90a611245ed 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/AbstractRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/AbstractRecognizerTest.java @@ -24,7 +24,6 @@ /** * The type Abstract my sql recognizer test. * - * @author hanwen created at 2019-01-25 */ public abstract class AbstractRecognizerTest { diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidDbTypeParserTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidDbTypeParserTest.java index b891fe9f001..81fbfc5d18c 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidDbTypeParserTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidDbTypeParserTest.java @@ -23,7 +23,6 @@ import org.junit.jupiter.api.Test; /** - * @author ggndnn */ public class DruidDbTypeParserTest { @Test diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidIsolationTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidIsolationTest.java index baed5661009..17a968f6360 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidIsolationTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/DruidIsolationTest.java @@ -28,7 +28,6 @@ import java.util.List; /** - * @author ggndnn */ public class DruidIsolationTest { private final static String TEST_SQL = "insert into t_table_1 values(?, ?)"; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbDeleteRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbDeleteRecognizerTest.java index 634c73f0d81..eeea362c891 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbDeleteRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbDeleteRecognizerTest.java @@ -39,7 +39,6 @@ /** * The type Mariadb delete recognizer test. * - * @author funkye */ public class MariadbDeleteRecognizerTest extends AbstractRecognizerTest { diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbInsertRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbInsertRecognizerTest.java index bae0fb5ce19..665290110bd 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbInsertRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MariadbInsertRecognizerTest.java @@ -37,7 +37,6 @@ /** * The type Mariadb insert recognizer test. * - * @author funkye */ public class MariadbInsertRecognizerTest extends AbstractRecognizerTest { diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLDeleteRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLDeleteRecognizerTest.java index e8f632eae37..d2adb679ef9 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLDeleteRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLDeleteRecognizerTest.java @@ -36,7 +36,6 @@ /** * The type My sql delete recognizer test. * - * @author hanwen created at 2019-01-25 */ public class MySQLDeleteRecognizerTest extends AbstractRecognizerTest { diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLInsertRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLInsertRecognizerTest.java index 08d1f5e5b57..ec676ce07ea 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLInsertRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/MySQLInsertRecognizerTest.java @@ -35,7 +35,6 @@ /** * The type My sql insert recognizer test. * - * @author hanwen created at 2019-01-25 */ public class MySQLInsertRecognizerTest extends AbstractRecognizerTest { diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/AbstractPolarDBXRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/AbstractPolarDBXRecognizerTest.java index cb24b042fb2..541e4d500fe 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/AbstractPolarDBXRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/AbstractPolarDBXRecognizerTest.java @@ -22,7 +22,6 @@ /** * Base Test for recognizer of PolarDB-X * - * @author hsien999 **/ public class AbstractPolarDBXRecognizerTest extends AbstractRecognizerTest { @Override diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizerTest.java index 9217a3b46d2..1f133456b5c 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXDeleteRecognizerTest.java @@ -34,7 +34,6 @@ /** * Test cases for delete recognizer of PolarDB-X * - * @author hsien999 */ public class PolarDBXDeleteRecognizerTest extends AbstractPolarDBXRecognizerTest { @Test diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizerTest.java index 559ee5632b1..b0fd032d3ce 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXInsertRecognizerTest.java @@ -35,7 +35,6 @@ /** * Test cases for delete recognizer of PolarDB-X * - * @author hsien999 */ public class PolarDBXInsertRecognizerTest extends AbstractPolarDBXRecognizerTest { private final int pkIndex = 0; diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolderTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolderTest.java index 3e14937358e..59d5b89eef4 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolderTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXOperateRecognizerHolderTest.java @@ -23,7 +23,6 @@ /** * Test cases for recognizer holder of PolarDB-X * - * @author hsien999 */ public class PolarDBXOperateRecognizerHolderTest extends AbstractPolarDBXRecognizerTest { @Test diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizerTest.java index 8a4dadf5ae3..e73c28b9bf2 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXSelectForUpdateRecognizerTest.java @@ -34,7 +34,6 @@ /** * Test cases for SelectForUpdate recognizer of PolarDB-X * - * @author hsien999 */ public class PolarDBXSelectForUpdateRecognizerTest extends AbstractPolarDBXRecognizerTest { @Test diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizerTest.java index a036bb159fb..2e8e068c0bc 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/polardbx/PolarDBXUpdateRecognizerTest.java @@ -40,7 +40,6 @@ /** * Test cases for update recognizer of PolarDB-X * - * @author hsien999 */ public class PolarDBXUpdateRecognizerTest extends AbstractPolarDBXRecognizerTest { @Test diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizerTest.java index 3d05961cc3e..21d4d6624ac 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerDeleteRecognizerTest.java @@ -35,7 +35,6 @@ /** * The type SqlServer delete recognizer test. * - * @author GoodBoyCoder */ public class SqlServerDeleteRecognizerTest extends AbstractRecognizerTest { @Test diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizerTest.java index d332cf9d1b8..a0a6d037a52 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerInsertRecognizerTest.java @@ -35,7 +35,6 @@ /** * The type SqlServer insert recognizer test. * - * @author GoodBoyCoder */ public class SqlServerInsertRecognizerTest extends AbstractRecognizerTest { diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolderTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolderTest.java index 2adb39f09ac..cea35b82ea0 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolderTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerOperateRecognizerHolderTest.java @@ -25,7 +25,6 @@ /** * The type SqlServer operate holder test. * - * @author GoodBoyCoder */ public class SqlServerOperateRecognizerHolderTest extends AbstractRecognizerTest { diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizerTest.java index c067bb47072..a9449047f99 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerSelectForUpdateRecognizerTest.java @@ -35,7 +35,6 @@ /** * The type SqlServer select for update recognizer test. * - * @author GoodBoyCoder */ public class SqlServerSelectForUpdateRecognizerTest extends AbstractRecognizerTest { @Override diff --git a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizerTest.java b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizerTest.java index dfd96f275de..faff6925cbe 100644 --- a/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizerTest.java +++ b/sqlparser/seata-sqlparser-druid/src/test/java/io/seata/sqlparser/druid/sqlserver/SqlServerUpdateRecognizerTest.java @@ -39,7 +39,6 @@ /** * The type SqlServer update recognizer test. * - * @author GoodBoyCoder */ public class SqlServerUpdateRecognizerTest extends AbstractRecognizerTest { @Override diff --git a/tcc/src/main/java/io/seata/rm/tcc/RMHandlerTCC.java b/tcc/src/main/java/io/seata/rm/tcc/RMHandlerTCC.java index c97dc094431..048ba390049 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/RMHandlerTCC.java +++ b/tcc/src/main/java/io/seata/rm/tcc/RMHandlerTCC.java @@ -25,7 +25,6 @@ /** * The type Rm handler tcc. * - * @author zhangsen */ public class RMHandlerTCC extends AbstractRMHandler { diff --git a/tcc/src/main/java/io/seata/rm/tcc/TCCResource.java b/tcc/src/main/java/io/seata/rm/tcc/TCCResource.java index 5ba19dcd55d..fdda07458f3 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/TCCResource.java +++ b/tcc/src/main/java/io/seata/rm/tcc/TCCResource.java @@ -24,8 +24,6 @@ /** * The type Tcc resource. * - * @author zhangsen - * @author Yujianfei */ public class TCCResource implements Resource { diff --git a/tcc/src/main/java/io/seata/rm/tcc/TCCResourceManager.java b/tcc/src/main/java/io/seata/rm/tcc/TCCResourceManager.java index 5a312e8b012..e8472d93e38 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/TCCResourceManager.java +++ b/tcc/src/main/java/io/seata/rm/tcc/TCCResourceManager.java @@ -37,8 +37,6 @@ /** * TCC resource manager * - * @author zhangsen - * @author Yujianfei */ public class TCCResourceManager extends AbstractResourceManager { @@ -217,4 +215,4 @@ private Object[] getTwoPhaseRollbackArgs(TCCResource tccResource, BusinessAction public BranchType getBranchType() { return BranchType.TCC; } -} \ No newline at end of file +} diff --git a/tcc/src/main/java/io/seata/rm/tcc/api/LocalTCC.java b/tcc/src/main/java/io/seata/rm/tcc/api/LocalTCC.java index aa20d533e47..0d9a75629d1 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/api/LocalTCC.java +++ b/tcc/src/main/java/io/seata/rm/tcc/api/LocalTCC.java @@ -27,7 +27,6 @@ /** * Local TCC bean annotation, add on the TCC interface * - * @author zhangsen * @see io.seata.spring.annotation.GlobalTransactionScanner#wrapIfNecessary(Object, String, Object) // the scanner for TM, GlobalLock, and TCC mode * @see LocalTCCRemotingParser // the RemotingParser impl for LocalTCC */ diff --git a/tcc/src/main/java/io/seata/rm/tcc/api/TwoPhaseBusinessAction.java b/tcc/src/main/java/io/seata/rm/tcc/api/TwoPhaseBusinessAction.java index e02ede3629e..d543f1b74e9 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/api/TwoPhaseBusinessAction.java +++ b/tcc/src/main/java/io/seata/rm/tcc/api/TwoPhaseBusinessAction.java @@ -29,7 +29,6 @@ * Define a TCC interface, which added on the try method. * Must be used with `@LocalTCC`. * - * @author zhangsen * @see io.seata.rm.tcc.api.LocalTCC // TCC annotation, which added on the TCC interface. It can't be left out. * @see io.seata.spring.annotation.GlobalTransactionScanner#wrapIfNecessary(Object, String, Object) // the scanner for TM, GlobalLock, and TCC mode * @see TccActionInterceptorHandler // the interceptor of TCC mode diff --git a/tcc/src/main/java/io/seata/rm/tcc/interceptor/TccActionInterceptorHandler.java b/tcc/src/main/java/io/seata/rm/tcc/interceptor/TccActionInterceptorHandler.java index b4ee0233f52..bbdffe0c7e8 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/interceptor/TccActionInterceptorHandler.java +++ b/tcc/src/main/java/io/seata/rm/tcc/interceptor/TccActionInterceptorHandler.java @@ -43,7 +43,6 @@ import static io.seata.common.Constants.BEAN_NAME_SPRING_FENCE_CONFIG; /** - * @author leezongjie */ public class TccActionInterceptorHandler extends AbstractProxyInvocationHandler { diff --git a/tcc/src/main/java/io/seata/rm/tcc/interceptor/parser/TccActionInterceptorParser.java b/tcc/src/main/java/io/seata/rm/tcc/interceptor/parser/TccActionInterceptorParser.java index 915ec2c7c92..6496df4a877 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/interceptor/parser/TccActionInterceptorParser.java +++ b/tcc/src/main/java/io/seata/rm/tcc/interceptor/parser/TccActionInterceptorParser.java @@ -33,7 +33,6 @@ import java.util.Set; /** - * @author leezongjie */ public class TccActionInterceptorParser implements InterfaceParser { diff --git a/tcc/src/main/java/io/seata/rm/tcc/json/FastJsonParser.java b/tcc/src/main/java/io/seata/rm/tcc/json/FastJsonParser.java index 2d8e31d61e4..4ca4ac12768 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/json/FastJsonParser.java +++ b/tcc/src/main/java/io/seata/rm/tcc/json/FastJsonParser.java @@ -23,8 +23,6 @@ import io.seata.integration.tx.api.json.JsonParser; /** - * @author leezongjie - * @author zouwei */ @LoadLevel(name = Constants.FASTJSON_JSON_PARSER_NAME) public class FastJsonParser implements JsonParser { diff --git a/tcc/src/main/java/io/seata/rm/tcc/json/GsonJsonParser.java b/tcc/src/main/java/io/seata/rm/tcc/json/GsonJsonParser.java index dff7dfc180f..3960b82b46e 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/json/GsonJsonParser.java +++ b/tcc/src/main/java/io/seata/rm/tcc/json/GsonJsonParser.java @@ -26,7 +26,6 @@ import io.seata.integration.tx.api.json.JsonParser; /** - * @author zouwei */ @LoadLevel(name = Constants.GSON_JSON_PARSER_NAME) public class GsonJsonParser implements JsonParser { diff --git a/tcc/src/main/java/io/seata/rm/tcc/json/JacksonJsonParser.java b/tcc/src/main/java/io/seata/rm/tcc/json/JacksonJsonParser.java index 712bdacaeab..b88a77607dc 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/json/JacksonJsonParser.java +++ b/tcc/src/main/java/io/seata/rm/tcc/json/JacksonJsonParser.java @@ -29,7 +29,6 @@ import io.seata.integration.tx.api.json.JsonParser; /** - * @author zouwei */ @LoadLevel(name = Constants.JACKSON_JSON_PARSER_NAME) public class JacksonJsonParser implements JsonParser { diff --git a/tcc/src/main/java/io/seata/rm/tcc/remoting/parser/LocalTCCRemotingParser.java b/tcc/src/main/java/io/seata/rm/tcc/remoting/parser/LocalTCCRemotingParser.java index ff264fdfdca..07a8b9214f7 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/remoting/parser/LocalTCCRemotingParser.java +++ b/tcc/src/main/java/io/seata/rm/tcc/remoting/parser/LocalTCCRemotingParser.java @@ -29,7 +29,6 @@ /** * local tcc bean parsing * - * @author zhangsen */ public class LocalTCCRemotingParser extends AbstractedRemotingParser { @@ -93,4 +92,4 @@ private boolean isLocalTCC(Object bean) { } return classType.isAnnotationPresent(LocalTCC.class); } -} \ No newline at end of file +} diff --git a/tcc/src/main/java/io/seata/rm/tcc/resource/parser/TccRegisterResourceParser.java b/tcc/src/main/java/io/seata/rm/tcc/resource/parser/TccRegisterResourceParser.java index 572020b262a..1918dd24195 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/resource/parser/TccRegisterResourceParser.java +++ b/tcc/src/main/java/io/seata/rm/tcc/resource/parser/TccRegisterResourceParser.java @@ -37,7 +37,6 @@ import java.util.Set; /** - * @author leezongjie */ public class TccRegisterResourceParser implements RegisterResourceParser { diff --git a/tcc/src/test/java/io/seata/rm/tcc/NormalTccAction.java b/tcc/src/test/java/io/seata/rm/tcc/NormalTccAction.java index edc7bb6845c..6c4a350728b 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/NormalTccAction.java +++ b/tcc/src/test/java/io/seata/rm/tcc/NormalTccAction.java @@ -26,7 +26,6 @@ /** * The interface Tcc action. * - * @author zhangsen */ @LocalTCC public interface NormalTccAction { diff --git a/tcc/src/test/java/io/seata/rm/tcc/NormalTccActionImpl.java b/tcc/src/test/java/io/seata/rm/tcc/NormalTccActionImpl.java index 07a2a26547e..72daa736e08 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/NormalTccActionImpl.java +++ b/tcc/src/test/java/io/seata/rm/tcc/NormalTccActionImpl.java @@ -22,7 +22,6 @@ import io.seata.rm.tcc.api.BusinessActionContext; /** - * @author leezongjie */ public class NormalTccActionImpl implements NormalTccAction { diff --git a/tcc/src/test/java/io/seata/rm/tcc/Param.java b/tcc/src/test/java/io/seata/rm/tcc/Param.java index c4d99847640..65af4f832a8 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/Param.java +++ b/tcc/src/test/java/io/seata/rm/tcc/Param.java @@ -24,7 +24,6 @@ /** * customized annotation * - * @author Yujianfei */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.PARAMETER, ElementType.FIELD}) diff --git a/tcc/src/test/java/io/seata/rm/tcc/TccAction.java b/tcc/src/test/java/io/seata/rm/tcc/TccAction.java index f159f67cde0..8be48b1ea41 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/TccAction.java +++ b/tcc/src/test/java/io/seata/rm/tcc/TccAction.java @@ -26,7 +26,6 @@ /** * The interface Tcc action. * - * @author zhangsen */ @LocalTCC public interface TccAction { diff --git a/tcc/src/test/java/io/seata/rm/tcc/TccActionImpl.java b/tcc/src/test/java/io/seata/rm/tcc/TccActionImpl.java index ae5324ce6ef..dfb5b45ada3 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/TccActionImpl.java +++ b/tcc/src/test/java/io/seata/rm/tcc/TccActionImpl.java @@ -24,7 +24,6 @@ /** * The type Tcc action. * - * @author zhangsen */ public class TccActionImpl implements TccAction { diff --git a/tcc/src/test/java/io/seata/rm/tcc/TccParam.java b/tcc/src/test/java/io/seata/rm/tcc/TccParam.java index 8a27799866e..da82abaeeef 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/TccParam.java +++ b/tcc/src/test/java/io/seata/rm/tcc/TccParam.java @@ -21,7 +21,6 @@ /** * The type Tcc param. * - * @author zhangsen */ public class TccParam { diff --git a/tcc/src/test/java/io/seata/rm/tcc/interceptor/ProxyUtilsTccTest.java b/tcc/src/test/java/io/seata/rm/tcc/interceptor/ProxyUtilsTccTest.java index 19841191fc3..edad895f6af 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/interceptor/ProxyUtilsTccTest.java +++ b/tcc/src/test/java/io/seata/rm/tcc/interceptor/ProxyUtilsTccTest.java @@ -36,7 +36,6 @@ import org.junit.jupiter.api.Test; /** - * @author leezongjie */ public class ProxyUtilsTccTest { diff --git a/tcc/src/test/java/io/seata/rm/tcc/interceptor/parser/TccActionInterceptorParserTest.java b/tcc/src/test/java/io/seata/rm/tcc/interceptor/parser/TccActionInterceptorParserTest.java index 7b5d58d64a8..948010a691e 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/interceptor/parser/TccActionInterceptorParserTest.java +++ b/tcc/src/test/java/io/seata/rm/tcc/interceptor/parser/TccActionInterceptorParserTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; /** - * @author leezongjie */ class TccActionInterceptorParserTest { @@ -40,4 +39,4 @@ void parserInterfaceToProxy() { Assertions.assertNotNull(proxyInvocationHandler); } -} \ No newline at end of file +} diff --git a/tcc/src/test/java/io/seata/rm/tcc/remoting/parser/LocalTCCRemotingParserTest.java b/tcc/src/test/java/io/seata/rm/tcc/remoting/parser/LocalTCCRemotingParserTest.java index 3f903b6a42d..3f0273686f2 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/remoting/parser/LocalTCCRemotingParserTest.java +++ b/tcc/src/test/java/io/seata/rm/tcc/remoting/parser/LocalTCCRemotingParserTest.java @@ -26,7 +26,6 @@ /** * The type Local tcc remoting parser test. * - * @author zhangsen */ public class LocalTCCRemotingParserTest { diff --git a/tcc/src/test/java/io/seata/rm/tcc/resource/parser/TccRegisterResourceParserTest.java b/tcc/src/test/java/io/seata/rm/tcc/resource/parser/TccRegisterResourceParserTest.java index 0716ec1586b..f28af493030 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/resource/parser/TccRegisterResourceParserTest.java +++ b/tcc/src/test/java/io/seata/rm/tcc/resource/parser/TccRegisterResourceParserTest.java @@ -24,7 +24,6 @@ import java.lang.reflect.Method; /** - * @author leezongjie */ class TccRegisterResourceParserTest { @@ -44,4 +43,4 @@ public void testGetTwoPhaseArgs() throws Exception { Assertions.assertNull(keys[0]); Assertions.assertEquals("tccParam", keys[1]); } -} \ No newline at end of file +} diff --git a/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/LocalTccAction.java b/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/LocalTccAction.java index 87e76d6bad5..0e04c66d266 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/LocalTccAction.java +++ b/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/LocalTccAction.java @@ -21,7 +21,6 @@ /** * The interface Local tcc action. * - * @author zhangsen */ @LocalTCC public interface LocalTccAction extends TccAction { diff --git a/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/LocalTccActionImpl.java b/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/LocalTccActionImpl.java index 9ef5984d55c..bb6a46c62c4 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/LocalTccActionImpl.java +++ b/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/LocalTccActionImpl.java @@ -19,7 +19,6 @@ /** * The type Local tcc action. * - * @author zhangsen */ public class LocalTccActionImpl extends TccActionImpl implements LocalTccAction { diff --git a/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/TccAction.java b/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/TccAction.java index 8f422aea23a..d25cadd86ae 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/TccAction.java +++ b/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/TccAction.java @@ -22,7 +22,6 @@ /** * The interface Tcc action. * - * @author zhangsen */ public interface TccAction { diff --git a/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/TccActionImpl.java b/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/TccActionImpl.java index 9b6b8b18acc..4152891edb0 100644 --- a/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/TccActionImpl.java +++ b/tcc/src/test/java/io/seata/rm/tcc/spring/tcc/TccActionImpl.java @@ -21,7 +21,6 @@ /** * The type Tcc action. * - * @author zhangsen */ public class TccActionImpl implements TccAction { diff --git a/test/src/test/java/AppTest.java b/test/src/test/java/AppTest.java index 27ea4e8b62d..e02a2d4a5bc 100644 --- a/test/src/test/java/AppTest.java +++ b/test/src/test/java/AppTest.java @@ -29,7 +29,6 @@ /** * The type App test. * - * @author sharajava */ public class AppTest { diff --git a/test/src/test/java/LocalTransactionWithGlobalLockDataSourceBasicTest.java b/test/src/test/java/LocalTransactionWithGlobalLockDataSourceBasicTest.java index c4dfc24bea6..f81e44f4fe9 100644 --- a/test/src/test/java/LocalTransactionWithGlobalLockDataSourceBasicTest.java +++ b/test/src/test/java/LocalTransactionWithGlobalLockDataSourceBasicTest.java @@ -37,7 +37,6 @@ /** * The type Data source basic test. * - * @author services */ @Disabled public class LocalTransactionWithGlobalLockDataSourceBasicTest { diff --git a/test/src/test/java/io/seata/at/ATModeSupportDataBaseDataTypeTest.java b/test/src/test/java/io/seata/at/ATModeSupportDataBaseDataTypeTest.java index e4e76e573ad..37a33556b48 100644 --- a/test/src/test/java/io/seata/at/ATModeSupportDataBaseDataTypeTest.java +++ b/test/src/test/java/io/seata/at/ATModeSupportDataBaseDataTypeTest.java @@ -61,7 +61,6 @@ /** * add AT transaction mode tests to support database data types (Oracle) * - * author doubleDimple */ @Disabled public class ATModeSupportDataBaseDataTypeTest { diff --git a/test/src/test/java/io/seata/at/DruidDataSourceUtils.java b/test/src/test/java/io/seata/at/DruidDataSourceUtils.java index 7c65cb74ee2..38eaa6863e7 100644 --- a/test/src/test/java/io/seata/at/DruidDataSourceUtils.java +++ b/test/src/test/java/io/seata/at/DruidDataSourceUtils.java @@ -24,9 +24,6 @@ import org.slf4j.LoggerFactory; import java.sql.SQLException; -/** - * author doubleDimple - */ public class DruidDataSourceUtils { private static final Logger LOGGER = LoggerFactory.getLogger(DruidDataSourceUtils.class); diff --git a/test/src/test/java/io/seata/at/mysql/MysqlUpdateJoinTest.java b/test/src/test/java/io/seata/at/mysql/MysqlUpdateJoinTest.java index 64d4c0fee5a..4283a0a0a92 100644 --- a/test/src/test/java/io/seata/at/mysql/MysqlUpdateJoinTest.java +++ b/test/src/test/java/io/seata/at/mysql/MysqlUpdateJoinTest.java @@ -41,7 +41,6 @@ /** - * @author renliangyu857 */ public class MysqlUpdateJoinTest { private static final int testRecordId = 1; @@ -164,4 +163,4 @@ private static void initDruidDataSource(DruidDataSource druidDataSource) throws druidDataSource.setDriverClassName(mysql_driverClassName); druidDataSource.init(); } -} \ No newline at end of file +} diff --git a/test/src/test/java/io/seata/at/oracle/SupportOracleDataTypeTest.java b/test/src/test/java/io/seata/at/oracle/SupportOracleDataTypeTest.java index 73b5fb8b983..eaf1062f7d2 100644 --- a/test/src/test/java/io/seata/at/oracle/SupportOracleDataTypeTest.java +++ b/test/src/test/java/io/seata/at/oracle/SupportOracleDataTypeTest.java @@ -61,7 +61,6 @@ /** * add AT transaction mode tests to support database data types (Oracle) * - * author doubleDimple */ @Disabled public class SupportOracleDataTypeTest { diff --git a/test/src/test/java/io/seata/common/ApplicationKeeper.java b/test/src/test/java/io/seata/common/ApplicationKeeper.java index 237b485df32..8ff7818416b 100644 --- a/test/src/test/java/io/seata/common/ApplicationKeeper.java +++ b/test/src/test/java/io/seata/common/ApplicationKeeper.java @@ -26,7 +26,6 @@ /** * The type Application keeper. * - * @author sharajava */ public class ApplicationKeeper { diff --git a/test/src/test/java/io/seata/common/LockAndCallback.java b/test/src/test/java/io/seata/common/LockAndCallback.java index 552dc4938b5..72a293c8446 100644 --- a/test/src/test/java/io/seata/common/LockAndCallback.java +++ b/test/src/test/java/io/seata/common/LockAndCallback.java @@ -27,7 +27,6 @@ import java.util.concurrent.locks.ReentrantLock; /** - * @author wang.liang */ public class LockAndCallback { private final Lock lock; diff --git a/test/src/test/java/io/seata/common/SagaCostPrint.java b/test/src/test/java/io/seata/common/SagaCostPrint.java index 462c992ad16..18ace73faf6 100644 --- a/test/src/test/java/io/seata/common/SagaCostPrint.java +++ b/test/src/test/java/io/seata/common/SagaCostPrint.java @@ -19,7 +19,6 @@ import io.seata.saga.statelang.domain.StateMachineInstance; /** - * @author wang.liang */ public class SagaCostPrint { diff --git a/test/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java b/test/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java index a5b8ff713f7..f6b4cd7cd89 100644 --- a/test/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java +++ b/test/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java @@ -23,7 +23,6 @@ /** * test EnhancedServiceLoader - * @author zhangsen */ public class EnhancedServiceLoaderTest { diff --git a/test/src/test/java/io/seata/common/loader/LoaderTestImpl1.java b/test/src/test/java/io/seata/common/loader/LoaderTestImpl1.java index 185fe8b61ff..d0a6c4733ee 100644 --- a/test/src/test/java/io/seata/common/loader/LoaderTestImpl1.java +++ b/test/src/test/java/io/seata/common/loader/LoaderTestImpl1.java @@ -17,7 +17,6 @@ package io.seata.common.loader; /** - * @author zhangsen */ @LoadLevel(name = "one", order = 1) public class LoaderTestImpl1 implements LoaderTestSPI { diff --git a/test/src/test/java/io/seata/common/loader/LoaderTestImpl2.java b/test/src/test/java/io/seata/common/loader/LoaderTestImpl2.java index ac42e44b744..442de97a3bb 100644 --- a/test/src/test/java/io/seata/common/loader/LoaderTestImpl2.java +++ b/test/src/test/java/io/seata/common/loader/LoaderTestImpl2.java @@ -17,7 +17,6 @@ package io.seata.common.loader; /** - * @author zhangsen */ @LoadLevel(name = "two", order = 2) public class LoaderTestImpl2 implements LoaderTestSPI { diff --git a/test/src/test/java/io/seata/common/loader/LoaderTestSPI.java b/test/src/test/java/io/seata/common/loader/LoaderTestSPI.java index b82e9a19030..3a9401b7380 100644 --- a/test/src/test/java/io/seata/common/loader/LoaderTestSPI.java +++ b/test/src/test/java/io/seata/common/loader/LoaderTestSPI.java @@ -17,7 +17,6 @@ package io.seata.common.loader; /** - * @author zhangsen */ public interface LoaderTestSPI { diff --git a/test/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java b/test/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java index 627bf444576..2822933f0f3 100644 --- a/test/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java +++ b/test/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java @@ -38,7 +38,6 @@ import org.slf4j.LoggerFactory; /** - * @author slievrly */ public class TmNettyClientTest extends AbstractServerTest { diff --git a/test/src/test/java/io/seata/core/rpc/netty/v1/ClientChannelHandler.java b/test/src/test/java/io/seata/core/rpc/netty/v1/ClientChannelHandler.java index b7d4e192f06..0a6a59669f4 100644 --- a/test/src/test/java/io/seata/core/rpc/netty/v1/ClientChannelHandler.java +++ b/test/src/test/java/io/seata/core/rpc/netty/v1/ClientChannelHandler.java @@ -24,7 +24,6 @@ import org.slf4j.LoggerFactory; /** - * @author Geng Zhang */ public class ClientChannelHandler extends ChannelInboundHandlerAdapter { diff --git a/test/src/test/java/io/seata/core/rpc/netty/v1/HeadMapSerializerTest.java b/test/src/test/java/io/seata/core/rpc/netty/v1/HeadMapSerializerTest.java index 37fbb6f15bb..0c6e8997e45 100644 --- a/test/src/test/java/io/seata/core/rpc/netty/v1/HeadMapSerializerTest.java +++ b/test/src/test/java/io/seata/core/rpc/netty/v1/HeadMapSerializerTest.java @@ -26,7 +26,6 @@ import java.util.Map; /** - * @author Geng Zhang */ class HeadMapSerializerTest { @@ -94,4 +93,4 @@ public void testUTF8() throws Exception { byteBuf.release(); } -} \ No newline at end of file +} diff --git a/test/src/test/java/io/seata/core/rpc/netty/v1/ProtocolV1Client.java b/test/src/test/java/io/seata/core/rpc/netty/v1/ProtocolV1Client.java index 64cec5c3ca9..0736b9740ac 100644 --- a/test/src/test/java/io/seata/core/rpc/netty/v1/ProtocolV1Client.java +++ b/test/src/test/java/io/seata/core/rpc/netty/v1/ProtocolV1Client.java @@ -49,7 +49,6 @@ import java.util.concurrent.atomic.AtomicLong; /** - * @author Geng Zhang */ public class ProtocolV1Client { diff --git a/test/src/test/java/io/seata/core/rpc/netty/v1/ProtocolV1SerializerTest.java b/test/src/test/java/io/seata/core/rpc/netty/v1/ProtocolV1SerializerTest.java index 2a15fa9eef2..1c8a4add3fe 100644 --- a/test/src/test/java/io/seata/core/rpc/netty/v1/ProtocolV1SerializerTest.java +++ b/test/src/test/java/io/seata/core/rpc/netty/v1/ProtocolV1SerializerTest.java @@ -35,7 +35,6 @@ import java.util.concurrent.atomic.AtomicInteger; /** - * @author GengZhang */ public class ProtocolV1SerializerTest { diff --git a/test/src/test/java/io/seata/core/rpc/netty/v1/ProtocolV1Server.java b/test/src/test/java/io/seata/core/rpc/netty/v1/ProtocolV1Server.java index 5ea108658d3..6d655b800e0 100644 --- a/test/src/test/java/io/seata/core/rpc/netty/v1/ProtocolV1Server.java +++ b/test/src/test/java/io/seata/core/rpc/netty/v1/ProtocolV1Server.java @@ -37,7 +37,6 @@ import java.util.concurrent.TimeUnit; /** - * @author Geng Zhang */ public class ProtocolV1Server { diff --git a/test/src/test/java/io/seata/core/rpc/netty/v1/ServerChannelHandler.java b/test/src/test/java/io/seata/core/rpc/netty/v1/ServerChannelHandler.java index 6e46e9c5b57..81d9464a392 100644 --- a/test/src/test/java/io/seata/core/rpc/netty/v1/ServerChannelHandler.java +++ b/test/src/test/java/io/seata/core/rpc/netty/v1/ServerChannelHandler.java @@ -26,7 +26,6 @@ import org.slf4j.LoggerFactory; /** - * @author Geng Zhang */ @ChannelHandler.Sharable public class ServerChannelHandler extends ChannelInboundHandlerAdapter { diff --git a/test/src/test/java/io/seata/saga/engine/StateMachineAsyncTests.java b/test/src/test/java/io/seata/saga/engine/StateMachineAsyncTests.java index 94dddbc7326..4bcea1d7953 100644 --- a/test/src/test/java/io/seata/saga/engine/StateMachineAsyncTests.java +++ b/test/src/test/java/io/seata/saga/engine/StateMachineAsyncTests.java @@ -34,7 +34,6 @@ /** * State machine async tests * - * @author lorne.cl */ public class StateMachineAsyncTests { diff --git a/test/src/test/java/io/seata/saga/engine/StateMachineTests.java b/test/src/test/java/io/seata/saga/engine/StateMachineTests.java index a1ec6668950..c44dee79471 100644 --- a/test/src/test/java/io/seata/saga/engine/StateMachineTests.java +++ b/test/src/test/java/io/seata/saga/engine/StateMachineTests.java @@ -36,7 +36,6 @@ /** * State machine tests * - * @author lorne.cl */ public class StateMachineTests { @@ -313,4 +312,4 @@ public void testSimpleStateMachineWithAsyncState() throws Exception { e.printStackTrace(); } } -} \ No newline at end of file +} diff --git a/test/src/test/java/io/seata/saga/engine/db/AbstractServerTest.java b/test/src/test/java/io/seata/saga/engine/db/AbstractServerTest.java index 40b267657d1..4d6a827bcb8 100644 --- a/test/src/test/java/io/seata/saga/engine/db/AbstractServerTest.java +++ b/test/src/test/java/io/seata/saga/engine/db/AbstractServerTest.java @@ -34,7 +34,6 @@ /** * Abstract Server Test * - * @author lorne.cl */ public abstract class AbstractServerTest { @@ -88,4 +87,4 @@ protected static final void stopSeataServer() throws InterruptedException { } } -} \ No newline at end of file +} diff --git a/test/src/test/java/io/seata/saga/engine/db/StateMachineDBTests.java b/test/src/test/java/io/seata/saga/engine/db/StateMachineDBTests.java index 4fb3d95bb92..df243c3dcca 100644 --- a/test/src/test/java/io/seata/saga/engine/db/StateMachineDBTests.java +++ b/test/src/test/java/io/seata/saga/engine/db/StateMachineDBTests.java @@ -53,7 +53,6 @@ /** * State machine tests with db log store * - * @author lorne.cl */ public class StateMachineDBTests extends AbstractServerTest { diff --git a/test/src/test/java/io/seata/saga/engine/db/mockserver/StateMachineAsyncDBMockServerTests.java b/test/src/test/java/io/seata/saga/engine/db/mockserver/StateMachineAsyncDBMockServerTests.java index 47b7f790407..c6fbb0399e4 100644 --- a/test/src/test/java/io/seata/saga/engine/db/mockserver/StateMachineAsyncDBMockServerTests.java +++ b/test/src/test/java/io/seata/saga/engine/db/mockserver/StateMachineAsyncDBMockServerTests.java @@ -34,7 +34,6 @@ /** * State machine async tests with db log store * - * @author lorne.cl */ public class StateMachineAsyncDBMockServerTests { diff --git a/test/src/test/java/io/seata/saga/engine/db/mockserver/StateMachineDBMockServerTests.java b/test/src/test/java/io/seata/saga/engine/db/mockserver/StateMachineDBMockServerTests.java index 94b6c8ece8d..9a332ea059e 100644 --- a/test/src/test/java/io/seata/saga/engine/db/mockserver/StateMachineDBMockServerTests.java +++ b/test/src/test/java/io/seata/saga/engine/db/mockserver/StateMachineDBMockServerTests.java @@ -38,7 +38,6 @@ /** * State machine tests with db log store * - * @author lorne.cl */ public class StateMachineDBMockServerTests { @@ -602,4 +601,4 @@ public void testReloadStateMachineInstance() throws Exception { System.out.println(instance); }); } -} \ No newline at end of file +} diff --git a/test/src/test/java/io/seata/saga/engine/mock/DemoException.java b/test/src/test/java/io/seata/saga/engine/mock/DemoException.java index 2d7a7b859b1..4e36c049833 100644 --- a/test/src/test/java/io/seata/saga/engine/mock/DemoException.java +++ b/test/src/test/java/io/seata/saga/engine/mock/DemoException.java @@ -18,7 +18,6 @@ /** * - * @author lorne.cl */ public class DemoException extends RuntimeException { @@ -40,4 +39,4 @@ public DemoException(Throwable cause) { public DemoException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { super(message, cause, enableSuppression, writableStackTrace); } -} \ No newline at end of file +} diff --git a/test/src/test/java/io/seata/saga/engine/mock/DemoService.java b/test/src/test/java/io/seata/saga/engine/mock/DemoService.java index 04d2c229fe5..481d1935042 100644 --- a/test/src/test/java/io/seata/saga/engine/mock/DemoService.java +++ b/test/src/test/java/io/seata/saga/engine/mock/DemoService.java @@ -21,7 +21,6 @@ import java.util.Map; /** - * @author lorne.cl */ public class DemoService { @@ -185,4 +184,4 @@ public void setName(String name) { this.name = name; } } -} \ No newline at end of file +} diff --git a/test/src/test/java/io/seata/saga/engine/mock/MockGlobalTransaction.java b/test/src/test/java/io/seata/saga/engine/mock/MockGlobalTransaction.java index 78aa1f77440..551ce3b1b7e 100644 --- a/test/src/test/java/io/seata/saga/engine/mock/MockGlobalTransaction.java +++ b/test/src/test/java/io/seata/saga/engine/mock/MockGlobalTransaction.java @@ -26,7 +26,6 @@ /** * - * @author lorne.cl */ public class MockGlobalTransaction implements GlobalTransaction { diff --git a/test/src/test/java/io/seata/saga/engine/mock/MockSagaTransactionTemplate.java b/test/src/test/java/io/seata/saga/engine/mock/MockSagaTransactionTemplate.java index 390fe841b99..5d633a9e95a 100644 --- a/test/src/test/java/io/seata/saga/engine/mock/MockSagaTransactionTemplate.java +++ b/test/src/test/java/io/seata/saga/engine/mock/MockSagaTransactionTemplate.java @@ -27,7 +27,6 @@ /** * - * @author lorne.cl */ public class MockSagaTransactionTemplate implements SagaTransactionalTemplate { @@ -82,4 +81,4 @@ public void triggerAfterCompletion(GlobalTransaction tx) { public void cleanUp() { } -} \ No newline at end of file +} diff --git a/test/src/test/java/io/seata/saga/engine/mock/MockStateHandlerInterceptor.java b/test/src/test/java/io/seata/saga/engine/mock/MockStateHandlerInterceptor.java index f3241e26f11..51935b78b68 100644 --- a/test/src/test/java/io/seata/saga/engine/mock/MockStateHandlerInterceptor.java +++ b/test/src/test/java/io/seata/saga/engine/mock/MockStateHandlerInterceptor.java @@ -25,7 +25,6 @@ /** * - * @author lorne.cl */ public class MockStateHandlerInterceptor implements StateHandlerInterceptor { @@ -45,4 +44,4 @@ public void postProcess(ProcessContext context, Exception e) throws EngineExecut public boolean match(Class clazz) { return true; } -} \ No newline at end of file +} diff --git a/test/src/test/java/io/seata/saga/engine/mock/MockStateRouterInterceptor.java b/test/src/test/java/io/seata/saga/engine/mock/MockStateRouterInterceptor.java index 80a5e685e56..0d39d4733a2 100644 --- a/test/src/test/java/io/seata/saga/engine/mock/MockStateRouterInterceptor.java +++ b/test/src/test/java/io/seata/saga/engine/mock/MockStateRouterInterceptor.java @@ -27,7 +27,6 @@ /** * - * @author lorne.cl */ public class MockStateRouterInterceptor implements StateRouterInterceptor { @@ -47,4 +46,4 @@ public void postRoute(ProcessContext context, State state, Instruction instructi public boolean match(Class clazz) { return true; } -} \ No newline at end of file +} diff --git a/tm/src/main/java/io/seata/tm/DefaultTransactionManager.java b/tm/src/main/java/io/seata/tm/DefaultTransactionManager.java index 6f10d8903cd..1a46c5a42e7 100644 --- a/tm/src/main/java/io/seata/tm/DefaultTransactionManager.java +++ b/tm/src/main/java/io/seata/tm/DefaultTransactionManager.java @@ -41,7 +41,6 @@ /** * The type Default transaction manager. * - * @author sharajava */ public class DefaultTransactionManager implements TransactionManager { diff --git a/tm/src/main/java/io/seata/tm/TMClient.java b/tm/src/main/java/io/seata/tm/TMClient.java index d9705e5c439..22eaff5de45 100644 --- a/tm/src/main/java/io/seata/tm/TMClient.java +++ b/tm/src/main/java/io/seata/tm/TMClient.java @@ -21,7 +21,6 @@ /** * The type Tm client. * - * @author slievrly */ public class TMClient { diff --git a/tm/src/main/java/io/seata/tm/TransactionManagerHolder.java b/tm/src/main/java/io/seata/tm/TransactionManagerHolder.java index 70c467d5485..503af23143f 100644 --- a/tm/src/main/java/io/seata/tm/TransactionManagerHolder.java +++ b/tm/src/main/java/io/seata/tm/TransactionManagerHolder.java @@ -25,7 +25,6 @@ /** * The type Default transaction manager. * - * @author sharajava */ public class TransactionManagerHolder { diff --git a/tm/src/main/java/io/seata/tm/api/DefaultFailureHandlerImpl.java b/tm/src/main/java/io/seata/tm/api/DefaultFailureHandlerImpl.java index 8e42cb89c43..da3861cd87b 100644 --- a/tm/src/main/java/io/seata/tm/api/DefaultFailureHandlerImpl.java +++ b/tm/src/main/java/io/seata/tm/api/DefaultFailureHandlerImpl.java @@ -32,7 +32,6 @@ /** * The type Default failure handler. * - * @author slievrly */ public class DefaultFailureHandlerImpl implements FailureHandler { diff --git a/tm/src/main/java/io/seata/tm/api/DefaultGlobalTransaction.java b/tm/src/main/java/io/seata/tm/api/DefaultGlobalTransaction.java index 472dd469d8d..b8fa6f5eb25 100644 --- a/tm/src/main/java/io/seata/tm/api/DefaultGlobalTransaction.java +++ b/tm/src/main/java/io/seata/tm/api/DefaultGlobalTransaction.java @@ -33,7 +33,6 @@ /** * The type Default global transaction. * - * @author sharajava */ public class DefaultGlobalTransaction implements GlobalTransaction { diff --git a/tm/src/main/java/io/seata/tm/api/FailureHandler.java b/tm/src/main/java/io/seata/tm/api/FailureHandler.java index e2c350a15a9..075b5b3aaba 100644 --- a/tm/src/main/java/io/seata/tm/api/FailureHandler.java +++ b/tm/src/main/java/io/seata/tm/api/FailureHandler.java @@ -19,7 +19,6 @@ /** * Callback on failure. * - * @author slievrly */ public interface FailureHandler { diff --git a/tm/src/main/java/io/seata/tm/api/FailureHandlerHolder.java b/tm/src/main/java/io/seata/tm/api/FailureHandlerHolder.java index d2e5a48d87a..4ab2cb14b01 100644 --- a/tm/src/main/java/io/seata/tm/api/FailureHandlerHolder.java +++ b/tm/src/main/java/io/seata/tm/api/FailureHandlerHolder.java @@ -17,7 +17,6 @@ package io.seata.tm.api; /** - * @author leezongjie */ public class FailureHandlerHolder { diff --git a/tm/src/main/java/io/seata/tm/api/GlobalTransaction.java b/tm/src/main/java/io/seata/tm/api/GlobalTransaction.java index c6ef0231f93..76c34feb5b6 100644 --- a/tm/src/main/java/io/seata/tm/api/GlobalTransaction.java +++ b/tm/src/main/java/io/seata/tm/api/GlobalTransaction.java @@ -23,7 +23,6 @@ /** * Global transaction. * - * @author sharajava */ public interface GlobalTransaction { diff --git a/tm/src/main/java/io/seata/tm/api/GlobalTransactionContext.java b/tm/src/main/java/io/seata/tm/api/GlobalTransactionContext.java index e99c622f29e..269f72ccefa 100644 --- a/tm/src/main/java/io/seata/tm/api/GlobalTransactionContext.java +++ b/tm/src/main/java/io/seata/tm/api/GlobalTransactionContext.java @@ -23,7 +23,6 @@ /** * GlobalTransaction API * - * @author sharajava */ public class GlobalTransactionContext { diff --git a/tm/src/main/java/io/seata/tm/api/GlobalTransactionRole.java b/tm/src/main/java/io/seata/tm/api/GlobalTransactionRole.java index dd4cc1ab941..a73aa97684d 100644 --- a/tm/src/main/java/io/seata/tm/api/GlobalTransactionRole.java +++ b/tm/src/main/java/io/seata/tm/api/GlobalTransactionRole.java @@ -19,7 +19,6 @@ /** * Role of current thread involve in a global transaction. * - * @author sharajava */ public enum GlobalTransactionRole { diff --git a/tm/src/main/java/io/seata/tm/api/TransactionalExecutor.java b/tm/src/main/java/io/seata/tm/api/TransactionalExecutor.java index 340f7f201da..e3bb70aef36 100644 --- a/tm/src/main/java/io/seata/tm/api/TransactionalExecutor.java +++ b/tm/src/main/java/io/seata/tm/api/TransactionalExecutor.java @@ -21,7 +21,6 @@ /** * Callback for executing business logic in a global transaction. * - * @author sharajava */ public interface TransactionalExecutor { diff --git a/tm/src/main/java/io/seata/tm/api/TransactionalTemplate.java b/tm/src/main/java/io/seata/tm/api/TransactionalTemplate.java index 6ec82b6f7b0..50baddbb507 100644 --- a/tm/src/main/java/io/seata/tm/api/TransactionalTemplate.java +++ b/tm/src/main/java/io/seata/tm/api/TransactionalTemplate.java @@ -36,7 +36,6 @@ /** * Template of executing business logic with a global transaction. * - * @author sharajava */ public class TransactionalTemplate { @@ -393,4 +392,4 @@ private void cleanUp() { private List getCurrentHooks() { return TransactionHookManager.getHooks(); } -} \ No newline at end of file +} diff --git a/tm/src/main/java/io/seata/tm/api/transaction/NoRollbackRule.java b/tm/src/main/java/io/seata/tm/api/transaction/NoRollbackRule.java index ba83855a922..5fa7a1ec441 100644 --- a/tm/src/main/java/io/seata/tm/api/transaction/NoRollbackRule.java +++ b/tm/src/main/java/io/seata/tm/api/transaction/NoRollbackRule.java @@ -18,7 +18,6 @@ /** - * @author guoyao */ public class NoRollbackRule extends RollbackRule { diff --git a/tm/src/main/java/io/seata/tm/api/transaction/Propagation.java b/tm/src/main/java/io/seata/tm/api/transaction/Propagation.java index 6001d6a0aac..8ac9b7d956d 100644 --- a/tm/src/main/java/io/seata/tm/api/transaction/Propagation.java +++ b/tm/src/main/java/io/seata/tm/api/transaction/Propagation.java @@ -21,7 +21,6 @@ /** * Propagation level of global transactions. * - * @author haozhibei * @see io.seata.spring.annotation.GlobalTransactional#propagation() // TM annotation * @see io.seata.spring.annotation.GlobalTransactionalInterceptor#invoke(MethodInvocation) // the interceptor of TM * @see io.seata.tm.api.TransactionalTemplate#execute(TransactionalExecutor) // the transaction template of TM diff --git a/tm/src/main/java/io/seata/tm/api/transaction/RollbackRule.java b/tm/src/main/java/io/seata/tm/api/transaction/RollbackRule.java index b17cc6a6092..68d91e113e3 100644 --- a/tm/src/main/java/io/seata/tm/api/transaction/RollbackRule.java +++ b/tm/src/main/java/io/seata/tm/api/transaction/RollbackRule.java @@ -21,7 +21,6 @@ import java.io.Serializable; /** - * @author guoyao */ public class RollbackRule implements Serializable { diff --git a/tm/src/main/java/io/seata/tm/api/transaction/SuspendedResourcesHolder.java b/tm/src/main/java/io/seata/tm/api/transaction/SuspendedResourcesHolder.java index d09bd7fab93..ddf686a9d41 100644 --- a/tm/src/main/java/io/seata/tm/api/transaction/SuspendedResourcesHolder.java +++ b/tm/src/main/java/io/seata/tm/api/transaction/SuspendedResourcesHolder.java @@ -22,8 +22,6 @@ * Holder for suspended resources to support propagation or nested logic. * Used by {@code suspend} and {@code resume} * - * @author wangzhongxiang - * @author wang.liang */ public class SuspendedResourcesHolder { diff --git a/tm/src/main/java/io/seata/tm/api/transaction/TransactionHook.java b/tm/src/main/java/io/seata/tm/api/transaction/TransactionHook.java index d9ad21d8360..3918eb3568d 100644 --- a/tm/src/main/java/io/seata/tm/api/transaction/TransactionHook.java +++ b/tm/src/main/java/io/seata/tm/api/transaction/TransactionHook.java @@ -17,7 +17,6 @@ package io.seata.tm.api.transaction; /** - * @author guoyao */ public interface TransactionHook { diff --git a/tm/src/main/java/io/seata/tm/api/transaction/TransactionHookAdapter.java b/tm/src/main/java/io/seata/tm/api/transaction/TransactionHookAdapter.java index 3920bdfb469..4d66868fa3e 100644 --- a/tm/src/main/java/io/seata/tm/api/transaction/TransactionHookAdapter.java +++ b/tm/src/main/java/io/seata/tm/api/transaction/TransactionHookAdapter.java @@ -17,7 +17,6 @@ package io.seata.tm.api.transaction; /** - * @author guoyao */ public class TransactionHookAdapter implements TransactionHook { diff --git a/tm/src/main/java/io/seata/tm/api/transaction/TransactionHookManager.java b/tm/src/main/java/io/seata/tm/api/transaction/TransactionHookManager.java index e7b68da7e38..5cfba3815ba 100644 --- a/tm/src/main/java/io/seata/tm/api/transaction/TransactionHookManager.java +++ b/tm/src/main/java/io/seata/tm/api/transaction/TransactionHookManager.java @@ -21,7 +21,6 @@ import java.util.List; /** - * @author guoyao */ public final class TransactionHookManager { diff --git a/tm/src/main/java/io/seata/tm/api/transaction/TransactionInfo.java b/tm/src/main/java/io/seata/tm/api/transaction/TransactionInfo.java index 1028d542aab..d93265a6438 100644 --- a/tm/src/main/java/io/seata/tm/api/transaction/TransactionInfo.java +++ b/tm/src/main/java/io/seata/tm/api/transaction/TransactionInfo.java @@ -23,7 +23,6 @@ import io.seata.common.util.CollectionUtils; /** - * @author guoyao */ public final class TransactionInfo implements Serializable { diff --git a/tm/src/test/java/io/seata/tm/TMClientTest.java b/tm/src/test/java/io/seata/tm/TMClientTest.java index 37f962598c0..a2dd1a6171d 100644 --- a/tm/src/test/java/io/seata/tm/TMClientTest.java +++ b/tm/src/test/java/io/seata/tm/TMClientTest.java @@ -23,7 +23,6 @@ /** * test for tmClient * - * @author Ifdevil */ public class TMClientTest { diff --git a/tm/src/test/java/io/seata/tm/TransactionManagerHolderTest.java b/tm/src/test/java/io/seata/tm/TransactionManagerHolderTest.java index 33200fef87a..a449266bc50 100644 --- a/tm/src/test/java/io/seata/tm/TransactionManagerHolderTest.java +++ b/tm/src/test/java/io/seata/tm/TransactionManagerHolderTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; /** - * @author wangwei */ class TransactionManagerHolderTest { diff --git a/tm/src/test/java/io/seata/tm/api/DefaultFailureHandlerImplTest.java b/tm/src/test/java/io/seata/tm/api/DefaultFailureHandlerImplTest.java index 616aa1d2c6d..a062fc404a3 100644 --- a/tm/src/test/java/io/seata/tm/api/DefaultFailureHandlerImplTest.java +++ b/tm/src/test/java/io/seata/tm/api/DefaultFailureHandlerImplTest.java @@ -33,7 +33,6 @@ import java.lang.reflect.Field; /** - * @author wangwei */ class DefaultFailureHandlerImplTest { private static final Logger LOGGER = LoggerFactory.getLogger(DefaultFailureHandlerImplTest.class); diff --git a/tm/src/test/java/io/seata/tm/api/DefaultGlobalTransactionTest.java b/tm/src/test/java/io/seata/tm/api/DefaultGlobalTransactionTest.java index a23888bd900..ccab61d7429 100644 --- a/tm/src/test/java/io/seata/tm/api/DefaultGlobalTransactionTest.java +++ b/tm/src/test/java/io/seata/tm/api/DefaultGlobalTransactionTest.java @@ -28,7 +28,6 @@ import org.junit.jupiter.api.Test; /** - * @author wangwei */ class DefaultGlobalTransactionTest { private static final String DEFAULT_XID = "1234567890"; diff --git a/tm/src/test/java/io/seata/tm/api/GlobalTransactionContextTest.java b/tm/src/test/java/io/seata/tm/api/GlobalTransactionContextTest.java index e9b702fcb33..f6c734636e9 100644 --- a/tm/src/test/java/io/seata/tm/api/GlobalTransactionContextTest.java +++ b/tm/src/test/java/io/seata/tm/api/GlobalTransactionContextTest.java @@ -26,7 +26,6 @@ import org.junit.jupiter.api.Test; /** - * @author wangwei */ class GlobalTransactionContextTest { private static final String DEFAULT_XID = "1234567890"; diff --git a/tm/src/test/java/io/seata/tm/api/TransactionTemplateTest.java b/tm/src/test/java/io/seata/tm/api/TransactionTemplateTest.java index 46f4c6e502d..f27f210936a 100644 --- a/tm/src/test/java/io/seata/tm/api/TransactionTemplateTest.java +++ b/tm/src/test/java/io/seata/tm/api/TransactionTemplateTest.java @@ -39,7 +39,6 @@ import static org.mockito.Mockito.when; /** - * @author guoyao */ public class TransactionTemplateTest { diff --git a/tm/src/test/java/io/seata/tm/api/transaction/MyRuntimeException.java b/tm/src/test/java/io/seata/tm/api/transaction/MyRuntimeException.java index d0f826c8464..0b491287682 100644 --- a/tm/src/test/java/io/seata/tm/api/transaction/MyRuntimeException.java +++ b/tm/src/test/java/io/seata/tm/api/transaction/MyRuntimeException.java @@ -17,7 +17,6 @@ package io.seata.tm.api.transaction; /** - * @author guoyao */ public class MyRuntimeException extends RuntimeException { diff --git a/tm/src/test/java/io/seata/tm/api/transaction/NoRollbackRuleTest.java b/tm/src/test/java/io/seata/tm/api/transaction/NoRollbackRuleTest.java index 5d3584d8d4f..6bc86feaae5 100644 --- a/tm/src/test/java/io/seata/tm/api/transaction/NoRollbackRuleTest.java +++ b/tm/src/test/java/io/seata/tm/api/transaction/NoRollbackRuleTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; /** - * @author l81893521 */ public class NoRollbackRuleTest { diff --git a/tm/src/test/java/io/seata/tm/api/transaction/RollbackRuleTest.java b/tm/src/test/java/io/seata/tm/api/transaction/RollbackRuleTest.java index e3a05aca8d8..66b41c215c6 100644 --- a/tm/src/test/java/io/seata/tm/api/transaction/RollbackRuleTest.java +++ b/tm/src/test/java/io/seata/tm/api/transaction/RollbackRuleTest.java @@ -25,7 +25,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author guoyao */ public class RollbackRuleTest { diff --git a/tm/src/test/java/io/seata/tm/api/transaction/TransactionHookManagerTest.java b/tm/src/test/java/io/seata/tm/api/transaction/TransactionHookManagerTest.java index dc999b2ecd9..4f1cef52c3d 100644 --- a/tm/src/test/java/io/seata/tm/api/transaction/TransactionHookManagerTest.java +++ b/tm/src/test/java/io/seata/tm/api/transaction/TransactionHookManagerTest.java @@ -25,7 +25,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author guoyao */ public class TransactionHookManagerTest { diff --git a/tm/src/test/java/io/seata/tm/api/transaction/TransactionInfoTest.java b/tm/src/test/java/io/seata/tm/api/transaction/TransactionInfoTest.java index f5bfa30adf2..23f08d4d4b5 100644 --- a/tm/src/test/java/io/seata/tm/api/transaction/TransactionInfoTest.java +++ b/tm/src/test/java/io/seata/tm/api/transaction/TransactionInfoTest.java @@ -25,7 +25,6 @@ import static org.assertj.core.api.Assertions.assertThat; /** - * @author guoyao */ public class TransactionInfoTest { From baf2b4ca15a217a0dc0494020e7b21d51457a295 Mon Sep 17 00:00:00 2001 From: jimin Date: Thu, 21 Dec 2023 15:49:29 +0800 Subject: [PATCH 030/183] optimize: update contributing doc (#6181) --- CONTRIBUTING.md | 30 +++++++++++++++--------------- CONTRIBUTING_CN.md | 28 ++++++++++++++-------------- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + 4 files changed, 31 insertions(+), 29 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d506212f14b..08f801cf439 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ -# Contributing to Seata +# Contributing to Apache Seata(incubating) -It is warmly welcomed if you have interest to hack on Seata. First, we encourage this kind of willing very much. And here is a list of contributing guide for you. +It is warmly welcomed if you have interest to hack on Apache Seata(incubating). First, we encourage this kind of willing very much. And here is a list of contributing guide for you. [[中文贡献文档](./CONTRIBUTING_CN.md)] @@ -15,11 +15,11 @@ It is warmly welcomed if you have interest to hack on Seata. First, we encourage ## Reporting security issues -Security issues are always treated seriously. As our usual principle, we discourage anyone to spread security issues. If you find a security issue of Seata, please do not discuss it in public and even do not open a public issue. Instead we encourage you to send us a private email to [dev-seata@googlegroups.com](mailto:dev-seata@googlegroups.com) to report this. +Security issues are always treated seriously. As our usual principle, we discourage anyone to spread security issues. If you find a security issue of Apache Seata(incubating), please do not discuss it in public and even do not open a public issue. Instead we encourage you to send us a private email to [private@seata.apache.org](mailto:private@seata.apache.org) to report this. ## Reporting general issues -To be honest, we regard every user of Seata as a very kind contributor. After experiencing Seata, you may have some feedback for the project. Then feel free to open an issue via [NEW ISSUE](https://github.com/seata/seata/issues/new/choose). +To be honest, we regard every user of Seata as a very kind contributor. After experiencing Seata, you may have some feedback for the project. Then feel free to open an issue via [NEW ISSUE](https://github.com/apache/incubator-seata/issues/new/choose). Since we collaborate project Seata in a distributed way, we appreciate **WELL-WRITTEN**, **DETAILED**, **EXPLICIT** issue reports. To make the communication more efficient, we wish everyone could search if your issue is an existing one in the searching list. If you find it existing, please add your details in comments under the existing issue instead of opening a brand new one. @@ -70,14 +70,14 @@ Since you are ready to improve Seata with a PR, we suggest you could take a look To put forward a PR, we assume you have registered a GitHub ID. Then you could finish the preparation in the following steps: -1. **FORK** Seata to your repository. To make this work, you just need to click the button Fork in right-left of [seata/seata](https://github.com/seata/seata) main page. Then you will end up with your repository in `https://github.com//seata`, in which `your-username` is your GitHub username. +1. **FORK** Seata to your repository. To make this work, you just need to click the button Fork in right-left of [apache/incubator-seata](https://github.com/apache/incubator-seata) main page. Then you will end up with your repository in `https://github.com//incubator-seata`, in which `your-username` is your GitHub username. -1. **CLONE** your own repository to develop locally. Use `git clone git@github.com:/seata.git` to clone repository to your local machine. Then you can create new branches to finish the change you wish to make. +1. **CLONE** your own repository to develop locally. Use `git clone git@github.com:/incubator-seata.git` to clone repository to your local machine. Then you can create new branches to finish the change you wish to make. -1. **Set Remote** upstream to be `git@github.com:seata/seata.git` using the following two commands: +1. **Set Remote** upstream to be `git@github.com:apache/incubator-seata.git` using the following two commands: ```bash -git remote add upstream git@github.com:seata/seata.git +git remote add upstream git@github.com:apache/incubator-seata.git git remote set-url --push upstream no-pushing ``` @@ -85,9 +85,9 @@ With this remote setting, you can check your git remote configuration like this: ```shell $ git remote -v -origin git@github.com:/seata.git (fetch) -origin git@github.com:/seata.git (push) -upstream git@github.com:seata/seata.git (fetch) +origin git@github.com:/incubator-seata.git (fetch) +origin git@github.com:/incubator-seata.git (push) +upstream git@github.com:apache/incubator-seata.git (fetch) upstream no-pushing (push) ``` @@ -95,11 +95,11 @@ Adding this, we can easily synchronize local branches with upstream branches. ### Branch Definition -Right now we assume every contribution via pull request is for [branch develop](https://github.com/seata/seata/tree/develop) in Seata. Before contributing, be aware of branch definition would help a lot. +Right now we assume every contribution via pull request is for [branch develop](https://github.com/apache/incubator-seata/tree/2.x) in Seata. Before contributing, be aware of branch definition would help a lot. As a contributor, keep in mind again that every contribution via pull request is for branch develop. While in project Seata, there are several other branches, we generally call them release branches(such as 0.6.0,0.6.1), feature branches, hotfix branches and master branch. -When officially releasing a version, there will be a release branch and named with the version number. +When officially releasing a version, there will be a release branch and named with the version number. After the release, we will merge the commit of the release branch into the master branch. @@ -186,7 +186,7 @@ Seata code style Comply with Alibaba Java Coding Guidelines. ### Guidelines -[Alibaba-Java-Coding-Guidelines](https://alibaba.github.io/Alibaba-Java-Coding-Guidelines/) +[Alibaba-Java-Coding-Guidelines](https://alibaba.github.io/Alibaba-Java-Coding-Guidelines/) ### IDE Plugin Install(not necessary) @@ -195,7 +195,7 @@ Seata code style Comply with Alibaba Java Coding Guidelines. #### idea IDE -[p3c-idea-plugin-install](https://github.com/alibaba/p3c/blob/master/idea-plugin/README.md) +[p3c-idea-plugin-install](https://github.com/alibaba/p3c/blob/master/idea-plugin/README.md) #### eclipse IDE [p3c-eclipse-plugin-install](https://github.com/alibaba/p3c/blob/master/eclipse-plugin/README.md) diff --git a/CONTRIBUTING_CN.md b/CONTRIBUTING_CN.md index 7e5503edac6..ac06dd2ffb3 100644 --- a/CONTRIBUTING_CN.md +++ b/CONTRIBUTING_CN.md @@ -1,6 +1,6 @@ -# 为 Seata 做贡献 +# 为 Apache Seata(incubating) 做贡献 -如果你有兴趣寻找关于Seata的漏洞,我们会热烈欢迎。首先,我们非常鼓励这种意愿。这是为您提供的贡献指南列表。 +如果你有兴趣寻找关于Apache Seata(incubating)的漏洞,我们会热烈欢迎。首先,我们非常鼓励这种意愿。这是为您提供的贡献指南列表。 [[English Contributing Document](./CONTRIBUTING.md)] @@ -15,11 +15,11 @@ ## 报告安全问题 -安全问题总会认真对待。通常,我们不鼓励任何人传播安全问题。如果您发现Seata的安全问题,请不要公开讨论,甚至不要公开问题。相反,我们鼓励您向 [dev-seata@googlegroups.com](mailto:dev-seata@googlegroups.com) 发送私人电子邮件 以报告此情况。 +安全问题总会认真对待。通常,我们不鼓励任何人传播安全问题。如果您发现Apache Seata(incubating)的安全问题,请不要公开讨论,甚至不要公开问题。相反,我们鼓励您向 [private@seata.apache.org](mailto:private@seata.apache.org) 发送私人电子邮件 以报告此情况。 ## 报告一般问题 -老实说,我们认为每一个 Seata 用户都是非常好的贡献者。在体验了 Seata 之后,您可能会对项目有一些反馈。那么随时可以通过 [NEW ISSUE](https://github.com/seata/seata/issues/new/choose) 来提交。 +老实说,我们认为每一个 Seata 用户都是非常好的贡献者。在体验了 Seata 之后,您可能会对项目有一些反馈。那么随时可以通过 [NEW ISSUE](https://github.com/apache/incubator-seata/issues/new/choose) 来提交。 由于我们通过分布式方式协作Seata,我们欣赏高质量,详细的,准确的问题报告。为了让沟通更高效,我们希望每个人都可以搜索下您的问题是否在搜索列表中。如果您发现它存在,请在现有问题评论中添加您的详细信息,而不是打开一个全新的问题。 @@ -70,14 +70,14 @@ 为了提出 PR,我们假设你已经注册了一个 GitHub ID。然后您可以通过以下步骤完成准备工作: -1. **FORK** Seata 到您的仓库。要完成这项工作,您只需单击 [seata/seata](https://github.com/seata/seata) 主页右侧的 Fork 按钮。然后你将得到以你的仓库为路径的项目地址:`https://github.com//seata`,其中your-username是你的 GitHub 用户名。 +1. **FORK** Seata 到您的仓库。要完成这项工作,您只需单击 [apache/incubator-seata](https://github.com/apache/incubator-seata) 主页右侧的 Fork 按钮。然后你将得到以你的仓库为路径的项目地址:`https://github.com//incubator-seata`,其中your-username是你的 GitHub 用户名。 -2. **克隆** 您自己的存储库以在本地开发. 使用 `git clone git@github.com:/seata.git` 将存储库克隆到本地计算机。 然后您可以创建新分支来完成您希望进行的更改。 +2. **克隆** 您自己的存储库以在本地开发. 使用 `git clone git@github.com:/incubator-seata.git` 将存储库克隆到本地计算机。 然后您可以创建新分支来完成您希望进行的更改。 -3. **设置远程** 将上游设置为 `git@github.com:seata/seata.git` 使用以下两个命令: +3. **设置远程** 将上游设置为 `git@github.com:apache/incubator-seata.git` 使用以下两个命令: ```bash -git remote add upstream git@github.com:seata/seata.git +git remote add upstream git@github.com:apache/incubator-seata.git git remote set-url --push upstream no-pushing ``` @@ -85,9 +85,9 @@ git remote set-url --push upstream no-pushing ```shell $ git remote -v -origin git@github.com:/seata.git (fetch) -origin git@github.com:/seata.git (push) -upstream git@github.com:seata/seata.git (fetch) +origin git@github.com:/incubator-seata.git (fetch) +origin git@github.com:/incubator-seata.git (push) +upstream git@github.com:apache/incubator-seata.git (fetch) upstream no-pushing (push) ``` @@ -95,7 +95,7 @@ upstream no-pushing (push) ### 分支定义 -现在我们假设通过拉取请求的每个贡献都是针对Seata 中的 [开发分支](https://github.com/seata/seata/tree/develop) 。在贡献之前,请注意分支定义会很有帮助。 +现在我们假设通过拉取请求的每个贡献都是针对Seata 中的 [开发分支](https://github.com/apache/incubator-seata/tree/2.x) 。在贡献之前,请注意分支定义会很有帮助。 作为贡献者,请再次记住,通过拉取请求的每个贡献都是针对分支开发的。而在Seata项目中,还有其他几个分支,我们一般称它们为release分支(如0.6.0、0.6.1)、feature分支、hotfix分支和master分支。 @@ -103,7 +103,7 @@ upstream no-pushing (push) 在发布之后,我们会将发布分支的提交合并到主分支中。 -当我们发现某个版本有bug时,我们会决定在以后的版本中修复它,或者在特定的hotfix版本中修复它。当我们决定修复hotfix版本时,我们会根据对应的release分支checkout hotfix分支,进行代码修复和验证,合并到develop分支和master分支。 +当我们发现某个版本有bug时,我们会决定在以后的版本中修复它,或者在特定的hotfix版本中修复它。当我们决定修复hotfix版本时,我们会根据对应的release分支checkout hotfix分支,进行代码修复和验证,合并到开发分支和master分支。 对于较大的功能,我们将拉出功能分支进行开发和验证。 @@ -195,7 +195,7 @@ Seata 代码风格 符合阿里巴巴 Java 编码指南。 #### idea IDE -[p3c-idea-plugin-install](https://github.com/alibaba/p3c/blob/master/idea-plugin/README.md) +[p3c-idea-plugin-install](https://github.com/alibaba/p3c/blob/master/idea-plugin/README.md) #### eclipse IDE [p3c-eclipse-plugin-install](https://github.com/alibaba/p3c/blob/master/eclipse-plugin/README.md) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 49dfc893341..a68678cd78f 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -27,6 +27,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6145](https://github.com/seata/seata/pull/6145)] upgrade jettison to 1.5.4 - [[#6164](https://github.com/seata/seata/pull/6164)] redis registry push empty protection optimize - [[#6174](https://github.com/seata/seata/pull/6174)] add ASF basic config +- [[#6181](https://github.com/seata/seata/pull/6181)] update contributing doc - [[#6179](https://github.com/seata/seata/pull/6179)] remove @author info - [[#6176](https://github.com/seata/seata/pull/6176)] update source header diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 285fc3ce642..e1f46c1b2e1 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -26,6 +26,7 @@ - [[#6116](https://github.com/seata/seata/pull/6034)] 移除 lgtm.com - [[#6164](https://github.com/seata/seata/pull/6164)] redis 注册中心推空保护优化 - [[#6174](https://github.com/seata/seata/pull/6174)] 增加 ASF 基础配置 +- [[#6181](https://github.com/seata/seata/pull/6181)] 更新贡献指引文档 - [[#6179](https://github.com/seata/seata/pull/6179)] 移除 @author 信息 - [[#6176](https://github.com/seata/seata/pull/6176)] 更新源文件header信息 From 75a12854c3c6dda5d8a2e3ff91afe789adf4e572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IT=E4=BA=91=E6=B8=85=20=20=20=20=20Seata=20Committer?= <33415199+lightClouds917@users.noreply.github.com> Date: Thu, 21 Dec 2023 16:04:16 +0800 Subject: [PATCH 031/183] optimize: update the header of License (#6178) --- changes/en-us/2.x.md | 2 ++ changes/zh-cn/2.x.md | 2 ++ .../java/io/seata/common/loader/Hello1.java | 16 +------------ .../util/NetAddressValidatorUtilTest.java | 15 ------------ .../frenchhello/io.seata.common.loader.Hello | 23 ++++++++++--------- .../seata/io.seata.common.loader.Hello | 23 ++++++++++--------- .../seata/io.seata.common.loader.Hello1 | 23 ++++++++++--------- .../seata/io.seata.common.loader.Hello2 | 23 ++++++++++--------- .../static/console-fe/build/copy-dist.js | 15 ++++++------ .../static/console-fe/build/copyDesigner.js | 17 +++++++------- .../static/console-fe/build/copyFile.js | 17 +++++++------- .../console-fe/build/webpack.base.conf.js | 15 ++++++------ .../console-fe/build/webpack.dev.conf.js | 15 ++++++------ .../console-fe/build/webpack.prod.conf.js | 15 ++++++------ .../console-fe/public/css/bootstrap.css | 15 ++++++------ .../console-fe/public/css/font-awesome.css | 15 ++++++------ .../static/console-fe/public/css/icon.css | 17 +++++++------- .../static/console-fe/public/index.html | 15 ++++++------ .../resources/static/console-fe/src/app.tsx | 15 ++++++------ .../src/components/Header/Header.tsx | 15 ++++++------ .../src/components/Header/index.scss | 15 ++++++------ .../console-fe/src/components/Header/index.ts | 17 +++++++------- .../src/components/Iframe/Iframe.tsx | 15 ++++++------ .../src/components/Iframe/index.scss | 17 +++++++------- .../console-fe/src/components/Iframe/index.ts | 15 ++++++------ .../resources/static/console-fe/src/config.ts | 15 ++++++------ .../static/console-fe/src/contants/index.ts | 15 ++++++------ .../static/console-fe/src/index.scss | 15 ++++++------ .../resources/static/console-fe/src/index.tsx | 17 +++++++------- .../static/console-fe/src/layout/index.scss | 17 +++++++------- .../static/console-fe/src/layout/index.tsx | 17 +++++++------- .../static/console-fe/src/layout/style.ts | 17 +++++++------- .../static/console-fe/src/locales/en-us.ts | 15 ++++++------ .../static/console-fe/src/locales/index.d.ts | 15 ++++++------ .../static/console-fe/src/locales/index.ts | 15 ++++++------ .../static/console-fe/src/locales/zh-cn.ts | 15 ++++++------ .../static/console-fe/src/module.d.ts | 17 +++++++------- .../pages/GlobalLockInfo/GlobalLockInfo.tsx | 15 ++++++------ .../src/pages/GlobalLockInfo/index.scss | 17 +++++++------- .../src/pages/GlobalLockInfo/index.ts | 15 ++++++------ .../console-fe/src/pages/Login/Login.tsx | 17 +++++++------- .../console-fe/src/pages/Login/index.scss | 15 ++++++------ .../console-fe/src/pages/Login/index.ts | 15 ++++++------ .../src/pages/Overview/Overview.tsx | 17 +++++++------- .../console-fe/src/pages/Overview/index.scss | 17 +++++++------- .../console-fe/src/pages/Overview/index.ts | 17 +++++++------- .../pages/TransactionInfo/TransactionInfo.tsx | 15 ++++++------ .../src/pages/TransactionInfo/index.scss | 17 +++++++------- .../src/pages/TransactionInfo/index.ts | 15 ++++++------ .../static/console-fe/src/reducers/base.ts | 15 ++++++------ .../static/console-fe/src/reducers/index.ts | 15 ++++++------ .../static/console-fe/src/reducers/locale.ts | 15 ++++++------ .../static/console-fe/src/reducers/login.ts | 15 ++++++------ .../console-fe/src/reducers/overview.ts | 15 ++++++------ .../static/console-fe/src/router.tsx | 15 ++++++------ .../static/console-fe/src/service/base.ts | 15 ++++++------ .../console-fe/src/service/globalLockInfo.ts | 15 ++++++------ .../static/console-fe/src/service/login.ts | 15 ++++++------ .../static/console-fe/src/service/overview.ts | 15 ++++++------ .../console-fe/src/service/transactionInfo.ts | 15 ++++++------ .../static/console-fe/src/utils/common.ts | 15 ++++++------ .../static/console-fe/src/utils/cookie.ts | 15 ++++++------ .../console-fe/src/utils/localstorage.ts | 15 ++++++------ .../static/console-fe/src/utils/request.ts | 15 ++++++------ .../main/resources/static/css/bootstrap.css | 15 ++++++------ .../resources/static/css/font-awesome.css | 15 ++++++------ .../src/main/resources/static/css/icon.css | 15 ++++++------ console/src/main/resources/static/index.html | 15 ++++++------ core/src/test/resources/file.conf | 13 ----------- .../src/test/resources/file.conf | 13 ----------- .../src/test/resources/file.conf | 13 ----------- .../src/test/resources/file.conf | 13 ----------- .../src/test/resources/file.conf | 13 ----------- .../src/test/resources/file.conf | 13 ----------- .../grpc/src/test/proto/contextTest.proto | 23 ++++++++++--------- mvnw | 13 +++++++---- .../io.seata.sqlparser.SQLRecognizerFactory | 23 ++++++++++--------- ...sqlparser.druid.SQLOperateRecognizerHolder | 23 ++++++++++--------- .../io.seata.sqlparser.util.DbTypeParser | 23 ++++++++++--------- rm-datasource/src/test/resources/file.conf | 13 ----------- saga/seata-saga-statemachine-designer/LICENSE | 15 ++++++------ .../src/test/resources/application.properties | 15 ------------ spring/src/test/resources/file.conf | 13 ----------- tcc/src/test/resources/file.conf | 13 ----------- tm/src/test/resources/file.conf | 13 ----------- 85 files changed, 613 insertions(+), 711 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index a68678cd78f..f66d6c652ef 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -30,6 +30,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6181](https://github.com/seata/seata/pull/6181)] update contributing doc - [[#6179](https://github.com/seata/seata/pull/6179)] remove @author info - [[#6176](https://github.com/seata/seata/pull/6176)] update source header +- [[#6178](https://github.com/apache/incubator-seata/pull/6178)] update the header of Apache License ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities @@ -56,5 +57,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [leezongjie](https://github.com/leezongjie) - [l81893521](https://github.com/l81893521) - [baiyangtx](https://github.com/baiyangtx) +- [lightClouds917](https://github.com/lightClouds917) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index e1f46c1b2e1..fe730a4cc86 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -29,6 +29,7 @@ - [[#6181](https://github.com/seata/seata/pull/6181)] 更新贡献指引文档 - [[#6179](https://github.com/seata/seata/pull/6179)] 移除 @author 信息 - [[#6176](https://github.com/seata/seata/pull/6176)] 更新源文件header信息 +- [[#6178](https://github.com/apache/incubator-seata/pull/6178)] 更新Apache License头信息 ### security: - [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 @@ -55,5 +56,6 @@ - [leezongjie](https://github.com/leezongjie) - [l81893521](https://github.com/l81893521) - [baiyangtx](https://github.com/baiyangtx) +- [lightClouds917](https://github.com/lightClouds917) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/common/src/test/java/io/seata/common/loader/Hello1.java b/common/src/test/java/io/seata/common/loader/Hello1.java index 163e3003983..f5fe1a09c45 100644 --- a/common/src/test/java/io/seata/common/loader/Hello1.java +++ b/common/src/test/java/io/seata/common/loader/Hello1.java @@ -15,21 +15,7 @@ * limitations under the License. */ package io.seata.common.loader; -/* - * Copyright 1999-2019 Seata.io Group. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + /** * The interface Hello1. diff --git a/common/src/test/java/io/seata/common/util/NetAddressValidatorUtilTest.java b/common/src/test/java/io/seata/common/util/NetAddressValidatorUtilTest.java index 5527b95f918..450d5b4c673 100644 --- a/common/src/test/java/io/seata/common/util/NetAddressValidatorUtilTest.java +++ b/common/src/test/java/io/seata/common/util/NetAddressValidatorUtilTest.java @@ -16,21 +16,6 @@ */ package io.seata.common.util; -/* - * Copyright 1999-2019 Seata.io Group. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; diff --git a/common/src/test/resources/META-INF/seata/frenchhello/io.seata.common.loader.Hello b/common/src/test/resources/META-INF/seata/frenchhello/io.seata.common.loader.Hello index 76d8cfffd8c..31ca2dc3f23 100644 --- a/common/src/test/resources/META-INF/seata/frenchhello/io.seata.common.loader.Hello +++ b/common/src/test/resources/META-INF/seata/frenchhello/io.seata.common.loader.Hello @@ -1,17 +1,18 @@ # -# Copyright 1999-2019 Seata.io Group. +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # diff --git a/common/src/test/resources/META-INF/seata/io.seata.common.loader.Hello b/common/src/test/resources/META-INF/seata/io.seata.common.loader.Hello index 81f68fa6702..d1a1cbaf07b 100644 --- a/common/src/test/resources/META-INF/seata/io.seata.common.loader.Hello +++ b/common/src/test/resources/META-INF/seata/io.seata.common.loader.Hello @@ -1,17 +1,18 @@ # -# Copyright 1999-2019 Seata.io Group. +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # io.seata.common.loader.FrenchHello diff --git a/common/src/test/resources/META-INF/seata/io.seata.common.loader.Hello1 b/common/src/test/resources/META-INF/seata/io.seata.common.loader.Hello1 index 4f33ee6f991..6e02068576d 100644 --- a/common/src/test/resources/META-INF/seata/io.seata.common.loader.Hello1 +++ b/common/src/test/resources/META-INF/seata/io.seata.common.loader.Hello1 @@ -1,17 +1,18 @@ # -# Copyright 1999-2019 Seata.io Group. +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # # use Hello interface Implementation class test and verify ClassCastException diff --git a/common/src/test/resources/META-INF/seata/io.seata.common.loader.Hello2 b/common/src/test/resources/META-INF/seata/io.seata.common.loader.Hello2 index a494329ea36..d1c2c81f027 100644 --- a/common/src/test/resources/META-INF/seata/io.seata.common.loader.Hello2 +++ b/common/src/test/resources/META-INF/seata/io.seata.common.loader.Hello2 @@ -1,17 +1,18 @@ # -# Copyright 1999-2019 Seata.io Group. +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # io.seata.common.loader.JapaneseHello diff --git a/console/src/main/resources/static/console-fe/build/copy-dist.js b/console/src/main/resources/static/console-fe/build/copy-dist.js index 226fb81a164..f31aa37f5ee 100644 --- a/console/src/main/resources/static/console-fe/build/copy-dist.js +++ b/console/src/main/resources/static/console-fe/build/copy-dist.js @@ -1,11 +1,12 @@ -/** - * Copyright 1999-2019 Seata.io Group. +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/console/src/main/resources/static/console-fe/build/copyDesigner.js b/console/src/main/resources/static/console-fe/build/copyDesigner.js index 32408fab96e..7b332972f93 100644 --- a/console/src/main/resources/static/console-fe/build/copyDesigner.js +++ b/console/src/main/resources/static/console-fe/build/copyDesigner.js @@ -1,11 +1,12 @@ -/** - * Copyright 1999-2019 Seata.io Group. +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -47,4 +48,4 @@ fs.createReadStream(path.join(designerDir, 'index.html')) fs.createReadStream(path.join(designerDir, 'dist/bundle.js')) .pipe( fs.createWriteStream(designerBundleFileName) - ); \ No newline at end of file + ); diff --git a/console/src/main/resources/static/console-fe/build/copyFile.js b/console/src/main/resources/static/console-fe/build/copyFile.js index 41a486ceeac..a6d748a19a9 100644 --- a/console/src/main/resources/static/console-fe/build/copyFile.js +++ b/console/src/main/resources/static/console-fe/build/copyFile.js @@ -1,11 +1,12 @@ -/** - * Copyright 1999-2019 Seata.io Group. +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -61,4 +62,4 @@ fs.createReadStream(path.join(designerDir, 'designer.html')) fs.createReadStream(path.join(designerDir, 'dist/bundle.js')) .pipe( fs.createWriteStream(designerBundleFileName) - ); \ No newline at end of file + ); diff --git a/console/src/main/resources/static/console-fe/build/webpack.base.conf.js b/console/src/main/resources/static/console-fe/build/webpack.base.conf.js index 922a52b3d8b..5015b98cd34 100644 --- a/console/src/main/resources/static/console-fe/build/webpack.base.conf.js +++ b/console/src/main/resources/static/console-fe/build/webpack.base.conf.js @@ -1,11 +1,12 @@ -/** - * Copyright 1999-2019 Seata.io Group. +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/console/src/main/resources/static/console-fe/build/webpack.dev.conf.js b/console/src/main/resources/static/console-fe/build/webpack.dev.conf.js index 98581c1039b..aaad482b4c0 100644 --- a/console/src/main/resources/static/console-fe/build/webpack.dev.conf.js +++ b/console/src/main/resources/static/console-fe/build/webpack.dev.conf.js @@ -1,11 +1,12 @@ -/** - * Copyright 1999-2019 Seata.io Group. +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/console/src/main/resources/static/console-fe/build/webpack.prod.conf.js b/console/src/main/resources/static/console-fe/build/webpack.prod.conf.js index a589d0826a2..99cae74a279 100644 --- a/console/src/main/resources/static/console-fe/build/webpack.prod.conf.js +++ b/console/src/main/resources/static/console-fe/build/webpack.prod.conf.js @@ -1,11 +1,12 @@ -/** - * Copyright 1999-2019 Seata.io Group. +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/console/src/main/resources/static/console-fe/public/css/bootstrap.css b/console/src/main/resources/static/console-fe/public/css/bootstrap.css index 3b985107437..e23c89d9fb9 100644 --- a/console/src/main/resources/static/console-fe/public/css/bootstrap.css +++ b/console/src/main/resources/static/console-fe/public/css/bootstrap.css @@ -1,11 +1,12 @@ -/** - * Copyright 1999-2019 Seata.io Group. +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/console/src/main/resources/static/console-fe/public/css/font-awesome.css b/console/src/main/resources/static/console-fe/public/css/font-awesome.css index c1948a20ff6..f606ecf461c 100644 --- a/console/src/main/resources/static/console-fe/public/css/font-awesome.css +++ b/console/src/main/resources/static/console-fe/public/css/font-awesome.css @@ -1,11 +1,12 @@ -/** - * Copyright 1999-2019 Seata.io Group. +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/console/src/main/resources/static/console-fe/public/css/icon.css b/console/src/main/resources/static/console-fe/public/css/icon.css index 608d8c0015d..aed7f036d88 100644 --- a/console/src/main/resources/static/console-fe/public/css/icon.css +++ b/console/src/main/resources/static/console-fe/public/css/icon.css @@ -1,11 +1,12 @@ -/** - * Copyright 1999-2019 Seata.io Group. +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -262,4 +263,4 @@ .icon-alitomcat:before { content: "\e607" !important; -} \ No newline at end of file +} diff --git a/console/src/main/resources/static/console-fe/public/index.html b/console/src/main/resources/static/console-fe/public/index.html index 24df4b8ac43..41febf8d8ee 100644 --- a/console/src/main/resources/static/console-fe/public/index.html +++ b/console/src/main/resources/static/console-fe/public/index.html @@ -1,13 +1,14 @@ ### feature: -- [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] A brief and accurate description of PR +- [[#PR_NO](https://github.com/apache/incubator-seata/pull/PR_NO)] A brief and accurate description of PR ### bugfix: -- [[#6090](https://github.com/seata/seata/pull/6090)] fix the TCC aspect exception handling process, do not wrapping the internal call exceptions -- [[#6075](https://github.com/seata/seata/pull/6075)] fix missing table alias for on update column of image SQL -- [[#6086](https://github.com/seata/seata/pull/6086)] fix oracle column alias cannot find -- [[#6085](https://github.com/seata/seata/pull/6085)] fix jdk9+ compile error -- [[#6101](https://github.com/seata/seata/pull/6101)] fix the consumer can't generate tcc proxy in dubbo 3.x version -- [[#6077](https://github.com/seata/seata/pull/6077)] fix could not rollback when table with multiple primary -- [[#6121](https://github.com/seata/seata/pull/6121)] fix the branch transaction order error when rolling back -- [[#6182](https://github.com/seata/seata/pull/6182)] fix guava-32.0.0-jre.jar zip file is empty in ci +- [[#6090](https://github.com/apache/incubator-seata/pull/6090)] fix the TCC aspect exception handling process, do not wrapping the internal call exceptions +- [[#6075](https://github.com/apache/incubator-seata/pull/6075)] fix missing table alias for on update column of image SQL +- [[#6086](https://github.com/apache/incubator-seata/pull/6086)] fix oracle column alias cannot find +- [[#6085](https://github.com/apache/incubator-seata/pull/6085)] fix jdk9+ compile error +- [[#6101](https://github.com/apache/incubator-seata/pull/6101)] fix the consumer can't generate tcc proxy in dubbo 3.x version +- [[#6077](https://github.com/apache/incubator-seata/pull/6077)] fix could not rollback when table with multiple primary +- [[#6121](https://github.com/apache/incubator-seata/pull/6121)] fix the branch transaction order error when rolling back +- [[#6182](https://github.com/apache/incubator-seata/pull/6182)] fix guava-32.0.0-jre.jar zip file is empty in ci ### optimize: -- [[#6031](https://github.com/seata/seata/pull/6031)] add a check for the existence of the undolog table -- [[#6089](https://github.com/seata/seata/pull/6089)] modify the semantics of RaftServerFactory and remove unnecessary singleton -- [[#4473](https://github.com/seata/seata/pull/4473)] rm appdata size limit -- [[#6071](https://github.com/seata/seata/pull/6071)] add git infos to jars -- [[#6042](https://github.com/seata/seata/pull/6042)] add secure authentication to interfaces in ClusterController -- [[#6091](https://github.com/seata/seata/pull/6091)] Optimizing the method of obtaining the tc address during raft authentication -- [[#6098](https://github.com/seata/seata/pull/6098)] optimize the retry logic in the acquireMetadata method -- [[#6034](https://github.com/seata/seata/pull/6034)] using namespace from command line when deployment with helm charts -- [[#6116](https://github.com/seata/seata/pull/6034)] remove lgtm.com stuff -- [[#6148](https://github.com/seata/seata/pull/6148)] support Nacos ram role authentication -- [[#6145](https://github.com/seata/seata/pull/6145)] upgrade jettison to 1.5.4 -- [[#6164](https://github.com/seata/seata/pull/6164)] redis registry push empty protection optimize -- [[#6174](https://github.com/seata/seata/pull/6174)] add ASF basic config -- [[#6181](https://github.com/seata/seata/pull/6181)] update contributing doc -- [[#6179](https://github.com/seata/seata/pull/6179)] remove @author info -- [[#6176](https://github.com/seata/seata/pull/6176)] update source header +- [[#6031](https://github.com/apache/incubator-seata/pull/6031)] add a check for the existence of the undolog table +- [[#6089](https://github.com/apache/incubator-seata/pull/6089)] modify the semantics of RaftServerFactory and remove unnecessary singleton +- [[#4473](https://github.com/apache/incubator-seata/pull/4473)] rm appdata size limit +- [[#6071](https://github.com/apache/incubator-seata/pull/6071)] add git infos to jars +- [[#6042](https://github.com/apache/incubator-seata/pull/6042)] add secure authentication to interfaces in ClusterController +- [[#6091](https://github.com/apache/incubator-seata/pull/6091)] Optimizing the method of obtaining the tc address during raft authentication +- [[#6098](https://github.com/apache/incubator-seata/pull/6098)] optimize the retry logic in the acquireMetadata method +- [[#6034](https://github.com/apache/incubator-seata/pull/6034)] using namespace from command line when deployment with helm charts +- [[#6116](https://github.com/apache/incubator-seata/pull/6034)] remove lgtm.com stuff +- [[#6148](https://github.com/apache/incubator-seata/pull/6148)] support Nacos ram role authentication +- [[#6145](https://github.com/apache/incubator-seata/pull/6145)] upgrade jettison to 1.5.4 +- [[#6164](https://github.com/apache/incubator-seata/pull/6164)] redis registry push empty protection optimize +- [[#6174](https://github.com/apache/incubator-seata/pull/6174)] add ASF basic config +- [[#6181](https://github.com/apache/incubator-seata/pull/6181)] update contributing doc +- [[#6179](https://github.com/apache/incubator-seata/pull/6179)] remove @author info +- [[#6176](https://github.com/apache/incubator-seata/pull/6176)] update source header - [[#6178](https://github.com/apache/incubator-seata/pull/6178)] update the header of Apache License - [[#6186](https://github.com/apache/incubator-seata/pull/6186)] update README.md(update mailing list and repository urls) - [[#6184](https://github.com/apache/incubator-seata/pull/6184)] update NOTICE file - [[#6194](https://github.com/apache/incubator-seata/pull/6194)] fix asf.yaml parse error -- [[#6116](https://github.com/seata/seata/pull/6116)] rewrite NettyPoolKey's hashcode and equals to fix duplicate construction of channel object pools +- [[#6116](https://github.com/apache/incubator-seata/pull/6116)] rewrite NettyPoolKey's hashcode and equals to fix duplicate construction of channel object pools +- [[#6195](https://github.com/apache/incubator-seata/pull/6195)] update the url in change log to apache/incubator-seata ### security: -- [[#6069](https://github.com/seata/seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities -- [[#6145](https://github.com/seata/seata/pull/6145)] upgrade jettison to 1.5.4 -- [[#6144](https://github.com/seata/seata/pull/6144)] upgrade nacos client to 1.4.6 -- [[#6147](https://github.com/seata/seata/pull/6147)] upgrade kafka-clients to 3.6.1 +- [[#6069](https://github.com/apache/incubator-seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities +- [[#6145](https://github.com/apache/incubator-seata/pull/6145)] upgrade jettison to 1.5.4 +- [[#6144](https://github.com/apache/incubator-seata/pull/6144)] upgrade nacos client to 1.4.6 +- [[#6147](https://github.com/apache/incubator-seata/pull/6147)] upgrade kafka-clients to 3.6.1 ### test: -- [[#6081](https://github.com/seata/seata/pull/6081)] add `test-os.yml` for testing the OS -- [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] A brief and accurate description of PR -- [[#6125](https://github.com/seata/seata/pull/6125)] unbind xid in TransactionTemplateTest +- [[#6081](https://github.com/apache/incubator-seata/pull/6081)] add `test-os.yml` for testing the OS +- [[#PR_NO](https://github.com/apache/incubator-seata/pull/PR_NO)] A brief and accurate description of PR +- [[#6125](https://github.com/apache/incubator-seata/pull/6125)] unbind xid in TransactionTemplateTest Thanks to these contributors for their code commits. Please report an unintended omission. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index bed30e7b3be..bbb822f919c 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -3,49 +3,50 @@ ### feature: -- [[#PR_NO](https://github.com/seata/seata/pull/PR_NO)] 准确简要的PR描述 +- [[#PR_NO](https://github.com/apache/incubator-seata/pull/PR_NO)] 准确简要的PR描述 ### bugfix: -- [[#6090](https://github.com/seata/seata/pull/6090)] 修复tcc切面异常处理过程,不对内部调用异常做包装处理,直接向外抛出 -- [[#6075](https://github.com/seata/seata/pull/6075)] 修复镜像SQL对于on update列没有添加表别名的问题 -- [[#6086](https://github.com/seata/seata/pull/6086)] 修复oracle alias 解析异常 -- [[#6085](https://github.com/seata/seata/pull/6085)] 修复jdk9+版本编译后,引入后ByteBuffer#flip NoSuchMethodError的问题 -- [[#6101](https://github.com/seata/seata/pull/6101)] 修复在dubbo 3.x的版本中, 消费者端不能生成tcc代理的问题 -- [[#6077](https://github.com/seata/seata/pull/6077)] 修复表存在复合主键索引导致无法回滚问题 -- [[#6121](https://github.com/seata/seata/pull/6121)] 修复回滚分支事务时没有按照时间排序的问题 -- [[#6182](https://github.com/seata/seata/pull/6182)] 修复在ci中guava-32.0.0-jre.jar zip文件为空的问题 +- [[#6090](https://github.com/apache/incubator-seata/pull/6090)] 修复tcc切面异常处理过程,不对内部调用异常做包装处理,直接向外抛出 +- [[#6075](https://github.com/apache/incubator-seata/pull/6075)] 修复镜像SQL对于on update列没有添加表别名的问题 +- [[#6086](https://github.com/apache/incubator-seata/pull/6086)] 修复oracle alias 解析异常 +- [[#6085](https://github.com/apache/incubator-seata/pull/6085)] 修复jdk9+版本编译后,引入后ByteBuffer#flip NoSuchMethodError的问题 +- [[#6101](https://github.com/apache/incubator-seata/pull/6101)] 修复在dubbo 3.x的版本中, 消费者端不能生成tcc代理的问题 +- [[#6077](https://github.com/apache/incubator-seata/pull/6077)] 修复表存在复合主键索引导致无法回滚问题 +- [[#6121](https://github.com/apache/incubator-seata/pull/6121)] 修复回滚分支事务时没有按照时间排序的问题 +- [[#6182](https://github.com/apache/incubator-seata/pull/6182)] 修复在ci中guava-32.0.0-jre.jar zip文件为空的问题 ### optimize: -- [[#6031](https://github.com/seata/seata/pull/6031)] 添加undo_log表的存在性校验 -- [[#6089](https://github.com/seata/seata/pull/6089)] 修改RaftServerFactory语义并删除不必要的单例构建 -- [[#4473](https://github.com/seata/seata/pull/4473)] rm appdata大小限制 -- [[#6071](https://github.com/seata/seata/pull/6071)] 添加git信息到JAR包中 -- [[#6042](https://github.com/seata/seata/pull/6042)] 增加raft模式鉴权机制 -- [[#6091](https://github.com/seata/seata/pull/6091)] 优化raft鉴权时获取tc地址的方式 -- [[#6098](https://github.com/seata/seata/pull/6098)] 优化acquireMetadata方法的重试逻辑 -- [[#6034](https://github.com/seata/seata/pull/6034)] 使用helm图表进行部署时使用命令行中的命名空间 -- [[#6116](https://github.com/seata/seata/pull/6034)] 移除 lgtm.com -- [[#6164](https://github.com/seata/seata/pull/6164)] redis 注册中心推空保护优化 -- [[#6174](https://github.com/seata/seata/pull/6174)] 增加 ASF 基础配置 -- [[#6148](https://github.com/seata/seata/pull/6148)] 支持 Nacos ram role 鉴权方式 -- [[#6181](https://github.com/seata/seata/pull/6181)] 更新贡献指引文档 -- [[#6179](https://github.com/seata/seata/pull/6179)] 移除 @author 信息 -- [[#6176](https://github.com/seata/seata/pull/6176)] 更新源文件header信息 +- [[#6031](https://github.com/apache/incubator-seata/pull/6031)] 添加undo_log表的存在性校验 +- [[#6089](https://github.com/apache/incubator-seata/pull/6089)] 修改RaftServerFactory语义并删除不必要的单例构建 +- [[#4473](https://github.com/apache/incubator-seata/pull/4473)] rm appdata大小限制 +- [[#6071](https://github.com/apache/incubator-seata/pull/6071)] 添加git信息到JAR包中 +- [[#6042](https://github.com/apache/incubator-seata/pull/6042)] 增加raft模式鉴权机制 +- [[#6091](https://github.com/apache/incubator-seata/pull/6091)] 优化raft鉴权时获取tc地址的方式 +- [[#6098](https://github.com/apache/incubator-seata/pull/6098)] 优化acquireMetadata方法的重试逻辑 +- [[#6034](https://github.com/apache/incubator-seata/pull/6034)] 使用helm图表进行部署时使用命令行中的命名空间 +- [[#6116](https://github.com/apache/incubator-seata/pull/6034)] 移除 lgtm.com +- [[#6164](https://github.com/apache/incubator-seata/pull/6164)] redis 注册中心推空保护优化 +- [[#6174](https://github.com/apache/incubator-seata/pull/6174)] 增加 ASF 基础配置 +- [[#6148](https://github.com/apache/incubator-seata/pull/6148)] 支持 Nacos ram role 鉴权方式 +- [[#6181](https://github.com/apache/incubator-seata/pull/6181)] 更新贡献指引文档 +- [[#6179](https://github.com/apache/incubator-seata/pull/6179)] 移除 @author 信息 +- [[#6176](https://github.com/apache/incubator-seata/pull/6176)] 更新源文件header信息 - [[#6178](https://github.com/apache/incubator-seata/pull/6178)] 更新Apache License头信息 - [[#6186](https://github.com/apache/incubator-seata/pull/6186)] 更新README.md(更新邮件列表和一些生态访问链接) - [[#6184](https://github.com/apache/incubator-seata/pull/6184)] 更新NOTICE文件 - [[#6194](https://github.com/apache/incubator-seata/pull/6194)] 修复 asf.yaml 解析错误问题 -- [[#6116](https://github.com/seata/seata/pull/6116)] 重写NettyPoolKey的hashcode和equals,修复了channel对象池重复构建问题 +- [[#6116](https://github.com/apache/incubator-seata/pull/6116)] 重写NettyPoolKey的hashcode和equals,修复了channel对象池重复构建问题 +- [[#6195](https://github.com/apache/incubator-seata/pull/6195)] 更新 change log 中的 seata url 为 apache/incubator-seata ### security: -- [[#6069](https://github.com/seata/seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 -- [[#6144](https://github.com/seata/seata/pull/6144)] 升级Nacos依赖版本至1.4.6 -- [[#6145](https://github.com/seata/seata/pull/6145)] 升级 jettison依赖版本至1.5.4 -- [[#6147](https://github.com/seata/seata/pull/6147)] 升级 kafka-clients依赖至3.6.1 +- [[#6069](https://github.com/apache/incubator-seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 +- [[#6144](https://github.com/apache/incubator-seata/pull/6144)] 升级Nacos依赖版本至1.4.6 +- [[#6145](https://github.com/apache/incubator-seata/pull/6145)] 升级 jettison依赖版本至1.5.4 +- [[#6147](https://github.com/apache/incubator-seata/pull/6147)] 升级 kafka-clients依赖至3.6.1 ### test: -- [[#6081](https://github.com/seata/seata/pull/6081)] 添加 `test-os.yml` 用于测试seata在各种操作系统下的运行情况 -- [[#6125](https://github.com/seata/seata/pull/6125)] TransactionTemplateTest单测unbind xid +- [[#6081](https://github.com/apache/incubator-seata/pull/6081)] 添加 `test-os.yml` 用于测试seata在各种操作系统下的运行情况 +- [[#6125](https://github.com/apache/incubator-seata/pull/6125)] TransactionTemplateTest单测unbind xid 非常感谢以下 contributors 的代码贡献。若有无意遗漏,请报告。 From ad62d3cfe4c6e342b89a14bc0fb01a0149e887a9 Mon Sep 17 00:00:00 2001 From: funkye Date: Sat, 23 Dec 2023 16:26:05 +0800 Subject: [PATCH 041/183] optimize: restore required_status_checks keep removing the context check (#6201) --- .asf.yaml | 6 ++++++ changes/en-us/2.x.md | 4 ++++ changes/zh-cn/2.x.md | 4 ++++ 3 files changed, 14 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index 14d1d3b6ca9..c10b2d8857c 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -30,14 +30,20 @@ github: dependabot_updates: false protected_branches: master: + required_status_checks: + strict: true required_pull_request_reviews: dismiss_stale_reviews: true required_approving_review_count: 1 develop: + required_status_checks: + strict: true required_pull_request_reviews: dismiss_stale_reviews: true required_approving_review_count: 1 2.x: + required_status_checks: + strict: true required_pull_request_reviews: dismiss_stale_reviews: true required_approving_review_count: 1 diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index d9c7ed1ee7b..b65f849f2c8 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -14,6 +14,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6077](https://github.com/apache/incubator-seata/pull/6077)] fix could not rollback when table with multiple primary - [[#6121](https://github.com/apache/incubator-seata/pull/6121)] fix the branch transaction order error when rolling back - [[#6182](https://github.com/apache/incubator-seata/pull/6182)] fix guava-32.0.0-jre.jar zip file is empty in ci +- [[#6196](https://github.com/apache/incubator-seata/pull/6196)] fix asf config file format error ### optimize: - [[#6031](https://github.com/apache/incubator-seata/pull/6031)] add a check for the existence of the undolog table @@ -38,6 +39,8 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6194](https://github.com/apache/incubator-seata/pull/6194)] fix asf.yaml parse error - [[#6116](https://github.com/apache/incubator-seata/pull/6116)] rewrite NettyPoolKey's hashcode and equals to fix duplicate construction of channel object pools - [[#6195](https://github.com/apache/incubator-seata/pull/6195)] update the url in change log to apache/incubator-seata +- [[#6200](https://github.com/apache/incubator-seata/pull/6200)] cancel required_status_checks +- [[#6201](https://github.com/apache/incubator-seata/pull/6201)] restore required_status_checks kept to remove context validation ### security: - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities @@ -68,5 +71,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [lightClouds917](https://github.com/lightClouds917) - [xingfudeshi](https://github.com/xingfudeshi) - [PleaseGiveMeTheCoke](https://github.com/PleaseGiveMeTheCoke) +- [AlbumenJ](https://github.com/AlbumenJ) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index bbb822f919c..89d217705c1 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -14,6 +14,7 @@ - [[#6077](https://github.com/apache/incubator-seata/pull/6077)] 修复表存在复合主键索引导致无法回滚问题 - [[#6121](https://github.com/apache/incubator-seata/pull/6121)] 修复回滚分支事务时没有按照时间排序的问题 - [[#6182](https://github.com/apache/incubator-seata/pull/6182)] 修复在ci中guava-32.0.0-jre.jar zip文件为空的问题 +- [[#6196](https://github.com/apache/incubator-seata/pull/6196)] 修复asf配置格式错误的问题 ### optimize: - [[#6031](https://github.com/apache/incubator-seata/pull/6031)] 添加undo_log表的存在性校验 @@ -37,6 +38,8 @@ - [[#6194](https://github.com/apache/incubator-seata/pull/6194)] 修复 asf.yaml 解析错误问题 - [[#6116](https://github.com/apache/incubator-seata/pull/6116)] 重写NettyPoolKey的hashcode和equals,修复了channel对象池重复构建问题 - [[#6195](https://github.com/apache/incubator-seata/pull/6195)] 更新 change log 中的 seata url 为 apache/incubator-seata +- [[#6200](https://github.com/apache/incubator-seata/pull/6200)] 去除required_status_checks检查 +- [[#6201](https://github.com/apache/incubator-seata/pull/6201)] 恢复required_status_checks但去除context校验 ### security: - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 @@ -66,5 +69,6 @@ - [lightClouds917](https://github.com/lightClouds917) - [xingfudeshi](https://github.com/xingfudeshi) - [PleaseGiveMeTheCoke](https://github.com/PleaseGiveMeTheCoke) +- [AlbumenJ](https://github.com/AlbumenJ) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 From e590de5f0d4f2e5d4dfe21e3a7c29bc4e3a93ed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IT=E4=BA=91=E6=B8=85=20=20=20=20=20Seata=20Committer?= <33415199+lightClouds917@users.noreply.github.com> Date: Sat, 23 Dec 2023 16:50:05 +0800 Subject: [PATCH 042/183] optimize: remove the useless file (#6192) --- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + .../rpc/netty/MessageCodecHandlerTest.java | 94 ------------------- 3 files changed, 2 insertions(+), 94 deletions(-) delete mode 100644 core/src/test/java/io/seata/core/rpc/netty/MessageCodecHandlerTest.java diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index b65f849f2c8..18938506ebc 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -36,6 +36,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6178](https://github.com/apache/incubator-seata/pull/6178)] update the header of Apache License - [[#6186](https://github.com/apache/incubator-seata/pull/6186)] update README.md(update mailing list and repository urls) - [[#6184](https://github.com/apache/incubator-seata/pull/6184)] update NOTICE file +- [[#6192](https://github.com/apache/incubator-seata/pull/6192)] remove the useless file - [[#6194](https://github.com/apache/incubator-seata/pull/6194)] fix asf.yaml parse error - [[#6116](https://github.com/apache/incubator-seata/pull/6116)] rewrite NettyPoolKey's hashcode and equals to fix duplicate construction of channel object pools - [[#6195](https://github.com/apache/incubator-seata/pull/6195)] update the url in change log to apache/incubator-seata diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 89d217705c1..4e6b7693156 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -35,6 +35,7 @@ - [[#6178](https://github.com/apache/incubator-seata/pull/6178)] 更新Apache License头信息 - [[#6186](https://github.com/apache/incubator-seata/pull/6186)] 更新README.md(更新邮件列表和一些生态访问链接) - [[#6184](https://github.com/apache/incubator-seata/pull/6184)] 更新NOTICE文件 +- [[#6192](https://github.com/apache/incubator-seata/pull/6192)] 移除无用文件 - [[#6194](https://github.com/apache/incubator-seata/pull/6194)] 修复 asf.yaml 解析错误问题 - [[#6116](https://github.com/apache/incubator-seata/pull/6116)] 重写NettyPoolKey的hashcode和equals,修复了channel对象池重复构建问题 - [[#6195](https://github.com/apache/incubator-seata/pull/6195)] 更新 change log 中的 seata url 为 apache/incubator-seata diff --git a/core/src/test/java/io/seata/core/rpc/netty/MessageCodecHandlerTest.java b/core/src/test/java/io/seata/core/rpc/netty/MessageCodecHandlerTest.java deleted file mode 100644 index 429a131ff09..00000000000 --- a/core/src/test/java/io/seata/core/rpc/netty/MessageCodecHandlerTest.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -///* -// * Copyright 1999-2019 Seata.io Group. -// * -// * Licensed under the Apache License, Version 2.0 (the "License"); -// * you may not use this file except in compliance with the License. -// * You may obtain a copy of the License at -// * -// * http://www.apache.org/licenses/LICENSE-2.0 -// * -// * Unless required by applicable law or agreed to in writing, software -// * distributed under the License is distributed on an "AS IS" BASIS, -// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// * See the License for the specific language governing permissions and -// * limitations under the License. -// */ -//package io.seata.core.rpc.netty; -// -//import java.util.ArrayList; -//import java.util.List; -// -//import io.netty.buffer.ByteBuf; -//import io.netty.buffer.UnpooledByteBufAllocator; -//import io.netty.channel.ChannelHandlerContext; -//import io.seata.core.protocol.RpcMessage; -//import io.seata.core.protocol.transaction.GlobalBeginRequest; -//import org.junit.Ignore; -//import org.junit.jupiter.api.Test; -// -//import static org.assertj.core.api.Assertions.assertThat; -//import static org.assertj.core.api.Assertions.fail; -// -//public class MessageCodecHandlerTest { -// -// @Test -// @Ignore("seata serialize can not support this way,only we can change serialize type dynamicly.") -// public void encodeAndDecode() { -// -// MessageCodecHandler messageCodecHandler = new MessageCodecHandler(); -// ByteBuf out = UnpooledByteBufAllocator.DEFAULT.directBuffer(1024); -// -// GlobalBeginRequest globalBeginRequest = new GlobalBeginRequest(); -// globalBeginRequest.setTransactionName("trans-1"); -// globalBeginRequest.setTimeout(3000); -// -// RpcMessage msg = new RpcMessage(); -// msg.setId(1); -// msg.setAsync(false); -// msg.setHeartbeat(false); -// msg.setRequest(true); -// msg.setBody(globalBeginRequest); -// ChannelHandlerContext ctx = null; -// try { -// messageCodecHandler.encode(ctx, msg, out); -// } catch (Exception e) { -// fail(e.getMessage()); -// } -// List objetcs = new ArrayList<>(); -// try { -// messageCodecHandler.decode(ctx, out, objetcs); -// } catch (Exception e) { -// fail(e.getMessage()); -// } -// -// assertThat(objetcs.size()).isEqualTo(1); -// final Object actual = objetcs.get(0); -// assertThat(actual instanceof RpcMessage).isEqualTo(true); -// -// RpcMessage rpcMessage = (RpcMessage)actual; -// -// GlobalBeginRequest decodeGlobalBeginRequest = (GlobalBeginRequest)rpcMessage.getBody(); -// assertThat(decodeGlobalBeginRequest.getTransactionName()).isEqualTo( -// globalBeginRequest.getTransactionName()); -// assertThat(decodeGlobalBeginRequest.getTimeout()).isEqualTo(globalBeginRequest.getTimeout()); -// assertThat(decodeGlobalBeginRequest.getTypeCode()).isEqualTo(globalBeginRequest.getTypeCode()); -// -// } -// -//} From 1a57f2d71dc2260d30644fe68d6f8f21b39dbb85 Mon Sep 17 00:00:00 2001 From: PeppaO <39424591+PeppaO@users.noreply.github.com> Date: Mon, 25 Dec 2023 13:35:24 +0800 Subject: [PATCH 043/183] optimize: console log optimize for "kubectl logs -f" (#6154) --- changes/en-us/2.x.md | 2 ++ changes/zh-cn/2.x.md | 3 +++ distribution/bin/seata-server.sh | 4 ++-- .../spring/listener/ServerApplicationListener.java | 8 +++++++- server/src/main/resources/logback/console-appender.xml | 9 +++++++++ 5 files changed, 23 insertions(+), 3 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 18938506ebc..93dd17f4ffd 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -38,6 +38,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6184](https://github.com/apache/incubator-seata/pull/6184)] update NOTICE file - [[#6192](https://github.com/apache/incubator-seata/pull/6192)] remove the useless file - [[#6194](https://github.com/apache/incubator-seata/pull/6194)] fix asf.yaml parse error +- [[#6154](https://github.com/apache/incubator-seata/pull/6154)] console log optimize for "kubectl logs -f" - [[#6116](https://github.com/apache/incubator-seata/pull/6116)] rewrite NettyPoolKey's hashcode and equals to fix duplicate construction of channel object pools - [[#6195](https://github.com/apache/incubator-seata/pull/6195)] update the url in change log to apache/incubator-seata - [[#6200](https://github.com/apache/incubator-seata/pull/6200)] cancel required_status_checks @@ -72,6 +73,7 @@ Thanks to these contributors for their code commits. Please report an unintended - [lightClouds917](https://github.com/lightClouds917) - [xingfudeshi](https://github.com/xingfudeshi) - [PleaseGiveMeTheCoke](https://github.com/PleaseGiveMeTheCoke) +- [PeppaO](https://github.com/PeppaO) - [AlbumenJ](https://github.com/AlbumenJ) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 4e6b7693156..632833f9473 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -37,6 +37,8 @@ - [[#6184](https://github.com/apache/incubator-seata/pull/6184)] 更新NOTICE文件 - [[#6192](https://github.com/apache/incubator-seata/pull/6192)] 移除无用文件 - [[#6194](https://github.com/apache/incubator-seata/pull/6194)] 修复 asf.yaml 解析错误问题 +- [[#6116](https://github.com/seata/seata/pull/6116)] 重写NettyPoolKey的hashcode和equals,修复了channel对象池重复构建问题 +- [[#6154](https://github.com/apache/incubator-seata/pull/6154)] 控制台日志优化 "kubectl logs -f" - [[#6116](https://github.com/apache/incubator-seata/pull/6116)] 重写NettyPoolKey的hashcode和equals,修复了channel对象池重复构建问题 - [[#6195](https://github.com/apache/incubator-seata/pull/6195)] 更新 change log 中的 seata url 为 apache/incubator-seata - [[#6200](https://github.com/apache/incubator-seata/pull/6200)] 去除required_status_checks检查 @@ -70,6 +72,7 @@ - [lightClouds917](https://github.com/lightClouds917) - [xingfudeshi](https://github.com/xingfudeshi) - [PleaseGiveMeTheCoke](https://github.com/PleaseGiveMeTheCoke) +- [PeppaO](https://github.com/PeppaO) - [AlbumenJ](https://github.com/AlbumenJ) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/distribution/bin/seata-server.sh b/distribution/bin/seata-server.sh index 3033220190e..a96b4cef9f7 100644 --- a/distribution/bin/seata-server.sh +++ b/distribution/bin/seata-server.sh @@ -193,8 +193,8 @@ while [[ $# -gt 0 ]]; do done function start_server() { - echo "$JAVACMD ${JAVA_OPT} ${NEW_ARGS} >> /dev/null 2>&1 &" - nohup $JAVACMD ${JAVA_OPT} ${NEW_ARGS} >> /dev/null 2>&1 & + echo "$JAVACMD ${JAVA_OPT} ${NEW_ARGS} &" + nohup $JAVACMD ${JAVA_OPT} ${NEW_ARGS} & echo "seata-server is starting, you can check the ${LOG_HOME}/ *.log" } diff --git a/server/src/main/java/io/seata/server/spring/listener/ServerApplicationListener.java b/server/src/main/java/io/seata/server/spring/listener/ServerApplicationListener.java index 7eb928669ec..45e28085e2b 100644 --- a/server/src/main/java/io/seata/server/spring/listener/ServerApplicationListener.java +++ b/server/src/main/java/io/seata/server/spring/listener/ServerApplicationListener.java @@ -23,6 +23,7 @@ import io.seata.spring.boot.autoconfigure.SeataCoreEnvironmentPostProcessor; import io.seata.spring.boot.autoconfigure.SeataServerEnvironmentPostProcessor; import org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent; +import org.springframework.boot.context.event.ApplicationReadyEvent; import org.springframework.boot.context.logging.LoggingApplicationListener; import org.springframework.context.ApplicationEvent; import org.springframework.context.event.GenericApplicationListener; @@ -43,11 +44,16 @@ public class ServerApplicationListener implements GenericApplicationListener { @Override public boolean supportsEventType(ResolvableType eventType) { return eventType.getRawClass() != null - && ApplicationEnvironmentPreparedEvent.class.isAssignableFrom(eventType.getRawClass()); + && (ApplicationEnvironmentPreparedEvent.class.isAssignableFrom(eventType.getRawClass()) || + ApplicationReadyEvent.class.isAssignableFrom(eventType.getRawClass())); } @Override public void onApplicationEvent(ApplicationEvent event) { + if (event instanceof ApplicationReadyEvent) { + System.setProperty("ENV_LOG_SYS_BOOT_COMPLETED", "true"); + return; + } if (!(event instanceof ApplicationEnvironmentPreparedEvent)) { return; } diff --git a/server/src/main/resources/logback/console-appender.xml b/server/src/main/resources/logback/console-appender.xml index 6aaec286d9b..5cea779f6f7 100644 --- a/server/src/main/resources/logback/console-appender.xml +++ b/server/src/main/resources/logback/console-appender.xml @@ -23,6 +23,15 @@ defaultValue="%clr(%d{HH:mm:ss.SSS}){faint} %clr(%5p) %clr(---){faint} %clr([%25.25t]){faint} %clr([%-30.30logger]){cyan} %clr([%20.20M]){faint} %clr([%X{X-TX-XID:-}]){faint} %clr(:){faint} %m%n%wEx2"/> + + + + return !"true".equals(System.getProperty("ENV_LOG_SYS_BOOT_COMPLETED")); + + + ACCEPT + DENY + ${CONSOLE_LOG_PATTERN} UTF-8 From f3b27de7725a1faeeeb7dc5501190b765d59377a Mon Sep 17 00:00:00 2001 From: dreamskyvision Date: Mon, 25 Dec 2023 17:25:02 +0800 Subject: [PATCH 044/183] bugfix: fix the problem that The incorrect configuration needs to be fixed (#6204) --- changes/en-us/2.x.md | 2 ++ changes/zh-cn/2.x.md | 2 ++ script/config-center/config.txt | 2 +- server/src/main/resources/application.example.yml | 14 -------------- 4 files changed, 5 insertions(+), 15 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 93dd17f4ffd..54b1b7e19b9 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -15,6 +15,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6121](https://github.com/apache/incubator-seata/pull/6121)] fix the branch transaction order error when rolling back - [[#6182](https://github.com/apache/incubator-seata/pull/6182)] fix guava-32.0.0-jre.jar zip file is empty in ci - [[#6196](https://github.com/apache/incubator-seata/pull/6196)] fix asf config file format error +- [[#6204](https://github.com/apache/incubator-seata/pull/6204)] fix the problem that The incorrect configuration needs to be fixed ### optimize: - [[#6031](https://github.com/apache/incubator-seata/pull/6031)] add a check for the existence of the undolog table @@ -75,5 +76,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [PleaseGiveMeTheCoke](https://github.com/PleaseGiveMeTheCoke) - [PeppaO](https://github.com/PeppaO) - [AlbumenJ](https://github.com/AlbumenJ) +- [dreamskyvision](https://github.com/dreamskyvision) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 632833f9473..887c6e47b1c 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -15,6 +15,7 @@ - [[#6121](https://github.com/apache/incubator-seata/pull/6121)] 修复回滚分支事务时没有按照时间排序的问题 - [[#6182](https://github.com/apache/incubator-seata/pull/6182)] 修复在ci中guava-32.0.0-jre.jar zip文件为空的问题 - [[#6196](https://github.com/apache/incubator-seata/pull/6196)] 修复asf配置格式错误的问题 +- [[#6204](https://github.com/apache/incubator-seata/pull/6204)] 修复错误配置问题 ### optimize: - [[#6031](https://github.com/apache/incubator-seata/pull/6031)] 添加undo_log表的存在性校验 @@ -74,5 +75,6 @@ - [PleaseGiveMeTheCoke](https://github.com/PleaseGiveMeTheCoke) - [PeppaO](https://github.com/PeppaO) - [AlbumenJ](https://github.com/AlbumenJ) +- [dreamskyvision](https://github.com/dreamskyvision) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/script/config-center/config.txt b/script/config-center/config.txt index 6a0d26b6ede..80a478ccb1d 100644 --- a/script/config-center/config.txt +++ b/script/config-center/config.txt @@ -131,7 +131,7 @@ server.enableParallelHandleBranch=false server.applicationDataLimit=64000 server.applicationDataLimitCheck=false -server.raft.cluster=127.0.0.1:7091,127.0.0.1:7092,127.0.0.1:7093 +server.raft.server-addr=127.0.0.1:7091,127.0.0.1:7092,127.0.0.1:7093 server.raft.snapshotInterval=600 server.raft.applyBatch=32 server.raft.maxAppendBufferSize=262144 diff --git a/server/src/main/resources/application.example.yml b/server/src/main/resources/application.example.yml index 7d5ae8966ff..fb4cfad34a6 100644 --- a/server/src/main/resources/application.example.yml +++ b/server/src/main/resources/application.example.yml @@ -125,20 +125,6 @@ seata: address-wait-time: 3000 server: - raft: - group: default - cluster: - snapshot-interval: 600 - apply-batch: 32 - max-append-bufferSize: 262144 - max-replicator-inflight-msgs: 256 - disruptor-buffer-size: 16384 - election-timeout-ms: 1000 - reporter-enabled: false - reporter-initial-delay: 60 - serialization: jackson - compressor: none - sync: true # sync log&snapshot to disk service-port: 8091 #If not configured, the default is '${server.port} + 1000' max-commit-retry-timeout: -1 max-rollback-retry-timeout: -1 From d2dbbff8b88e2a9d2cbe2ad3dda461e8c6646000 Mon Sep 17 00:00:00 2001 From: xingfudeshi Date: Tue, 26 Dec 2023 15:28:26 +0800 Subject: [PATCH 045/183] optimize:remove Seata-Docker link (#6218) --- README.md | 1 - changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 51cb914549d..e32ef586994 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,6 @@ Contributors are welcomed to join the Seata project. Please check [CONTRIBUTING] * [Seata GoLang](https://github.com/apache/incubator-seata-go) - Seata GoLang client and server * [Seata Samples](https://github.com/apache/incubator-seata-samples) - Samples for Seata * [Seata GoLang Simples](https://github.com/apache/incubator-seata-go-samples) - Samples for Seata GoLang -* [Seata Docker](https://github.com/seata/fescar-docker) - Seata integration with docker * [Seata K8s](https://github.com/apache/incubator-seata-k8s) - Seata integration with k8s * [Seata CLI](https://github.com/apache/incubator-seata-ctl) - CLI tool for Seata * [Awesome Seata](https://github.com/seata/awesome-fescar) - Seata's slides and video address in meetup diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 54b1b7e19b9..fb0f41b9e4d 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -44,6 +44,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6195](https://github.com/apache/incubator-seata/pull/6195)] update the url in change log to apache/incubator-seata - [[#6200](https://github.com/apache/incubator-seata/pull/6200)] cancel required_status_checks - [[#6201](https://github.com/apache/incubator-seata/pull/6201)] restore required_status_checks kept to remove context validation +- [[#6218](https://github.com/apache/incubator-seata/pull/6218)] remove Seata-Docker link ### security: - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 887c6e47b1c..e87037d13e4 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -44,6 +44,7 @@ - [[#6195](https://github.com/apache/incubator-seata/pull/6195)] 更新 change log 中的 seata url 为 apache/incubator-seata - [[#6200](https://github.com/apache/incubator-seata/pull/6200)] 去除required_status_checks检查 - [[#6201](https://github.com/apache/incubator-seata/pull/6201)] 恢复required_status_checks但去除context校验 +- [[#6218](https://github.com/apache/incubator-seata/pull/6218)] 移除Seata-Docker链接 ### security: - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 From c1e611ed717e8fd406df24077cc6541fdfd4803f Mon Sep 17 00:00:00 2001 From: will <349071347@qq.com> Date: Tue, 2 Jan 2024 11:46:24 +0800 Subject: [PATCH 046/183] test: increase common module unit test coverage (#6157) --- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + .../io/seata/common/util/ConfigTools.java | 22 ---- .../test/java/io/seata/common/BranchDO.java | 11 ++ .../AuthenticationFailedExceptionTest.java | 41 +++++++ .../exception/JsonParseExceptionTest.java | 38 ++++++ .../common/exception/RedisExceptionTest.java | 48 ++++++++ .../exception/RetryableExceptionTest.java | 41 +++++++ .../loader/EnhancedServiceLoaderTest.java | 8 ++ .../common/metadata/ClusterRoleTest.java | 34 ++++++ .../seata/common/metadata/MetadataTest.java | 110 ++++++++++++++++++ .../io/seata/common/metadata/NodeTest.java | 51 ++++++++ .../io/seata/common/util/ArrayUtilsTest.java | 4 + .../io/seata/common/util/BeanUtilsTest.java | 83 +++++++++---- .../io/seata/common/util/BlobUtilsTest.java | 4 +- .../io/seata/common/util/BufferUtilsTest.java | 77 ++++++++++++ .../seata/common/util/CompressUtilTest.java | 4 + .../io/seata/common/util/ConfigToolsTest.java | 5 + .../util/CycleDependencyHandlerTest.java | 30 +++++ .../seata/common/util/HttpClientUtilTest.java | 34 ++++++ .../io/seata/common/util/StringUtilsTest.java | 14 +++ 21 files changed, 613 insertions(+), 48 deletions(-) create mode 100644 common/src/test/java/io/seata/common/exception/AuthenticationFailedExceptionTest.java create mode 100644 common/src/test/java/io/seata/common/exception/JsonParseExceptionTest.java create mode 100644 common/src/test/java/io/seata/common/exception/RedisExceptionTest.java create mode 100644 common/src/test/java/io/seata/common/exception/RetryableExceptionTest.java create mode 100644 common/src/test/java/io/seata/common/metadata/ClusterRoleTest.java create mode 100644 common/src/test/java/io/seata/common/metadata/MetadataTest.java create mode 100644 common/src/test/java/io/seata/common/metadata/NodeTest.java create mode 100644 common/src/test/java/io/seata/common/util/BufferUtilsTest.java create mode 100644 common/src/test/java/io/seata/common/util/CycleDependencyHandlerTest.java create mode 100644 common/src/test/java/io/seata/common/util/HttpClientUtilTest.java diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index fb0f41b9e4d..d80e36ad98f 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -56,6 +56,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6081](https://github.com/apache/incubator-seata/pull/6081)] add `test-os.yml` for testing the OS - [[#PR_NO](https://github.com/apache/incubator-seata/pull/PR_NO)] A brief and accurate description of PR - [[#6125](https://github.com/apache/incubator-seata/pull/6125)] unbind xid in TransactionTemplateTest +- [[#6157](https://github.com/apache/incubator-seata/pull/6157)] increase common module unit test coverage Thanks to these contributors for their code commits. Please report an unintended omission. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index e87037d13e4..9efa4281163 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -55,6 +55,7 @@ ### test: - [[#6081](https://github.com/apache/incubator-seata/pull/6081)] 添加 `test-os.yml` 用于测试seata在各种操作系统下的运行情况 - [[#6125](https://github.com/apache/incubator-seata/pull/6125)] TransactionTemplateTest单测unbind xid +- [[#6157](https://github.com/apache/incubator-seata/pull/6157)] 增加common模块单测覆盖率 非常感谢以下 contributors 的代码贡献。若有无意遗漏,请报告。 diff --git a/common/src/main/java/io/seata/common/util/ConfigTools.java b/common/src/main/java/io/seata/common/util/ConfigTools.java index e6c4176bea2..48e15a406c2 100644 --- a/common/src/main/java/io/seata/common/util/ConfigTools.java +++ b/common/src/main/java/io/seata/common/util/ConfigTools.java @@ -25,7 +25,6 @@ import java.security.spec.PKCS8EncodedKeySpec; import java.security.spec.X509EncodedKeySpec; import java.util.Base64; -import java.util.Scanner; import javax.crypto.Cipher; /** @@ -118,25 +117,4 @@ public static byte[] base642Byte(String base64Key) { return Base64.getDecoder().decode(base64Key); } - public static void main(String[] args) throws Exception { - Scanner scan = new Scanner(System.in); - KeyPair keyPair = getKeyPair(); - String publicKeyStr = ConfigTools.getPublicKey(keyPair); - String privateKeyStr = ConfigTools.getPrivateKey(keyPair); - System.out.println("publicKeyStr:\n" + publicKeyStr); - System.out.println("privateKeyStr:\n" + privateKeyStr); - System.out.println( - "after the key is generated, please keep your key pair properly, if you need to encrypt, please enter your database password"); - System.out.println("input 'q' exit"); - while (scan.hasNextLine()) { - String password = scan.nextLine(); - if (StringUtils.isNotBlank(password) && !"q".equalsIgnoreCase(password)) { - String byte2Base64 = ConfigTools.privateEncrypt(password, privateKeyStr); - System.out.println("encryption completed: \n" + byte2Base64); - } - break; - } - scan.close(); - } - } diff --git a/common/src/test/java/io/seata/common/BranchDO.java b/common/src/test/java/io/seata/common/BranchDO.java index befc1dc4ea0..05c33b61a0d 100644 --- a/common/src/test/java/io/seata/common/BranchDO.java +++ b/common/src/test/java/io/seata/common/BranchDO.java @@ -27,6 +27,9 @@ public class BranchDO { private Integer status; private Double test; private Date gmtCreate; + public static String msg; + private final String message = "t"; + private Byte testByte; public String getXid() { return xid; @@ -48,6 +51,14 @@ public Date getGmtCreate() { return gmtCreate; } + public String getMessage() { + return message; + } + + public Byte getTestByte() { + return testByte; + } + public BranchDO() { } diff --git a/common/src/test/java/io/seata/common/exception/AuthenticationFailedExceptionTest.java b/common/src/test/java/io/seata/common/exception/AuthenticationFailedExceptionTest.java new file mode 100644 index 00000000000..a3f10a03d20 --- /dev/null +++ b/common/src/test/java/io/seata/common/exception/AuthenticationFailedExceptionTest.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.common.exception; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +/** + */ +public class AuthenticationFailedExceptionTest { + + @Test + public void testAuthenticationFailedException() { + Assertions.assertThrowsExactly(AuthenticationFailedException.class, () -> { + throw new AuthenticationFailedException(); + }); + Assertions.assertThrowsExactly(AuthenticationFailedException.class, () -> { + throw new AuthenticationFailedException("error"); + }); + Assertions.assertThrowsExactly(AuthenticationFailedException.class, () -> { + throw new AuthenticationFailedException(new Throwable("error")); + }); + Assertions.assertThrowsExactly(AuthenticationFailedException.class, () -> { + throw new AuthenticationFailedException("error", new Throwable("error")); + }); + } +} diff --git a/common/src/test/java/io/seata/common/exception/JsonParseExceptionTest.java b/common/src/test/java/io/seata/common/exception/JsonParseExceptionTest.java new file mode 100644 index 00000000000..e5425a482af --- /dev/null +++ b/common/src/test/java/io/seata/common/exception/JsonParseExceptionTest.java @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.common.exception; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +/** + */ +public class JsonParseExceptionTest { + + @Test + public void testJsonParseException() { + Assertions.assertThrowsExactly(JsonParseException.class, () -> { + throw new JsonParseException("error"); + }); + Assertions.assertThrowsExactly(JsonParseException.class, () -> { + throw new JsonParseException("error", new Throwable("error")); + }); + Assertions.assertThrowsExactly(JsonParseException.class, () -> { + throw new JsonParseException(new Throwable("error")); + }); + } +} diff --git a/common/src/test/java/io/seata/common/exception/RedisExceptionTest.java b/common/src/test/java/io/seata/common/exception/RedisExceptionTest.java new file mode 100644 index 00000000000..b83a0f20bf8 --- /dev/null +++ b/common/src/test/java/io/seata/common/exception/RedisExceptionTest.java @@ -0,0 +1,48 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.common.exception; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +/** + */ +public class RedisExceptionTest { + + @Test + public void testRedisException() { + Assertions.assertThrowsExactly(RedisException.class, () -> { + throw new RedisException(FrameworkErrorCode.UnknownAppError); + }); + Assertions.assertThrowsExactly(RedisException.class, () -> { + throw new RedisException("error"); + }); + Assertions.assertThrowsExactly(RedisException.class, () -> { + throw new RedisException("error", FrameworkErrorCode.UnknownAppError); + }); + Assertions.assertThrowsExactly(RedisException.class, () -> { + throw new RedisException(new Throwable("error"), "error", FrameworkErrorCode.UnknownAppError); + }); + Assertions.assertThrowsExactly(RedisException.class, () -> { + throw new RedisException(new Throwable("error")); + }); + Assertions.assertThrowsExactly(RedisException.class, () -> { + throw new RedisException(new Throwable("error"), "error"); + }); + + } +} diff --git a/common/src/test/java/io/seata/common/exception/RetryableExceptionTest.java b/common/src/test/java/io/seata/common/exception/RetryableExceptionTest.java new file mode 100644 index 00000000000..d0b2511f8c7 --- /dev/null +++ b/common/src/test/java/io/seata/common/exception/RetryableExceptionTest.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.common.exception; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +/** + */ +public class RetryableExceptionTest { + + @Test + public void testRetryableException() { + Assertions.assertThrowsExactly(RetryableException.class, () -> { + throw new RetryableException(); + }); + Assertions.assertThrowsExactly(RetryableException.class, () -> { + throw new RetryableException("error"); + }); + Assertions.assertThrowsExactly(RetryableException.class, () -> { + throw new RetryableException(new Throwable("error")); + }); + Assertions.assertThrowsExactly(RetryableException.class, () -> { + throw new RetryableException("error", new Throwable("error")); + }); + } +} diff --git a/common/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java b/common/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java index 566f99dd8dc..b11156d78a7 100644 --- a/common/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java +++ b/common/src/test/java/io/seata/common/loader/EnhancedServiceLoaderTest.java @@ -201,4 +201,12 @@ public void testUnloadByClassAndActivateName() throws NoSuchFieldException, Ille assertThat(classToDefinitionMap.get(EnglishHello.class)).isNull(); } + @Test + public void testUnload() { + Assertions.assertThrows(IllegalArgumentException.class, () -> EnhancedServiceLoader.unload(Hello.class, null)); + Hello load = EnhancedServiceLoader.load(Hello.class, "FrenchHello"); + Assertions.assertDoesNotThrow(() -> EnhancedServiceLoader.unload(Hello.class, "FrenchHello")); + } + + } diff --git a/common/src/test/java/io/seata/common/metadata/ClusterRoleTest.java b/common/src/test/java/io/seata/common/metadata/ClusterRoleTest.java new file mode 100644 index 00000000000..f3da6e88ff0 --- /dev/null +++ b/common/src/test/java/io/seata/common/metadata/ClusterRoleTest.java @@ -0,0 +1,34 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.common.metadata; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +/** + */ +public class ClusterRoleTest { + + @Test + public void testClusterRole() { + Assertions.assertEquals(0, ClusterRole.LEADER.getRoleCode()); + Assertions.assertEquals(1, ClusterRole.FOLLOWER.getRoleCode()); + Assertions.assertEquals(2, ClusterRole.LEARNER.getRoleCode()); + Assertions.assertEquals(3, ClusterRole.MEMBER.getRoleCode()); + Assertions.assertDoesNotThrow(() -> ClusterRole.MEMBER.setRoleCode(4)); + } +} diff --git a/common/src/test/java/io/seata/common/metadata/MetadataTest.java b/common/src/test/java/io/seata/common/metadata/MetadataTest.java new file mode 100644 index 00000000000..e119a010682 --- /dev/null +++ b/common/src/test/java/io/seata/common/metadata/MetadataTest.java @@ -0,0 +1,110 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.common.metadata; + +import io.seata.common.store.StoreMode; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.List; + +/** + */ +public class MetadataTest { + + private static Metadata metadata; + + @BeforeAll + public static void init() { + metadata = new Metadata(); + } + + @Test + public void testGetLeader() { + Assertions.assertNull(metadata.getLeader("leader")); + + Node node = new Node(); + node.setGroup("group"); + metadata.setLeaderNode("leader", node); + Assertions.assertNotNull(metadata.getLeader("leader")); + } + + @Test + public void testGetNodes() { + Assertions.assertEquals(new ArrayList<>(), metadata.getNodes("cluster")); + Assertions.assertNull(metadata.getNodes("cluster", "group")); + } + + @Test + public void testSetNodes() { + Assertions.assertDoesNotThrow(() -> metadata.setNodes("cluster", "group", new ArrayList<>())); + } + + @Test + public void testContainsGroup() { + Assertions.assertFalse(metadata.containsGroup("group")); + } + + @Test + public void testGroups() { + Assertions.assertDoesNotThrow(() -> metadata.groups("cluster")); + } + + @Test + public void testGetStoreMode() { + metadata.setStoreMode(StoreMode.RAFT); + Assertions.assertEquals(StoreMode.RAFT, metadata.getStoreMode()); + } + + @Test void testIsRaftMode() { + Assertions.assertTrue(metadata.isRaftMode()); + } + + @Test + public void testGetClusterTerm() { + Assertions.assertDoesNotThrow(() -> metadata.getClusterTerm("cluster")); + } + + @Test + public void testRefreshMetadata() { + Node node = new Node(); + node.setGroup("group"); + node.setRole(ClusterRole.LEADER); + Node node1 = new Node(); + node1.setGroup("group"); + node1.setRole(ClusterRole.FOLLOWER); + + List nodes = new ArrayList<>(); + nodes.add(node); + nodes.add(node1); + + MetadataResponse metadataResponse = new MetadataResponse(); + metadataResponse.setNodes(nodes); + metadataResponse.setStoreMode(StoreMode.RAFT.getName()); + Assertions.assertDoesNotThrow(() -> metadata.refreshMetadata("cluster", metadataResponse)); + metadataResponse.setNodes(new ArrayList<>()); + Assertions.assertDoesNotThrow(() -> metadata.refreshMetadata("cluster", metadataResponse)); + } + + @Test + public void testToString() { + Assertions.assertEquals("Metadata(leaders={}, clusterTerm={}, clusterNodes={\"cluster\"->{}}, storeMode=StoreMode.RAFT)", metadata.toString()); + } + +} diff --git a/common/src/test/java/io/seata/common/metadata/NodeTest.java b/common/src/test/java/io/seata/common/metadata/NodeTest.java new file mode 100644 index 00000000000..9ab5ed79e74 --- /dev/null +++ b/common/src/test/java/io/seata/common/metadata/NodeTest.java @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.common.metadata; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import java.util.HashMap; + +/** + */ +public class NodeTest { + + @Test + public void testNode() { + Node node = new Node(); + node.setMetadata(new HashMap<>()); + Assertions.assertEquals(new HashMap<>(), node.getMetadata()); + + Node.Endpoint endpoint = node.createEndpoint("127.0.0.1", 80, "get"); + node.setControl(endpoint); + Assertions.assertEquals(endpoint, node.getControl()); + + node.setTransaction(endpoint); + Assertions.assertEquals(endpoint, node.getTransaction()); + + Node.Endpoint endpoint1 = new Node.Endpoint(); + endpoint1.setHost("127.0.0.1"); + Assertions.assertEquals("127.0.0.1", endpoint1.getHost()); + endpoint1.setPort(80); + Assertions.assertEquals(80, endpoint1.getPort()); + Assertions.assertEquals("127.0.0.1:80", endpoint1.createAddress()); + Assertions.assertEquals("Endpoint{host='127.0.0.1', port=80}", endpoint1.toString()); + Assertions.assertEquals("Endpoint{host='127.0.0.1', port=80}", new Node.Endpoint("127.0.0.1", 80).toString()); + + } +} diff --git a/common/src/test/java/io/seata/common/util/ArrayUtilsTest.java b/common/src/test/java/io/seata/common/util/ArrayUtilsTest.java index 037fe2dd4fe..dd5a45168dc 100644 --- a/common/src/test/java/io/seata/common/util/ArrayUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/ArrayUtilsTest.java @@ -32,6 +32,10 @@ public void testToArray() { Object obj = new String[]{"1", "2", "3"}; Object[] array = ArrayUtils.toArray(obj); Assertions.assertArrayEquals(new String[]{"1", "2", "3"}, array); + + Object obj1 = new String[]{}; + Object[] array1 = ArrayUtils.toArray(obj1); + Assertions.assertArrayEquals(new String[]{}, array1); } @Test diff --git a/common/src/test/java/io/seata/common/util/BeanUtilsTest.java b/common/src/test/java/io/seata/common/util/BeanUtilsTest.java index 07377175fd6..49f7c1fee1a 100644 --- a/common/src/test/java/io/seata/common/util/BeanUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/BeanUtilsTest.java @@ -20,6 +20,11 @@ import java.util.Date; import java.util.HashMap; import java.util.Map; + +import io.seata.common.DefaultValues; +import io.seata.common.exception.NotSupportYetException; +import io.seata.common.rpc.RpcStatus; +import io.seata.common.thread.NamedThreadFactory; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; @@ -30,18 +35,30 @@ public class BeanUtilsTest { @Test - public void testBeanToStringNotNull() { - BranchDO branchDO = new BranchDO("xid123123", 123L, 1, 2.2, new Date()); - Assertions.assertNotNull(BeanUtils.beanToString(branchDO)); + public void testInit() { + BeanUtils beanUtils = new BeanUtils(); + Assertions.assertNotNull(beanUtils); } + @Test - public void testBeanToStringNull() { - BranchDO branchDO = null; - Assertions.assertNull(BeanUtils.beanToString(branchDO)); + public void testBeanToString() { + BranchDO branchDO = new BranchDO("xid123123", 123L, 1, 2.2, new Date()); + Assertions.assertNotNull(BeanUtils.beanToString(branchDO)); + // null object + Assertions.assertNull(BeanUtils.beanToString(null)); + // buffer length < 2 + Assertions.assertNotNull(BeanUtils.beanToString(new Object())); + // null val + Assertions.assertNotNull(BeanUtils.beanToString(new BranchDO(null, null, null, null, null))); } @Test - public void testMapToObjectNotNull() { + public void testMapToObject() { + // null map + BranchDO branchDO = + (BranchDO) BeanUtils.mapToObject(null, BranchDO.class); + Assertions.assertNull(branchDO); + Map map = new HashMap<>(); Date date = new Date(); map.put("xid", "192.166.166.11:9010:12423424234234"); @@ -49,25 +66,43 @@ public void testMapToObjectNotNull() { map.put("status", "2"); map.put("test", "22.22"); map.put("gmtCreate", String.valueOf(date.getTime())); - BranchDO branchDO = - (BranchDO) BeanUtils.mapToObject(map, BranchDO.class); + map.put("msg", "test"); + map.put("testByte", "1"); + branchDO = (BranchDO) BeanUtils.mapToObject(map, BranchDO.class); Assertions.assertEquals(map.get("xid"), branchDO.getXid()); Assertions.assertEquals(Long.valueOf(map.get("transactionId")), branchDO.getTransactionId()); Assertions.assertEquals(Integer.valueOf(map.get("status")), branchDO.getStatus()); Assertions.assertEquals(Double.valueOf(map.get("test")), branchDO.getTest()); Assertions.assertEquals(new Date(date.getTime()), branchDO.getGmtCreate()); - } - @Test - public void testMapToObjectNull() { - Map map = null; - BranchDO branchDO = - (BranchDO) BeanUtils.mapToObject(map, BranchDO.class); - Assertions.assertNull(branchDO); + map = new HashMap<>(); + map.put("xid", null); + map.put("transactionId", null); + map.put("status", null); + map.put("test", null); + map.put("gmtCreate", null); + branchDO = (BranchDO) BeanUtils.mapToObject(map, BranchDO.class); + Assertions.assertNull(branchDO.getXid()); + Assertions.assertNull(branchDO.getTransactionId()); + Assertions.assertNull(branchDO.getStatus()); + Assertions.assertNull(branchDO.getTest()); + Assertions.assertNull(branchDO.getGmtCreate()); + // InstantiationException + Assertions.assertThrows(NotSupportYetException.class, () -> { + Map map1 = new HashMap<>(); + map1.put("xid", "1"); + BeanUtils.mapToObject(map1, DefaultValues.class); + }); + // IllegalAccessException + Assertions.assertThrows(NotSupportYetException.class, () -> { + Map map1 = new HashMap<>(); + map1.put("xid", "1"); + BeanUtils.mapToObject(map1, RpcStatus.class); + }); } @Test - public void testObjectToMapNotNull() { + public void testObjectToMap() { BranchDO branchDO = new BranchDO("xid123123", 123L, 1, 2.2, new Date()); Map map = BeanUtils.objectToMap(branchDO); Assertions.assertEquals(branchDO.getXid(), map.get("xid")); @@ -75,13 +110,13 @@ public void testObjectToMapNotNull() { Assertions.assertEquals(branchDO.getStatus(), Integer.valueOf(map.get("status"))); Assertions.assertEquals(branchDO.getTest(), Double.valueOf(map.get("test"))); Assertions.assertEquals(branchDO.getGmtCreate().getTime(),Long.valueOf(map.get("gmtCreate"))); - } - @Test - public void testObjectToMapNull() { - BranchDO branchDO = null; - Map map = BeanUtils.objectToMap(branchDO); - Assertions.assertNull(map); - } + Assertions.assertNull(BeanUtils.objectToMap(null)); + // date is null / field is null + branchDO = new BranchDO("xid123123", null, 1, 2.2, null); + map = BeanUtils.objectToMap(branchDO); + Assertions.assertNull(map.get("gmtCreate")); + Assertions.assertEquals("", map.get("transactionId")); + } } diff --git a/common/src/test/java/io/seata/common/util/BlobUtilsTest.java b/common/src/test/java/io/seata/common/util/BlobUtilsTest.java index 0d767137efd..8ae1965daf6 100644 --- a/common/src/test/java/io/seata/common/util/BlobUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/BlobUtilsTest.java @@ -58,7 +58,7 @@ public void testBlob2string() throws SQLException { } @Test - void bytes2Blob() throws UnsupportedEncodingException, SQLException { + public void testBytes2Blob() throws UnsupportedEncodingException, SQLException { assertNull(BlobUtils.bytes2Blob(null)); byte[] bs = "xxaaadd".getBytes(Constants.DEFAULT_CHARSET_NAME); assertThat(BlobUtils.bytes2Blob(bs)).isEqualTo( @@ -66,7 +66,7 @@ void bytes2Blob() throws UnsupportedEncodingException, SQLException { } @Test - void blob2Bytes() throws UnsupportedEncodingException, SQLException { + public void testBlob2Bytes() throws UnsupportedEncodingException, SQLException { assertNull(BlobUtils.blob2Bytes(null)); byte[] bs = "xxaaadd".getBytes(Constants.DEFAULT_CHARSET_NAME); assertThat(BlobUtils.blob2Bytes(new SerialBlob(bs))).isEqualTo( diff --git a/common/src/test/java/io/seata/common/util/BufferUtilsTest.java b/common/src/test/java/io/seata/common/util/BufferUtilsTest.java new file mode 100644 index 00000000000..33713d0cbd3 --- /dev/null +++ b/common/src/test/java/io/seata/common/util/BufferUtilsTest.java @@ -0,0 +1,77 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.common.util; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import java.nio.ByteBuffer; + +/** + */ +public class BufferUtilsTest { + + @Test + public void testFlip() { + ByteBuffer byteBuffer = ByteBuffer.allocate(4); + byteBuffer.putInt(1); + Assertions.assertDoesNotThrow(() -> BufferUtils.flip(byteBuffer)); + } + + @Test + public void testClear() { + ByteBuffer byteBuffer = ByteBuffer.allocate(4); + byteBuffer.putInt(1); + Assertions.assertDoesNotThrow(() -> BufferUtils.clear(byteBuffer)); + } + + @Test + public void testLimit() { + ByteBuffer byteBuffer = ByteBuffer.allocate(4); + byteBuffer.putInt(1); + Assertions.assertDoesNotThrow(() -> BufferUtils.limit(byteBuffer, 4)); + } + + @Test + public void testMark() { + ByteBuffer byteBuffer = ByteBuffer.allocate(4); + byteBuffer.putInt(1); + Assertions.assertDoesNotThrow(() -> BufferUtils.mark(byteBuffer)); + } + + @Test + public void testPosition() { + ByteBuffer byteBuffer = ByteBuffer.allocate(4); + byteBuffer.putInt(1); + Assertions.assertDoesNotThrow(() -> BufferUtils.position(byteBuffer, 0)); + } + + @Test + public void testRewind() { + ByteBuffer byteBuffer = ByteBuffer.allocate(4); + byteBuffer.putInt(1); + Assertions.assertDoesNotThrow(() -> BufferUtils.rewind(byteBuffer)); + } + + @Test + public void testReset() { + ByteBuffer byteBuffer = ByteBuffer.allocate(4); + byteBuffer.putInt(1); + BufferUtils.mark(byteBuffer); + Assertions.assertDoesNotThrow(() -> BufferUtils.reset(byteBuffer)); + } +} diff --git a/common/src/test/java/io/seata/common/util/CompressUtilTest.java b/common/src/test/java/io/seata/common/util/CompressUtilTest.java index cd768b5171a..10982c39b97 100644 --- a/common/src/test/java/io/seata/common/util/CompressUtilTest.java +++ b/common/src/test/java/io/seata/common/util/CompressUtilTest.java @@ -35,6 +35,10 @@ public class CompressUtilTest { final byte[] compressedBytes2 = new byte[]{31, -117, 8, 0, 0, 0, 0, 0, 0, -1, 99, 100, 98, 6, 0, 29, -128, -68, 85, 3, 0, 0, 0}; + @Test + public void testInit() { + Assertions.assertNotNull(new CompressUtil()); + } @Test @EnabledOnJre({JRE.JAVA_8, JRE.JAVA_11}) diff --git a/common/src/test/java/io/seata/common/util/ConfigToolsTest.java b/common/src/test/java/io/seata/common/util/ConfigToolsTest.java index eca1cc9c06e..4a3eaa85b38 100644 --- a/common/src/test/java/io/seata/common/util/ConfigToolsTest.java +++ b/common/src/test/java/io/seata/common/util/ConfigToolsTest.java @@ -25,6 +25,11 @@ */ public class ConfigToolsTest { + @Test + public void testInit() { + Assertions.assertNotNull(new ConfigTools()); + } + @Test public void test() throws Exception { KeyPair keyPair = ConfigTools.getKeyPair(); diff --git a/common/src/test/java/io/seata/common/util/CycleDependencyHandlerTest.java b/common/src/test/java/io/seata/common/util/CycleDependencyHandlerTest.java new file mode 100644 index 00000000000..c1abff98f94 --- /dev/null +++ b/common/src/test/java/io/seata/common/util/CycleDependencyHandlerTest.java @@ -0,0 +1,30 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.common.util; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +/** + */ +public class CycleDependencyHandlerTest { + + @Test + public void testContainsObject() { + Assertions.assertFalse(CycleDependencyHandler.containsObject(null)); + } +} diff --git a/common/src/test/java/io/seata/common/util/HttpClientUtilTest.java b/common/src/test/java/io/seata/common/util/HttpClientUtilTest.java new file mode 100644 index 00000000000..cdc83c1d990 --- /dev/null +++ b/common/src/test/java/io/seata/common/util/HttpClientUtilTest.java @@ -0,0 +1,34 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.common.util; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import java.io.IOException; +import java.util.HashMap; + +/** + */ +public class HttpClientUtilTest { + + @Test + public void testDoPost() throws IOException { + Assertions.assertNull(HttpClientUtil.doPost("test", new HashMap<>(), new HashMap<>(), 0)); + Assertions.assertNull(HttpClientUtil.doGet("test", new HashMap<>(), new HashMap<>(), 0)); + } +} diff --git a/common/src/test/java/io/seata/common/util/StringUtilsTest.java b/common/src/test/java/io/seata/common/util/StringUtilsTest.java index 168e885c597..eb14f387348 100644 --- a/common/src/test/java/io/seata/common/util/StringUtilsTest.java +++ b/common/src/test/java/io/seata/common/util/StringUtilsTest.java @@ -390,4 +390,18 @@ void checkDataSize() { ); assertThat( StringUtils.checkDataSize("1234567","testdata",6,false)).isEqualTo(Boolean.FALSE); } + + @Test + public void testHasLowerCase() { + Assertions.assertFalse(StringUtils.hasLowerCase(null)); + Assertions.assertFalse(StringUtils.hasLowerCase("A")); + Assertions.assertTrue(StringUtils.hasLowerCase("a")); + } + + @Test + public void testHasUpperCase() { + Assertions.assertFalse(StringUtils.hasUpperCase(null)); + Assertions.assertFalse(StringUtils.hasUpperCase("a")); + Assertions.assertTrue(StringUtils.hasUpperCase("A")); + } } From 6011c68f58b9bdc5d14f259b39ea49572c9c6f32 Mon Sep 17 00:00:00 2001 From: ggbocoder <119659920+ggbocoder@users.noreply.github.com> Date: Tue, 2 Jan 2024 11:47:00 +0800 Subject: [PATCH 047/183] optimize: validate that the primary key is free of illegal characters (#6227) --- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + .../exec/BaseTransactionalExecutor.java | 16 ++++++++++++++-- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index d80e36ad98f..5cca46050ee 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -45,6 +45,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6200](https://github.com/apache/incubator-seata/pull/6200)] cancel required_status_checks - [[#6201](https://github.com/apache/incubator-seata/pull/6201)] restore required_status_checks kept to remove context validation - [[#6218](https://github.com/apache/incubator-seata/pull/6218)] remove Seata-Docker link +- [[#6227](https://github.com/apache/incubator-seata/pull/6227)] validate that the primary key is free of illegal characters ### security: - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 9efa4281163..a8d6b4e099c 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -45,6 +45,7 @@ - [[#6200](https://github.com/apache/incubator-seata/pull/6200)] 去除required_status_checks检查 - [[#6201](https://github.com/apache/incubator-seata/pull/6201)] 恢复required_status_checks但去除context校验 - [[#6218](https://github.com/apache/incubator-seata/pull/6218)] 移除Seata-Docker链接 +- [[#6227](https://github.com/apache/incubator-seata/pull/6227)] 校验pk中不含逗号 ### security: - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 diff --git a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java index 4f8ef03e7d8..93f706a0e6a 100644 --- a/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java +++ b/rm-datasource/src/main/java/io/seata/rm/datasource/exec/BaseTransactionalExecutor.java @@ -411,6 +411,17 @@ protected void prepareUndoLog(TableRecords beforeImage, TableRecords afterImage) } } + /** + * validate that the primary key is free of illegal characters + * + * @param pkVal primary key value + */ + protected void validPk(String pkVal) { + if (pkVal.contains(",")) { + throw new IllegalArgumentException(pkVal + " contains illegal character!"); + } + } + /** * build lockKey * @@ -421,7 +432,6 @@ protected String buildLockKey(TableRecords rowsIncludingPK) { if (rowsIncludingPK.size() == 0) { return null; } - StringBuilder sb = new StringBuilder(); sb.append(rowsIncludingPK.getTableMeta().getTableName()); sb.append(":"); @@ -434,7 +444,9 @@ protected String buildLockKey(TableRecords rowsIncludingPK) { if (pkSplitIndex > 0) { sb.append("_"); } - sb.append(rowMap.get(pkName).getValue()); + Object pkVal = rowMap.get(pkName).getValue(); + validPk(String.valueOf(pkVal)); + sb.append(pkVal); pkSplitIndex++; } rowSequence++; From 2363715c05529ddd6d5aa6c2472bd550e4c7cabf Mon Sep 17 00:00:00 2001 From: jsbxyyx Date: Thu, 4 Jan 2024 18:01:38 +0800 Subject: [PATCH 048/183] optimize: RM TM startup connect server fail fast (#6004) --- changes/en-us/2.0.0.md | 1 - changes/en-us/2.x.md | 2 + changes/zh-cn/2.x.md | 2 + .../io/seata/common/ConfigurationKeys.java | 10 ++ .../java/io/seata/common/DefaultValues.java | 2 + .../io/seata/common/util/StringUtils.java | 28 +++++ .../core/rpc/netty/AbstractNettyRemoting.java | 1 + .../netty/AbstractNettyRemotingClient.java | 8 +- .../rpc/netty/NettyClientChannelManager.java | 110 ++++++++++++------ .../core/rpc/netty/NettyClientConfig.java | 1 + .../core/rpc/netty/RmNettyRemotingClient.java | 10 +- .../core/rpc/netty/TmNettyRemotingClient.java | 5 +- .../core/rpc/netty/RmNettyClientTest.java | 50 ++++++++ .../core/rpc/netty/TmNettyClientTest.java | 31 +++++ core/src/test/resources/file.conf | 4 + test/src/test/resources/file.conf | 4 + tm/src/test/resources/file.conf | 6 +- 17 files changed, 234 insertions(+), 41 deletions(-) diff --git a/changes/en-us/2.0.0.md b/changes/en-us/2.0.0.md index 6768f6311cb..7b8757be94d 100644 --- a/changes/en-us/2.0.0.md +++ b/changes/en-us/2.0.0.md @@ -156,7 +156,6 @@ The version is updated as follows: - [[#6002](https://github.com/seata/seata/pull/6002)] remove fst serialization - [[#6045](https://github.com/seata/seata/pull/6045)] optimize derivative product check base on mysql - ### security: - [[#5642](https://github.com/seata/seata/pull/5642)] add Hessian Serializer WhiteDenyList - [[#5694](https://github.com/seata/seata/pull/5694)] fix several node.js security vulnerabilities diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 5cca46050ee..212713e365f 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -46,6 +46,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6201](https://github.com/apache/incubator-seata/pull/6201)] restore required_status_checks kept to remove context validation - [[#6218](https://github.com/apache/incubator-seata/pull/6218)] remove Seata-Docker link - [[#6227](https://github.com/apache/incubator-seata/pull/6227)] validate that the primary key is free of illegal characters +- [[#6004](https://github.com/seata/seata/pull/6004)] optimize RM TM startup connect server fail fast ### security: - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities @@ -80,5 +81,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [PeppaO](https://github.com/PeppaO) - [AlbumenJ](https://github.com/AlbumenJ) - [dreamskyvision](https://github.com/dreamskyvision) +- [jsbxyyx](https://github.com/jsbxyyx) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index a8d6b4e099c..033e850c5ad 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -46,6 +46,7 @@ - [[#6201](https://github.com/apache/incubator-seata/pull/6201)] 恢复required_status_checks但去除context校验 - [[#6218](https://github.com/apache/incubator-seata/pull/6218)] 移除Seata-Docker链接 - [[#6227](https://github.com/apache/incubator-seata/pull/6227)] 校验pk中不含逗号 +- [[#6004](https://github.com/seata/seata/pull/6004)] 优化RM,TM连接server快速失败 ### security: - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 @@ -79,5 +80,6 @@ - [PeppaO](https://github.com/PeppaO) - [AlbumenJ](https://github.com/AlbumenJ) - [dreamskyvision](https://github.com/dreamskyvision) +- [jsbxyyx](https://github.com/jsbxyyx) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/common/src/main/java/io/seata/common/ConfigurationKeys.java b/common/src/main/java/io/seata/common/ConfigurationKeys.java index b54b3849cc7..55ffe2d7d53 100644 --- a/common/src/main/java/io/seata/common/ConfigurationKeys.java +++ b/common/src/main/java/io/seata/common/ConfigurationKeys.java @@ -638,6 +638,16 @@ public interface ConfigurationKeys { */ String ENABLE_TM_CLIENT_BATCH_SEND_REQUEST = TRANSPORT_PREFIX + "enableTmClientBatchSendRequest"; + /** + * The constant ENABLE_RM_CLIENT_CHANNEL_CHECK_FAIL_FAST + */ + String ENABLE_TM_CLIENT_CHANNEL_CHECK_FAIL_FAST = TRANSPORT_PREFIX + "enableTmClientChannelCheckFailFast"; + + /** + * The constant ENABLE_RM_CLIENT_CHANNEL_CHECK_FAIL_FAST + */ + String ENABLE_RM_CLIENT_CHANNEL_CHECK_FAIL_FAST = TRANSPORT_PREFIX + "enableRmClientChannelCheckFailFast"; + /** * The constant ENABLE_RM_CLIENT_BATCH_SEND_REQUEST */ diff --git a/common/src/main/java/io/seata/common/DefaultValues.java b/common/src/main/java/io/seata/common/DefaultValues.java index 56cc225a556..0db7db8b0d7 100644 --- a/common/src/main/java/io/seata/common/DefaultValues.java +++ b/common/src/main/java/io/seata/common/DefaultValues.java @@ -60,6 +60,8 @@ public interface DefaultValues { boolean DEFAULT_ENABLE_RM_CLIENT_BATCH_SEND_REQUEST = true; boolean DEFAULT_ENABLE_TC_SERVER_BATCH_SEND_RESPONSE = false; + boolean DEFAULT_CLIENT_CHANNEL_CHECK_FAIL_FAST = true; + String DEFAULT_BOSS_THREAD_PREFIX = "NettyBoss"; String DEFAULT_NIO_WORKER_THREAD_PREFIX = "NettyServerNIOWorker"; String DEFAULT_EXECUTOR_THREAD_PREFIX = "NettyServerBizHandler"; diff --git a/common/src/main/java/io/seata/common/util/StringUtils.java b/common/src/main/java/io/seata/common/util/StringUtils.java index 94cc53d43f6..a4a1e8e3112 100644 --- a/common/src/main/java/io/seata/common/util/StringUtils.java +++ b/common/src/main/java/io/seata/common/util/StringUtils.java @@ -25,6 +25,7 @@ import java.text.SimpleDateFormat; import java.util.Collection; import java.util.Date; +import java.util.Iterator; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -399,4 +400,31 @@ public static boolean hasUpperCase(String str) { return false; } + public static String join(Iterator iterator, String separator) { + if (iterator == null) { + return null; + } + if (!iterator.hasNext()) { + return EMPTY; + } + Object first = iterator.next(); + if (!iterator.hasNext()) { + return first == null ? "" : first.toString(); + } + StringBuilder builder = new StringBuilder(256); + if (first != null) { + builder.append(first); + } + while (iterator.hasNext()) { + if (separator != null) { + builder.append(separator); + } + Object obj = iterator.next(); + if (obj != null) { + builder.append(obj); + } + } + return builder.toString(); + } + } diff --git a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java index cad610c6ed2..44f4547f7e5 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java +++ b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemoting.java @@ -58,6 +58,7 @@ public abstract class AbstractNettyRemoting implements Disposable { private static final Logger LOGGER = LoggerFactory.getLogger(AbstractNettyRemoting.class); + /** * The Timer executor. */ diff --git a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java index 2a9248828ca..9f62732cc75 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java +++ b/core/src/main/java/io/seata/core/rpc/netty/AbstractNettyRemotingClient.java @@ -104,7 +104,13 @@ public abstract class AbstractNettyRemotingClient extends AbstractNettyRemoting @Override public void init() { - timerExecutor.scheduleAtFixedRate(() -> clientChannelManager.reconnect(getTransactionServiceGroup()), SCHEDULE_DELAY_MILLS, SCHEDULE_INTERVAL_MILLS, TimeUnit.MILLISECONDS); + timerExecutor.scheduleAtFixedRate(() -> { + try { + clientChannelManager.reconnect(getTransactionServiceGroup()); + } catch (Exception ex) { + LOGGER.warn("reconnect server failed. {}", ex.getMessage()); + } + }, SCHEDULE_DELAY_MILLS, SCHEDULE_INTERVAL_MILLS, TimeUnit.MILLISECONDS); if (this.isEnableClientBatchSendRequest()) { mergeSendExecutorService = new ThreadPoolExecutor(MAX_MERGE_SEND_THREAD, MAX_MERGE_SEND_THREAD, diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyClientChannelManager.java b/core/src/main/java/io/seata/core/rpc/netty/NettyClientChannelManager.java index 956f80b6bbf..7cd79a76fe9 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyClientChannelManager.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyClientChannelManager.java @@ -158,13 +158,73 @@ void destroyChannel(String serverAddress, Channel channel) { } } + /** + * Reconnect to remote server of current transaction service group. + * + * @param transactionServiceGroup transaction service group + */ + void reconnect(String transactionServiceGroup) { + doReconnect(transactionServiceGroup, false); + } + + /** + * Init reconnect to remote server of current transaction service group. + * @param transactionServiceGroup + * @param failFast + */ + void initReconnect(String transactionServiceGroup, boolean failFast) { + doReconnect(transactionServiceGroup, failFast); + } + + /** + * reconnect to remote server of current transaction service group. + * @param transactionServiceGroup + * @param failFast + */ + void doReconnect(String transactionServiceGroup, boolean failFast) { + List availList; + try { + availList = getAvailServerList(transactionServiceGroup); + } catch (Exception e) { + LOGGER.error("Failed to get available servers: {}", e.getMessage(), e); + throwFailFastException(failFast, "Failed to get available servers"); + return; + } + if (CollectionUtils.isEmpty(availList)) { + RegistryService registryService = RegistryFactory.getInstance(); + String clusterName = registryService.getServiceGroup(transactionServiceGroup); + + if (StringUtils.isBlank(clusterName)) { + LOGGER.error("can not get cluster name in registry config '{}{}', please make sure registry config correct", + ConfigurationKeys.SERVICE_GROUP_MAPPING_PREFIX, + transactionServiceGroup); + throwFailFastException(failFast, "can not get cluster name in registry config."); + return; + } + + if (!(registryService instanceof FileRegistryServiceImpl)) { + LOGGER.error("no available service found in cluster '{}', please make sure registry config correct and keep your seata server running", clusterName); + } + throwFailFastException(failFast, "no available service found in cluster."); + return; + } + try { + doReconnect(availList, transactionServiceGroup); + } catch (Exception e) { + if (failFast) { + throw e; + } + LOGGER.error("connect server failed. {}", e.getMessage(), e); + } + } + /** * Reconnect to remote server of current transaction service group. * * @param availList avail list * @param transactionServiceGroup transaction service group */ - void reconnect(List availList, String transactionServiceGroup) { + void doReconnect(List availList, String transactionServiceGroup) { Set channelAddress = new HashSet<>(availList.size()); Map failedMap = new HashMap<>(); try { @@ -178,12 +238,17 @@ void reconnect(List availList, String transactionServiceGroup) { } if (failedMap.size() > 0) { if (LOGGER.isInfoEnabled()) { - LOGGER.error("{} can not connect to {} cause:{}", FrameworkErrorCode.NetConnect.getErrCode(), failedMap.keySet(), failedMap.values().stream().map(Throwable::getMessage).collect(Collectors.toSet())); + LOGGER.error("{} can not connect to {} cause:{}", FrameworkErrorCode.NetConnect.getErrCode(), + failedMap.keySet(), + failedMap.values().stream().map(Throwable::getMessage).collect(Collectors.toSet())); } else if (LOGGER.isDebugEnabled()) { failedMap.forEach((key, value) -> { - LOGGER.error("{} can not connect to {} cause:{} trace information:{}", FrameworkErrorCode.NetConnect.getErrCode(), key, value.getMessage(), value); + LOGGER.error("{} can not connect to {} cause:{} trace information:{}", + FrameworkErrorCode.NetConnect.getErrCode(), key, value.getMessage(), value); }); } + String invalidAddress = StringUtils.join(failedMap.keySet().iterator(), ", "); + throw new FrameworkException("can not connect to [" + invalidAddress + "]"); } } finally { if (CollectionUtils.isNotEmpty(channelAddress)) { @@ -199,38 +264,6 @@ void reconnect(List availList, String transactionServiceGroup) { } } - /** - * Reconnect to remote server of current transaction service group. - * - * @param transactionServiceGroup transaction service group - */ - void reconnect(String transactionServiceGroup) { - List availList; - try { - availList = getAvailServerList(transactionServiceGroup); - } catch (Exception e) { - LOGGER.error("Failed to get available servers: {}", e.getMessage(), e); - return; - } - if (CollectionUtils.isEmpty(availList)) { - RegistryService registryService = RegistryFactory.getInstance(); - String clusterName = registryService.getServiceGroup(transactionServiceGroup); - - if (StringUtils.isBlank(clusterName)) { - LOGGER.error("can not get cluster name in registry config '{}{}', please make sure registry config correct", - ConfigurationKeys.SERVICE_GROUP_MAPPING_PREFIX, - transactionServiceGroup); - return; - } - - if (!(registryService instanceof FileRegistryServiceImpl)) { - LOGGER.error("no available service found in cluster '{}', please make sure registry config correct and keep your seata server running", clusterName); - } - return; - } - reconnect(availList, transactionServiceGroup); - } - void invalidateObject(final String serverAddress, final Channel channel) throws Exception { nettyClientKeyPool.invalidateObject(poolKeyMap.get(serverAddress), channel); } @@ -297,5 +330,12 @@ private Channel getExistAliveChannel(Channel rmChannel, String serverAddress) { } return null; } + + private void throwFailFastException(boolean failFast, String message) { + if (failFast) { + throw new FrameworkException(message); + } + } + } diff --git a/core/src/main/java/io/seata/core/rpc/netty/NettyClientConfig.java b/core/src/main/java/io/seata/core/rpc/netty/NettyClientConfig.java index fbd5cba79d4..fb5a151b165 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/NettyClientConfig.java +++ b/core/src/main/java/io/seata/core/rpc/netty/NettyClientConfig.java @@ -455,4 +455,5 @@ public String getRmDispatchThreadPrefix() { public static boolean isEnableClientBatchSendRequest() { return ENABLE_CLIENT_BATCH_SEND_REQUEST; } + } diff --git a/core/src/main/java/io/seata/core/rpc/netty/RmNettyRemotingClient.java b/core/src/main/java/io/seata/core/rpc/netty/RmNettyRemotingClient.java index 5855ad32296..35a6f1eed56 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/RmNettyRemotingClient.java +++ b/core/src/main/java/io/seata/core/rpc/netty/RmNettyRemotingClient.java @@ -80,7 +80,10 @@ public void init() { if (resourceManager != null && !resourceManager.getManagedResources().isEmpty() && StringUtils.isNotBlank(transactionServiceGroup)) { - getClientChannelManager().reconnect(transactionServiceGroup); + boolean failFast = ConfigurationFactory.getInstance().getBoolean( + ConfigurationKeys.ENABLE_RM_CLIENT_CHANNEL_CHECK_FAIL_FAST, + DefaultValues.DEFAULT_CLIENT_CHANNEL_CHECK_FAIL_FAST); + getClientChannelManager().initReconnect(transactionServiceGroup, failFast); } } } @@ -214,7 +217,10 @@ public void registerResource(String resourceGroupId, String resourceId) { } if (getClientChannelManager().getChannels().isEmpty()) { - getClientChannelManager().reconnect(transactionServiceGroup); + boolean failFast = ConfigurationFactory.getInstance().getBoolean( + ConfigurationKeys.ENABLE_RM_CLIENT_CHANNEL_CHECK_FAIL_FAST, + DefaultValues.DEFAULT_CLIENT_CHANNEL_CHECK_FAIL_FAST); + getClientChannelManager().initReconnect(transactionServiceGroup, failFast); return; } synchronized (getClientChannelManager().getChannels()) { diff --git a/core/src/main/java/io/seata/core/rpc/netty/TmNettyRemotingClient.java b/core/src/main/java/io/seata/core/rpc/netty/TmNettyRemotingClient.java index 76de2691b55..06579842a91 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/TmNettyRemotingClient.java +++ b/core/src/main/java/io/seata/core/rpc/netty/TmNettyRemotingClient.java @@ -283,7 +283,10 @@ private String getExtraData() { } private void initConnection() { - getClientChannelManager().reconnect(transactionServiceGroup); + boolean failFast = ConfigurationFactory.getInstance().getBoolean( + ConfigurationKeys.ENABLE_TM_CLIENT_CHANNEL_CHECK_FAIL_FAST, + DefaultValues.DEFAULT_CLIENT_CHANNEL_CHECK_FAIL_FAST); + getClientChannelManager().initReconnect(transactionServiceGroup, failFast); } } diff --git a/core/src/test/java/io/seata/core/rpc/netty/RmNettyClientTest.java b/core/src/test/java/io/seata/core/rpc/netty/RmNettyClientTest.java index 676ecf2c63a..692de3264dd 100644 --- a/core/src/test/java/io/seata/core/rpc/netty/RmNettyClientTest.java +++ b/core/src/test/java/io/seata/core/rpc/netty/RmNettyClientTest.java @@ -16,10 +16,27 @@ */ package io.seata.core.rpc.netty; +import io.seata.common.ConfigurationKeys; +import io.seata.common.DefaultValues; +import io.seata.common.exception.FrameworkException; +import io.seata.config.ConfigurationCache; +import io.seata.config.ConfigurationChangeEvent; +import io.seata.config.ConfigurationChangeListener; +import io.seata.config.ConfigurationFactory; +import io.seata.core.model.Resource; +import io.seata.core.model.ResourceManager; +import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; +import org.mockito.Mockito; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import java.lang.reflect.Field; +import java.util.HashMap; +import java.util.Map; +import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import static org.junit.jupiter.api.Assertions.assertFalse; @@ -31,6 +48,20 @@ */ class RmNettyClientTest { + Logger logger = LoggerFactory.getLogger(getClass()); + + @BeforeAll + public static void beforeAll() { + RmNettyRemotingClient.getInstance().destroy(); + System.setProperty(ConfigurationKeys.ENABLE_RM_CLIENT_CHANNEL_CHECK_FAIL_FAST, "true"); + } + + @AfterAll + public static void afterAll() { + RmNettyRemotingClient.getInstance().destroy(); + System.setProperty(ConfigurationKeys.ENABLE_RM_CLIENT_CHANNEL_CHECK_FAIL_FAST, "false"); + } + @Test public void assertGetInstanceAfterDestroy() { RmNettyRemotingClient oldClient = RmNettyRemotingClient.getInstance("ap", "group"); @@ -47,6 +78,25 @@ public void assertGetInstanceAfterDestroy() { assertTrue(initialized.get()); newClient.destroy(); } + + @Test + public void testCheckFailFast() throws Exception { + RmNettyRemotingClient newClient = RmNettyRemotingClient.getInstance("fail_fast", "default_tx_group"); + + ResourceManager resourceManager = Mockito.mock(ResourceManager.class); + Resource mockResource = Mockito.mock(Resource.class); + Map resourceMap = new HashMap<>(); + resourceMap.put("jdbc:xx://localhost/test", mockResource); + Mockito.when(resourceManager.getManagedResources()).thenReturn(resourceMap); + newClient.setResourceManager(resourceManager); + System.setProperty("file.listener.enabled", "true"); + ConfigurationCache.addConfigListener(ConfigurationKeys.ENABLE_RM_CLIENT_CHANNEL_CHECK_FAIL_FAST, + event -> logger.info("dataId:{}, value: {}, oldValue: {}", event.getDataId(), event.getNewValue(), + event.getOldValue())); + System.setProperty(ConfigurationKeys.ENABLE_RM_CLIENT_CHANNEL_CHECK_FAIL_FAST, "true"); + Thread.sleep(2000); + Assertions.assertThrows(FrameworkException.class, newClient::init); + } private AtomicBoolean getInitializeStatus(final RmNettyRemotingClient rmNettyRemotingClient) { try { diff --git a/core/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java b/core/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java index 28db3385cdb..48f29fedffa 100644 --- a/core/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java +++ b/core/src/test/java/io/seata/core/rpc/netty/TmNettyClientTest.java @@ -21,9 +21,19 @@ import io.netty.channel.ChannelFactory; import io.netty.channel.ChannelOption; import io.netty.channel.socket.nio.NioSocketChannel; +import io.seata.common.ConfigurationKeys; +import io.seata.common.DefaultValues; +import io.seata.common.exception.FrameworkException; +import io.seata.config.ConfigurationCache; +import io.seata.config.ConfigurationChangeEvent; +import io.seata.config.ConfigurationFactory; import org.apache.commons.pool.impl.GenericKeyedObjectPool; +import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import java.lang.reflect.Field; import java.util.Map; @@ -37,6 +47,8 @@ */ public class TmNettyClientTest { + Logger logger = LoggerFactory.getLogger(getClass()); + private static final ThreadPoolExecutor workingThreads = new ThreadPoolExecutor(100, 500, 500, TimeUnit.SECONDS, new LinkedBlockingQueue<>(20000), new ThreadPoolExecutor.CallerRunsPolicy()); @@ -123,6 +135,25 @@ public void setApplicationId() throws Exception { } + @AfterAll + public static void afterAll() { + TmNettyRemotingClient.getInstance().destroy(); + System.setProperty(ConfigurationKeys.ENABLE_TM_CLIENT_CHANNEL_CHECK_FAIL_FAST, "false"); + } + + @Test + public void testCheckFailFast() throws Exception { + TmNettyRemotingClient.getInstance().destroy(); + TmNettyRemotingClient tmClient = TmNettyRemotingClient.getInstance("fail_fast", "default_tx_group"); + System.setProperty("file.listener.enabled", "true"); + ConfigurationCache.addConfigListener(ConfigurationKeys.ENABLE_TM_CLIENT_CHANNEL_CHECK_FAIL_FAST, + event -> logger.info("dataId:{}, value: {}, oldValue: {}", event.getDataId(), event.getNewValue(), + event.getOldValue())); + System.setProperty(ConfigurationKeys.ENABLE_TM_CLIENT_CHANNEL_CHECK_FAIL_FAST, "true"); + Thread.sleep(2000); + Assertions.assertThrows(FrameworkException.class, tmClient::init); + } + /** * get private field in parent class * diff --git a/core/src/test/resources/file.conf b/core/src/test/resources/file.conf index 46c3e0401cc..789450fc1e6 100644 --- a/core/src/test/resources/file.conf +++ b/core/src/test/resources/file.conf @@ -22,4 +22,8 @@ service { default.grouplist = "127.0.0.1:8091" #disable seata disableGlobalTransaction = false +} +transport { + enableRmClientChannelCheckFailFast = false + enableTmClientChannelCheckFailFast = false } \ No newline at end of file diff --git a/test/src/test/resources/file.conf b/test/src/test/resources/file.conf index 70d6dc3ab15..7cb83399689 100644 --- a/test/src/test/resources/file.conf +++ b/test/src/test/resources/file.conf @@ -46,8 +46,12 @@ transport { } serialization = "seata" compressor = "none" + + enableRmClientChannelCheckFailFast = false + enableTmClientChannelCheckFailFast = false } + service { #transaction service group mapping vgroupMapping.default_tx_group = "default" diff --git a/tm/src/test/resources/file.conf b/tm/src/test/resources/file.conf index 46c3e0401cc..0f73855d5df 100644 --- a/tm/src/test/resources/file.conf +++ b/tm/src/test/resources/file.conf @@ -22,4 +22,8 @@ service { default.grouplist = "127.0.0.1:8091" #disable seata disableGlobalTransaction = false -} \ No newline at end of file +} +transport { + enableRmClientChannelCheckFailFast = false + enableTmClientChannelCheckFailFast = false +} From 26feac27af3ad95d707633b4b8369d7c96557edd Mon Sep 17 00:00:00 2001 From: liuqiufeng <775038282@qq.com> Date: Sat, 6 Jan 2024 02:42:01 +0800 Subject: [PATCH 049/183] optimize: optimize links in the console header (#6243) --- changes/en-us/2.x.md | 5 ++-- changes/zh-cn/2.x.md | 6 +++-- .../src/components/Header/Header.tsx | 23 ++++++------------- .../static/console-fe/src/locales/en-us.ts | 1 - .../static/console-fe/src/locales/zh-cn.ts | 1 - 5 files changed, 14 insertions(+), 22 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 212713e365f..64b45f46e30 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -46,7 +46,8 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6201](https://github.com/apache/incubator-seata/pull/6201)] restore required_status_checks kept to remove context validation - [[#6218](https://github.com/apache/incubator-seata/pull/6218)] remove Seata-Docker link - [[#6227](https://github.com/apache/incubator-seata/pull/6227)] validate that the primary key is free of illegal characters -- [[#6004](https://github.com/seata/seata/pull/6004)] optimize RM TM startup connect server fail fast +- [[#6004](https://github.com/apache/incubator-seata/pull/6004)] optimize RM TM startup connect server fail fast +- [[#6243](https://github.com/apache/incubator-seata/pull/6243)] optimize links in the console header ### security: - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities @@ -56,7 +57,6 @@ Add changes here for all PR submitted to the 2.x branch. ### test: - [[#6081](https://github.com/apache/incubator-seata/pull/6081)] add `test-os.yml` for testing the OS -- [[#PR_NO](https://github.com/apache/incubator-seata/pull/PR_NO)] A brief and accurate description of PR - [[#6125](https://github.com/apache/incubator-seata/pull/6125)] unbind xid in TransactionTemplateTest - [[#6157](https://github.com/apache/incubator-seata/pull/6157)] increase common module unit test coverage @@ -82,5 +82,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [AlbumenJ](https://github.com/AlbumenJ) - [dreamskyvision](https://github.com/dreamskyvision) - [jsbxyyx](https://github.com/jsbxyyx) +- [liuqiufeng](https://github.com/liuqiufeng) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 033e850c5ad..84fe561a2f7 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -38,7 +38,7 @@ - [[#6184](https://github.com/apache/incubator-seata/pull/6184)] 更新NOTICE文件 - [[#6192](https://github.com/apache/incubator-seata/pull/6192)] 移除无用文件 - [[#6194](https://github.com/apache/incubator-seata/pull/6194)] 修复 asf.yaml 解析错误问题 -- [[#6116](https://github.com/seata/seata/pull/6116)] 重写NettyPoolKey的hashcode和equals,修复了channel对象池重复构建问题 +- [[#6116](https://github.com/apache/incubator-seata/pull/6116)] 重写NettyPoolKey的hashcode和equals,修复了channel对象池重复构建问题 - [[#6154](https://github.com/apache/incubator-seata/pull/6154)] 控制台日志优化 "kubectl logs -f" - [[#6116](https://github.com/apache/incubator-seata/pull/6116)] 重写NettyPoolKey的hashcode和equals,修复了channel对象池重复构建问题 - [[#6195](https://github.com/apache/incubator-seata/pull/6195)] 更新 change log 中的 seata url 为 apache/incubator-seata @@ -46,7 +46,8 @@ - [[#6201](https://github.com/apache/incubator-seata/pull/6201)] 恢复required_status_checks但去除context校验 - [[#6218](https://github.com/apache/incubator-seata/pull/6218)] 移除Seata-Docker链接 - [[#6227](https://github.com/apache/incubator-seata/pull/6227)] 校验pk中不含逗号 -- [[#6004](https://github.com/seata/seata/pull/6004)] 优化RM,TM连接server快速失败 +- [[#6004](https://github.com/apache/incubator-seata/pull/6004)] 优化RM,TM连接server快速失败 +- [[#6243](https://github.com/apache/incubator-seata/pull/6243)] 优化控制台页眉中的链接 ### security: - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 @@ -81,5 +82,6 @@ - [AlbumenJ](https://github.com/AlbumenJ) - [dreamskyvision](https://github.com/dreamskyvision) - [jsbxyyx](https://github.com/jsbxyyx) +- [liuqiufeng](https://github.com/liuqiufeng) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/console/src/main/resources/static/console-fe/src/components/Header/Header.tsx b/console/src/main/resources/static/console-fe/src/components/Header/Header.tsx index bdbd0d63481..4703a589446 100644 --- a/console/src/main/resources/static/console-fe/src/components/Header/Header.tsx +++ b/console/src/main/resources/static/console-fe/src/components/Header/Header.tsx @@ -92,7 +92,6 @@ class Header extends React.Component { console.log('props:', this.props); const { home, - cloud, docs, blog, community, @@ -100,27 +99,19 @@ class Header extends React.Component { sagaStatemachineDesigner, languageSwitchButton, } = locale; - const BASE_URL = `https://seata.io/${language.toLocaleLowerCase()}/`; + const BASE_URL = + language === enUsKey ? 'https://seata.apache.org/' : 'https://seata.apache.org/zh-cn/'; const NAV_MENU = [ { id: 1, title: home, link: BASE_URL }, - { - id: 2, - title: cloud, - link: `https://www.aliyun.com/product/aliware/mse?spm=seata-website.topbar.0.0.0`, - }, - { id: 3, title: docs, link: `${BASE_URL}docs/overview/what-is-seata.html` }, - { id: 4, title: blog, link: `${BASE_URL}blog/index.html` }, - { id: 5, title: community, link: `${BASE_URL}community/index.html` }, - { id: 6, title: download, link: `${BASE_URL}blog/download.html` }, + { id: 2, title: docs, link: `${BASE_URL}docs/overview/what-is-seata/` }, + { id: 3, title: blog, link: `${BASE_URL}blog` }, + { id: 4, title: community, link: `${BASE_URL}community` }, + { id: 5, title: download, link: `${BASE_URL}unversioned/download/seata-server` }, ]; return (
- + Date: Mon, 8 Jan 2024 13:51:35 +0800 Subject: [PATCH 050/183] optimize: update security policy, disclaimer and notice (#6239) --- .licenserc.yaml | 1 + DISCLAIMER | 10 ++++++++++ NOTICE | 2 +- SECURITY.md | 7 ++++--- 4 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 DISCLAIMER diff --git a/.licenserc.yaml b/.licenserc.yaml index b107056e483..5543caddf0a 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -46,6 +46,7 @@ header: - 'README.md' - 'LICENSE' - 'NOTICE' + - 'DISCLAIMER' - '**/*.md' - '.github/**' #SPI、spring.factories、spring-configuration-metadata.json、additional-spring-configuration-metadata.json diff --git a/DISCLAIMER b/DISCLAIMER new file mode 100644 index 00000000000..1add77f788e --- /dev/null +++ b/DISCLAIMER @@ -0,0 +1,10 @@ +Apache Seata (incubating) is an effort undergoing incubation at the Apache +Software Foundation (ASF), sponsored by the Apache Incubator PMC. + +Incubation is required of all newly accepted projects until a further review +indicates that the infrastructure, communications, and decision making process +have stabilized in a manner consistent with other successful ASF projects. + +While incubation status is not necessarily a reflection of the completeness +or stability of the code, it does indicate that the project has yet to be +fully endorsed by the ASF. \ No newline at end of file diff --git a/NOTICE b/NOTICE index 42eb38d2e1d..f06b711f2df 100644 --- a/NOTICE +++ b/NOTICE @@ -1,5 +1,5 @@ Apache Seata (Incubating) -Copyright 2023 The Apache Software Foundation +Copyright 2023-2024 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). diff --git a/SECURITY.md b/SECURITY.md index d0ac0cd4384..5655e023106 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,6 +1,7 @@ # Security Policy -## Reporting a security issue +This is a project of the [Apache Software Foundation](https://apache.org) and follows the ASF [vulnerability handling process](https://apache.org/security/#vulnerability-handling). -If you think the bug you found is likely to make Seata-based applications vulnerable to an attack, please do not use -our public issue tracker but report it to [ASRC(Alibaba Security Response Center)](https://security.alibaba.com/). \ No newline at end of file +## Reporting a Vulnerability + +To report a new vulnerability you have discovered please follow the [ASF vulnerability reporting process](https://apache.org/security/#reporting-a-vulnerability). From 167984918d4f0ea887ce0680bd69edfe51132ba0 Mon Sep 17 00:00:00 2001 From: sunrui1225 Date: Mon, 8 Jan 2024 13:58:44 +0800 Subject: [PATCH 051/183] optimize: branch register resource only at RM server end (#5399) --- changes/en-us/2.x.md | 3 + changes/zh-cn/2.x.md | 5 +- .../parser/DefaultInterfaceParser.java | 12 +++ .../GlobalTransactionalInterceptorParser.java | 14 +++ .../interceptor/parser/IfNeedEnhanceBean.java | 41 +++++++ .../interceptor/parser/InterfaceParser.java | 2 + .../interceptor/parser/NeedEnhanceEnum.java | 30 ++++++ .../tx/api/remoting/RemotingParser.java | 9 ++ .../parser/DefaultRemotingParser.java | 15 +++ .../remoting/parser/DubboRemotingParser.java | 6 ++ .../remoting/parser/HSFRemotingParser.java | 6 ++ .../parser/SofaRpcRemotingParser.java | 6 ++ .../integration/tx/api/util/ProxyUtil.java | 15 +++ .../io/seata/rm/fence/SpringFenceHandler.java | 12 ++- .../annotation/GlobalTransactionScanner.java | 74 +++++++++++++ .../parser/RemotingFactoryBeanParser.java | 5 + .../TccActionInterceptorHandler.java | 11 +- .../parser/TccActionInterceptorParser.java | 64 +++++------ .../parser/LocalTCCRemotingParser.java | 9 ++ .../parser/TccRegisterResourceParser.java | 102 ++++++++---------- 20 files changed, 342 insertions(+), 99 deletions(-) create mode 100644 integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/IfNeedEnhanceBean.java create mode 100644 integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/NeedEnhanceEnum.java diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 64b45f46e30..240fcf7dec9 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -39,6 +39,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6184](https://github.com/apache/incubator-seata/pull/6184)] update NOTICE file - [[#6192](https://github.com/apache/incubator-seata/pull/6192)] remove the useless file - [[#6194](https://github.com/apache/incubator-seata/pull/6194)] fix asf.yaml parse error +- [[#5399](https://github.com/apache/incubator-seata/pull/5399)] optimizing branch register resource only at RM server end - [[#6154](https://github.com/apache/incubator-seata/pull/6154)] console log optimize for "kubectl logs -f" - [[#6116](https://github.com/apache/incubator-seata/pull/6116)] rewrite NettyPoolKey's hashcode and equals to fix duplicate construction of channel object pools - [[#6195](https://github.com/apache/incubator-seata/pull/6195)] update the url in change log to apache/incubator-seata @@ -78,10 +79,12 @@ Thanks to these contributors for their code commits. Please report an unintended - [lightClouds917](https://github.com/lightClouds917) - [xingfudeshi](https://github.com/xingfudeshi) - [PleaseGiveMeTheCoke](https://github.com/PleaseGiveMeTheCoke) +- [sunrui1225](https://github.com/sunrui1225) - [PeppaO](https://github.com/PeppaO) - [AlbumenJ](https://github.com/AlbumenJ) - [dreamskyvision](https://github.com/dreamskyvision) - [jsbxyyx](https://github.com/jsbxyyx) - [liuqiufeng](https://github.com/liuqiufeng) + Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 84fe561a2f7..55f930c8ffd 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -38,7 +38,7 @@ - [[#6184](https://github.com/apache/incubator-seata/pull/6184)] 更新NOTICE文件 - [[#6192](https://github.com/apache/incubator-seata/pull/6192)] 移除无用文件 - [[#6194](https://github.com/apache/incubator-seata/pull/6194)] 修复 asf.yaml 解析错误问题 -- [[#6116](https://github.com/apache/incubator-seata/pull/6116)] 重写NettyPoolKey的hashcode和equals,修复了channel对象池重复构建问题 +- [[#5399](https://github.com/apache/incubator-seata/pull/5399)] 分支注册只在RM端 - [[#6154](https://github.com/apache/incubator-seata/pull/6154)] 控制台日志优化 "kubectl logs -f" - [[#6116](https://github.com/apache/incubator-seata/pull/6116)] 重写NettyPoolKey的hashcode和equals,修复了channel对象池重复构建问题 - [[#6195](https://github.com/apache/incubator-seata/pull/6195)] 更新 change log 中的 seata url 为 apache/incubator-seata @@ -49,6 +49,7 @@ - [[#6004](https://github.com/apache/incubator-seata/pull/6004)] 优化RM,TM连接server快速失败 - [[#6243](https://github.com/apache/incubator-seata/pull/6243)] 优化控制台页眉中的链接 + ### security: - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 - [[#6144](https://github.com/apache/incubator-seata/pull/6144)] 升级Nacos依赖版本至1.4.6 @@ -78,10 +79,12 @@ - [lightClouds917](https://github.com/lightClouds917) - [xingfudeshi](https://github.com/xingfudeshi) - [PleaseGiveMeTheCoke](https://github.com/PleaseGiveMeTheCoke) +- [sunrui1225](https://github.com/sunrui1225) - [PeppaO](https://github.com/PeppaO) - [AlbumenJ](https://github.com/AlbumenJ) - [dreamskyvision](https://github.com/dreamskyvision) - [jsbxyyx](https://github.com/jsbxyyx) - [liuqiufeng](https://github.com/liuqiufeng) + 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultInterfaceParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultInterfaceParser.java index 89f8499db83..7474ef4a6d5 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultInterfaceParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/DefaultInterfaceParser.java @@ -24,6 +24,7 @@ import java.util.List; /** + * @author leezongjie */ public class DefaultInterfaceParser implements InterfaceParser { @@ -63,4 +64,15 @@ public ProxyInvocationHandler parserInterfaceToProxy(Object target, String objec return null; } + @Override + public IfNeedEnhanceBean parseIfNeedEnhancement(Class beanClass) { + for (InterfaceParser interfaceParser : ALL_INTERFACE_PARSERS) { + IfNeedEnhanceBean ifNeedEnhanceBean = interfaceParser.parseIfNeedEnhancement(beanClass); + if (ifNeedEnhanceBean.isIfNeed()) { + return ifNeedEnhanceBean; + } + } + return new IfNeedEnhanceBean(); + } + } diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParser.java index 5bb44043b8b..9b01e92a2f3 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/GlobalTransactionalInterceptorParser.java @@ -22,6 +22,7 @@ import io.seata.common.ConfigurationKeys; import io.seata.common.util.CollectionUtils; +import io.seata.common.util.ReflectionUtil; import io.seata.config.ConfigurationCache; import io.seata.config.ConfigurationChangeListener; import io.seata.integration.tx.api.interceptor.handler.GlobalTransactionalInterceptorHandler; @@ -59,6 +60,19 @@ public ProxyInvocationHandler parserInterfaceToProxy(Object target, String objec return null; } + @Override + public IfNeedEnhanceBean parseIfNeedEnhancement(Class beanClass) { + Set> interfaceClasses = ReflectionUtil.getInterfaces(beanClass); + Class[] interfaceClasseArray = interfaceClasses.toArray(new Class[0]); + + IfNeedEnhanceBean ifNeedEnhanceBean = new IfNeedEnhanceBean(); + if (existsAnnotation(beanClass) || existsAnnotation(interfaceClasseArray)) { + ifNeedEnhanceBean.setIfNeed(true); + ifNeedEnhanceBean.setNeedEnhanceEnum(NeedEnhanceEnum.GLOBAL_TRANSACTIONAL_BEAN); + } + return ifNeedEnhanceBean; + } + private boolean existsAnnotation(Class... classes) { boolean result = false; if (CollectionUtils.isNotEmpty(classes)) { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/IfNeedEnhanceBean.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/IfNeedEnhanceBean.java new file mode 100644 index 00000000000..c0d1e91737b --- /dev/null +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/IfNeedEnhanceBean.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.integration.tx.api.interceptor.parser; + +public class IfNeedEnhanceBean { + + private boolean ifNeed; + + private NeedEnhanceEnum needEnhanceEnum; + + public boolean isIfNeed() { + return ifNeed; + } + + public void setIfNeed(boolean ifNeed) { + this.ifNeed = ifNeed; + } + + public NeedEnhanceEnum getNeedEnhanceEnum() { + return needEnhanceEnum; + } + + public void setNeedEnhanceEnum(NeedEnhanceEnum needEnhanceEnum) { + this.needEnhanceEnum = needEnhanceEnum; + } + +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/InterfaceParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/InterfaceParser.java index 23db3c4a2e5..2584c6459e4 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/InterfaceParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/InterfaceParser.java @@ -24,5 +24,7 @@ public interface InterfaceParser { ProxyInvocationHandler parserInterfaceToProxy(Object target, String objectName) throws Exception; + IfNeedEnhanceBean parseIfNeedEnhancement(Class beanClass); + } diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/NeedEnhanceEnum.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/NeedEnhanceEnum.java new file mode 100644 index 00000000000..7ac30889c79 --- /dev/null +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/interceptor/parser/NeedEnhanceEnum.java @@ -0,0 +1,30 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.integration.tx.api.interceptor.parser; + + +public enum NeedEnhanceEnum { + + /** + * global transactional bean type + */ + GLOBAL_TRANSACTIONAL_BEAN, + /** + * service bean type + */ + SERVICE_BEAN; +} diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingParser.java index 569f5749adb..71664b0542f 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/RemotingParser.java @@ -54,6 +54,15 @@ public interface RemotingParser { */ boolean isService(Object bean, String beanName) throws FrameworkException; + /** + * if it is service bean ? + * + * @param beanClass the bean class + * @return boolean boolean + * @throws FrameworkException the framework exception + */ + boolean isService(Class beanClass) throws FrameworkException; + /** * get the remoting bean info * diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DefaultRemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DefaultRemotingParser.java index f3f8eafab42..e1ca71b6220 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DefaultRemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DefaultRemotingParser.java @@ -132,6 +132,21 @@ public boolean isService(Object bean, String beanName) { return false; } + /** + * is service bean ? + * + * @param beanClass the bean class + * @return boolean boolean + */ + public boolean isService(Class beanClass) { + for (RemotingParser remotingParser : allRemotingParsers) { + if (remotingParser.isService(beanClass)) { + return true; + } + } + return false; + } + /** * get the remoting Service desc * diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DubboRemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DubboRemotingParser.java index 681e096ad90..4014cd5e8c1 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DubboRemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/DubboRemotingParser.java @@ -41,6 +41,12 @@ public boolean isService(Object bean, String beanName) throws FrameworkException || "org.apache.dubbo.config.spring.ServiceBean".equals(c.getName()); } + @Override + public boolean isService(Class beanClass) throws FrameworkException { + return "com.alibaba.dubbo.config.spring.ServiceBean".equals(beanClass.getName()) + || "org.apache.dubbo.config.spring.ServiceBean".equals(beanClass.getName()); + } + @Override public RemotingDesc getServiceDesc(Object bean, String beanName) throws FrameworkException { if (!this.isRemoting(bean, beanName)) { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/HSFRemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/HSFRemotingParser.java index aa76a403539..4818f127d43 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/HSFRemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/HSFRemotingParser.java @@ -64,6 +64,12 @@ public boolean isService(Object bean, String beanName) { return isHsf && "com.taobao.hsf.app.spring.util.HSFSpringProviderBean".equals(beanClassName); } + @Override + public boolean isService(Class beanClass) throws FrameworkException { + String beanClassName = beanClass.getName(); + return isHsf && "com.taobao.hsf.app.spring.util.HSFSpringProviderBean".equals(beanClassName); + } + @Override public RemotingDesc getServiceDesc(Object bean, String beanName) throws FrameworkException { if (!this.isRemoting(bean, beanName)) { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/SofaRpcRemotingParser.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/SofaRpcRemotingParser.java index a5872ba133b..4cb03f709d8 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/SofaRpcRemotingParser.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/remoting/parser/SofaRpcRemotingParser.java @@ -42,6 +42,12 @@ public boolean isService(Object bean, String beanName) throws FrameworkException return "com.alipay.sofa.runtime.spring.factory.ServiceFactoryBean".equals(beanClassName); } + @Override + public boolean isService(Class beanClass) throws FrameworkException { + String beanClassName = beanClass.getName(); + return "com.alipay.sofa.runtime.spring.factory.ServiceFactoryBean".equals(beanClassName); + } + @Override public RemotingDesc getServiceDesc(Object bean, String beanName) throws FrameworkException { if (!this.isRemoting(bean, beanName)) { diff --git a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ProxyUtil.java b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ProxyUtil.java index 85888033845..9efbf8b0f0d 100644 --- a/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ProxyUtil.java +++ b/integration-tx-api/src/main/java/io/seata/integration/tx/api/util/ProxyUtil.java @@ -37,6 +37,21 @@ public static T createProxy(T target) { return createProxy(target, target.getClass().getName()); } + /** + * The API for generating proxy for target. It can be used by spring aop, or + * provide user to generate proxy manually. + *

+ * At TM side, It can be used for the target bean with @GlobalTransactional or @GlobalLock to generate proxy which start global transaction. + * At RM side, if you use TCC mode, It can be for target bean with @TwoPhaseBusinessAction to generate proxy which register branch source + * and branch transaction. If you want to use this API to generate proxy manual like dubbo, you must make sure the target bean is the + * business bean with @GlobalTransactional annotation. If you pass the ServiceBean(com.alibaba.dubbo.config.spring.ServiceBean) or + * ReferenceBean(com.alibaba.dubbo.config.spring.ReferenceBean), it will don't work. + * + * @param target the business bean + * @param beanName the business bean name + * @return the proxy bean + * @param the generics class + */ public static T createProxy(T target, String beanName) { try { synchronized (PROXYED_SET) { diff --git a/spring/src/main/java/io/seata/rm/fence/SpringFenceHandler.java b/spring/src/main/java/io/seata/rm/fence/SpringFenceHandler.java index 1fd56e79927..e6576054328 100644 --- a/spring/src/main/java/io/seata/rm/fence/SpringFenceHandler.java +++ b/spring/src/main/java/io/seata/rm/fence/SpringFenceHandler.java @@ -163,7 +163,9 @@ public boolean commitFence(Method commitMethod, Object targetTCCBean, } return false; } - return updateStatusAndInvokeTargetMethod(conn, commitMethod, targetTCCBean, xid, branchId, CommonFenceConstant.STATUS_COMMITTED, status, args); + boolean result = updateStatusAndInvokeTargetMethod(conn, commitMethod, targetTCCBean, xid, branchId, CommonFenceConstant.STATUS_COMMITTED, status, args); + LOGGER.info("Common fence commit result: {}. xid: {}, branchId: {}", result, xid, branchId); + return result; } catch (Throwable t) { status.setRollbackOnly(); throw new SkipCallbackWrapperException(t); @@ -210,7 +212,9 @@ public boolean rollbackFence(Method rollbackMethod, Object targetTCCBean, return false; } } - return updateStatusAndInvokeTargetMethod(conn, rollbackMethod, targetTCCBean, xid, branchId, CommonFenceConstant.STATUS_ROLLBACKED, status, args); + boolean result = updateStatusAndInvokeTargetMethod(conn, rollbackMethod, targetTCCBean, xid, branchId, CommonFenceConstant.STATUS_ROLLBACKED, status, args); + LOGGER.info("Common fence rollback result: {}. xid: {}, branchId: {}", result, xid, branchId); + return result; } catch (Throwable t) { status.setRollbackOnly(); throw new SkipCallbackWrapperException(t); @@ -237,13 +241,13 @@ private static boolean insertCommonFenceLog(Connection conn, String xid, Long br } /** - * Update TCC Fence status and invoke target method + * Update Common Fence status and invoke target method * * @param method target method * @param targetTCCBean target bean * @param xid the global transaction id * @param branchId the branch transaction id - * @param status the tcc fence status + * @param status the common fence status * @return the boolean */ private static boolean updateStatusAndInvokeTargetMethod(Connection conn, Method method, Object targetTCCBean, diff --git a/spring/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java b/spring/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java index f37b6117be3..916d3dd1aa6 100644 --- a/spring/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java +++ b/spring/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java @@ -25,6 +25,7 @@ import java.util.concurrent.atomic.AtomicBoolean; import javax.annotation.Nullable; +import com.google.common.collect.ImmutableSet; import io.seata.common.util.CollectionUtils; import io.seata.common.util.StringUtils; import io.seata.config.ConfigurationCache; @@ -42,6 +43,8 @@ import io.seata.integration.tx.api.interceptor.handler.GlobalTransactionalInterceptorHandler; import io.seata.integration.tx.api.interceptor.handler.ProxyInvocationHandler; import io.seata.integration.tx.api.interceptor.parser.DefaultInterfaceParser; +import io.seata.integration.tx.api.interceptor.parser.IfNeedEnhanceBean; +import io.seata.integration.tx.api.interceptor.parser.NeedEnhanceEnum; import io.seata.integration.tx.api.remoting.parser.DefaultRemotingParser; import io.seata.rm.RMClient; import io.seata.spring.annotation.scannercheckers.PackageScannerChecker; @@ -62,10 +65,13 @@ import org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator; import org.springframework.aop.support.AopUtils; import org.springframework.beans.BeansException; +import org.springframework.beans.PropertyValue; import org.springframework.beans.factory.DisposableBean; import org.springframework.beans.factory.FactoryBean; import org.springframework.beans.factory.InitializingBean; +import org.springframework.beans.factory.config.BeanDefinition; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; +import org.springframework.beans.factory.config.RuntimeBeanReference; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.context.ConfigurableApplicationContext; @@ -114,6 +120,8 @@ public class GlobalTransactionScanner extends AbstractAutoProxyCreator private ApplicationContext applicationContext; + private static final Set NEED_ENHANCE_BEAN_NAME_SET = new HashSet<>(); + /** * Instantiates a new Global transaction scanner. @@ -280,6 +288,9 @@ protected Object wrapIfNecessary(Object bean, String beanName, Object cacheKey) if (PROXYED_SET.contains(beanName)) { return bean; } + if (!NEED_ENHANCE_BEAN_NAME_SET.contains(beanName)) { + return bean; + } interceptor = null; ProxyInvocationHandler proxyInvocationHandler = DefaultInterfaceParser.get().parserInterfaceToProxy(bean, beanName); if (proxyInvocationHandler == null) { @@ -469,8 +480,71 @@ public void afterPropertiesSet() { if (initialized.compareAndSet(false, true)) { initClient(); } + + this.findBusinessBeanNamesNeededEnhancement(); } + private void findBusinessBeanNamesNeededEnhancement() { + if (applicationContext instanceof ConfigurableApplicationContext) { + ConfigurableApplicationContext configurableApplicationContext = (ConfigurableApplicationContext) applicationContext; + ConfigurableListableBeanFactory configurableListableBeanFactory = configurableApplicationContext.getBeanFactory(); + + String[] beanNames = applicationContext.getBeanDefinitionNames(); + for (String contextBeanName : beanNames) { + BeanDefinition beanDefinition = configurableListableBeanFactory.getBeanDefinition(contextBeanName); + if (StringUtils.isBlank(beanDefinition.getBeanClassName())) { + continue; + } + if (IGNORE_ENHANCE_CHECK_SET.contains(beanDefinition.getBeanClassName())) { + continue; + } + try { + // get the class by bean definition class name + Class beanClass = Class.forName(beanDefinition.getBeanClassName()); + // check if it needs enhancement by the class + IfNeedEnhanceBean ifNeedEnhanceBean = DefaultInterfaceParser.get().parseIfNeedEnhancement(beanClass); + if (!ifNeedEnhanceBean.isIfNeed()) { + continue; + } + if (ifNeedEnhanceBean.getNeedEnhanceEnum().equals(NeedEnhanceEnum.SERVICE_BEAN)) { + // the native bean which dubbo, sofa bean service bean referenced + PropertyValue propertyValue = beanDefinition.getPropertyValues().getPropertyValue("ref"); + if (propertyValue == null) { + // the native bean which HSF service bean referenced + propertyValue = beanDefinition.getPropertyValues().getPropertyValue("target"); + } + if (propertyValue != null) { + RuntimeBeanReference r = (RuntimeBeanReference) propertyValue.getValue(); + if (r != null && StringUtils.isNotBlank(r.getBeanName())) { + NEED_ENHANCE_BEAN_NAME_SET.add(r.getBeanName()); + continue; + } + } + // the native bean which local tcc service bean referenced + NEED_ENHANCE_BEAN_NAME_SET.add(contextBeanName); + } else if (ifNeedEnhanceBean.getNeedEnhanceEnum().equals(NeedEnhanceEnum.GLOBAL_TRANSACTIONAL_BEAN)) { + // global transactional bean + NEED_ENHANCE_BEAN_NAME_SET.add(contextBeanName); + } + } catch (ClassNotFoundException e) { + LOGGER.warn("check if need enhance bean error, it can be ignore", e); + } + } + LOGGER.info("The needed enhancement business beans are : {}", NEED_ENHANCE_BEAN_NAME_SET); + } + } + + private static final Set IGNORE_ENHANCE_CHECK_SET = ImmutableSet.of( + "io.seata.spring.annotation.GlobalTransactionScanner" + , "io.seata.rm.fence.SpringFenceConfig" + , "org.springframework.context.annotation.internalConfigurationAnnotationProcessor" + , "org.springframework.context.annotation.internalAutowiredAnnotationProcessor" + , "org.springframework.context.annotation.internalCommonAnnotationProcessor" + , "org.springframework.context.event.internalEventListenerProcessor" + , "org.springframework.context.event.internalEventListenerFactory" + ); + + @Override public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { this.applicationContext = applicationContext; diff --git a/spring/src/main/java/io/seata/spring/remoting/parser/RemotingFactoryBeanParser.java b/spring/src/main/java/io/seata/spring/remoting/parser/RemotingFactoryBeanParser.java index a5635fbbbf9..052061e1c30 100644 --- a/spring/src/main/java/io/seata/spring/remoting/parser/RemotingFactoryBeanParser.java +++ b/spring/src/main/java/io/seata/spring/remoting/parser/RemotingFactoryBeanParser.java @@ -73,6 +73,11 @@ public boolean isService(Object bean, String beanName) { return DefaultRemotingParser.get().isService(factoryBean, getFactoryBeanName(beanName)); } + @Override + public boolean isService(Class beanClass) throws FrameworkException { + return false; + } + @Override public RemotingDesc getServiceDesc(Object bean, String beanName) throws FrameworkException { Object factoryBean = getRemotingFactoryBean(bean, beanName); diff --git a/tcc/src/main/java/io/seata/rm/tcc/interceptor/TccActionInterceptorHandler.java b/tcc/src/main/java/io/seata/rm/tcc/interceptor/TccActionInterceptorHandler.java index bbdffe0c7e8..db611a80523 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/interceptor/TccActionInterceptorHandler.java +++ b/tcc/src/main/java/io/seata/rm/tcc/interceptor/TccActionInterceptorHandler.java @@ -35,7 +35,6 @@ import io.seata.integration.tx.api.interceptor.SeataInterceptorPosition; import io.seata.integration.tx.api.interceptor.TwoPhaseBusinessActionParam; import io.seata.integration.tx.api.interceptor.handler.AbstractProxyInvocationHandler; -import io.seata.integration.tx.api.remoting.RemotingDesc; import io.seata.rm.tcc.api.TwoPhaseBusinessAction; import org.slf4j.MDC; @@ -52,12 +51,12 @@ public class TccActionInterceptorHandler extends AbstractProxyInvocationHandler private ActionInterceptorHandler actionInterceptorHandler = new ActionInterceptorHandler(); private Set methodsToProxy; - private RemotingDesc remotingDesc; + private Object targetBean; private Map parseAnnotationCache = new ConcurrentHashMap<>(); - public TccActionInterceptorHandler(RemotingDesc remotingDesc, Set methodsToProxy) { - this.remotingDesc = remotingDesc; + public TccActionInterceptorHandler(Object targetBean, Set methodsToProxy) { + this.targetBean = targetBean; this.methodsToProxy = methodsToProxy; } @@ -113,8 +112,8 @@ protected Object doInvoke(InvocationWrapper invocation) throws Throwable { private TwoPhaseBusinessAction parseAnnotation(Method methodKey) throws NoSuchMethodException { TwoPhaseBusinessAction result = parseAnnotationCache.computeIfAbsent(methodKey, method -> { TwoPhaseBusinessAction businessAction = method.getAnnotation(TwoPhaseBusinessAction.class); - if (businessAction == null && remotingDesc.getServiceClass() != null) { - Set> interfaceClasses = ReflectionUtil.getInterfaces(remotingDesc.getServiceClass()); + if (businessAction == null && targetBean.getClass() != null) { + Set> interfaceClasses = ReflectionUtil.getInterfaces(targetBean.getClass()); if (interfaceClasses != null) { for (Class interClass : interfaceClasses) { try { diff --git a/tcc/src/main/java/io/seata/rm/tcc/interceptor/parser/TccActionInterceptorParser.java b/tcc/src/main/java/io/seata/rm/tcc/interceptor/parser/TccActionInterceptorParser.java index 6496df4a877..d28b6d3e2d3 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/interceptor/parser/TccActionInterceptorParser.java +++ b/tcc/src/main/java/io/seata/rm/tcc/interceptor/parser/TccActionInterceptorParser.java @@ -16,61 +16,63 @@ */ package io.seata.rm.tcc.interceptor.parser; +import java.lang.reflect.Method; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashSet; +import java.util.Set; + import io.seata.common.util.ReflectionUtil; -import io.seata.integration.tx.api.interceptor.TxBeanParserUtils; import io.seata.integration.tx.api.interceptor.handler.ProxyInvocationHandler; import io.seata.integration.tx.api.interceptor.parser.DefaultResourceRegisterParser; +import io.seata.integration.tx.api.interceptor.parser.IfNeedEnhanceBean; import io.seata.integration.tx.api.interceptor.parser.InterfaceParser; -import io.seata.integration.tx.api.remoting.RemotingDesc; +import io.seata.integration.tx.api.interceptor.parser.NeedEnhanceEnum; import io.seata.integration.tx.api.remoting.parser.DefaultRemotingParser; import io.seata.rm.tcc.api.TwoPhaseBusinessAction; import io.seata.rm.tcc.interceptor.TccActionInterceptorHandler; - -import java.lang.reflect.Method; -import java.util.Arrays; -import java.util.Collections; -import java.util.HashSet; -import java.util.Set; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; /** */ public class TccActionInterceptorParser implements InterfaceParser { + private static final Logger LOGGER = LoggerFactory.getLogger(TccActionInterceptorParser.class); + @Override public ProxyInvocationHandler parserInterfaceToProxy(Object target, String objectName) { - boolean isTxRemotingBean = TxBeanParserUtils.isTxRemotingBean(target, objectName); - if (isTxRemotingBean) { - RemotingDesc remotingDesc = DefaultRemotingParser.get().getRemotingBeanDesc(target); - if (remotingDesc != null) { - if (remotingDesc.isService()) { - DefaultResourceRegisterParser.get().registerResource(target, objectName); - } - if (remotingDesc.isReference()) { - //if it is a tcc remote reference - Set methodsToProxy = tccProxyTargetMethod(remotingDesc); - if (remotingDesc != null && !methodsToProxy.isEmpty()) { - ProxyInvocationHandler proxyInvocationHandler = new TccActionInterceptorHandler(remotingDesc, methodsToProxy); - return proxyInvocationHandler; - } - } - } + // eliminate the bean without two phase annotation. + Set methodsToProxy = this.tccProxyTargetMethod(target); + if (methodsToProxy.isEmpty()) { + return null; } - return null; + // register resource and enhance with interceptor + DefaultResourceRegisterParser.get().registerResource(target, objectName); + return new TccActionInterceptorHandler(target, methodsToProxy); + } + + @Override + public IfNeedEnhanceBean parseIfNeedEnhancement(Class beanClass) { + IfNeedEnhanceBean ifNeedEnhanceBean = new IfNeedEnhanceBean(); + if (DefaultRemotingParser.get().isService(beanClass)) { + ifNeedEnhanceBean.setIfNeed(true); + ifNeedEnhanceBean.setNeedEnhanceEnum(NeedEnhanceEnum.SERVICE_BEAN); + } + return ifNeedEnhanceBean; } /** * is TCC proxy-bean/target-bean: LocalTCC , the proxy bean of sofa:reference/dubbo:reference * - * @param remotingDesc the remoting desc + * @param target the remoting desc * @return boolean boolean */ - private Set tccProxyTargetMethod(RemotingDesc remotingDesc) { - if (!remotingDesc.isReference() || remotingDesc == null) { - return Collections.emptySet(); - } + + private Set tccProxyTargetMethod(Object target) { Set methodsToProxy = new HashSet<>(); //check if it is TCC bean - Class tccServiceClazz = remotingDesc.getServiceClass(); + Class tccServiceClazz = target.getClass(); Set methods = new HashSet<>(Arrays.asList(tccServiceClazz.getMethods())); Set> interfaceClasses = ReflectionUtil.getInterfaces(tccServiceClazz); if (interfaceClasses != null) { diff --git a/tcc/src/main/java/io/seata/rm/tcc/remoting/parser/LocalTCCRemotingParser.java b/tcc/src/main/java/io/seata/rm/tcc/remoting/parser/LocalTCCRemotingParser.java index 07a8b9214f7..f786924ffad 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/remoting/parser/LocalTCCRemotingParser.java +++ b/tcc/src/main/java/io/seata/rm/tcc/remoting/parser/LocalTCCRemotingParser.java @@ -42,6 +42,11 @@ public boolean isService(Object bean, String beanName) { return isLocalTCC(bean); } + @Override + public boolean isService(Class beanClass) throws FrameworkException { + return isLocalTCC(beanClass); + } + @Override public RemotingDesc getServiceDesc(Object bean, String beanName) throws FrameworkException { if (!this.isRemoting(bean, beanName)) { @@ -84,6 +89,10 @@ public short getProtocol() { */ private boolean isLocalTCC(Object bean) { Class classType = bean.getClass(); + return isLocalTCC(classType); + } + + private boolean isLocalTCC(Class classType) { Set> interfaceClasses = ReflectionUtil.getInterfaces(classType); for (Class interClass : interfaceClasses) { if (interClass.isAnnotationPresent(LocalTCC.class)) { diff --git a/tcc/src/main/java/io/seata/rm/tcc/resource/parser/TccRegisterResourceParser.java b/tcc/src/main/java/io/seata/rm/tcc/resource/parser/TccRegisterResourceParser.java index 1918dd24195..c3a40357151 100644 --- a/tcc/src/main/java/io/seata/rm/tcc/resource/parser/TccRegisterResourceParser.java +++ b/tcc/src/main/java/io/seata/rm/tcc/resource/parser/TccRegisterResourceParser.java @@ -16,80 +16,68 @@ */ package io.seata.rm.tcc.resource.parser; +import java.lang.annotation.Annotation; +import java.lang.reflect.Method; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; + import io.seata.common.exception.FrameworkException; import io.seata.common.util.ReflectionUtil; import io.seata.common.util.StringUtils; import io.seata.integration.tx.api.interceptor.ActionContextUtil; -import io.seata.integration.tx.api.interceptor.TxBeanParserUtils; import io.seata.integration.tx.api.interceptor.parser.RegisterResourceParser; -import io.seata.integration.tx.api.remoting.RemotingDesc; -import io.seata.integration.tx.api.remoting.parser.DefaultRemotingParser; import io.seata.rm.DefaultResourceManager; import io.seata.rm.tcc.TCCResource; import io.seata.rm.tcc.api.BusinessActionContext; import io.seata.rm.tcc.api.BusinessActionContextParameter; import io.seata.rm.tcc.api.TwoPhaseBusinessAction; - -import java.lang.annotation.Annotation; -import java.lang.reflect.Method; -import java.util.Arrays; -import java.util.HashSet; -import java.util.Set; - /** */ public class TccRegisterResourceParser implements RegisterResourceParser { @Override public void registerResource(Object target, String beanName) { - boolean isTxRemotingBean = TxBeanParserUtils.isTxRemotingBean(target, beanName); - if (isTxRemotingBean) { - RemotingDesc remotingDesc = DefaultRemotingParser.get().getRemotingBeanDesc(target); - if (remotingDesc != null) { - if (remotingDesc.isService()) { - try { - //service bean, registry resource - Class serviceClass = remotingDesc.getServiceClass(); - Set methods = new HashSet<>(Arrays.asList(serviceClass.getMethods())); - Set> interfaceClasses = ReflectionUtil.getInterfaces(serviceClass); - if (interfaceClasses != null) { - for (Class interClass : interfaceClasses) { - methods.addAll(Arrays.asList(interClass.getMethods())); - } - } - Object targetBean = remotingDesc.getTargetBean(); - for (Method m : methods) { - TwoPhaseBusinessAction twoPhaseBusinessAction = m.getAnnotation(TwoPhaseBusinessAction.class); - if (twoPhaseBusinessAction != null) { - TCCResource tccResource = new TCCResource(); - if (StringUtils.isBlank(twoPhaseBusinessAction.name())) { - throw new FrameworkException("TCC bean name cannot be null or empty"); - } - tccResource.setActionName(twoPhaseBusinessAction.name()); - tccResource.setTargetBean(targetBean); - tccResource.setPrepareMethod(m); - tccResource.setCommitMethodName(twoPhaseBusinessAction.commitMethod()); - tccResource.setCommitMethod(serviceClass.getMethod(twoPhaseBusinessAction.commitMethod(), - twoPhaseBusinessAction.commitArgsClasses())); - tccResource.setRollbackMethodName(twoPhaseBusinessAction.rollbackMethod()); - tccResource.setRollbackMethod(serviceClass.getMethod(twoPhaseBusinessAction.rollbackMethod(), - twoPhaseBusinessAction.rollbackArgsClasses())); - // set argsClasses - tccResource.setCommitArgsClasses(twoPhaseBusinessAction.commitArgsClasses()); - tccResource.setRollbackArgsClasses(twoPhaseBusinessAction.rollbackArgsClasses()); - // set phase two method's keys - tccResource.setPhaseTwoCommitKeys(this.getTwoPhaseArgs(tccResource.getCommitMethod(), - twoPhaseBusinessAction.commitArgsClasses())); - tccResource.setPhaseTwoRollbackKeys(this.getTwoPhaseArgs(tccResource.getRollbackMethod(), - twoPhaseBusinessAction.rollbackArgsClasses())); - //registry tcc resource - DefaultResourceManager.get().registerResource(tccResource); - } - } - } catch (Throwable t) { - throw new FrameworkException(t, "parser remoting service error"); - } + try { + //service bean, registry resource + Class serviceClass = target.getClass(); + this.executeRegisterResource(target, new HashSet<>(Arrays.asList(serviceClass.getMethods())), target.getClass()); + Set> interfaceClasses = ReflectionUtil.getInterfaces(serviceClass); + for (Class interClass : interfaceClasses) { + this.executeRegisterResource(target, new HashSet<>(Arrays.asList(interClass.getMethods())), interClass); + } + } catch (Throwable t) { + throw new FrameworkException(t, "parser remoting service error"); + } + } + + private void executeRegisterResource(Object target, Set methods, Class targetServiceClass) throws NoSuchMethodException { + for (Method m : methods) { + TwoPhaseBusinessAction twoPhaseBusinessAction = m.getAnnotation(TwoPhaseBusinessAction.class); + if (twoPhaseBusinessAction != null) { + TCCResource tccResource = new TCCResource(); + if (StringUtils.isBlank(twoPhaseBusinessAction.name())) { + throw new FrameworkException("TCC bean name cannot be null or empty"); } + tccResource.setActionName(twoPhaseBusinessAction.name()); + tccResource.setTargetBean(target); + tccResource.setPrepareMethod(m); + tccResource.setCommitMethodName(twoPhaseBusinessAction.commitMethod()); + tccResource.setCommitMethod(targetServiceClass.getMethod(twoPhaseBusinessAction.commitMethod(), + twoPhaseBusinessAction.commitArgsClasses())); + tccResource.setRollbackMethodName(twoPhaseBusinessAction.rollbackMethod()); + tccResource.setRollbackMethod(targetServiceClass.getMethod(twoPhaseBusinessAction.rollbackMethod(), + twoPhaseBusinessAction.rollbackArgsClasses())); + // set argsClasses + tccResource.setCommitArgsClasses(twoPhaseBusinessAction.commitArgsClasses()); + tccResource.setRollbackArgsClasses(twoPhaseBusinessAction.rollbackArgsClasses()); + // set phase two method's keys + tccResource.setPhaseTwoCommitKeys(this.getTwoPhaseArgs(tccResource.getCommitMethod(), + twoPhaseBusinessAction.commitArgsClasses())); + tccResource.setPhaseTwoRollbackKeys(this.getTwoPhaseArgs(tccResource.getRollbackMethod(), + twoPhaseBusinessAction.rollbackArgsClasses())); + //registry tcc resource + DefaultResourceManager.get().registerResource(tccResource); } } } From dc7d8062a03142d6ead1d03f52b4a98aabad9d01 Mon Sep 17 00:00:00 2001 From: jimin Date: Mon, 8 Jan 2024 15:00:12 +0800 Subject: [PATCH 052/183] optimize: optimize asf.yml (#6247) --- .asf.yaml | 13 ++++++++----- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index c10b2d8857c..064fe6be4e7 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -18,6 +18,9 @@ github: description: ":fire: Seata is an easy-to-use, high-performance, open source distributed transaction solution." homepage: https://seata.apache.org/ labels: + - distributed transaction + - consistency + - microservice - at - tcc - saga @@ -33,22 +36,22 @@ github: required_status_checks: strict: true required_pull_request_reviews: - dismiss_stale_reviews: true + dismiss_stale_reviews: false required_approving_review_count: 1 develop: required_status_checks: strict: true required_pull_request_reviews: - dismiss_stale_reviews: true + dismiss_stale_reviews: false required_approving_review_count: 1 2.x: required_status_checks: strict: true required_pull_request_reviews: - dismiss_stale_reviews: true + dismiss_stale_reviews: false required_approving_review_count: 1 notifications: commits: notifications@seata.apache.org - issues: dev@seata.apache.org - pullrequests: dev@seata.apache.org + issues: notifications@seata.apache.org + pullrequests: notifications@seata.apache.org discussions: dev@seata.apache.org \ No newline at end of file diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 240fcf7dec9..77625b122a0 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -49,6 +49,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6227](https://github.com/apache/incubator-seata/pull/6227)] validate that the primary key is free of illegal characters - [[#6004](https://github.com/apache/incubator-seata/pull/6004)] optimize RM TM startup connect server fail fast - [[#6243](https://github.com/apache/incubator-seata/pull/6243)] optimize links in the console header +- [[#6247](https://github.com/apache/incubator-seata/pull/6247)] optimize asf.yml ### security: - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 55f930c8ffd..03c5bd7d9f8 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -48,7 +48,7 @@ - [[#6227](https://github.com/apache/incubator-seata/pull/6227)] 校验pk中不含逗号 - [[#6004](https://github.com/apache/incubator-seata/pull/6004)] 优化RM,TM连接server快速失败 - [[#6243](https://github.com/apache/incubator-seata/pull/6243)] 优化控制台页眉中的链接 - +- [[#6247](https://github.com/apache/incubator-seata/pull/6247)] 优化 asf.yml 配置 ### security: - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 From 01e6f0ce3aa4b1794b15cc320ff33915f365ccd7 Mon Sep 17 00:00:00 2001 From: laywin Date: Mon, 8 Jan 2024 16:10:20 +0800 Subject: [PATCH 053/183] optimize: get real-time configuration according to Environment under file (#6245) --- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 2 ++ .../SpringApplicationContextProvider.java | 15 +++++++++++++-- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 77625b122a0..a80513286f4 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -49,6 +49,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6227](https://github.com/apache/incubator-seata/pull/6227)] validate that the primary key is free of illegal characters - [[#6004](https://github.com/apache/incubator-seata/pull/6004)] optimize RM TM startup connect server fail fast - [[#6243](https://github.com/apache/incubator-seata/pull/6243)] optimize links in the console header +- [[#6245](https://github.com/apache/incubator-seata/pull/6245)] in file mode, the configuration in the application takes effect, when the spring configuration in the configuration center is changed - [[#6247](https://github.com/apache/incubator-seata/pull/6247)] optimize asf.yml ### security: diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 03c5bd7d9f8..79e0ce2ab48 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -48,8 +48,10 @@ - [[#6227](https://github.com/apache/incubator-seata/pull/6227)] 校验pk中不含逗号 - [[#6004](https://github.com/apache/incubator-seata/pull/6004)] 优化RM,TM连接server快速失败 - [[#6243](https://github.com/apache/incubator-seata/pull/6243)] 优化控制台页眉中的链接 +- [[#6245](https://github.com/apache/incubator-seata/pull/6245)] file模式下,在配置中心的spring配置改变时,使应用程序中的配置生效 - [[#6247](https://github.com/apache/incubator-seata/pull/6247)] 优化 asf.yml 配置 + ### security: - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞 - [[#6144](https://github.com/apache/incubator-seata/pull/6144)] 升级Nacos依赖版本至1.4.6 diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringApplicationContextProvider.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringApplicationContextProvider.java index a7b8204c1da..b2f1f87cd1d 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringApplicationContextProvider.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/io/seata/spring/boot/autoconfigure/provider/SpringApplicationContextProvider.java @@ -20,18 +20,29 @@ import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; +import org.springframework.context.ApplicationListener; +import org.springframework.context.event.ContextClosedEvent; import static io.seata.common.Constants.OBJECT_KEY_SPRING_APPLICATION_CONTEXT; /** * The type spring application context provider */ -public class SpringApplicationContextProvider implements ApplicationContextAware { +public class SpringApplicationContextProvider implements ApplicationContextAware, ApplicationListener { @Override public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { - System.setProperty("file.listener.enabled", "false"); ObjectHolder.INSTANCE.setObject(OBJECT_KEY_SPRING_APPLICATION_CONTEXT, applicationContext); } + /** + * Handle an application event. + * + * @param event the event to respond to + */ + @Override + public void onApplicationEvent(ContextClosedEvent event) { + // end the file listener as soon as possible in file config mode + System.setProperty("file.listener.enabled", "false"); + } } From 2433b8f4a6db2e31379a7ecb9ee79f71f643daff Mon Sep 17 00:00:00 2001 From: jimin Date: Mon, 8 Jan 2024 16:54:10 +0800 Subject: [PATCH 054/183] optimize: optimize some files (#6238) --- README.md | 22 +++++++++---------- build/pom.xml | 18 +++++++-------- changes/en-us/2.x.md | 2 ++ changes/zh-cn/2.x.md | 2 ++ .../resources/static/console-fe/package.json | 2 +- .../core/rpc/netty/v1/ProtocolV1Encoder.java | 1 + distribution/Dockerfile | 2 +- mvnw.cmd | 1 - .../README.md | 4 ++-- .../README.zh-CN.md | 4 ++-- .../package.json | 6 ++--- .../EditorDetailPanel/DetailForm.js | 4 ++-- script/config-center/README.md | 2 +- script/config-center/config.txt | 2 +- server/src/main/resources/README-zh.md | 6 ++--- server/src/main/resources/README.md | 6 ++--- .../seata/sqlparser/druid/BaseRecognizer.java | 10 ++++----- .../druid/oracle/BaseOracleRecognizer.java | 16 +++++++------- .../postgresql/BasePostgresqlRecognizer.java | 12 +++++----- .../sqlserver/BaseSqlServerRecognizer.java | 10 ++++----- 20 files changed, 67 insertions(+), 65 deletions(-) diff --git a/README.md b/README.md index e32ef586994..ecff43685d1 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ # Seata: Simple Extensible Autonomous Transaction Architecture -[![Build Status](https://github.com/seata/seata/workflows/build/badge.svg?branch=develop)](https://github.com/seata/seata/actions) -[![codecov](https://codecov.io/gh/seata/seata/branch/develop/graph/badge.svg)](https://codecov.io/gh/seata/seata) -[![license](https://img.shields.io/github/license/seata/seata.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) -[![maven](https://img.shields.io/maven-central/v/io.seata/seata-parent?versionSuffix=2.0.0)](https://search.maven.org/search?q=io.seata) +[![Build Status](https://github.com/apache/incubator-seata/workflows/build/badge.svg?branch=develop)](https://github.com/apache/incubator-seata/actions) +[![codecov](https://codecov.io/gh/apache/incubator-seata/branch/develop/graph/badge.svg)](https://codecov.io/gh/apache/incubator-seata) +[![license](https://img.shields.io/github/license/apache/incubator-seata.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) +[![maven](https://img.shields.io/maven-central/v/io.apache/incubator-seata-parent?versionSuffix=2.0.0)](https://search.maven.org/search?q=io.seata) ## What is Seata? @@ -56,7 +56,7 @@ A typical lifecycle of Seata managed distributed transaction: ![Typical Process](https://cdn.nlark.com/lark/0/2018/png/18862/1545296917881-26fabeb9-71fa-4f3e-8a7a-fc317d3389f4.png) -For more details about principle and design, please go to [Seata wiki page](https://github.com/seata/seata/wiki). +For more details about principle and design, please go to [Seata wiki page](https://github.com/apache/incubator-seata/wiki). ### History @@ -108,12 +108,12 @@ Depending on the scenario, choose one of the two dependencies: `io.seata:seata-a ## Quick Start -[Quick Start](https://seata.io/zh-cn/docs/ops/deploy-guide-beginner.html) +[Quick Start](https://seata.apache.org/zh-cn/docs/ops/deploy-guide-beginner) ## Documentation -You can view the full documentation from Seata Official Website: [Seata Website page](https://seata.io/zh-cn/docs/overview/what-is-seata.html). +You can view the full documentation from Seata Official Website: [Seata Website page](https://seata.apache.org/zh-cn/docs/overview/what-is-seata). ## Reporting bugs @@ -140,26 +140,24 @@ Contributors are welcomed to join the Seata project. Please check [CONTRIBUTING] ## Seata ecosystem * [Seata Website](https://github.com/apache/incubator-seata.github.io) - Seata official website -* [Seata Ecosystem Entry](https://github.com/seata) - A GitHub group `seata` to gather all Seata relevant projects * [Seata GoLang](https://github.com/apache/incubator-seata-go) - Seata GoLang client and server * [Seata Samples](https://github.com/apache/incubator-seata-samples) - Samples for Seata * [Seata GoLang Simples](https://github.com/apache/incubator-seata-go-samples) - Samples for Seata GoLang * [Seata K8s](https://github.com/apache/incubator-seata-k8s) - Seata integration with k8s * [Seata CLI](https://github.com/apache/incubator-seata-ctl) - CLI tool for Seata -* [Awesome Seata](https://github.com/seata/awesome-fescar) - Seata's slides and video address in meetup ## Contributors -This project exists thanks to all the people who contribute. [[Contributors](https://github.com/seata/seata/graphs/contributors)]. +This project exists thanks to all the people who contribute. [[Contributors](https://github.com/apache/incubator-seata/graphs/contributors)]. ## License -Seata is under the Apache 2.0 license. See the [LICENSE](https://github.com/seata/seata/blob/master/LICENSE) file for details. +Seata is under the Apache 2.0 license. See the [LICENSE](https://github.com/apache/incubator-seata/blob/master/LICENSE) file for details. ## Who is using These are only part of the companies using Seata, for reference only. If you are using Seata, please [add your company -here](https://github.com/seata/seata/issues/1246) to tell us your scenario to make Seata better. +here](https://github.com/apache/incubator-seata/issues/1246) to tell us your scenario to make Seata better.

Alibaba Group diff --git a/build/pom.xml b/build/pom.xml index 336567f90ad..9b8f85b7839 100644 --- a/build/pom.xml +++ b/build/pom.xml @@ -38,30 +38,30 @@ - Seata - https://github.com/seata + Apache + https://github.com/apache - https://seata.io + https://seata.apache.org Seata Seata - https://seata.io - dev-seata@googlegroups.com + https://seata.apache.org + dev@seata.apache.org github - https://github.com/seata/seata/issues + https://github.com/apache/incubator-seata/issues - git@github.com:seata/seata.git - scm:git@github.com:seata/seata.git - scm:git@github.com:seata/seata.git + git@github.com:apache/incubator-seata.git + scm:git@github.com:apache/incubator-seata.git + scm:git@github.com:apache/incubator-seata.git diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index a80513286f4..a99b2592d97 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -49,6 +49,8 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6227](https://github.com/apache/incubator-seata/pull/6227)] validate that the primary key is free of illegal characters - [[#6004](https://github.com/apache/incubator-seata/pull/6004)] optimize RM TM startup connect server fail fast - [[#6243](https://github.com/apache/incubator-seata/pull/6243)] optimize links in the console header +- [[#6238](https://github.com/apache/incubator-seata/pull/6238)] optimize some files +- [[#6239](https://github.com/apache/incubator-seata/pull/6239)] update security policy, disclaimer and notice - [[#6245](https://github.com/apache/incubator-seata/pull/6245)] in file mode, the configuration in the application takes effect, when the spring configuration in the configuration center is changed - [[#6247](https://github.com/apache/incubator-seata/pull/6247)] optimize asf.yml diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 79e0ce2ab48..309ee68f4e0 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -48,6 +48,8 @@ - [[#6227](https://github.com/apache/incubator-seata/pull/6227)] 校验pk中不含逗号 - [[#6004](https://github.com/apache/incubator-seata/pull/6004)] 优化RM,TM连接server快速失败 - [[#6243](https://github.com/apache/incubator-seata/pull/6243)] 优化控制台页眉中的链接 +- [[#6238](https://github.com/apache/incubator-seata/pull/6238)] 文件合规优化 +- [[#6239](https://github.com/apache/incubator-seata/pull/6239)] 更新security policy,disclaimer 和 notice 文件 - [[#6245](https://github.com/apache/incubator-seata/pull/6245)] file模式下,在配置中心的spring配置改变时,使应用程序中的配置生效 - [[#6247](https://github.com/apache/incubator-seata/pull/6247)] 优化 asf.yml 配置 diff --git a/console/src/main/resources/static/console-fe/package.json b/console/src/main/resources/static/console-fe/package.json index e16c89407aa..7ad83a039be 100644 --- a/console/src/main/resources/static/console-fe/package.json +++ b/console/src/main/resources/static/console-fe/package.json @@ -23,7 +23,7 @@ "license": "Apache-2.0", "repository": { "type": "git", - "url": "git+https://github.com/seata/seata.git" + "url": "git+https://github.com/apache/incubator-seata.git" }, "devDependencies": { "@babel/cli": "^7.2.3", diff --git a/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java b/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java index 0f35eff8492..97b786e2af1 100644 --- a/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java +++ b/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java @@ -64,6 +64,7 @@ public class ProtocolV1Encoder extends MessageToByteEncoder { @Override public void encode(ChannelHandlerContext ctx, Object msg, ByteBuf out) { try { + if (msg instanceof RpcMessage) { RpcMessage rpcMessage = (RpcMessage) msg; diff --git a/distribution/Dockerfile b/distribution/Dockerfile index 25bc060a02c..6c6bf88d745 100644 --- a/distribution/Dockerfile +++ b/distribution/Dockerfile @@ -28,7 +28,7 @@ FROM openjdk:8u342 # set label -LABEL maintainer="Seata " +LABEL maintainer="Seata " WORKDIR /$BASE_DIR diff --git a/mvnw.cmd b/mvnw.cmd index 0dd17319b8f..169db32e236 100755 --- a/mvnw.cmd +++ b/mvnw.cmd @@ -1,5 +1,4 @@ @REM ---------------------------------------------------------------------------- -@REM Copyright 1999-2019 Seata.io Group. @REM @REM Licensed under the Apache License, Version 2.0 (the "License"); @REM you may not use this file except in compliance with the License. diff --git a/saga/seata-saga-statemachine-designer/README.md b/saga/seata-saga-statemachine-designer/README.md index 9f86bd1839d..9938741fc88 100644 --- a/saga/seata-saga-statemachine-designer/README.md +++ b/saga/seata-saga-statemachine-designer/README.md @@ -7,7 +7,7 @@ A visual graph Seata Saga StateMachine Designer based on [GGEditor](https://gith ## run ```sh -$ git clone https://github.com/seata/seata.git +$ git clone https://github.com/apache/incubator-seata.git $ cd saga/seata-saga-statemachine-designer $ npm install $ npm start @@ -22,4 +22,4 @@ $ npm run build copy 'index.html' and 'dist' directory to static html directory of web server ## Usage -To understand the state types of the state machine, please see [document of Saga](https://seata.io/zh-cn/docs/user/saga.html). After using the designer to complete the design of the state machine, you can click the 'Json View' button on the toolbar to switch to the Json view, and save the Json to the project of your own application. Although the Json generated by the designer is different from the standard Json of the Saga state machine (because the json generated by the designer has layout information), the state machine can be directly loaded and it will be converted into the Json of the Saga state machine standard. +To understand the state types of the state machine, please see [document of Saga](https://seata.apache.org/zh-cn/docs/user/mode/saga). After using the designer to complete the design of the state machine, you can click the 'Json View' button on the toolbar to switch to the Json view, and save the Json to the project of your own application. Although the Json generated by the designer is different from the standard Json of the Saga state machine (because the json generated by the designer has layout information), the state machine can be directly loaded and it will be converted into the Json of the Saga state machine standard. diff --git a/saga/seata-saga-statemachine-designer/README.zh-CN.md b/saga/seata-saga-statemachine-designer/README.zh-CN.md index 35f9e9e37d1..71a8df35667 100644 --- a/saga/seata-saga-statemachine-designer/README.zh-CN.md +++ b/saga/seata-saga-statemachine-designer/README.zh-CN.md @@ -7,7 +7,7 @@ Seata Saga 状态机可视化图形设计器, 基于 [GGEditor](https://github.c ## 运行 ```sh -$ git clone https://github.com/seata/seata.git +$ git clone https://github.com/apache/incubator-seata.git $ cd saga/seata-saga-statemachine-designer $ npm install $ npm start @@ -22,4 +22,4 @@ $ npm run build 然后将index.html和dist目录拷贝到web server的静态页面目录下 ## 使用 -了解状态机的种状态类型,请看Saga的[文档](https://seata.io/zh-cn/docs/user/saga.html)。 通过设计器完成设计后可以点击工具栏的'Json View'按钮切换到Json视图,将Json拷贝保存到自己应用的工程里。虽然设计器生成的Json与Saga标准的Json有所差别(因为设计器生成的json带有布局信息),但状态机可以直接加载,它会将其转化成Saga状态机标准的Json。 +了解状态机的种状态类型,请看Saga的[文档](https://seata.apache.org/zh-cn/docs/user/mode/saga)。 通过设计器完成设计后可以点击工具栏的'Json View'按钮切换到Json视图,将Json拷贝保存到自己应用的工程里。虽然设计器生成的Json与Saga标准的Json有所差别(因为设计器生成的json带有布局信息),但状态机可以直接加载,它会将其转化成Saga状态机标准的Json。 diff --git a/saga/seata-saga-statemachine-designer/package.json b/saga/seata-saga-statemachine-designer/package.json index 0f2fbfe95e6..2f420ebe9f9 100644 --- a/saga/seata-saga-statemachine-designer/package.json +++ b/saga/seata-saga-statemachine-designer/package.json @@ -27,7 +27,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/seata/seata.git" + "url": "git+https://github.com/apache/incubator-seata.git" }, "authors": [ { @@ -37,9 +37,9 @@ ], "license": "Apache-2.0", "bugs": { - "url": "https://github.com/seata/seata/issues" + "url": "https://github.com/apache/incubator-seata/issues" }, - "homepage": "https://seata.io/", + "homepage": "https://seata.apache.org/", "peerDependencies": { "react": "^16.3.0" }, diff --git a/saga/seata-saga-statemachine-designer/src/components/EditorDetailPanel/DetailForm.js b/saga/seata-saga-statemachine-designer/src/components/EditorDetailPanel/DetailForm.js index bdcc470f27c..5c9dd0ca4a6 100644 --- a/saga/seata-saga-statemachine-designer/src/components/EditorDetailPanel/DetailForm.js +++ b/saga/seata-saga-statemachine-designer/src/components/EditorDetailPanel/DetailForm.js @@ -116,7 +116,7 @@ class DetailForm extends React.Component { initialValue: JSON.stringify(stateProps, null, 2), })(