testdata fixed

This commit is contained in:
anna
2013-05-06 20:55:21 +02:00
parent 7a549b8d1b
commit be9e2fa9f7
119 changed files with 113 additions and 138 deletions
@@ -7,7 +7,7 @@ class a {
g();
} catch (Error e) {
} catch (Exception e) {
<caret><selection>e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
<caret><selection>e.printStackTrace();</selection>
}
}
}
@@ -10,7 +10,7 @@ class a {
g();
// comment after
} catch (Exception e) {
<caret><selection>e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
<caret><selection>e.printStackTrace();</selection>
}
}
}
@@ -10,7 +10,7 @@ class Test {
foo();
} catch (MyException1 e) {
} catch (MyException2 myException2) {
<caret><selection>myException2.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
<caret><selection>myException2.printStackTrace();</selection>
}
}
}
@@ -9,7 +9,7 @@ class Test {
void m() {
try (MyResource r = new MyResource()) {
} catch (IOException e) {
<selection>e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
<selection>e.printStackTrace();</selection>
}
}
}
@@ -13,7 +13,7 @@ class Test {
r.doSomething();
} catch (E1 ignore) {
} catch (E2 e2) {
<selection>e2.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
<selection>e2.printStackTrace();</selection>
}
}
}
@@ -11,9 +11,9 @@ class Test {
void m() {
try (MyResource r = new MyResource()) {
} catch (E2 e2) {
<selection>e2.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
<selection>e2.printStackTrace();</selection>
} catch (E1 e1) {
e1.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
e1.printStackTrace();
}
}
}
@@ -12,9 +12,9 @@ class CatchExceptions {
try {
foo();
} catch (FileNotFoundException e) {
<selection>e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
<selection>e.printStackTrace();</selection>
} catch (IOException e) {
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
e.printStackTrace();
}
}
}