src/java.desktop/share/classes/javax/swing/RepaintManager.java

Print this page
rev 10525 : 8038277: Improve the bootstrap performance of cacerts keystore (client)
Contributed-by: Otavio Santana <otaviojava@java.net>

*** 988,1001 **** * object's properties. * * @return a String representation of this object */ public synchronized String toString() { ! StringBuilder sb = new StringBuilder(); ! if(dirtyComponents != null) ! sb.append("" + dirtyComponents); ! return sb.toString(); } /** * Return the offscreen buffer that should be used as a double buffer with --- 988,998 ---- * object's properties. * * @return a String representation of this object */ public synchronized String toString() { ! return dirtyComponents != null ? dirtyComponents.toString() : ""; } /** * Return the offscreen buffer that should be used as a double buffer with