You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by wu...@apache.org on 2018/07/19 15:11:31 UTC

[incubator-skywalking] branch 6.0 updated: Open this method for test cases.

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

wusheng pushed a commit to branch 6.0
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git


The following commit(s) were added to refs/heads/6.0 by this push:
     new 42072d8  Open this method for test cases.
42072d8 is described below

commit 42072d858359759c656878f3a35896128beb8210
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Thu Jul 19 23:11:26 2018 +0800

    Open this method for test cases.
---
 .../org/apache/skywalking/oap/server/library/module/ModuleProvider.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oap-server/server-library/library-module/src/main/java/org/apache/skywalking/oap/server/library/module/ModuleProvider.java b/oap-server/server-library/library-module/src/main/java/org/apache/skywalking/oap/server/library/module/ModuleProvider.java
index 8e9e659..78597ea 100644
--- a/oap-server/server-library/library-module/src/main/java/org/apache/skywalking/oap/server/library/module/ModuleProvider.java
+++ b/oap-server/server-library/library-module/src/main/java/org/apache/skywalking/oap/server/library/module/ModuleProvider.java
@@ -116,7 +116,7 @@ public abstract class ModuleProvider {
         }
     }
 
-    @SuppressWarnings("unchecked") <T extends Service> T getService(
+    public @SuppressWarnings("unchecked") <T extends Service> T getService(
         Class<T> serviceType) throws ServiceNotProvidedException {
         Service serviceImpl = services.get(serviceType);
         if (serviceImpl != null) {