From 34380701447b3682a38d9c999ec135fe1022b968 Mon Sep 17 00:00:00 2001 From: markt Date: Thu, 7 Jan 2010 16:22:24 +0000 Subject: [PATCH] Add missing license headers git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896916 13f79535-47bb-0310-9956-ffa450edef68 --- test/org/apache/jasper/compiler/TestGenerator.java | 17 +++++++++++++++++ test/org/apache/jasper/compiler/TestValidator.java | 17 +++++++++++++++++ test/webapp/WEB-INF/tags/echo-double.tag | 16 ++++++++++++++++ test/webapp/WEB-INF/tags/echo-long.tag | 16 ++++++++++++++++ test/webapp/WEB-INF/tags/echo.tag | 16 ++++++++++++++++ test/webapp/bug45451.jspf | 16 ++++++++++++++++ test/webapp/bug45451b.jsp | 16 ++++++++++++++++ test/webapp/bug45451c.jsp | 16 ++++++++++++++++ test/webapp/bug45451d.jspx | 16 ++++++++++++++++ 9 files changed, 146 insertions(+) diff --git a/test/org/apache/jasper/compiler/TestGenerator.java b/test/org/apache/jasper/compiler/TestGenerator.java index d02db5c2a..93cd05643 100644 --- a/test/org/apache/jasper/compiler/TestGenerator.java +++ b/test/org/apache/jasper/compiler/TestGenerator.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.jasper.compiler; import java.io.File; diff --git a/test/org/apache/jasper/compiler/TestValidator.java b/test/org/apache/jasper/compiler/TestValidator.java index beb9a77b2..a367a646f 100644 --- a/test/org/apache/jasper/compiler/TestValidator.java +++ b/test/org/apache/jasper/compiler/TestValidator.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.jasper.compiler; import java.io.File; diff --git a/test/webapp/WEB-INF/tags/echo-double.tag b/test/webapp/WEB-INF/tags/echo-double.tag index c7105d59f..1dc7c86b1 100644 --- a/test/webapp/WEB-INF/tags/echo-double.tag +++ b/test/webapp/WEB-INF/tags/echo-double.tag @@ -1,3 +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. +--%> <%@ tag %><%@ attribute name="echo" type="java.lang.Double"%><%@ attribute name="index" type="java.lang.String" %>

${index}-${echo}

\ No newline at end of file diff --git a/test/webapp/WEB-INF/tags/echo-long.tag b/test/webapp/WEB-INF/tags/echo-long.tag index 652faf1b9..be405f89f 100644 --- a/test/webapp/WEB-INF/tags/echo-long.tag +++ b/test/webapp/WEB-INF/tags/echo-long.tag @@ -1,3 +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. +--%> <%@ tag %><%@ attribute name="echo" type="java.lang.Long"%><%@ attribute name="index" type="java.lang.String" %>

${index}-${echo}

\ No newline at end of file diff --git a/test/webapp/WEB-INF/tags/echo.tag b/test/webapp/WEB-INF/tags/echo.tag index 9c9479f3b..4e50d11d4 100644 --- a/test/webapp/WEB-INF/tags/echo.tag +++ b/test/webapp/WEB-INF/tags/echo.tag @@ -1 +1,17 @@ +<%-- + 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. +--%> <%@ tag %><%@ attribute name="echo" type="java.lang.String"%>

${echo}

\ No newline at end of file diff --git a/test/webapp/bug45451.jspf b/test/webapp/bug45451.jspf index 4c96bd4ca..2d9f9b3c0 100644 --- a/test/webapp/bug45451.jspf +++ b/test/webapp/bug45451.jspf @@ -1,3 +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. +--%>

00-${1+1}

01-\${1+1}

02-\\${1+1}

diff --git a/test/webapp/bug45451b.jsp b/test/webapp/bug45451b.jsp index 80b2dbed2..686a4eb49 100644 --- a/test/webapp/bug45451b.jsp +++ b/test/webapp/bug45451b.jsp @@ -1,2 +1,18 @@ +<%-- + 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. +--%> <%@page isELIgnored="false" %> <%@ include file="bug45451.jspf" %> diff --git a/test/webapp/bug45451c.jsp b/test/webapp/bug45451c.jsp index 649e7ef2a..fdc2d19a3 100644 --- a/test/webapp/bug45451c.jsp +++ b/test/webapp/bug45451c.jsp @@ -1,2 +1,18 @@ +<%-- + 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. +--%> <%@page isELIgnored="true" %> <%@ include file="bug45451.jspf" %> diff --git a/test/webapp/bug45451d.jspx b/test/webapp/bug45451d.jspx index fa1b30a81..09a478541 100644 --- a/test/webapp/bug45451d.jspx +++ b/test/webapp/bug45451d.jspx @@ -1,3 +1,19 @@ +