There is an unnecessary method invoking when if condition is true
Bug #1335581 reported by
yummy.bian
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
yummy.bian |
Bug Description
I found that there is an unnecessary method invoking in class FakeRing.
Don’t need to invoke the method of super class when _part_shift equals to 32.Just return 1 directly.
description: | updated |
description: | updated |
Changed in swift: | |
assignee: | nobody → yummy.bian (yummy-bian) |
Changed in swift: | |
milestone: | none → 2.1.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/103407
Review: https:/