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/05/12 11:25:28 UTC

[myfaces] branch master updated: unused

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 979b633  unused
979b633 is described below

commit 979b6334d137bd9894f4f8f1fd49b16bb939e42e
Author: Thomas Andraschko <ta...@apache.org>
AuthorDate: Wed May 12 13:25:22 2021 +0200

    unused
---
 .../cdi/model/FacesDataModelAnnotationLiteral.java | 73 ----------------------
 1 file changed, 73 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/cdi/model/FacesDataModelAnnotationLiteral.java b/impl/src/main/java/org/apache/myfaces/cdi/model/FacesDataModelAnnotationLiteral.java
deleted file mode 100644
index 50c3724..0000000
--- a/impl/src/main/java/org/apache/myfaces/cdi/model/FacesDataModelAnnotationLiteral.java
+++ /dev/null
@@ -1,73 +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 org.apache.myfaces.cdi.model;
-
-import java.util.Objects;
-import jakarta.enterprise.util.AnnotationLiteral;
-import jakarta.faces.model.FacesDataModel;
-
-/**
- *
- */
-public class FacesDataModelAnnotationLiteral extends AnnotationLiteral<FacesDataModel> implements FacesDataModel
-{
-    private static final long serialVersionUID = 1L;
-
-    private Class<?> forClass;
-
-    public FacesDataModelAnnotationLiteral(Class<?> forClass)
-    {
-        this.forClass = forClass;
-    }
-
-    @Override
-    public Class<?> forClass()
-    {
-        return forClass;
-    }
-
-    @Override
-    public int hashCode()
-    {
-        int hash = 5;
-        hash = 89 * hash + Objects.hashCode(this.forClass);
-        return hash;
-    }
-
-    @Override
-    public boolean equals(Object obj)
-    {
-        if (obj == null)
-        {
-            return false;
-        }
-        if (getClass() != obj.getClass())
-        {
-            return false;
-        }
-        final FacesDataModel other = (FacesDataModel) obj;
-        if (!Objects.equals(this.forClass(), other.forClass()))
-        {
-            return false;
-        }
-        return true;
-    }
-
-
-}