Closed Bug 528047 Opened 16 years ago Closed 15 years ago

Move loadFileToString to IOUtils.js

Categories

(MailNews Core :: Backend, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.1a1

People

(Reporter: rain1, Assigned: rain1)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
Please get to reviewing this at your leisure.
Attachment #411807 - Flags: superreview?(bienvenu)
Attachment #411807 - Flags: review?(mnyromyr)
Attachment #411807 - Flags: review?(bugmail)
Comment on attachment 411807 [details] [diff] [review] patch you've removed the crazy, so you can remove that part of the comment: +// We need loadFileToString from here, and honestly this is no crazier a +// dependency than gloda's Log4Moz
Attachment #411807 - Flags: superreview?(bienvenu) → superreview+
Well, I felt it was still sort of crazy (though less crazy than before), but I'll remove it.
Comment on attachment 411807 [details] [diff] [review] patch Thank you for undertaking this cleanup effort. I don't think MailUtils is a good place for this. I'm worried about MailUtils becoming a dumping ground and bloating. I suggest we create either a FileUtils or IOUtils and do it in mailnews like we have for fixIterator. That also avoids the code duplication that seems silly for file stuff.
Attachment #411807 - Flags: review?(bugmail) → review-
Comment on attachment 411807 [details] [diff] [review] patch I explicitly agree with asuth's comment #3.
Attachment #411807 - Flags: review?(mnyromyr) → review-
Attachment #411807 - Attachment is obsolete: true
Attachment #415852 - Flags: superreview?(bienvenu)
Attachment #415852 - Flags: review?(bugmail)
Summary: Move loadFileToString to MailUtils.js → Move loadFileToString to IOUtils.js
Comment on attachment 415852 [details] [diff] [review] patch, now with IOUtils danke!
Attachment #415852 - Flags: review?(bugmail) → review+
Comment on attachment 415852 [details] [diff] [review] patch, now with IOUtils I probably would have gone with FileUtils, but I won't quibble :-)
Attachment #415852 - Flags: superreview?(bienvenu) → superreview+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.1a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: