chore: don't use nullable annotations from RxJava
This commit is contained in:
@@ -126,6 +126,9 @@
|
||||
</module>
|
||||
<module name="IllegalImport">
|
||||
<property name="illegalClasses" value="jadx.core.utils.DebugUtils"/>
|
||||
<!-- don't use nullable annotations from RxJava -->
|
||||
<property name="illegalClasses" value="io.reactivex.rxjava3.annotations.NonNull"/>
|
||||
<property name="illegalClasses" value="io.reactivex.rxjava3.annotations.Nullable"/>
|
||||
</module>
|
||||
<module name="RegexpSinglelineJava">
|
||||
<property name="id" value="printstacktrace"/>
|
||||
|
||||
@@ -16,8 +16,6 @@ import java.util.regex.Pattern;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import io.reactivex.rxjava3.annotations.NonNull;
|
||||
|
||||
import jadx.core.utils.StringUtils;
|
||||
import jadx.core.utils.log.LogUtils;
|
||||
import jadx.gui.device.protocol.ADB.JDWPProcessListener;
|
||||
@@ -208,7 +206,6 @@ public class ADBDevice {
|
||||
return getProcessList("ps | grep " + pkg);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public List<Process> getProcessList() throws IOException {
|
||||
return getProcessList("ps");
|
||||
}
|
||||
|
||||
@@ -8,8 +8,6 @@ import java.util.stream.Collectors;
|
||||
|
||||
import javax.swing.ImageIcon;
|
||||
|
||||
import io.reactivex.rxjava3.annotations.NonNull;
|
||||
|
||||
import jadx.gui.utils.NLS;
|
||||
import jadx.gui.utils.UiUtils;
|
||||
import jadx.gui.utils.shortcut.Shortcut;
|
||||
@@ -165,7 +163,6 @@ public enum ActionModel {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public Shortcut getDefaultShortcut() {
|
||||
return defaultShortcut;
|
||||
}
|
||||
|
||||
@@ -40,11 +40,10 @@ import javax.swing.tree.DefaultTreeModel;
|
||||
import javax.swing.tree.TreeNode;
|
||||
import javax.swing.tree.TreePath;
|
||||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import io.reactivex.rxjava3.annotations.Nullable;
|
||||
|
||||
import jadx.core.utils.StringUtils;
|
||||
import jadx.gui.device.debugger.DebugController;
|
||||
import jadx.gui.device.protocol.ADBDevice;
|
||||
|
||||
Reference in New Issue
Block a user