Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,10 @@ enum class DeltaType {
},
CHANGED_FROM_STATIC {
override fun getViolations(before: ClassInfo?, after: ClassInfo?): List<Delta> {
// Safe to ignore: if `after` is null, then it has been removed and another check will
// report this.
if (after == null) return emptyList()

val allBeforeMethods = getAllMethods(before)
val allAfterMethods = getAllMethods(after)
val afterStaticMethods =
Expand Down
Loading