Skip to content

Commit 2a66a4e

Browse files
committed
remove verbose statements
1 parent 16eb2e9 commit 2a66a4e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

table.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -717,9 +717,8 @@ func (c *ResTableConfig) IsBetterThan(o *ResTableConfig, r *ResTableConfig) bool
717717
}
718718
if fixedMySL == fixedOSL {
719719
return mySL != 0
720-
} else {
721-
return fixedMySL > fixedOSL
722720
}
721+
return fixedMySL > fixedOSL
723722
}
724723

725724
if ((c.ScreenLayout^o.ScreenLayout)&MASK_SCREENLONG) != 0 &&
@@ -834,7 +833,7 @@ func (c *ResTableConfig) IsBetterThan(o *ResTableConfig, r *ResTableConfig) bool
834833
}
835834

836835
// version
837-
if c.SDKVersion != 0 || c.SDKVersion != 0 || o.MinorVersion != 0 || o.MinorVersion != 0 {
836+
if c.SDKVersion != 0 || o.MinorVersion != 0 {
838837
if c.SDKVersion != o.SDKVersion && r.SDKVersion != 0 {
839838
return c.SDKVersion > o.SDKVersion
840839
}

0 commit comments

Comments
 (0)