Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improve log
  • Loading branch information
tmortagne committed Mar 19, 2012
1 parent ac22d47 commit 08ae34f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -154,7 +154,7 @@ private void applyAction(ExtensionPlanAction action) throws UninstallException
String namespace = action.getNamespace();

if (namespace != null) {
this.logger.info("Uninstalling extension [{}] on namespace [{}]", localExtension.toString(), namespace);
this.logger.info("Uninstalling extension [{}] from namespace [{}]", localExtension.toString(), namespace);
} else {
this.logger.info("Uninstalling extension [{}]", localExtension.toString());
}
Expand All @@ -174,7 +174,7 @@ private void applyAction(ExtensionPlanAction action) throws UninstallException
localExtension);

if (namespace != null) {
this.logger.info("Successfully uninstalled extension [{}] on namespace [{}]",
this.logger.info("Successfully uninstalled extension [{}] from namespace [{}]",
localExtension.toString(), namespace);
} else {
this.logger.info("Successfully uninstalled extension [{}]", localExtension.toString());
Expand Down
Expand Up @@ -66,7 +66,7 @@ public class UninstallPlanJob extends AbstractExtensionJob<UninstallRequest>
/**
* Error message used in exception throw when trying to uninstall an extension which is not installed.
*/
private static final String EXCEPTION_NOTINSTALLEDNAMESPACE = EXCEPTION_NOTINSTALLED + " on namespace [{1}]";
private static final String EXCEPTION_NOTINSTALLEDNAMESPACE = EXCEPTION_NOTINSTALLED + " from namespace [{1}]";

/**
* Used to manipulate local repository.
Expand Down

0 comments on commit 08ae34f

Please sign in to comment.