teragrep / cfe_31

0 stars 0 forks source link

Targets class can be made into an enum map #19

Closed MoonBow-1 closed 9 months ago

MoonBow-1 commented 11 months ago

https://stackoverflow.com/questions/12669497/using-enum-as-key-for-map/12669569#12669569

MoonBow-1 commented 10 months ago

Targets changed to EnumMap in commit 1b73b6de. Also changed an Integer return value from StorageFlow/Target send method to int in commit a28d1466.

Moving this to QA and asking for review of the solution.

MoonBow-1 commented 10 months ago

Small changes required to the class, mainly moving the send() method to StorageFlow class