java: add smart enter for incomplete ternary operator, DRY (IDEA-70189)

GitOrigin-RevId: 0f8fa9c23efc9cf2d3be079a7e80e7cbbcdfdce9
This commit is contained in:
peter
2019-05-14 20:17:56 +03:00
committed by intellij-monorepo-bot
parent f41d6585dc
commit 0a8f4c0ac6
5 changed files with 57 additions and 23 deletions
@@ -0,0 +1,5 @@
class Test {
Object f(Object result) {
return x == null ? null<caret>
}
}
@@ -0,0 +1,5 @@
class Test {
Object f(Object result) {
return x == null ? null : <caret>
}
}