Closed Bug 1933346 Opened 2 months ago Closed 2 months ago

Remove some code duplication in getSISize and getSISpeed helpers and improve coding in scaleNumbersBy1024 in cZ

Categories

(SeaMonkey :: Chat, enhancement)

enhancement

Tracking

(seamonkey2.53+ fixed)

RESOLVED FIXED
Tracking Status
seamonkey2.53 + fixed

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

(Whiteboard: SM2.53.20)

Attachments

(1 file)

There's a fair amount of duplicated code between getSISize and getSISpeed helpers, also the code in scaleNumberBy1024 could be recoded to make use of new Math methods.

[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: none
Testing completed (on m-c, etc.): 2.53.20pre
Risk to taking this patch (and alternatives if risky): low
String changes made by this patch: none

Attachment #9439844 - Flags: review?(frgrahl)
Attachment #9439844 - Flags: approval-comm-release?
Whiteboard: SM2.53.20

Comment on attachment 9439844 [details] [diff] [review]
1933346-irc-utils-scale-25320.patch

lgtm r/a+

Attachment #9439844 - Flags: review?(frgrahl)
Attachment #9439844 - Flags: review+
Attachment #9439844 - Flags: approval-comm-release?
Attachment #9439844 - Flags: approval-comm-release+

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/b050791cbc90
Remove some code duplication in getSISize and getSISpeed helpers and improve coding in scaleNumbersBy1024 in cZ. r=frg

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED

https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/3c8bcccbbbb8c41813b450fe0e15d443308ce775
Remove some code duplication in getSISize and getSISpeed helpers and improve coding in scaleNumbersBy1024 in cZ. r=frg a=frg

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: