使用sonar扫描代码 报错Do something with the "boolean" value returned by "setWritable".
```java
public static void fileUnModified(File file){
if (file!=null){
file.setWritable(false);
file.setExecutable(false);
file.setReadOnly();
}
}
