コード例 #1
0
  private String convertLogMessage() {
    String message =
        LogMessages.CONVERT_WAS_PRESSED
            + "Input Value = "
            + inputValue
            + "; InputMeasure = "
            + inputMeasure.toString()
            + "; Output Measure = "
            + outputMeasure.toString()
            + ";";

    return message;
  }
コード例 #2
0
 public void setOutputMeasure(final Measure outputMeasure) {
   if (this.outputMeasure != outputMeasure) {
     logger.log(LogMessages.OUTPUT_MEASURE_WAS_CHANGED + outputMeasure.toString());
     this.outputMeasure = outputMeasure;
   }
 }
コード例 #3
0
 public void setInputMeasure(final Measure inputMeasure) {
   if (this.inputMeasure != inputMeasure) {
     logger.log(LogMessages.INPUT_MEASURE_WAS_CHANGED + inputMeasure.toString());
     this.inputMeasure = inputMeasure;
   }
 }