This commit is contained in:
Max Medvedev
2013-04-02 17:42:01 +04:00
parent 1499964722
commit ad2bc94756
2 changed files with 4 additions and 4 deletions
@@ -10,8 +10,8 @@ class Foo implements Comparable<Foo> {
@Override
int compareTo(Foo o) {
return 0 //To change body of implemented methods use File | Settings | File Templates.
<selection>return 0 //To change body of implemented methods use File | Settings | File Templates.</selection>
}
}
print new Foo().<caret>.new Foo()
print new Foo()..new Foo()
@@ -4,12 +4,12 @@ class Foo implements Comparable<Foo> {
@Override
int compareTo(Foo o) {
return 0 //To change body of implemented methods use File | Settings | File Templates.
<selection>return 0 //To change body of implemented methods use File | Settings | File Templates.</selection>
}
}
class X {
def foo() {
final ObjectRange range = new Foo().<caret>.new Foo()
final ObjectRange range = new Foo()..new Foo()
}
}