From bf6602c748a6d4cded21556d68e57cb5f77066f8 Mon Sep 17 00:00:00 2001 From: markt Date: Tue, 17 Nov 2009 22:44:58 +0000 Subject: [PATCH] Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48151 Add missing AL2 headers git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@881589 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/catalina/startup/DefaultJarScanner.java | 17 +++++++++++++++++ java/org/apache/tomcat/JarScannerCallback.java | 17 +++++++++++++++++ .../org/apache/tomcat/jdbc/test/TestConcurrency.java | 17 +++++++++++++++++ .../org/apache/tomcat/jdbc/test/TestException.java | 17 +++++++++++++++++ .../org/apache/tomcat/jdbc/test/driver/ResultSet.java | 17 +++++++++++++++++ modules/tomcat-lite/examples/spring/TomcatSpring.java | 17 ++++++++++++++++- .../java/org/apache/tomcat/addons/Filesystem.java | 15 +++++++++++++++ .../org/apache/tomcat/addons/UserAuthentication.java | 15 +++++++++++++++ .../org/apache/tomcat/addons/UserSessionManager.java | 15 +++++++++++++++ .../apache/tomcat/addons/UserTemplateClassMapper.java | 15 +++++++++++++++ .../org/apache/tomcat/integration/ObjectManager.java | 15 +++++++++++++++ .../tomcat/integration/jmx/JmxObjectManagerSpi.java | 15 +++++++++++++++ .../tomcat/integration/simple/LocalFilesystem.java | 15 +++++++++++++++ .../org/apache/tomcat/integration/simple/Main.java | 15 +++++++++++++++ .../tomcat/integration/simple/ServletHelper.java | 15 +++++++++++++++ .../tomcat/integration/simple/SimpleObjectManager.java | 15 +++++++++++++++ .../java/org/apache/tomcat/lite/BodyWriter.java | 15 +++++++++++++++ .../java/org/apache/tomcat/lite/Connector.java | 15 +++++++++++++++ .../org/apache/tomcat/lite/ContextPreinitListener.java | 15 +++++++++++++++ .../org/apache/tomcat/lite/WebappContextMapper.java | 17 +++++++++++++++++ .../org/apache/tomcat/lite/coyote/CoyoteConnector.java | 15 +++++++++++++++ .../tomcat/lite/webxml/ServletContextConfig.java | 18 ++++++++++++++++-- .../tomcat/lite/webxml/TomcatLiteWebXmlConfig.java | 15 +++++++++++++++ .../java/org/apache/tomcat/lite/webxml/WebXml.java | 15 +++++++++++++++ .../org/apache/tomcat/servlets/file/CopyUtils.java | 17 +++++++++++++++++ .../org/apache/tomcat/servlets/file/FileCopyUtils.java | 17 +++++++++++++++++ .../apache/tomcat/servlets/jsp/PreCompileFilter.java | 17 +++++++++++++++++ .../servlets/jsp/SingleThreadedProxyServlet.java | 15 +++++++++++++++ .../java/org/apache/tomcat/servlets/sec/UserDB.java | 15 +++++++++++++++ .../tomcat/servlets/session/RandomGenerator.java | 17 +++++++++++++++++ .../java/org/apache/tomcat/servlets/util/Range.java | 18 ++++++++++++++++-- .../java/org/apache/tomcat/servlets/util/UrlUtils.java | 17 +++++++++++++++++ .../java/org/apache/tomcat/util/http/HttpRequest.java | 15 +++++++++++++++ .../java/org/apache/tomcat/util/http/HttpResponse.java | 15 +++++++++++++++ .../test/org/apache/tomcat/lite/LiteTestHelper.java | 15 +++++++++++++++ .../test/org/apache/tomcat/lite/PropertiesSpiTest.java | 15 +++++++++++++++ .../test/org/apache/tomcat/lite/SimpleServlet.java | 15 +++++++++++++++ .../org/apache/tomcat/test/watchdog/WatchdogTest.java | 15 +++++++++++++++ .../test/org/apache/tomcat/util/buf/UEncoderTest.java | 15 +++++++++++++++ test/org/apache/TestAll.java | 17 +++++++++++++++++ test/org/apache/catalina/startup/SimpleHttpClient.java | 17 +++++++++++++++++ test/org/apache/catalina/startup/TestWebXml.java | 17 +++++++++++++++++ 42 files changed, 661 insertions(+), 5 deletions(-) diff --git a/java/org/apache/catalina/startup/DefaultJarScanner.java b/java/org/apache/catalina/startup/DefaultJarScanner.java index 62783af07..d2825abce 100644 --- a/java/org/apache/catalina/startup/DefaultJarScanner.java +++ b/java/org/apache/catalina/startup/DefaultJarScanner.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.catalina.startup; import java.io.File; diff --git a/java/org/apache/tomcat/JarScannerCallback.java b/java/org/apache/tomcat/JarScannerCallback.java index 4d31fdf98..478ba6889 100644 --- a/java/org/apache/tomcat/JarScannerCallback.java +++ b/java/org/apache/tomcat/JarScannerCallback.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.tomcat; import java.io.File; diff --git a/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestConcurrency.java b/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestConcurrency.java index 23c8990c1..6a22d0a3d 100644 --- a/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestConcurrency.java +++ b/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestConcurrency.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.tomcat.jdbc.test; import java.sql.Connection; diff --git a/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestException.java b/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestException.java index 289e907f8..0a8df772d 100644 --- a/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestException.java +++ b/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestException.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.tomcat.jdbc.test; import java.sql.Connection; diff --git a/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/ResultSet.java b/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/ResultSet.java index 05be7e4f4..9986c48a3 100644 --- a/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/ResultSet.java +++ b/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/ResultSet.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.tomcat.jdbc.test.driver; import java.io.InputStream; diff --git a/modules/tomcat-lite/examples/spring/TomcatSpring.java b/modules/tomcat-lite/examples/spring/TomcatSpring.java index 0a5503379..33fc996c8 100644 --- a/modules/tomcat-lite/examples/spring/TomcatSpring.java +++ b/modules/tomcat-lite/examples/spring/TomcatSpring.java @@ -1,4 +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. + */ import java.io.IOException; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/addons/Filesystem.java b/modules/tomcat-lite/java/org/apache/tomcat/addons/Filesystem.java index 963d06b0b..85c06a3f0 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/addons/Filesystem.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/addons/Filesystem.java @@ -1,5 +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.tomcat.addons; import java.io.FileInputStream; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/addons/UserAuthentication.java b/modules/tomcat-lite/java/org/apache/tomcat/addons/UserAuthentication.java index d56556313..88a0adc85 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/addons/UserAuthentication.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/addons/UserAuthentication.java @@ -1,5 +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.tomcat.addons; import java.io.IOException; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/addons/UserSessionManager.java b/modules/tomcat-lite/java/org/apache/tomcat/addons/UserSessionManager.java index 5e450e7d5..c450b5f8e 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/addons/UserSessionManager.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/addons/UserSessionManager.java @@ -1,5 +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.tomcat.addons; import java.io.IOException; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/addons/UserTemplateClassMapper.java b/modules/tomcat-lite/java/org/apache/tomcat/addons/UserTemplateClassMapper.java index 9c696a25c..1a37cc779 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/addons/UserTemplateClassMapper.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/addons/UserTemplateClassMapper.java @@ -1,5 +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.tomcat.addons; import javax.servlet.Servlet; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/integration/ObjectManager.java b/modules/tomcat-lite/java/org/apache/tomcat/integration/ObjectManager.java index e1d8cc233..219699c7f 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/integration/ObjectManager.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/integration/ObjectManager.java @@ -1,5 +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.tomcat.integration; import java.util.ArrayList; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/integration/jmx/JmxObjectManagerSpi.java b/modules/tomcat-lite/java/org/apache/tomcat/integration/jmx/JmxObjectManagerSpi.java index 0a1b1bab9..b70127fe7 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/integration/jmx/JmxObjectManagerSpi.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/integration/jmx/JmxObjectManagerSpi.java @@ -1,5 +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.tomcat.integration.jmx; import java.util.logging.Logger; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/LocalFilesystem.java b/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/LocalFilesystem.java index 782d5c2ab..7bdf47562 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/LocalFilesystem.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/LocalFilesystem.java @@ -1,5 +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.tomcat.integration.simple; import java.io.FileOutputStream; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/Main.java b/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/Main.java index 7871cbbb7..cc2d0031b 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/Main.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/Main.java @@ -1,5 +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.tomcat.integration.simple; import org.apache.tomcat.integration.ObjectManager; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/ServletHelper.java b/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/ServletHelper.java index bf5bf15e2..b6269d27d 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/ServletHelper.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/ServletHelper.java @@ -1,5 +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.tomcat.integration.simple; import java.util.Enumeration; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/SimpleObjectManager.java b/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/SimpleObjectManager.java index 212f1a891..edfd0946b 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/SimpleObjectManager.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/integration/simple/SimpleObjectManager.java @@ -1,5 +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.tomcat.integration.simple; import java.io.File; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/lite/BodyWriter.java b/modules/tomcat-lite/java/org/apache/tomcat/lite/BodyWriter.java index 2e85fb706..5e09ae77f 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/lite/BodyWriter.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/lite/BodyWriter.java @@ -1,5 +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.tomcat.lite; import java.io.IOException; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/lite/Connector.java b/modules/tomcat-lite/java/org/apache/tomcat/lite/Connector.java index 245bfc66e..b5a4fdf66 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/lite/Connector.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/lite/Connector.java @@ -1,5 +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.tomcat.lite; import java.io.IOException; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/lite/ContextPreinitListener.java b/modules/tomcat-lite/java/org/apache/tomcat/lite/ContextPreinitListener.java index c1ddaba89..663266e3b 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/lite/ContextPreinitListener.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/lite/ContextPreinitListener.java @@ -1,5 +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.tomcat.lite; import javax.servlet.ServletContext; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/lite/WebappContextMapper.java b/modules/tomcat-lite/java/org/apache/tomcat/lite/WebappContextMapper.java index 7fc2c311c..ae0d9698e 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/lite/WebappContextMapper.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/lite/WebappContextMapper.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.tomcat.lite; import java.io.IOException; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/lite/coyote/CoyoteConnector.java b/modules/tomcat-lite/java/org/apache/tomcat/lite/coyote/CoyoteConnector.java index a4e45f03e..1a69269c8 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/lite/coyote/CoyoteConnector.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/lite/coyote/CoyoteConnector.java @@ -1,5 +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.tomcat.lite.coyote; import java.io.IOException; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/lite/webxml/ServletContextConfig.java b/modules/tomcat-lite/java/org/apache/tomcat/lite/webxml/ServletContextConfig.java index 868660d02..59dbd62e9 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/lite/webxml/ServletContextConfig.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/lite/webxml/ServletContextConfig.java @@ -1,6 +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.tomcat.lite.webxml; import java.io.Serializable; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/lite/webxml/TomcatLiteWebXmlConfig.java b/modules/tomcat-lite/java/org/apache/tomcat/lite/webxml/TomcatLiteWebXmlConfig.java index fe2673ea6..c79fa14ce 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/lite/webxml/TomcatLiteWebXmlConfig.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/lite/webxml/TomcatLiteWebXmlConfig.java @@ -1,5 +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.tomcat.lite.webxml; import javax.servlet.ServletContext; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/lite/webxml/WebXml.java b/modules/tomcat-lite/java/org/apache/tomcat/lite/webxml/WebXml.java index 8bbf88bc0..6f4c08a12 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/lite/webxml/WebXml.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/lite/webxml/WebXml.java @@ -1,5 +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.tomcat.lite.webxml; import java.io.File; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/servlets/file/CopyUtils.java b/modules/tomcat-lite/java/org/apache/tomcat/servlets/file/CopyUtils.java index ebe966d90..5ebf38a77 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/servlets/file/CopyUtils.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/servlets/file/CopyUtils.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.tomcat.servlets.file; import java.io.BufferedInputStream; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/servlets/file/FileCopyUtils.java b/modules/tomcat-lite/java/org/apache/tomcat/servlets/file/FileCopyUtils.java index d3be53ae1..83e80b3e6 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/servlets/file/FileCopyUtils.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/servlets/file/FileCopyUtils.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.tomcat.servlets.file; import java.io.BufferedInputStream; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/servlets/jsp/PreCompileFilter.java b/modules/tomcat-lite/java/org/apache/tomcat/servlets/jsp/PreCompileFilter.java index 06497ddd9..eb3be81cf 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/servlets/jsp/PreCompileFilter.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/servlets/jsp/PreCompileFilter.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.tomcat.servlets.jsp; import javax.servlet.ServletConfig; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/servlets/jsp/SingleThreadedProxyServlet.java b/modules/tomcat-lite/java/org/apache/tomcat/servlets/jsp/SingleThreadedProxyServlet.java index 02cf9c359..83f325720 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/servlets/jsp/SingleThreadedProxyServlet.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/servlets/jsp/SingleThreadedProxyServlet.java @@ -1,5 +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.tomcat.servlets.jsp; import java.util.Stack; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/servlets/sec/UserDB.java b/modules/tomcat-lite/java/org/apache/tomcat/servlets/sec/UserDB.java index 19ae39db0..df79e8d71 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/servlets/sec/UserDB.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/servlets/sec/UserDB.java @@ -1,5 +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.tomcat.servlets.sec; /** diff --git a/modules/tomcat-lite/java/org/apache/tomcat/servlets/session/RandomGenerator.java b/modules/tomcat-lite/java/org/apache/tomcat/servlets/session/RandomGenerator.java index 8134bd659..45588b37c 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/servlets/session/RandomGenerator.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/servlets/session/RandomGenerator.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.tomcat.servlets.session; import java.io.DataInputStream; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/servlets/util/Range.java b/modules/tomcat-lite/java/org/apache/tomcat/servlets/util/Range.java index 4cb02aec5..31d6b2718 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/servlets/util/Range.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/servlets/util/Range.java @@ -1,6 +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.tomcat.servlets.util; import java.io.IOException; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/servlets/util/UrlUtils.java b/modules/tomcat-lite/java/org/apache/tomcat/servlets/util/UrlUtils.java index 3049de453..f968fb876 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/servlets/util/UrlUtils.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/servlets/util/UrlUtils.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.tomcat.servlets.util; public class UrlUtils { diff --git a/modules/tomcat-lite/java/org/apache/tomcat/util/http/HttpRequest.java b/modules/tomcat-lite/java/org/apache/tomcat/util/http/HttpRequest.java index 7ed180d0c..3e1c81ce6 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/util/http/HttpRequest.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/util/http/HttpRequest.java @@ -1,5 +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.tomcat.util.http; import org.apache.tomcat.util.buf.MessageBytes; diff --git a/modules/tomcat-lite/java/org/apache/tomcat/util/http/HttpResponse.java b/modules/tomcat-lite/java/org/apache/tomcat/util/http/HttpResponse.java index 1bcef50e6..56932552e 100644 --- a/modules/tomcat-lite/java/org/apache/tomcat/util/http/HttpResponse.java +++ b/modules/tomcat-lite/java/org/apache/tomcat/util/http/HttpResponse.java @@ -1,5 +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.tomcat.util.http; import org.apache.tomcat.util.buf.MessageBytes; diff --git a/modules/tomcat-lite/test/org/apache/tomcat/lite/LiteTestHelper.java b/modules/tomcat-lite/test/org/apache/tomcat/lite/LiteTestHelper.java index ddb9b30a6..80994db40 100644 --- a/modules/tomcat-lite/test/org/apache/tomcat/lite/LiteTestHelper.java +++ b/modules/tomcat-lite/test/org/apache/tomcat/lite/LiteTestHelper.java @@ -1,5 +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.tomcat.lite; import java.io.BufferedInputStream; diff --git a/modules/tomcat-lite/test/org/apache/tomcat/lite/PropertiesSpiTest.java b/modules/tomcat-lite/test/org/apache/tomcat/lite/PropertiesSpiTest.java index f9e9297f2..90b17478d 100644 --- a/modules/tomcat-lite/test/org/apache/tomcat/lite/PropertiesSpiTest.java +++ b/modules/tomcat-lite/test/org/apache/tomcat/lite/PropertiesSpiTest.java @@ -1,5 +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.tomcat.lite; import java.io.IOException; diff --git a/modules/tomcat-lite/test/org/apache/tomcat/lite/SimpleServlet.java b/modules/tomcat-lite/test/org/apache/tomcat/lite/SimpleServlet.java index fd90ddf6f..0221b4859 100644 --- a/modules/tomcat-lite/test/org/apache/tomcat/lite/SimpleServlet.java +++ b/modules/tomcat-lite/test/org/apache/tomcat/lite/SimpleServlet.java @@ -1,5 +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.tomcat.lite; import java.io.IOException; diff --git a/modules/tomcat-lite/test/org/apache/tomcat/test/watchdog/WatchdogTest.java b/modules/tomcat-lite/test/org/apache/tomcat/test/watchdog/WatchdogTest.java index 54e8a4432..d5b70673d 100644 --- a/modules/tomcat-lite/test/org/apache/tomcat/test/watchdog/WatchdogTest.java +++ b/modules/tomcat-lite/test/org/apache/tomcat/test/watchdog/WatchdogTest.java @@ -1,5 +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.tomcat.test.watchdog; import java.util.Properties; diff --git a/modules/tomcat-lite/test/org/apache/tomcat/util/buf/UEncoderTest.java b/modules/tomcat-lite/test/org/apache/tomcat/util/buf/UEncoderTest.java index 2dbef1031..f3f8f40e2 100644 --- a/modules/tomcat-lite/test/org/apache/tomcat/util/buf/UEncoderTest.java +++ b/modules/tomcat-lite/test/org/apache/tomcat/util/buf/UEncoderTest.java @@ -1,5 +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.tomcat.util.buf; import junit.framework.TestCase; diff --git a/test/org/apache/TestAll.java b/test/org/apache/TestAll.java index ed0aa68fa..9b90bdb3b 100644 --- a/test/org/apache/TestAll.java +++ b/test/org/apache/TestAll.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; import junit.framework.Test; diff --git a/test/org/apache/catalina/startup/SimpleHttpClient.java b/test/org/apache/catalina/startup/SimpleHttpClient.java index 3a88c94ef..bcd6507d2 100644 --- a/test/org/apache/catalina/startup/SimpleHttpClient.java +++ b/test/org/apache/catalina/startup/SimpleHttpClient.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.catalina.startup; import java.io.BufferedReader; diff --git a/test/org/apache/catalina/startup/TestWebXml.java b/test/org/apache/catalina/startup/TestWebXml.java index 2850636ae..a09c6df69 100644 --- a/test/org/apache/catalina/startup/TestWebXml.java +++ b/test/org/apache/catalina/startup/TestWebXml.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.catalina.startup; import java.util.HashMap; -- 2.11.0