Created
August 13, 2015 14:28
-
-
Save khatchad/ef07f7af98fbf18e1373 to your computer and use it in GitHub Desktop.
Package examples for https://github.com/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/issues/21.
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
package p; | |
import raffi.java.util.Collection; | |
class A { | |
void m() { | |
Collection c = null; | |
for (Object obj : c) //should fail because C is not a java.util.Collection. | |
; | |
} | |
} | |
//in a separate file; in/raffi/java/util/Collection.java | |
package raffi.java.util; | |
class Collection { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment