From af1f8907d227b49379b2b9449ba3152a7c5c6ba3 Mon Sep 17 00:00:00 2001 From: srinjoyray Date: Tue, 17 Dec 2024 23:00:49 +0530 Subject: [PATCH] fixed license comments --- .../runtime/jetty9/SendErrorTest.java | 16 ++++++++++ .../senderrorapp/SendErrorServletEE10.java | 16 ++++++++++ .../senderrorapp/SendErrorServletEE8.java | 16 ++++++++++ .../runtime/jetty9/senderrorapp/ee10/404.html | 30 +++++++++---------- .../runtime/jetty9/senderrorapp/ee10/500.html | 30 +++++++++---------- .../ee10/WEB-INF/appengine-web.xml | 7 ----- .../jetty9/senderrorapp/ee10/hello.html | 30 +++++++++---------- .../senderrorapp/ee10/unhandled-error.html | 30 +++++++++---------- .../runtime/jetty9/senderrorapp/ee8/404.html | 30 +++++++++---------- .../runtime/jetty9/senderrorapp/ee8/500.html | 30 +++++++++---------- .../ee8/WEB-INF/appengine-web.xml | 7 ----- .../jetty9/senderrorapp/ee8/hello.html | 30 +++++++++---------- .../senderrorapp/ee8/unhandled-error.html | 30 +++++++++---------- .../jetty9/senderrorapp/jetty94/404.html | 30 +++++++++---------- .../jetty9/senderrorapp/jetty94/500.html | 30 +++++++++---------- .../jetty94/WEB-INF/appengine-web.xml | 7 ----- .../jetty9/senderrorapp/jetty94/hello.html | 30 +++++++++---------- .../senderrorapp/jetty94/unhandled-error.html | 30 +++++++++---------- 18 files changed, 228 insertions(+), 201 deletions(-) diff --git a/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/SendErrorTest.java b/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/SendErrorTest.java index 8bb91f23..13864660 100644 --- a/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/SendErrorTest.java +++ b/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/SendErrorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed 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 + * + * https://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 com.google.apphosting.runtime.jetty9; import static org.hamcrest.CoreMatchers.containsString; diff --git a/runtime/testapps/src/main/java/com/google/apphosting/runtime/jetty9/senderrorapp/SendErrorServletEE10.java b/runtime/testapps/src/main/java/com/google/apphosting/runtime/jetty9/senderrorapp/SendErrorServletEE10.java index d978e761..948b9391 100644 --- a/runtime/testapps/src/main/java/com/google/apphosting/runtime/jetty9/senderrorapp/SendErrorServletEE10.java +++ b/runtime/testapps/src/main/java/com/google/apphosting/runtime/jetty9/senderrorapp/SendErrorServletEE10.java @@ -1,3 +1,19 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed 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 + * + * https://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 com.google.apphosting.runtime.jetty9.senderrorapp; import java.io.IOException; diff --git a/runtime/testapps/src/main/java/com/google/apphosting/runtime/jetty9/senderrorapp/SendErrorServletEE8.java b/runtime/testapps/src/main/java/com/google/apphosting/runtime/jetty9/senderrorapp/SendErrorServletEE8.java index f6a0831e..f486c310 100644 --- a/runtime/testapps/src/main/java/com/google/apphosting/runtime/jetty9/senderrorapp/SendErrorServletEE8.java +++ b/runtime/testapps/src/main/java/com/google/apphosting/runtime/jetty9/senderrorapp/SendErrorServletEE8.java @@ -1,3 +1,19 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed 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 + * + * https://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 com.google.apphosting.runtime.jetty9.senderrorapp; import javax.servlet.ServletException; diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/404.html b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/404.html index 5083e470..0c0221d8 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/404.html +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/404.html @@ -1,16 +1,16 @@ -/* -* Copyright 2021 Google LLC -* -* Licensed 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 -* -* https://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. -*/ +

Error 404 Not Found

\ No newline at end of file diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/500.html b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/500.html index fdbd9784..a6e7f2ea 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/500.html +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/500.html @@ -1,16 +1,16 @@ -/* -* Copyright 2021 Google LLC -* -* Licensed 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 -* -* https://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. -*/ +

Error 500 Internal Server Error

\ No newline at end of file diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/WEB-INF/appengine-web.xml b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/WEB-INF/appengine-web.xml index 51c97db5..1bac63ff 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/WEB-INF/appengine-web.xml +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/WEB-INF/appengine-web.xml @@ -19,14 +19,7 @@ java21 senderror 1 - - - - - - - \ No newline at end of file diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/hello.html b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/hello.html index 73c7a49b..d0671c64 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/hello.html +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/hello.html @@ -1,16 +1,16 @@ -/* -* Copyright 2021 Google LLC -* -* Licensed 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 -* -* https://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. -*/ +

Hello, world!

\ No newline at end of file diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/unhandled-error.html b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/unhandled-error.html index a4740d60..f6a46e53 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/unhandled-error.html +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee10/unhandled-error.html @@ -1,16 +1,16 @@ -/* -* Copyright 2021 Google LLC -* -* Licensed 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 -* -* https://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. -*/ +

Unhandled Error

\ No newline at end of file diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/404.html b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/404.html index 5083e470..0c0221d8 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/404.html +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/404.html @@ -1,16 +1,16 @@ -/* -* Copyright 2021 Google LLC -* -* Licensed 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 -* -* https://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. -*/ +

Error 404 Not Found

\ No newline at end of file diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/500.html b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/500.html index fdbd9784..a6e7f2ea 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/500.html +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/500.html @@ -1,16 +1,16 @@ -/* -* Copyright 2021 Google LLC -* -* Licensed 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 -* -* https://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. -*/ +

Error 500 Internal Server Error

\ No newline at end of file diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/WEB-INF/appengine-web.xml b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/WEB-INF/appengine-web.xml index 29d434f4..bb903352 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/WEB-INF/appengine-web.xml +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/WEB-INF/appengine-web.xml @@ -19,14 +19,7 @@ java21 senderror 1 - - - - - - - \ No newline at end of file diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/hello.html b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/hello.html index 73c7a49b..d0671c64 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/hello.html +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/hello.html @@ -1,16 +1,16 @@ -/* -* Copyright 2021 Google LLC -* -* Licensed 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 -* -* https://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. -*/ +

Hello, world!

\ No newline at end of file diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/unhandled-error.html b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/unhandled-error.html index a4740d60..f6a46e53 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/unhandled-error.html +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/ee8/unhandled-error.html @@ -1,16 +1,16 @@ -/* -* Copyright 2021 Google LLC -* -* Licensed 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 -* -* https://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. -*/ +

Unhandled Error

\ No newline at end of file diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/404.html b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/404.html index 5083e470..0c0221d8 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/404.html +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/404.html @@ -1,16 +1,16 @@ -/* -* Copyright 2021 Google LLC -* -* Licensed 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 -* -* https://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. -*/ +

Error 404 Not Found

\ No newline at end of file diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/500.html b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/500.html index fdbd9784..a6e7f2ea 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/500.html +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/500.html @@ -1,16 +1,16 @@ -/* -* Copyright 2021 Google LLC -* -* Licensed 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 -* -* https://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. -*/ +

Error 500 Internal Server Error

\ No newline at end of file diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/WEB-INF/appengine-web.xml b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/WEB-INF/appengine-web.xml index 6c42751e..f31398b4 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/WEB-INF/appengine-web.xml +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/WEB-INF/appengine-web.xml @@ -19,14 +19,7 @@ java21 senderror 1 - - - - - - - \ No newline at end of file diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/hello.html b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/hello.html index 73c7a49b..d0671c64 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/hello.html +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/hello.html @@ -1,16 +1,16 @@ -/* -* Copyright 2021 Google LLC -* -* Licensed 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 -* -* https://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. -*/ +

Hello, world!

\ No newline at end of file diff --git a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/unhandled-error.html b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/unhandled-error.html index a4740d60..f6a46e53 100644 --- a/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/unhandled-error.html +++ b/runtime/testapps/src/main/resources/com/google/apphosting/runtime/jetty9/senderrorapp/jetty94/unhandled-error.html @@ -1,16 +1,16 @@ -/* -* Copyright 2021 Google LLC -* -* Licensed 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 -* -* https://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. -*/ +

Unhandled Error

\ No newline at end of file