summaryrefslogtreecommitdiffstats
path: root/src/test/misc/en/AutocastTest.java
diff options
context:
space:
mode:
authorStiver <stiver.mail@gmail.com>2014-03-04 15:13:11 +0100
committerStiver <stiver.mail@gmail.com>2014-03-04 15:13:11 +0100
commite2d0f5d9c38561d67f23754c00addb4a3547efb2 (patch)
tree1832f16037c086b48266b8566aecc61f45f4e5f1 /src/test/misc/en/AutocastTest.java
downloadfernflower-e2d0f5d9c38561d67f23754c00addb4a3547efb2.tar
fernflower-e2d0f5d9c38561d67f23754c00addb4a3547efb2.tar.gz
fernflower-e2d0f5d9c38561d67f23754c00addb4a3547efb2.tar.lz
fernflower-e2d0f5d9c38561d67f23754c00addb4a3547efb2.tar.xz
fernflower-e2d0f5d9c38561d67f23754c00addb4a3547efb2.zip
initial commit
Diffstat (limited to 'src/test/misc/en/AutocastTest.java')
-rw-r--r--src/test/misc/en/AutocastTest.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/misc/en/AutocastTest.java b/src/test/misc/en/AutocastTest.java
new file mode 100644
index 0000000..ea08948
--- /dev/null
+++ b/src/test/misc/en/AutocastTest.java
@@ -0,0 +1,17 @@
+package test.misc.en;
+
+import java.util.HashMap;
+
+public class AutocastTest {
+
+ public static void main(String[] args) {
+
+ HashMap<Integer, Integer> map = new HashMap<Integer, Integer>();
+
+ Integer key = new Integer(1);
+ Integer value = map.containsKey(key)?0:map.get(key);
+
+ System.out.println(value == null);
+ }
+
+}