Commit Graph

3 Commits

Author SHA1 Message Date
Tagir Valeev
7e1064ea3c [java-intentions] More preview tests; minor fixes
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
2022-07-29 17:55:13 +00:00
Bas Leijdekkers
f3074be38d Textual changes for "'InputStream' and 'OutputStream' can be constructed using 'Files' methods" inspection
GitOrigin-RevId: 950341cb074fa4c5f62a776057f1eabf55f20321
2022-07-11 15:21:55 +00:00
Artemiy Sartakov
c699fe0e24 IOStreamConstructorInspection: cr fixes (IJ-CR-20017):
1. report for arbitrary expressions that expect OutputStream / InputStream
2. report for arbitrary file creation arguments
3. check recursively if file creation argument is effectively final
4. reuse effectively final path variables if possible
5. use Paths.get() instead of Path.of() since 'of' method appeared only in java 11
6. info level for java 10 and higher

GitOrigin-RevId: 0a778328fe938faa0fe7eb2f199064f90b7a6d1b
2022-02-02 08:24:36 +00:00