Author: sseifert Date: Wed Mar 8 16:18:23 2017 New Revision: 1786001 URL: http://svn.apache.org/viewvc?rev=1786001&view=rev Log: SLING-6622 fix javadoc & method visibility
Modified: sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/FsMountHelper.java Modified: sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/FsMountHelper.java URL: http://svn.apache.org/viewvc/sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/FsMountHelper.java?rev=1786001&r1=1786000&r2=1786001&view=diff ============================================================================== --- sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/FsMountHelper.java (original) +++ sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/FsMountHelper.java Wed Mar 8 16:18:23 2017 @@ -184,7 +184,7 @@ class FsMountHelper { } /** - * Add configurations to a running OSGi instance for initial content. + * Remove configurations from a running OSGi instance for initial content. * @param targetURL The web console base url * @param file The artifact (bundle) * @throws MojoExecutionException @@ -205,7 +205,7 @@ class FsMountHelper { } } - public void removeConfiguration(final String targetURL, final String pid) throws MojoExecutionException { + private void removeConfiguration(final String targetURL, final String pid) throws MojoExecutionException { final String postUrl = targetURL + "/configMgr/" + pid; final PostMethod post = new PostMethod(postUrl); post.addParameter("apply", "true"); @@ -255,9 +255,7 @@ class FsMountHelper { log.info("Configuration created."); } else { - log.error( - "Configuration failed, cause: " - + HttpStatus.getStatusText(status)); + log.error("Configuration failed, cause: " + HttpStatus.getStatusText(status)); } } catch (HttpException ex) { @@ -280,7 +278,7 @@ class FsMountHelper { * containing the path and the root * @throws MojoExecutionException */ - public Map<String,String[]> getCurrentFileProviderConfigs(final String targetURL) throws MojoExecutionException { + private Map<String,String[]> getCurrentFileProviderConfigs(final String targetURL) throws MojoExecutionException { log.debug("Getting current file provider configurations."); final Map<String,String[]> result = new HashMap<>(); final String getUrl = targetURL + "/configMgr/(service.factoryPid=" + FS_FACTORY + ").json";