mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 04:55:29 +03:00
Fixed some spotbugs, excluded some bug categories to be consistent with Files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
a57253e0df
commit
6fb5d3f9bb
3 changed files with 19 additions and 2 deletions
|
@ -523,6 +523,7 @@ public class ProfileController extends BaseController {
|
|||
});
|
||||
}
|
||||
|
||||
@SuppressWarnings({"IOI_USE_OF_FILE_STREAM_CONSTRUCTORS"}) // only possible with API26
|
||||
private void saveBitmapAndPassToImagePicker(Bitmap bitmap) {
|
||||
File file = null;
|
||||
try {
|
||||
|
|
|
@ -29,7 +29,9 @@ import org.parceler.Parcel;
|
|||
import java.util.ArrayList;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Parcel
|
||||
@Data
|
||||
@JsonObject
|
||||
|
|
|
@ -23,9 +23,23 @@
|
|||
|
||||
<FindBugsFilter>
|
||||
<Match>
|
||||
<Class name="~.*\.Manifest\$.*"/>
|
||||
<Class name="~.*\.Manifest\$.*" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="~.*\.R\$.*"/>
|
||||
<Class name="~.*\.R\$.*" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="~.*\$\$Parcelable.*" />
|
||||
</Match>
|
||||
|
||||
<!-- Data bindings autogenerated classes -->
|
||||
<Match>
|
||||
<Or>
|
||||
<Class name="~.*BindingImpl" />
|
||||
<Class name="~.*\.DataBinderMapperImpl" />
|
||||
<Class name="~.*Binding" />
|
||||
</Or>
|
||||
</Match>
|
||||
|
||||
<Bug pattern="PATH_TRAVERSAL_IN" />
|
||||
</FindBugsFilter>
|
||||
|
|
Loading…
Reference in a new issue