This is an automated email from the ASF dual-hosted git repository.

shaojunwang pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-teaclave-java-tee-sdk.git

commit de945968cccaaa82b77a7b388efe8b62395537cd
Author: jeffery.wsj <[email protected]>
AuthorDate: Tue Oct 11 14:19:52 2022 +0800

    [sdk] Add Apache2.0 license for some .java files
    
    Summary: Add Apache2.0 license for some newly added files.
    
    Test Plan: all tests pass
    
    Reviewers: lei.yul, cengfeng.lzy, sanhong.lsh
    
    Issue: https://aone.alibaba-inc.com/task/45407235
    
    CR: 
https://code.aone.alibaba-inc.com/java-tee/JavaEnclave/codereview/10359419
---
 .../teaclave/javasdk/test/common/SMSignAndVerify.java   | 17 +++++++++++++++++
 .../javasdk/test/enclave/SMSignAndVerifyImpl.java       | 17 +++++++++++++++++
 .../org/apache/teaclave/javasdk/test/host/TestMain.java | 17 +++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git 
a/test/common/src/main/java/org/apache/teaclave/javasdk/test/common/SMSignAndVerify.java
 
b/test/common/src/main/java/org/apache/teaclave/javasdk/test/common/SMSignAndVerify.java
index 92fb198..b2b65ef 100644
--- 
a/test/common/src/main/java/org/apache/teaclave/javasdk/test/common/SMSignAndVerify.java
+++ 
b/test/common/src/main/java/org/apache/teaclave/javasdk/test/common/SMSignAndVerify.java
@@ -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.
+
 package org.apache.teaclave.javasdk.test.common;
 
 import org.apache.teaclave.javasdk.common.annotations.EnclaveService;
diff --git 
a/test/enclave/src/main/java/org/apache/teaclave/javasdk/test/enclave/SMSignAndVerifyImpl.java
 
b/test/enclave/src/main/java/org/apache/teaclave/javasdk/test/enclave/SMSignAndVerifyImpl.java
index e464018..be9f965 100644
--- 
a/test/enclave/src/main/java/org/apache/teaclave/javasdk/test/enclave/SMSignAndVerifyImpl.java
+++ 
b/test/enclave/src/main/java/org/apache/teaclave/javasdk/test/enclave/SMSignAndVerifyImpl.java
@@ -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.
+
 package org.apache.teaclave.javasdk.test.enclave;
 
 import com.google.auto.service.AutoService;
diff --git 
a/test/host/src/main/java/org/apache/teaclave/javasdk/test/host/TestMain.java 
b/test/host/src/main/java/org/apache/teaclave/javasdk/test/host/TestMain.java
index fa1d62c..008b006 100644
--- 
a/test/host/src/main/java/org/apache/teaclave/javasdk/test/host/TestMain.java
+++ 
b/test/host/src/main/java/org/apache/teaclave/javasdk/test/host/TestMain.java
@@ -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.
+
 package org.apache.teaclave.javasdk.test.host;
 
 import org.junit.runner.JUnitCore;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to