Closed lokeshwartabjula closed 1 year ago
Document Link : https://docs.google.com/document/d/1TEh2IvcwTXFVyL9KyT-EnExBwEG_jn8t26m_DSXt9FY/edit?usp=sharing
The above document has the refactoring information
Replace Conditional With Polymorphism: [to support open closed principle]
Package Location: package fiji.plugin.trackmate.util;
Description: Identified a piece of code where a switch case was used in ImageHelper.java. To bring in Open Closed Principle, the switch case is replaced with subclasses matching the branches of the conditional
refer https://refactoring.guru/replace-conditional-with-polymorphism
No news from Lokeshwar. Closing.
Document Link : https://docs.google.com/document/d/1TEh2IvcwTXFVyL9KyT-EnExBwEG_jn8t26m_DSXt9FY/edit?usp=sharing
The above document has the refactoring information
Replace Conditional With Polymorphism: [to support open closed principle]
Package Location: package fiji.plugin.trackmate.util;
Description: Identified a piece of code where a switch case was used in ImageHelper.java. To bring in Open Closed Principle, the switch case is replaced with subclasses matching the branches of the conditional
refer https://refactoring.guru/replace-conditional-with-polymorphism