This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch GROOVY-9381
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY-9381 by this push:
new fcaf1fc9e6 Add license header
fcaf1fc9e6 is described below
commit fcaf1fc9e6ccac18d16eadabe8189208788a3e59
Author: Daniel Sun <[email protected]>
AuthorDate: Sat Oct 25 20:51:51 2025 +0900
Add license header
---
src/main/groovy/groovy/util/concurrent/Promise.java | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/src/main/groovy/groovy/util/concurrent/Promise.java
b/src/main/groovy/groovy/util/concurrent/Promise.java
index f4fe31b23b..c05ac6d234 100644
--- a/src/main/groovy/groovy/util/concurrent/Promise.java
+++ b/src/main/groovy/groovy/util/concurrent/Promise.java
@@ -1,3 +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.
+ */
package groovy.util.concurrent;
import java.util.concurrent.CancellationException;