Window->Preferences->General->Editors->Text Editors->Annotations->Warnings

把旁边的勾都去掉