You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2019/02/06 12:23:43 UTC

[myfaces-tobago] branch tobago-4.x updated: deprecations

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch tobago-4.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/tobago-4.x by this push:
     new c7f9158  deprecations
c7f9158 is described below

commit c7f915857e1a20dcf5e3990d57f8a6e5dde89b41
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Feb 6 13:23:29 2019 +0100

    deprecations
---
 .../java/org/apache/myfaces/tobago/internal/util/MimeTypeUtils.java   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/MimeTypeUtils.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/MimeTypeUtils.java
index 662cba5..dd2dfc6 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/MimeTypeUtils.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/MimeTypeUtils.java
@@ -24,6 +24,10 @@ import org.apache.myfaces.tobago.config.TobagoConfig;
 import javax.servlet.ServletContext;
 import java.util.Map;
 
+/**
+ * @deprecated Since Tobago 4.4.0. The {@link org.apache.myfaces.tobago.servlet.ResourceServlet} is deprecated.
+ */
+@Deprecated
 public final class MimeTypeUtils {
 
   private static Map<String, String> additionalMimeTypes = null;