Task #320

Refactor Server sourceChannels

Added by Espen Solbu almost 6 years ago. Updated almost 6 years ago.

Status:ClosedStart date:02/03/2012
Priority:HighDue date:
Assignee:-% Done:

100%

Category:RefactorSpent time:-
Target version:2.0 Multiple models

Description

Use something More flexible than array
  • ArrayList
  • HashMap
  • TreeMap

Associated revisions

Revision 256
Added by Espen Solbu almost 6 years ago

closes #320 Changed sourceChannels to sourceChannelMap, should have got ridden of all server channel indexes

History

#1 Updated by Espen Solbu almost 6 years ago

  • Priority changed from Normal to High

Changed to high as this is causing too much confusion

Suggestions is treemap<Integer,Channel> where the Integer is the id of the channel.
That way Server.getChannel(index) would have same effect as database.getChannel(id)

#2 Updated by Espen Solbu almost 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset r256.

Also available in: Atom PDF