8009637: Some error messages are missing a space
authorigerasim
Mon, 14 Apr 2014 16:15:10 +0400
changeset 23882 7dbf42ed83ef
parent 23881 f4fc1826e04a
child 23883 9434a0a8208f
8009637: Some error messages are missing a space Reviewed-by: alanb
jdk/src/share/classes/com/sun/jmx/interceptor/DefaultMBeanServerInterceptor.java
jdk/src/share/classes/com/sun/jndi/ldap/LdapAttribute.java
jdk/src/share/classes/java/util/logging/Logging.java
jdk/src/share/classes/javax/naming/NameImpl.java
jdk/src/windows/classes/sun/print/Win32PrintService.java
--- a/jdk/src/share/classes/com/sun/jmx/interceptor/DefaultMBeanServerInterceptor.java	Wed Apr 02 12:03:25 2014 +0200
+++ b/jdk/src/share/classes/com/sun/jmx/interceptor/DefaultMBeanServerInterceptor.java	Mon Apr 14 16:15:10 2014 +0400
@@ -1220,7 +1220,7 @@
             throw new RuntimeOperationsException(new
                 IllegalArgumentException(listener.getCanonicalName()),
                 "The MBean " + listener.getCanonicalName() +
-                "does not implement the NotificationListener interface") ;
+                " does not implement the NotificationListener interface") ;
         }
 
         // ----------------
--- a/jdk/src/share/classes/com/sun/jndi/ldap/LdapAttribute.java	Wed Apr 02 12:03:25 2014 +0200
+++ b/jdk/src/share/classes/com/sun/jndi/ldap/LdapAttribute.java	Mon Apr 14 16:15:10 2014 +0400
@@ -188,7 +188,7 @@
 
         if(syntaxAttr == null || syntaxAttr.size() == 0) {
             throw new NameNotFoundException(
-                getID() + "does not have a syntax associated with it");
+                getID() + " does not have a syntax associated with it");
         }
 
         String syntaxName = (String)syntaxAttr.get();
--- a/jdk/src/share/classes/java/util/logging/Logging.java	Wed Apr 02 12:03:25 2014 +0200
+++ b/jdk/src/share/classes/java/util/logging/Logging.java	Mon Apr 14 16:15:10 2014 +0400
@@ -87,7 +87,7 @@
         Logger logger = logManager.getLogger(loggerName);
         if (logger == null) {
             throw new IllegalArgumentException("Logger " + loggerName +
-                "does not exist");
+                " does not exist");
         }
 
         Level level = null;
--- a/jdk/src/share/classes/javax/naming/NameImpl.java	Wed Apr 02 12:03:25 2014 +0200
+++ b/jdk/src/share/classes/javax/naming/NameImpl.java	Mon Apr 14 16:15:10 2014 +0400
@@ -232,7 +232,7 @@
             syntaxDirection = FLAT;
         } else {
             throw new IllegalArgumentException(syntaxDirectionStr +
-                "is not a valid value for the jndi.syntax.direction property");
+                " is not a valid value for the jndi.syntax.direction property");
         }
 
         if (syntaxDirection != FLAT) {
--- a/jdk/src/windows/classes/sun/print/Win32PrintService.java	Wed Apr 02 12:03:25 2014 +0200
+++ b/jdk/src/windows/classes/sun/print/Win32PrintService.java	Mon Apr 14 16:15:10 2014 +0400
@@ -1585,7 +1585,7 @@
 
         if (flavor != null && !isDocFlavorSupported(flavor)) {
             throw new IllegalArgumentException("flavor " + flavor +
-                                               "is not supported");
+                                               " is not supported");
         }
 
         if (attributes == null) {