mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
preserve comments: replace cast with var
This commit is contained in:
+2
-1
@@ -7,6 +7,7 @@ class FooBar {
|
||||
FooBar foobar = (FooBar)foo;
|
||||
foobar = null;
|
||||
FooBar foobar2 = (FooBar)foo;
|
||||
return foobar2.baz;
|
||||
//comment
|
||||
return foobar2.baz;
|
||||
}
|
||||
}
|
||||
+2
-1
@@ -7,6 +7,7 @@ class FooBar {
|
||||
FooBar foobar = (FooBar)foo;
|
||||
foobar = null;
|
||||
FooBar foobar2 = (FooBar)foo;
|
||||
return ((FooBar<caret>)foo).baz;
|
||||
return ((FooBar<caret>)foo//comment
|
||||
).baz;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user