--- a/jdk/src/solaris/classes/sun/awt/X11/XEmbedClientHelper.java Fri Apr 12 14:09:03 2013 +0400
+++ b/jdk/src/solaris/classes/sun/awt/X11/XEmbedClientHelper.java Fri Apr 12 14:33:38 2013 +0400
@@ -95,9 +95,13 @@
void handleClientMessage(XEvent xev) {
XClientMessageEvent msg = xev.get_xclient();
- if (xembedLog.isLoggable(PlatformLogger.FINE)) xembedLog.fine(msg.toString());
+ if (xembedLog.isLoggable(PlatformLogger.FINE)) {
+ xembedLog.fine(msg.toString());
+ }
if (msg.get_message_type() == XEmbed.getAtom()) {
- if (xembedLog.isLoggable(PlatformLogger.FINE)) xembedLog.fine("Embedded message: " + msgidToString((int)msg.get_data(1)));
+ if (xembedLog.isLoggable(PlatformLogger.FINE)) {
+ xembedLog.fine("Embedded message: " + msgidToString((int)msg.get_data(1)));
+ }
switch ((int)msg.get_data(1)) {
case XEMBED_EMBEDDED_NOTIFY: // Notification about embedding protocol start
active = true;