remove not use import and add Override and add a miss @Component
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user