private String convertLogMessage() { String message = LogMessages.CONVERT_WAS_PRESSED + "Input Value = " + inputValue + "; InputMeasure = " + inputMeasure.toString() + "; Output Measure = " + outputMeasure.toString() + ";"; return message; }
public void setOutputMeasure(final Measure outputMeasure) { if (this.outputMeasure != outputMeasure) { logger.log(LogMessages.OUTPUT_MEASURE_WAS_CHANGED + outputMeasure.toString()); this.outputMeasure = outputMeasure; } }
public void setInputMeasure(final Measure inputMeasure) { if (this.inputMeasure != inputMeasure) { logger.log(LogMessages.INPUT_MEASURE_WAS_CHANGED + inputMeasure.toString()); this.inputMeasure = inputMeasure; } }