mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-09 22:04:24 +01: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
@ -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) {
|
private void saveBitmapAndPassToImagePicker(Bitmap bitmap) {
|
||||||
File file = null;
|
File file = null;
|
||||||
try {
|
try {
|
||||||
|
@ -29,7 +29,9 @@ import org.parceler.Parcel;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
@Parcel
|
@Parcel
|
||||||
@Data
|
@Data
|
||||||
@JsonObject
|
@JsonObject
|
||||||
|
@ -28,4 +28,18 @@
|
|||||||
<Match>
|
<Match>
|
||||||
<Class name="~.*\.R\$.*" />
|
<Class name="~.*\.R\$.*" />
|
||||||
</Match>
|
</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>
|
</FindBugsFilter>
|
||||||
|
Loading…
Reference in New Issue
Block a user