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

asf-gitbox-commits pushed a commit to branch 2.1.X
in repository https://gitbox.apache.org/repos/asf/mina.git


The following commit(s) were added to refs/heads/2.1.X by this push:
     new ad38ff663 Added missing AL2.0 headers
ad38ff663 is described below

commit ad38ff66321c0f533d9334fc6df02781f40229f5
Author: emmanuel lecharny <[email protected]>
AuthorDate: Sat Apr 25 08:07:42 2026 +0200

    Added missing AL2.0 headers
---
 .../mina/core/buffer/matcher/FilenameUtils.java     | 19 +++++++++++++++++++
 .../mina/core/buffer/IoBufferHexDumperTest.java     | 19 +++++++++++++++++++
 .../org/apache/mina/filter/ssl/SslEngineTest.java   | 19 +++++++++++++++++++
 .../filter/ssl/SslIdentificationAlgorithmTest.java  | 19 +++++++++++++++++++
 .../mina/transport/socket/nio/DIRMINA1041Test.java  | 19 +++++++++++++++++++
 .../org/apache/mina/example/test/MinaClient.java    | 21 ++++++++++++++++++++-
 .../apache/mina/example/test/MinaClientHandler.java | 21 ++++++++++++++++++++-
 .../org/apache/mina/example/test/MinaServer.java    | 21 ++++++++++++++++++++-
 .../apache/mina/example/test/MinaServerHandler.java | 21 ++++++++++++++++++++-
 9 files changed, 175 insertions(+), 4 deletions(-)

diff --git 
a/mina-core/src/main/java/org/apache/mina/core/buffer/matcher/FilenameUtils.java
 
b/mina-core/src/main/java/org/apache/mina/core/buffer/matcher/FilenameUtils.java
index 72274af93..c164b2edd 100644
--- 
a/mina-core/src/main/java/org/apache/mina/core/buffer/matcher/FilenameUtils.java
+++ 
b/mina-core/src/main/java/org/apache/mina/core/buffer/matcher/FilenameUtils.java
@@ -1,3 +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.
+ *
+ */
 package org.apache.mina.core.buffer.matcher;
 
 import java.util.ArrayDeque;
diff --git 
a/mina-core/src/test/java/org/apache/mina/core/buffer/IoBufferHexDumperTest.java
 
b/mina-core/src/test/java/org/apache/mina/core/buffer/IoBufferHexDumperTest.java
index 560a202ea..7c9d36469 100644
--- 
a/mina-core/src/test/java/org/apache/mina/core/buffer/IoBufferHexDumperTest.java
+++ 
b/mina-core/src/test/java/org/apache/mina/core/buffer/IoBufferHexDumperTest.java
@@ -1,3 +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.
+ *
+ */
 package org.apache.mina.core.buffer;
 
 import static org.junit.Assert.assertEquals;
diff --git 
a/mina-core/src/test/java/org/apache/mina/filter/ssl/SslEngineTest.java 
b/mina-core/src/test/java/org/apache/mina/filter/ssl/SslEngineTest.java
index 28b112227..e5678bd9c 100644
--- a/mina-core/src/test/java/org/apache/mina/filter/ssl/SslEngineTest.java
+++ b/mina-core/src/test/java/org/apache/mina/filter/ssl/SslEngineTest.java
@@ -1,3 +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.
+ *
+ */
 package org.apache.mina.filter.ssl;
 
 import static org.junit.Assert.fail;
diff --git 
a/mina-core/src/test/java/org/apache/mina/filter/ssl/SslIdentificationAlgorithmTest.java
 
b/mina-core/src/test/java/org/apache/mina/filter/ssl/SslIdentificationAlgorithmTest.java
index a53115b67..ba7a14fee 100644
--- 
a/mina-core/src/test/java/org/apache/mina/filter/ssl/SslIdentificationAlgorithmTest.java
+++ 
b/mina-core/src/test/java/org/apache/mina/filter/ssl/SslIdentificationAlgorithmTest.java
@@ -1,3 +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.
+ *
+ */
 package org.apache.mina.filter.ssl;
 
 import org.apache.mina.core.filterchain.DefaultIoFilterChainBuilder;
diff --git 
a/mina-core/src/test/java/org/apache/mina/transport/socket/nio/DIRMINA1041Test.java
 
b/mina-core/src/test/java/org/apache/mina/transport/socket/nio/DIRMINA1041Test.java
index 08cbf303c..0ddff9930 100644
--- 
a/mina-core/src/test/java/org/apache/mina/transport/socket/nio/DIRMINA1041Test.java
+++ 
b/mina-core/src/test/java/org/apache/mina/transport/socket/nio/DIRMINA1041Test.java
@@ -1,3 +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.
+ *
+ */
 package org.apache.mina.transport.socket.nio;
 
 import org.apache.mina.core.buffer.IoBuffer;
diff --git 
a/mina-example/src/main/java/org/apache/mina/example/test/MinaClient.java 
b/mina-example/src/main/java/org/apache/mina/example/test/MinaClient.java
index f2fbb7011..edf429a97 100644
--- a/mina-example/src/main/java/org/apache/mina/example/test/MinaClient.java
+++ b/mina-example/src/main/java/org/apache/mina/example/test/MinaClient.java
@@ -1,3 +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.
+ *
+ */
 package org.apache.mina.example.test;
 
 
@@ -96,4 +115,4 @@ public class MinaClient {
         sslFilter.setUseClientMode(true);
         return sslFilter;
     }
-}
\ No newline at end of file
+}
diff --git 
a/mina-example/src/main/java/org/apache/mina/example/test/MinaClientHandler.java
 
b/mina-example/src/main/java/org/apache/mina/example/test/MinaClientHandler.java
index 7fca47ade..996f22b81 100644
--- 
a/mina-example/src/main/java/org/apache/mina/example/test/MinaClientHandler.java
+++ 
b/mina-example/src/main/java/org/apache/mina/example/test/MinaClientHandler.java
@@ -1,3 +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.
+ *
+ */
 package org.apache.mina.example.test;
 
 import org.apache.mina.core.service.IoHandlerAdapter;
@@ -31,4 +50,4 @@ public class MinaClientHandler extends IoHandlerAdapter {
     public void exceptionCaught(IoSession session, Throwable cause) {
         session.close();
     }
-}
\ No newline at end of file
+}
diff --git 
a/mina-example/src/main/java/org/apache/mina/example/test/MinaServer.java 
b/mina-example/src/main/java/org/apache/mina/example/test/MinaServer.java
index 9e5f76d82..eb1b39c0a 100644
--- a/mina-example/src/main/java/org/apache/mina/example/test/MinaServer.java
+++ b/mina-example/src/main/java/org/apache/mina/example/test/MinaServer.java
@@ -1,3 +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.
+ *
+ */
 package org.apache.mina.example.test;
 
 
@@ -60,4 +79,4 @@ public class MinaServer {
         kmf.init(store, keystorePassword);
         return kmf.getKeyManagers();
     }
-}
\ No newline at end of file
+}
diff --git 
a/mina-example/src/main/java/org/apache/mina/example/test/MinaServerHandler.java
 
b/mina-example/src/main/java/org/apache/mina/example/test/MinaServerHandler.java
index d7c5e0fe5..3b0abfc36 100644
--- 
a/mina-example/src/main/java/org/apache/mina/example/test/MinaServerHandler.java
+++ 
b/mina-example/src/main/java/org/apache/mina/example/test/MinaServerHandler.java
@@ -1,3 +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.
+ *
+ */
 package org.apache.mina.example.test;
 
 import org.apache.mina.core.service.IoHandlerAdapter;
@@ -37,4 +56,4 @@ public class MinaServerHandler extends IoHandlerAdapter {
         // close the connection on exceptional situation
         session.close();
     }
-}
\ No newline at end of file
+}

Reply via email to