Created
May 29, 2018 20:25
-
-
Save mrmeku/eb0ddac350e3c02b11e4b8d3d389e752 to your computer and use it in GitHub Desktop.
All references to TOYOTA within CarService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend/src/CarService.java:3: error: cannot find symbol | |
import static schema.Manufacturer.TOYOTA; | |
^ | |
symbol: static TOYOTA | |
location: class | |
backend/src/CarService.java:22: error: an enum switch case label must be the unqualified name of an enumeration constant | |
case TOYOTA: | |
^ | |
backend/src/CarService.java:24: error: cannot find symbol | |
.addCars(newCar("Corolla", TOYOTA)) | |
^ | |
symbol: variable TOYOTA | |
location: class CarService | |
backend/src/CarService.java:25: error: cannot find symbol | |
.addCars(newCar("Camry", TOYOTA)) | |
^ | |
symbol: variable TOYOTA | |
location: class CarService |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment