You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2021/06/22 08:11:45 UTC
[myfaces] branch master updated: Fix EOL
This is an automated email from the ASF dual-hosted git repository.
tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git
The following commit(s) were added to refs/heads/master by this push:
new 05b312b Fix EOL
new f50063c Merge pull request #206 from melloware/EOL
05b312b is described below
commit 05b312b3d62f89d9b1e1caedf927496937555675
Author: melloware <me...@gmail.com>
AuthorDate: Tue May 25 14:41:49 2021 -0400
Fix EOL
---
.../core/TestStartupServletContextListener.java | 102 ++++++++++-----------
1 file changed, 51 insertions(+), 51 deletions(-)
diff --git a/impl/src/test/java/org/apache/myfaces/test/core/TestStartupServletContextListener.java b/impl/src/test/java/org/apache/myfaces/test/core/TestStartupServletContextListener.java
index e2d83fa..5626265 100644
--- a/impl/src/test/java/org/apache/myfaces/test/core/TestStartupServletContextListener.java
+++ b/impl/src/test/java/org/apache/myfaces/test/core/TestStartupServletContextListener.java
@@ -1,51 +1,51 @@
-/*
- * 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.myfaces.test.core;
-
-import jakarta.servlet.ServletContextEvent;
-import jakarta.servlet.ServletContextListener;
-import org.apache.myfaces.webapp.FacesInitializer;
-
-public class TestStartupServletContextListener implements ServletContextListener
-{
- private FacesInitializer facesInitializer;
-
- public TestStartupServletContextListener(FacesInitializer facesInitializer)
- {
- this.facesInitializer = facesInitializer;
- }
-
- @Override
- public void contextInitialized(ServletContextEvent event)
- {
- if (facesInitializer != null)
- {
- facesInitializer.initFaces(event.getServletContext());
- }
- }
-
- @Override
- public void contextDestroyed(ServletContextEvent event)
- {
- if (facesInitializer != null)
- {
- facesInitializer.destroyFaces(event.getServletContext());
- }
- }
-}
+/*
+ * 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.myfaces.test.core;
+
+import jakarta.servlet.ServletContextEvent;
+import jakarta.servlet.ServletContextListener;
+import org.apache.myfaces.webapp.FacesInitializer;
+
+public class TestStartupServletContextListener implements ServletContextListener
+{
+ private FacesInitializer facesInitializer;
+
+ public TestStartupServletContextListener(FacesInitializer facesInitializer)
+ {
+ this.facesInitializer = facesInitializer;
+ }
+
+ @Override
+ public void contextInitialized(ServletContextEvent event)
+ {
+ if (facesInitializer != null)
+ {
+ facesInitializer.initFaces(event.getServletContext());
+ }
+ }
+
+ @Override
+ public void contextDestroyed(ServletContextEvent event)
+ {
+ if (facesInitializer != null)
+ {
+ facesInitializer.destroyFaces(event.getServletContext());
+ }
+ }
+}