myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [myfaces] branch master updated: unused classes
Date Fri, 02 Nov 2018 13:05:01 GMT
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 545661d  unused classes
545661d is described below

commit 545661dd08eea2aa471578be9c15a96a1ed1b9b8
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Fri Nov 2 14:04:57 2018 +0100

    unused classes
---
 .../faces/component/_LabeledFacesMessage.java      | 70 -------------------
 .../javax/faces/convert/_LabeledFacesMessage.java  | 72 --------------------
 .../faces/validator/_LabeledFacesMessage.java      | 72 --------------------
 .../javax/faces/webapp/_PageContextOutWriter.java  | 79 ----------------------
 4 files changed, 293 deletions(-)

diff --git a/api/src/main/java/javax/faces/component/_LabeledFacesMessage.java b/api/src/main/java/javax/faces/component/_LabeledFacesMessage.java
deleted file mode 100644
index 7a5957f..0000000
--- a/api/src/main/java/javax/faces/component/_LabeledFacesMessage.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * 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 javax.faces.component;
-
-import javax.el.ValueExpression;
-import javax.faces.application.FacesMessage;
-import javax.faces.context.FacesContext;
-
-/**
- * This class encapsulates a FacesMessage to evaluate the label expression on render response,
where f:loadBundle is
- * available
- */
-class _LabeledFacesMessage extends FacesMessage
-{
-
-    public _LabeledFacesMessage()
-    {
-        super();
-    }
-
-    public _LabeledFacesMessage(Severity severity, String summary, String detail)
-    {
-        super(severity, summary, detail);
-    }
-
-    public _LabeledFacesMessage(String summary, String detail)
-    {
-        super(summary, detail);
-    }
-
-    public _LabeledFacesMessage(String summary)
-    {
-        super(summary);
-    }
-
-    @Override
-    public String getDetail()
-    {
-        FacesContext facesContext = FacesContext.getCurrentInstance();
-        ValueExpression value = facesContext.getApplication().getExpressionFactory().createValueExpression(
-            facesContext.getELContext(), super.getDetail(), String.class);
-        return (String)value.getValue(facesContext.getELContext());
-    }
-
-    @Override
-    public String getSummary()
-    {
-        FacesContext facesContext = FacesContext.getCurrentInstance();
-        ValueExpression value = facesContext.getApplication().getExpressionFactory().createValueExpression(
-            facesContext.getELContext(), super.getSummary(), String.class);
-        return (String)value.getValue(facesContext.getELContext());
-    }
-
-}
diff --git a/api/src/main/java/javax/faces/convert/_LabeledFacesMessage.java b/api/src/main/java/javax/faces/convert/_LabeledFacesMessage.java
deleted file mode 100644
index ec3f4cc..0000000
--- a/api/src/main/java/javax/faces/convert/_LabeledFacesMessage.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * 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 javax.faces.convert;
-
-import javax.el.ValueExpression;
-import javax.faces.application.FacesMessage;
-import javax.faces.context.FacesContext;
-
-/**
- * This class encapsulates a FacesMessage to evaluate the label expression on render response,
where f:loadBundle is
- * available
- */
-class _LabeledFacesMessage extends FacesMessage
-{
-
-    public _LabeledFacesMessage()
-    {
-        super();
-    }
-
-    public _LabeledFacesMessage(Severity severity, String summary, String detail)
-    {
-        super(severity, summary, detail);
-    }
-
-    public _LabeledFacesMessage(String summary, String detail)
-    {
-        super(summary, detail);
-    }
-
-    public _LabeledFacesMessage(String summary)
-    {
-        super(summary);
-    }
-
-    @Override
-    public String getDetail()
-    {
-        FacesContext facesContext = FacesContext.getCurrentInstance();
-        ValueExpression value =
-                facesContext.getApplication().getExpressionFactory().createValueExpression(facesContext.getELContext(),
-                    super.getDetail(), String.class);
-        return (String)value.getValue(facesContext.getELContext());
-    }
-
-    @Override
-    public String getSummary()
-    {
-        FacesContext facesContext = FacesContext.getCurrentInstance();
-        ValueExpression value =
-                facesContext.getApplication().getExpressionFactory().createValueExpression(facesContext.getELContext(),
-                    super.getSummary(), String.class);
-        return (String)value.getValue(facesContext.getELContext());
-    }
-
-}
diff --git a/api/src/main/java/javax/faces/validator/_LabeledFacesMessage.java b/api/src/main/java/javax/faces/validator/_LabeledFacesMessage.java
deleted file mode 100644
index a47bb11..0000000
--- a/api/src/main/java/javax/faces/validator/_LabeledFacesMessage.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * 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 javax.faces.validator;
-
-import javax.el.ValueExpression;
-import javax.faces.application.FacesMessage;
-import javax.faces.context.FacesContext;
-
-/**
- * This class encapsulates a FacesMessage to evaluate the label expression on render response,
where f:loadBundle is
- * available
- */
-class _LabeledFacesMessage extends FacesMessage
-{
-
-    public _LabeledFacesMessage()
-    {
-        super();
-    }
-
-    public _LabeledFacesMessage(Severity severity, String summary, String detail)
-    {
-        super(severity, summary, detail);
-    }
-
-    public _LabeledFacesMessage(String summary, String detail)
-    {
-        super(summary, detail);
-    }
-
-    public _LabeledFacesMessage(String summary)
-    {
-        super(summary);
-    }
-
-    @Override
-    public String getDetail()
-    {
-        FacesContext facesContext = FacesContext.getCurrentInstance();
-        ValueExpression value =
-                facesContext.getApplication().getExpressionFactory().createValueExpression(facesContext.getELContext(),
-                    super.getDetail(), String.class);
-        return (String)value.getValue(facesContext.getELContext());
-    }
-
-    @Override
-    public String getSummary()
-    {
-        FacesContext facesContext = FacesContext.getCurrentInstance();
-        ValueExpression value =
-                facesContext.getApplication().getExpressionFactory().createValueExpression(facesContext.getELContext(),
-                    super.getSummary(), String.class);
-        return (String)value.getValue(facesContext.getELContext());
-    }
-
-}
diff --git a/api/src/main/java/javax/faces/webapp/_PageContextOutWriter.java b/api/src/main/java/javax/faces/webapp/_PageContextOutWriter.java
deleted file mode 100755
index 64eebe3..0000000
--- a/api/src/main/java/javax/faces/webapp/_PageContextOutWriter.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * 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 javax.faces.webapp;
-
-import javax.servlet.jsp.PageContext;
-import java.io.IOException;
-import java.io.Writer;
-
-/**
- * This Writer writes always to the current pageContext.getOut() Writer.
- */
-class _PageContextOutWriter extends Writer
-{
-    private PageContext _pageContext;
-
-    public _PageContextOutWriter(PageContext pageContext)
-    {
-        _pageContext = pageContext;
-    }
-
-    @Override
-    public void close() throws IOException
-    {
-        _pageContext.getOut().close();
-    }
-
-    @Override
-    public void flush() throws IOException
-    {
-        _pageContext.getOut().flush();
-    }
-
-    @Override
-    public void write(char cbuf[], int off, int len) throws IOException
-    {
-        _pageContext.getOut().write(cbuf, off, len);
-    }
-
-    @Override
-    public void write(int c) throws IOException
-    {
-        _pageContext.getOut().write(c);
-    }
-
-    @Override
-    public void write(char cbuf[]) throws IOException
-    {
-        _pageContext.getOut().write(cbuf);
-    }
-
-    @Override
-    public void write(String str) throws IOException
-    {
-        _pageContext.getOut().write(str);
-    }
-
-    @Override
-    public void write(String str, int off, int len) throws IOException
-    {
-        _pageContext.getOut().write(str, off, len);
-    }
-
-}


Mime
View raw message