< prev index next >

src/jdk.jvmstat/share/classes/sun/tools/jstatd/RemoteHostImpl.java

Print this page
rev 10947 : 8055723: Replace concat String to append in StringBuilder parameters

*** 66,76 **** RemoteVm stub = null; StringBuilder sb = new StringBuilder(); sb.append("local://").append(lvmid).append("@localhost"); if (mode != null) { ! sb.append("?mode=" + mode); } String vmidStr = sb.toString(); try { --- 66,76 ---- RemoteVm stub = null; StringBuilder sb = new StringBuilder(); sb.append("local://").append(lvmid).append("@localhost"); if (mode != null) { ! sb.append("?mode=").append(mode); } String vmidStr = sb.toString(); try {
< prev index next >