All pastes #547319 Raw Edit

Stuff

public text v1 · immutable
·published 2007-06-07 10:45 UTC
rendered paste body
private void processLine(final String line) {
	final String[] token = tokeniseLine(line);

	if (token[0].equalsIgnoreCase("PING") || token[1].equalsIgnoreCase("PING")) {
		sendString("PONG :" + sParam);
	} else {
		// Other processing stuff
	}
}