summaryrefslogtreecommitdiff
path: root/plugins/InspectionGadgets/test/com/siyeh/igtest/portability/RuntimeExecInspection.java
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2013-01-08 11:11:20 -0800
committerJean-Baptiste Queru <jbq@google.com>2013-01-08 11:11:20 -0800
commitb56ea2a18f232d79481e778085fd64e8ae486fc3 (patch)
tree44e1f6eb4864a45033f865b74fe783e3d784dd6a /plugins/InspectionGadgets/test/com/siyeh/igtest/portability/RuntimeExecInspection.java
downloadidea-b56ea2a18f232d79481e778085fd64e8ae486fc3.tar.gz
Snapshot of commit d5ec1d5018ed24f1b4f32b1d09df6dbd7e2fc425
from branch master of git://git.jetbrains.org/idea/community.git
Diffstat (limited to 'plugins/InspectionGadgets/test/com/siyeh/igtest/portability/RuntimeExecInspection.java')
-rw-r--r--plugins/InspectionGadgets/test/com/siyeh/igtest/portability/RuntimeExecInspection.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/portability/RuntimeExecInspection.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/portability/RuntimeExecInspection.java
new file mode 100644
index 000000000000..ba42e9152586
--- /dev/null
+++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/portability/RuntimeExecInspection.java
@@ -0,0 +1,16 @@
+package com.siyeh.igtest.portability;
+
+import java.io.IOException;
+
+public class RuntimeExecInspection
+{
+ public RuntimeExecInspection()
+ {
+ }
+
+ public void foo() throws IOException
+ {
+ final Runtime runtime = Runtime.getRuntime();
+ runtime.exec("foo");
+ }
+} \ No newline at end of file