inline chained constructor from library class

This commit is contained in:
Anna.Kozlova
2016-10-20 19:04:25 +02:00
parent e9ea1b414e
commit bf60885576
4 changed files with 37 additions and 7 deletions
@@ -0,0 +1,11 @@
import java.io.FileInputStream;
class Launcher<T> {
{
try {
FileInputStream f = new File<caret>InputStream("");
catch (Exception e) {
e.printStackTrace();
}
}
}
@@ -0,0 +1,12 @@
import java.io.File;
import java.io.FileInputStream;
class Launcher<T> {
{
try {
FileInputStream f = new FileInputStream("" != null ? new File("") : null);
catch (Exception e) {
e.printStackTrace();
}
}
}