Skip to content

Commit

Permalink
optimize: add some copyright header for test classes (apache#4409)
Browse files Browse the repository at this point in the history
  • Loading branch information
doubleDimple authored Feb 28, 2022
1 parent 00f05eb commit 505797c
Show file tree
Hide file tree
Showing 17 changed files with 48 additions and 13 deletions.
1 change: 1 addition & 0 deletions changes/1.5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ Seata 是一款开源的分布式事务解决方案,提供高性能和简单
- [[#4353](https://github.com/seata/seata/pull/4353)]`seata-all.jar` 瘦身
- [[#4400](https://github.com/seata/seata/pull/4400)] 异步二阶段任务支持并行处理提升效率
- [[#4391](https://github.com/seata/seata/pull/4391)] commit/rollback 重试超时事件
- [[#4409](https://github.com/seata/seata/pull/4409)] 测试类添加版权标题
- [[#4407](https://github.com/seata/seata/pull/4407)] file模式下无需延迟删除globasession


Expand Down
3 changes: 2 additions & 1 deletion changes/en-us/1.5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,10 @@
- [[#4353](https://github.com/seata/seata/pull/4353)] Slimming down for the `seata-all.jar`
- [[#4400](https://github.com/seata/seata/pull/4400)] asynchronous tasks handle global transactions in parallel
- [[#4391](https://github.com/seata/seata/pull/4391)] commit/rollback retry timeout event
- [[#4409](https://github.com/seata/seata/pull/4409)] add copyright header to test classes
- [[#4407](https://github.com/seata/seata/pull/4407)] file mode does not require lazy processing of sessions


### test:


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.seata.discovery.registry;

import io.seata.common.loader.LoadLevel;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.seata.spring.boot.autoconfigure;

import org.junit.jupiter.api.AfterEach;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.seata.spring.boot.autoconfigure.properties.config.test;

import io.seata.common.loader.EnhancedServiceLoader;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.seata.spring.boot.autoconfigure.properties.config.test;

import io.seata.common.loader.EnhancedServiceLoader;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.seata.spring.boot.autoconfigure.properties.config.test;

import io.seata.common.loader.EnhancedServiceLoader;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.seata.spring.boot.autoconfigure.properties.config.test;

import io.seata.common.loader.EnhancedServiceLoader;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.seata.spring.boot.autoconfigure.properties.config.test;

import io.seata.common.loader.EnhancedServiceLoader;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.seata.spring.boot.autoconfigure.properties.config.test;

import io.seata.common.loader.EnhancedServiceLoader;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.seata.spring.boot.autoconfigure.properties.config.test;

import io.seata.common.loader.EnhancedServiceLoader;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.seata.spring.boot.autoconfigure.properties.config.test;

import io.seata.common.loader.EnhancedServiceLoader;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.seata.server;

import java.util.Properties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.seata.server.env;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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

import io.seata.core.context.RootContext
Expand Down
15 changes: 15 additions & 0 deletions spring/src/main/java/io/seata/spring/kt/support/TransactionDsl.kt
Original file line number Diff line number Diff line change
@@ -1,3 +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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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

import io.seata.core.context.RootContext
Expand Down
15 changes: 15 additions & 0 deletions spring/src/test/java/io/seata/spring/kt/TransactionScopeTest.kt
Original file line number Diff line number Diff line change
@@ -1,3 +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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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

import io.seata.core.context.RootContext
Expand Down

0 comments on commit 505797c

Please sign in to comment.