Skip to content

Commit d531f51

Browse files
committed
updates
1 parent 3c8f75a commit d531f51

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package de.vogella.eclipse.ide.first;
2+
3+
public class AnnotationTestNavigation {
4+
5+
/**
6+
* @param args
7+
*/
8+
public static void main(String[] args) {
9+
// Warning in Eclipse as test is not used
10+
boolean test = false;
11+
12+
// Warning in Eclipse as s is not used
13+
String s = "unused";
14+
15+
}
16+
17+
public void testMethod() {
18+
// Syntax error in Eclipse because of missing
19+
// semicolumn
20+
System.out.println("test")
21+
}
22+
}

0 commit comments

Comments
 (0)