These types can be inferred from the context and thus replaced with var.
var
Example:
void test(InputStream s) { try (InputStream in = s) {} }
After the fix is applied:
void test(InputStream s) { try (var in = s) {} }