Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Terence Evans
1,870 Points“Messy” Project
When I run the "Messy" project at the end of the lesson I get the message "Are you sure you ran the reformat code action? This seems suspect: import java.util." I did run the "reformat code" action (many, many times and even restarted the whole F&%ing thing and am not able to get through this bottleneck. Here is my code
import java.util.*;
public class Messy {
public static void main(String[] args) {
System.out.println("one");
System.out.println("two");
System.out.println("three");
System.out.println("four");
System.out.println("five");
System.out.println("six");
System.out.println("seven");
System.out.println("eight");
System.out.println("nine");
/*Please comment out this line and
this line as well with a hotkey that does multi - line commenting*/
List<String> numberWords;
numberWords = Arrays.asList("six", "seven", "eight", "nine");
for (String numberWord : numberWords) {
}
}
}
Terence Evans
1,870 PointsTerence Evans
1,870 PointsI have made some fixes, so here is my new code and the "results"
Results;
And I still get the same message (see top) when I try to run it through the "Code Challenge"