-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restaurant.java error in skeleton code #41
Comments
Latest push should fix that. EDIT: Didn't mean to close the thread, reopened |
These are the errors I still see when building the Lib The method add(String, Menu) is undefined for the type Map<String,Menu> /DineOnLibrary/src/uw/cse/dineon/library Restaurant.java line 126 The method copy(List<? super T>, List<? extends T>) in the type Collections is not applicable for the arguments (List, List) /DineOnLibrary/src/uw/cse/dineon/library Restaurant.java line 59 Type mismatch: cannot convert from List to List /DineOnLibrary/src/uw/cse/dineon/library Restaurant.java line 60 The method clone() is undefined for the type Map<String,Menu> /DineOnLibrary/src/uw/cse/dineon/library Restaurant.java line 43 |
I meant to put this in this thread: Ok, I'm not going to keep doing this, you should be able to see the errors on your own machine so don't do a pull request unless it builds on your machine. The master branch should only have code that builds properly especially as we move toward the phase turn in. This is how multiple bugs are introduce when multiple ppl are working on the same project. The method clone() is undefined for the type Map /DineOnLibrary/src/uw/cse/dineon/library Restaurant.java line 43 Java Problem |
Yeah, I recognize that's a problem. I was planning to be at the customer meeting because I wanted to go over this with you. I've tried several different ways of importing the project into Eclipse and I'm getting build errors no matter how I set it up (and I can create both Java and Android projects from scratch and have them work properly) which includes not recognizing java.util so it's not properly pulling methods. I did the initial version by writing in a separate Java project then copying the files over, changing the package, but forgot to check the edits in that project when I added the Map |
There are errors when building with Restaurant.java b/c of naming mismatches and return value mismatch
The text was updated successfully, but these errors were encountered: