OLD | NEW |
1 40 columns | | 1 40 columns | |
2 >>> all fit on one line | 2 >>> all fit on one line |
3 new Foo<A,B,C,D>(); | 3 new Foo<A,B,C,D>(); |
4 <<< | 4 <<< |
5 new Foo<A, B, C, D>(); | 5 new Foo<A, B, C, D>(); |
6 >>> prefer to split between args even when they all fit on next line | 6 >>> prefer to split between args even when they all fit on next line |
7 new LongClassName<First, Second, Third>(); | 7 new LongClassName<First, Second, Third>(); |
8 <<< | 8 <<< |
9 new LongClassName<First, Second, | 9 new LongClassName<First, Second, |
10 Third>(); | 10 Third>(); |
(...skipping 17 matching lines...) Expand all Loading... |
28 Fourth, | 28 Fourth, |
29 Fifth, | 29 Fifth, |
30 Sixth, | 30 Sixth, |
31 Seventh, | 31 Seventh, |
32 Eighth>(); | 32 Eighth>(); |
33 >>> prefers to not split at type arguments | 33 >>> prefers to not split at type arguments |
34 new SomeClass< | 34 new SomeClass< |
35 TypeArgument>(valueArgument); | 35 TypeArgument>(valueArgument); |
36 <<< | 36 <<< |
37 new SomeClass<TypeArgument>( | 37 new SomeClass<TypeArgument>( |
38 valueArgument); | 38 valueArgument); |
| 39 >>> split both type and value arguments |
| 40 new SomeClass<First, Second, Third, Fourth, Fifth, Sixth, Seventh, Eighth>(first
, second, third, fourth, fifth, sixth, seventh, eighth); |
| 41 <<< |
| 42 new SomeClass< |
| 43 First, |
| 44 Second, |
| 45 Third, |
| 46 Fourth, |
| 47 Fifth, |
| 48 Sixth, |
| 49 Seventh, |
| 50 Eighth>( |
| 51 first, |
| 52 second, |
| 53 third, |
| 54 fourth, |
| 55 fifth, |
| 56 sixth, |
| 57 seventh, |
| 58 eighth); |
OLD | NEW |