IntelliJ IDEA warns the developer about possible problems in the code this way. You can configure it manually in (Settings / Preferences (on macOS) | Editor | Inspection) section or perform the Intention action to disable/change them:
See the corresponding documentation page for more details.
The warning color can be changed in (Settings / Preferences (on macOS) | Editor | Color Scheme | General | Errors and Warnings) section.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.