src/java.management/share/classes/javax/management/relation/RoleInfo.java

Print this page
rev 10521 : 8055723[core]: Replace concat String to append in StringBuilder parameters
Contributed-by: Otavio Santana <otaviojava@java.net>

@@ -454,17 +454,17 @@
      *
      * @return a description of the role info.
      */
     public String toString() {
         StringBuilder result = new StringBuilder();
-        result.append("role info name: " + name);
-        result.append("; isReadable: " + isReadable);
-        result.append("; isWritable: " + isWritable);
-        result.append("; description: " + description);
-        result.append("; minimum degree: " + minDegree);
-        result.append("; maximum degree: " + maxDegree);
-        result.append("; MBean class: " + referencedMBeanClassName);
+        result.append("role info name: ").append(name);
+        result.append("; isReadable: ").append(isReadable);
+        result.append("; isWritable: ").append(isWritable);
+        result.append("; description: ").append(description);
+        result.append("; minimum degree: ").append(minDegree);
+        result.append("; maximum degree: ").append(maxDegree);
+        result.append("; MBean class: ").append(referencedMBeanClassName);
         return result.toString();
     }
 
     //
     // Misc