Don't access elements of an empty array
This commit is contained in:
Alexander Udalov
2012-11-28 15:02:37 +04:00
parent 9dd167a760
commit b23601eefe
3 changed files with 16 additions and 1 deletions
@@ -0,0 +1,8 @@
package checkFiles
import java.util.HashMap
fun main(args: Array<String>) {
val hashMap = HashMap<String, String>()
hashMap[<!SYNTAX!><!>]
}