优化代码 (#1939)

master
vic 3 years ago committed by GitHub
parent fb519fa547
commit 6d3ed98744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -69,11 +69,7 @@ func (f *Filter) Exists(data []byte) (bool, error) {
if err != nil {
return false, err
}
if !isSet {
return false, nil
}
return true, nil
return isSet, nil
}
func (f *Filter) getLocations(data []byte) []uint {

Loading…
Cancel
Save