remove not use import and add Override and add a miss @Component

This commit is contained in:
汪吉
2019-11-29 12:07:28 +08:00
committed by Janne Valkealahti
parent 63f786fd8c
commit 763fef8e1b
2 changed files with 4 additions and 0 deletions

View File

@@ -1,11 +1,14 @@
package com.example;
import org.springframework.stereotype.Component;
/**
*
* Program state for the illustrative Spring Shell Calculator application.
*
* @author Sualeh Fatehi
*/
@Component
public class CalculatorState {
private int memory;