Source:
<code>public void cmdExecute(final Message clientMessage, final ServerConnection serverConnection, final SecurityService securityService, long start) throws IOException { final boolean isDebugEnabled = logger.isDebugEnabled(); if (isDebugEnabled) { logger.debug("{}: rcv tx: from rcvTime: {}", serverConnection.getName(), clientMessage.getTransactionId(), serverConnection.getSocketString(), (DistributionStats.getStatTime() - start)); } if (clientMessage.getNumberOfParts() > 0) { try { InternalDistributedMember targetServer = (InternalDistributedMember) clientMessage.getPart(0).getObject(); InternalDistributedMember myID = serverConnection.getCache().getMyId(); if (!myID.equals(targetServer)) { if (myID.compareTo(targetServer, true, false) == 0) { String errorMessage = <START> String.format("Target server " + targetServer + " has different viewId: " + myID); <END> logger.warn(errorMessage); writeException(clientMessage, new ServerOperationException(errorMessage), false, serverConnection); serverConnection.setAsTrue(RESPONDED); return; } pingCorrectServer(clientMessage, targetServer, serverConnection); serverConnection.setAsTrue(RESPONDED); return; } } catch (ClassNotFoundException e) { logger.warn("Unable to deserialize message from " + serverConnection.getProxyID()); writeException(clientMessage, e, false, serverConnection); serverConnection.setAsTrue(RESPONDED); return; } } ClientHealthMonitor chm = ClientHealthMonitor.getInstance(); if (chm != null) { chm.receivedPing(serverConnection.getProxyID()); } writeReply(clientMessage, serverConnection); serverConnection.setAsTrue(RESPONDED); if (isDebugEnabled) { logger.debug("{}: Sent ping reply to {}", serverConnection.getName(), serverConnection.getSocketString()); } }</code><technical_language>need format parameters, concatenating String objects</technical_language>

Target:
public void cmdExecute(final Message clientMessage, final ServerConnection serverConnection, final SecurityService securityService, long start) throws IOException { final boolean isDebugEnabled = logger.isDebugEnabled(); if (isDebugEnabled) { logger.debug("{}: rcv tx: from rcvTime: {}", serverConnection.getName(), clientMessage.getTransactionId(), serverConnection.getSocketString(), (DistributionStats.getStatTime() - start)); } if (clientMessage.getNumberOfParts() > 0) { try { InternalDistributedMember targetServer = (InternalDistributedMember) clientMessage.getPart(0).getObject(); InternalDistributedMember myID = serverConnection.getCache().getMyId(); if (!myID.equals(targetServer)) { if (myID.compareTo(targetServer, true, false) == 0) { String errorMessage = "Target server " + targetServer + " has different viewId: " + myID; logger.warn(errorMessage); writeException(clientMessage, new ServerOperationException(errorMessage), false, serverConnection); serverConnection.setAsTrue(RESPONDED); return; } pingCorrectServer(clientMessage, targetServer, serverConnection); serverConnection.setAsTrue(RESPONDED); return; } } catch (ClassNotFoundException e) { logger.warn("Unable to deserialize message from " + serverConnection.getProxyID()); writeException(clientMessage, e, false, serverConnection); serverConnection.setAsTrue(RESPONDED); return; } } ClientHealthMonitor chm = getClientHealthMonitor(); if (chm != null) { chm.receivedPing(serverConnection.getProxyID()); } writeReply(clientMessage, serverConnection); serverConnection.setAsTrue(RESPONDED); if (isDebugEnabled) { logger.debug("{}: Sent ping reply to {}", serverConnection.getName(), serverConnection.getSocketString()); } }