Closed Bug 609706 Opened 14 years ago Closed 11 years ago

Logic in nsSessionStore.init is unnecessarily complex

Categories

(Firefox :: Session Restore, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: zpao, Unassigned)

Details

We have 2 conditions going down the same path with more conditions to differentiate those 2 conditions, just so we can hit the same return statement. That makes the code more difficult than it needs to be.
Assignee: nobody → michaelkohler
Status: NEW → ASSIGNED
Assignee: michaelkohler → nobody
This looks much better now due to recent rewrites.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.