Closed
Bug 528047
Opened 16 years ago
Closed 15 years ago
Move loadFileToString to IOUtils.js
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.1a1
People
(Reporter: rain1, Assigned: rain1)
Details
Attachments
(1 file, 1 obsolete file)
10.48 KB,
patch
|
asuth
:
review+
Bienvenu
:
superreview+
|
Details | Diff | 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 1•15 years ago
|
||
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+
Assignee | ||
Comment 2•15 years ago
|
||
Well, I felt it was still sort of crazy (though less crazy than before), but I'll remove it.
Comment 3•15 years ago
|
||
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 4•15 years ago
|
||
Comment on attachment 411807 [details] [diff] [review]
patch
I explicitly agree with asuth's comment #3.
Attachment #411807 -
Flags: review?(mnyromyr) → review-
Assignee | ||
Comment 5•15 years ago
|
||
Attachment #411807 -
Attachment is obsolete: true
Attachment #415852 -
Flags: superreview?(bienvenu)
Attachment #415852 -
Flags: review?(bugmail)
Assignee | ||
Updated•15 years ago
|
Summary: Move loadFileToString to MailUtils.js → Move loadFileToString to IOUtils.js
Comment 6•15 years ago
|
||
Comment on attachment 415852 [details] [diff] [review]
patch, now with IOUtils
danke!
Attachment #415852 -
Flags: review?(bugmail) → review+
Comment 7•15 years ago
|
||
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+
Assignee | ||
Comment 8•15 years ago
|
||
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.
Description
•