You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2019/03/08 15:43:33 UTC

[sling-org-apache-sling-commons-mime] branch master updated: SLING-8310 mimetypes Web Console Printer broken * class was made an OSGi `@Component` via SLING-7612 [0], but wasn't made * `public`, thus SCR wasn't able to instantiate it

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

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-mime.git


The following commit(s) were added to refs/heads/master by this push:
     new 1d600c9  SLING-8310 mimetypes Web Console Printer broken * class was made an OSGi `@Component` via SLING-7612 [0], but wasn't made * `public`, thus SCR wasn't able to instantiate it
     new c0a9d1e  Merge pull request #3 from actinium15/issue/SLING-8310
1d600c9 is described below

commit 1d600c99bef8d9791b857ca20ed5242617152819
Author: Ashish Chopra <as...@adobe.com>
AuthorDate: Fri Mar 8 13:58:17 2019 +0530

    SLING-8310 mimetypes Web Console Printer broken
    * class was made an OSGi `@Component` via SLING-7612 [0], but wasn't made
    * `public`, thus SCR wasn't able to instantiate it
    
    [0] https://github.com/apache/sling-org-apache-sling-commons-mime/commit/4606f104d9fc15ab1681c125a0abcd7096dfcbdb
---
 .../apache/sling/commons/mime/internal/MimeTypeWebConsolePlugin.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeWebConsolePlugin.java b/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeWebConsolePlugin.java
index 4235670..e5fb9c0 100644
--- a/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeWebConsolePlugin.java
+++ b/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeWebConsolePlugin.java
@@ -45,7 +45,7 @@ import org.osgi.service.component.annotations.Reference;
                 "felix.webconsole.css=" + MimeTypeWebConsolePlugin.CSS_REFS
         }
         )
-class MimeTypeWebConsolePlugin extends HttpServlet {
+public class MimeTypeWebConsolePlugin extends HttpServlet {
 
     /** Serial Version */
     private static final long serialVersionUID = -2025952303202431607L;