]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-375: Trivial tweaks to user-visible messages relating to workspace detection...
authorAron Roberts <aron@socrates.berkeley.edu>
Tue, 2 Feb 2010 21:35:57 +0000 (21:35 +0000)
committerAron Roberts <aron@socrates.berkeley.edu>
Tue, 2 Feb 2010 21:35:57 +0000 (21:35 +0000)
services/common/src/main/java/org/collectionspace/services/common/config/TenantBindingConfigReader.java

index 7e01ae27b63b49d26efe434785792b07c204db3b..4a3b8a83085bc9e706dee9256b831ad026361a80 100644 (file)
@@ -133,7 +133,7 @@ public class TenantBindingConfigReader
             if (serviceBinding.getRepositoryClient() == null) {
                 //no repository needed for this service...skip
                 if (logger.isDebugEnabled()) {
-                    logger.debug("no repository configured for service " + serviceName +
+                    logger.debug("No repository configured for service " + serviceName +
                             " skipping...");
                 }
                 continue;
@@ -146,20 +146,20 @@ public class TenantBindingConfigReader
             if (clientType.equals(ClientType.JAVA)) {
                 workspaceId = workspaceIds.get(workspace);
                 if (workspaceId == null) {
-                    logger.warn("failed to retrieve workspace id for " + workspace +
-                            " trying to create a new workspace...");
+                    logger.warn("Failed to retrieve workspace ID for " + workspace);
+                    logger.warn("Trying to create a new workspace ...");
                     workspaceId = repositoryClient.createWorkspace(
                             tenantBinding.getRepositoryDomain(),
                             serviceBinding.getName());
                     if (workspaceId == null) {
-                        logger.warn("failed to create workspace for " + workspace);
+                        logger.warn("Failed to create workspace for " + workspace);
                         continue;
                     }
                 }
             } else {
                 workspaceId = serviceBinding.getRepositoryWorkspaceId();
                 if (workspaceId == null || "".equals(workspaceId)) {
-                    logger.error("could not find workspace id for " + workspace);
+                    logger.error("Could not find workspace ID for " + workspace);
                     //FIXME: should we throw an exception here?
                     continue;
                 }