mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
[java]: surround with: prefer same simple names for catch parameters (IDEA-269830)
GitOrigin-RevId: 9f8b5ced2ec29cbf0f23ccfdf18d4888a55e440d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5ab478e48e
commit
5a42eae302
@@ -8,8 +8,8 @@ public class ExTest {
|
||||
String[] a = new String[0];
|
||||
try {
|
||||
a = new String[]{maybeThrow("")};
|
||||
} catch (Ex ex) {
|
||||
ex.printStackTrace();
|
||||
} catch (Ex e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
System.out.println(a);
|
||||
}
|
||||
|
||||
@@ -8,8 +8,8 @@ public class ExTest {
|
||||
Block<String> b = (t) -> {
|
||||
try {
|
||||
return ExTest.maybeThrow(t);
|
||||
} catch (Ex ex) {
|
||||
<selection>ex.printStackTrace();</selection>
|
||||
} catch (Ex e) {
|
||||
<selection>e.printStackTrace();</selection>
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8,8 +8,8 @@ public class ExTest {
|
||||
Block<String> b = (t) -> {
|
||||
try {
|
||||
ExTest.maybeThrow(t);
|
||||
} catch (Ex ex) {
|
||||
ex.printStackTrace();
|
||||
} catch (Ex e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user