public String buildPMMessage(int deviceId) { StringBuilder sb = new StringBuilder("pm"); for (Widget widget : widgets) { widget.append(sb, deviceId); } if (sb.length() == 2) { return null; } return sb.toString(); }
public String buildPMMessage(int deviceId) { StringBuilder sb = new StringBuilder("pm"); for (Widget widget : widgets) { widget.append(sb, deviceId); } if (sb.length() == 2) { return null; } return sb.toString(); }