Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
2.28.01
-
None
-
Tiger Sprint 106
Description
There are quite many classes that retrieves "mode" parameter from the plugin config as String value and identify mode values as String values, i.e. use string comparison. It can be found by search the following pattern for all java file:
config.getString("mode"
It'd better to use IEditor.Mode enum with #fromString() method rather than such string comparison.